vendor: 30,427 bytes, lines 1-26
1!function(){"use strict";var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function unwrapExports(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}function getCjsExportFromNamespace(e){return e&&e.default||e}var jquery=createCommonjsModule((function(e){ 2/*! 3 * jQuery JavaScript Library v3.5.0 4 * https://jquery.com/ 5 * 6 * Includes Sizzle.js 7 * https://sizzlejs.com/ 8 * 9 * Copyright JS Foundation and other contributors 10 * Released under the MIT license 11 * https://jquery.org/license 12 * 13 * Date: 2020-04-10T15:07Z 14 */ 15!function(t,n){e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}}("undefined"!=typeof window?window:commonjsGlobal,(function(e,t){var n=[],i=Object.getPrototypeOf,r=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},a=n.push,s=n.indexOf,c={},l=c.toString,d=c.hasOwnProperty,u=d.toString,p=u.call(Object),h={},f=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},m=function(e){return null!=e&&e===e.window},v=e.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var i,r,o=(n=n||v).createElement("script");if(o.text=e,t)for(i in g)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[l.call(e)]||"object":typeof e}var A=function(e,t){return new A.fn.init(e,t)};function _(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!f(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}A.fn=A.prototype={jquery:"3.5.0",constructor:A,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=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.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)},even:function(){return this.pushStack(A.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(A.grep(this,(function(e,t){return t%2})))},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:a,sort:n.sort,splice:n.splice},A.extend=A.fn.extend=function(){var e,t,n,i,r,o,a=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||f(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&a!==i&&(l&&i&&(A.isPlainObject(i)||(r=Array.isArray(i)))?(n=a[t],o=r&&!Array.isArray(n)?[]:r||A.isPlainObject(n)?n:{},r=!1,a[t]=A.extend(l,o,i)):void 0!==i&&(a[t]=i));return a},A.extend({expando:"jQuery"+("3.5.0"+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]"!==l.call(e))&&(!(t=i(e))||"function"==typeof(n=d.call(t,"constructor")&&t.constructor)&&u.call(n)===p)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(_(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},makeArray:function(e,t){var n=t||[];return null!=e&&(_(Object(e))?A.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.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,a=0,s=[];if(_(e))for(i=e.length;a<i;a++)null!=(r=t(e[a],a,n))&&s.push(r);else for(a in e)null!=(r=t(e[a],a,n))&&s.push(r);return o(s)},guid:1,support:h}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=n[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){c["[object "+t+"]"]=t.toLowerCase()}));var w= 16/*! 17 * Sizzle CSS Selector Engine v2.3.5 18 * https://sizzlejs.com/ 19 * 20 * Copyright JS Foundation and other contributors 21 * Released under the MIT license 22 * https://js.foundation/ 23 * 24 * Date: 2020-03-14 25 */ 26function(e){var t,n,i,r,o,a,s,c,l,d,u,p,h,f,m,v,g,b,y,A="sizzle"+1*new Date,_=e.document,w=0,M=0,k=ce(),C=ce(),S=ce(),E=ce(),x=function(e,t){return e===t&&(u=!0),0},O={}.hasOwnProperty,T=[],D=T.pop,$=T.push,P=T.push,N=T.slice,L=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+I+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+I+"*("+R+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+I+"*\\]",j=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",q=new RegExp(I+"+","g"),F=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),V=new RegExp("^"+I+"*,"+I+"*"),W=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),H=new RegExp(I+"|>"),U=new RegExp(j),X=new RegExp("^"+R+"$"),Y={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+I+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|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=Ae((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(T=N.call(_.childNodes),_.childNodes),T[_.childNodes.length].nodeType}catch(e){P={apply:T.length?function(e,t){$.apply(e,N.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,l,d,u,f,g,b=t&&t.ownerDocument,_=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return i;if(!r&&(p(t),t=t||h,m)){if(11!==_&&(u=Z.exec(e)))if(o=u[1]){if(9===_){if(!(l=t.getElementById(o)))return i;if(l.id===o)return i.push(l),i}else if(b&&(l=b.getElementById(o))&&y(t,l)&&l.id===o)return i.push(l),i}else{if(u[2])return P.apply(i,t.getElementsByTagName(e)),i;if((o=u[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!E[e+" "]&&(!v||!v.test(e))&&(1!==_||"object"!==t.nodeName.toLowerCase())){if(g=e,b=t,1===_&&(H.test(e)||W.test(e))){for((b=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((d=t.getAttribute("id"))?d=d.replace(ie,re):t.setAttribute("id",d=A)),s=(f=a(e)).length;s--;)f[s]=(d?"#"+d:":scope")+" "+ye(f[s]);g=f.join(",")}try{return P.apply(i,b.querySelectorAll(g)),i}catch(t){E(e,!0)}finally{d===A&&t.removeAttribute("id")}}}return c(e.replace(F,"$1"),t,i,r)}function ce(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function le(e){return e[A]=!0,e}function de(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(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 he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(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 ve(e){return le((function(t){return t=+t,le((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 ge(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!G.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:_;return a!=h&&9===a.nodeType&&a.documentElement?(f=(h=a).documentElement,m=!o(h),_!=h&&(r=h.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=de((function(e){return f.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=de((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=de((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(h.getElementsByClassName),n.getById=de((function(e){return f.appendChild(e).id=A,!h.getElementsByName||!h.getElementsByName(A).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)},g=[],v=[],(n.qsa=J.test(h.querySelectorAll))&&(de((function(e){var t;f.appendChild(e).innerHTML="<a id='"+A+"'></a><select id='"+A+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+I+"*(?:value|"+z+")"),e.querySelectorAll("[id~="+A+"-]").length||v.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+I+"*name"+I+"*="+I+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+A+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),de((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+I+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=J.test(b=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&de((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),g.push("!=",j)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=J.test(f.compareDocumentPosition),y=t||J.test(f.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},x=t?function(e,t){if(e===t)return u=!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==h||e.ownerDocument==_&&y(_,e)?-1:t==h||t.ownerDocument==_&&y(_,t)?1:d?L(d,e)-L(d,t):0:4&i?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e==h?-1:t==h?1:r?-1:o?1:d?L(d,e)-L(d,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]==_?-1:s[i]==_?1:0},h):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&m&&!E[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var i=b.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){E(t,!0)}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&p(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&p(e);var r=i.attrHandle[t.toLowerCase()],o=r&&O.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(u=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(x),u){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return d=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:le,match:Y,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 Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.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=k[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&k(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(q," ")+" ").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,c){var l,d,u,p,h,f,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!c&&!s,y=!1;if(v){if(o){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?v.firstChild:v.lastChild],a&&b){for(y=(h=(l=(d=(u=(p=v)[A]||(p[A]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]||[])[0]===w&&l[1])&&l[2],p=h&&v.childNodes[h];p=++h&&p&&p[m]||(y=h=0)||f.pop();)if(1===p.nodeType&&++y&&p===t){d[e]=[w,h,y];break}}else if(b&&(y=h=(l=(d=(u=(p=t)[A]||(p[A]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]||[])[0]===w&&l[1]),!1===y)for(;(p=++h&&p&&p[m]||(y=h=0)||f.pop())&&((s?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++y||(b&&((d=(u=p[A]||(p[A]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]=[w,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[A]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?le((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:le((function(e){var t=[],n=[],i=s(e.replace(F,"$1"));return i[A]?le((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:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:le((function(e){return X.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===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.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 Q.test(e.nodeName)},input:function(e){return K.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:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:ve((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]=he(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=fe(t);function be(){}function ye(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function Ae(e,t,n){var i=t.dir,r=t.next,o=r||i,a=n&&"parentNode"===o,s=M++;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,c){var l,d,u,p=[w,s];if(c){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(d=(u=t[A]||(t[A]={}))[t.uniqueID]||(u[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((l=d[o])&&l[0]===w&&l[1]===s)return p[2]=l[2];if(d[o]=p,p[2]=e(t,n,c))return!0}return!1}}function _e(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 we(e,t,n,i,r){for(var o,a=[],s=0,c=e.length,l=null!=t;s<c;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),l&&t.push(s)));return a}function Me(e,t,n,i,r,o){return i&&!i[A]&&(i=Me(i)),r&&!r[A]&&(r=Me(r,o)),le((function(o,a,s,c){var l,d,u,p=[],h=[],f=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,[]),v=!e||!o&&t?m:we(m,p,e,s,c),g=n?r||(o?e:f||i)?[]:a:v;if(n&&n(v,g,s,c),i)for(l=we(g,h),i(l,[],s,c),d=l.length;d--;)(u=l[d])&&(g[h[d]]=!(v[h[d]]=u));if(o){if(r||e){if(r){for(l=[],d=g.length;d--;)(u=g[d])&&l.push(v[d]=u);r(null,g=[],l,c)}for(d=g.length;d--;)(u=g[d])&&(l=r?L(o,u):p[d])>-1&&(o[l]=!(a[l]=u))}}else g=we(g===a?g.splice(f,g.length):g),r?r(null,a,g,c):P.apply(a,g)}))}function ke(e){for(var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],c=a?1:0,d=Ae((function(e){return e===t}),s,!0),u=Ae((function(e){return L(t,e)>-1}),s,!0),p=[function(e,n,i){var r=!a&&(i||n!==l)||((t=n).nodeType?d(e,n,i):u(e,n,i));return t=null,r}];c<o;c++)if(n=i.relative[e[c].type])p=[Ae(_e(p),n)];else{if((n=i.filter[e[c].type].apply(null,e[c].matches))[A]){for(r=++c;r<o&&!i.relative[e[r].type];r++);return Me(c>1&&_e(p),c>1&&ye(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(F,"$1"),n,c<r&&ke(e.slice(c,r)),r<o&&ke(e=e.slice(r)),r<o&&ye(e))}p.push(n)}return _e(p)}return be.prototype=i.filters=i.pseudos,i.setFilters=new be,a=se.tokenize=function(e,t){var n,r,o,a,s,c,l,d=C[e+" "];if(d)return t?0:d.slice(0);for(s=e,c=[],l=i.preFilter;s;){for(a in n&&!(r=V.exec(s))||(r&&(s=s.slice(r[0].length)||s),c.push(o=[])),n=!1,(r=W.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(F," ")}),s=s.slice(n.length)),i.filter)!(r=Y[a].exec(s))||l[a]&&!(r=l[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,c).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=ke(t[n]))[A]?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,c,d){var u,f,v,g=0,b="0",y=o&&[],A=[],_=l,M=o||r&&i.find.TAG("*",d),k=w+=null==_?1:Math.random()||.1,C=M.length;for(d&&(l=a==h||a||d);b!==C&&null!=(u=M[b]);b++){if(r&&u){for(f=0,a||u.ownerDocument==h||(p(u),s=!m);v=e[f++];)if(v(u,a||h,s)){c.push(u);break}d&&(w=k)}n&&((u=!v&&u)&&g--,o&&y.push(u))}if(g+=b,n&&b!==g){for(f=0;v=t[f++];)v(y,A,a,s);if(o){if(g>0)for(;b--;)y[b]||A[b]||(A[b]=D.call(c));A=we(A)}P.apply(c,A),d&&!o&&A.length>0&&g+t.length>1&&se.uniqueSort(c)}return d&&(w=k,l=_),y};return n?le(o):o}(o,r))).selector=e}return s},c=se.select=function(e,t,n,r){var o,c,l,d,u,p="function"==typeof e&&e,h=!r&&a(e=p.selector||e);if(n=n||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&m&&i.relative[c[1].type]){if(!(t=(i.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(o=Y.needsContext.test(e)?0:c.length;o--&&(l=c[o],!i.relative[d=l.type]);)if((u=i.find[d])&&(r=u(l.matches[0].replace(te,ne),ee.test(c[0].type)&&ge(t.parentNode)||t))){if(c.splice(o,1),!(e=r.length&&ye(c)))return P.apply(n,r),n;break}}return(p||s(e,h))(r,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=A.split("").sort(x).join("")===A,n.detectDuplicates=!!u,p(),n.sortDetached=de((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),de((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&de((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute("disabled")}))||ue(z,(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);A.find=w,A.expr=w.selectors,A.expr[":"]=A.expr.pseudos,A.uniqueSort=A.unique=w.uniqueSort,A.text=w.getText,A.isXMLDoc=w.isXML,A.contains=w.contains,A.escapeSelector=w.escape;var M=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&A(e).is(n))break;i.push(e)}return i},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},C=A.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function x(e,t,n){return f(t)?A.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?A.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?A.grep(e,(function(e){return s.call(t,e)>-1!==n})):A.filter(t,e,n)}A.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?A.find.matchesSelector(i,e)?[i]:[]:A.find.matches(e,A.grep(t,(function(e){return 1===e.nodeType})))},A.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(A(e).filter((function(){for(t=0;t<i;t++)if(A.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)A.find(e,r[t],n);return i>1?A.uniqueSort(n):n},filter:function(e){return this.pushStack(x(this,e||[],!1))},not:function(e){return this.pushStack(x(this,e||[],!0))},is:function(e){return!!x(this,"string"==typeof e&&C.test(e)?A(e):e||[],!1).length}});var O,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:T.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof A?t[0]:t,A.merge(this,A.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),E.test(i[1])&&A.isPlainObject(t))for(i in t)f(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=v.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==n.ready?n.ready(e):e(A):A.makeArray(e,this)}).prototype=A.fn,O=A(v);var D=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(A.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,o=[],a="string"!=typeof e&&A(e);if(!C.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&&A.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?A.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?s.call(A(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return M(e,"parentNode")},parentsUntil:function(e,t,n){return M(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return M(e,"nextSibling")},prevAll:function(e){return M(e,"previousSibling")},nextUntil:function(e,t,n){return M(e,"nextSibling",n)},prevUntil:function(e,t,n){return M(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},(function(e,t){A.fn[e]=function(n,i){var r=A.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=A.filter(i,r)),this.length>1&&($[e]||A.uniqueSort(r),D.test(e)&&r.reverse()),this.pushStack(r)}}));var N=/[^\x20\t\r\n\f]+/g;function L(e){return e}function z(e){throw e}function I(e,t,n,i){var r;try{e&&f(r=e.promise)?r.call(e).done(t).fail(n):e&&f(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):A.extend({},e);var t,n,i,r,o=[],a=[],s=-1,c=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?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){A.each(n,(function(n,i){f(i)?e.unique&&l.has(i)||o.push(i):i&&i.length&&"string"!==y(i)&&t(i)}))}(arguments),n&&!t&&c()),this},remove:function(){return A.each(arguments,(function(e,t){for(var n;(n=A.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?A.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||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!i}};return l},A.extend({Deferred:function(t){var n=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],i="pe
26nding",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 A.Deferred((function(t){A.each(n,(function(n,i){var r=f(e[i[4]])&&e[i[4]];o[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&f(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,c=arguments,l=function(){var e,l;if(!(t<o)){if((e=i.apply(s,c))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,f(l)?r?l.call(e,a(o,n,L,r),a(o,n,z,r)):(o++,l.call(e,a(o,n,L,r),a(o,n,z,r),a(o,n,L,n.notifyWith))):(i!==L&&(s=void 0,c=[e]),(r||n.resolveWith)(s,c))}},d=r?l:function(){try{l()}catch(e){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(e,d.stackTrace),t+1>=o&&(i!==z&&(s=void 0,c=[e]),n.rejectWith(s,c))}};t?d():(A.Deferred.getStackHook&&(d.stackTrace=A.Deferred.getStackHook()),e.setTimeout(d))}}return A.Deferred((function(e){n[0][3].add(a(0,e,f(r)?r:L,e.notifyWith)),n[1][3].add(a(0,e,f(t)?t:L)),n[2][3].add(a(0,e,f(i)?i:z))})).promise()},promise:function(e){return null!=e?A.extend(e,r):r}},o={};return A.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),o=r.call(arguments),a=A.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&&(I(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||f(o[n]&&o[n].then)))return a.then();for(;n--;)I(o[n],s(n),a.reject);return a.promise()}});var R=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.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)},A.readyException=function(t){e.setTimeout((function(){throw t}))};var B=A.Deferred();function j(){v.removeEventListener("DOMContentLoaded",j),e.removeEventListener("load",j),A.ready()}A.fn.ready=function(e){return B.then(e).catch((function(e){A.readyException(e)})),this},A.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==e&&--A.readyWait>0||B.resolveWith(v,[A]))}}),A.ready.then=B.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?e.setTimeout(A.ready):(v.addEventListener("DOMContentLoaded",j),e.addEventListener("load",j));var q=function(e,t,n,i,r,o,a){var s=0,c=e.length,l=null==n;if("object"===y(n))for(s in r=!0,n)q(e,t,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,f(i)||(a=!0),l&&(a?(t.call(e,i),t=null):(l=t,t=function(e,t,n){return l.call(A(e),n)})),t))for(;s<c;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:l?t.call(e):c?t(e[0],n):o},F=/^-ms-/,V=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function H(e){return e.replace(F,"ms-").replace(V,W)}var U=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=A.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),U(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[H(t)]=n;else for(i in t)r[H(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][H(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(H):(t=H(t))in i?[t]:t.match(N)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||A.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&&!A.isEmptyObject(t)}};var Y=new X,G=new X,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function J(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Q,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:K.test(e)?JSON.parse(e):e)}(n)}catch(e){}G.set(e,t,n)}else n=void 0;return n}A.extend({hasData:function(e){return G.hasData(e)||Y.hasData(e)},data:function(e,t,n){return G.access(e,t,n)},removeData:function(e,t){G.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),A.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=G.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=H(i.slice(5)),J(o,i,r[i]));Y.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){G.set(this,e)})):q(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=G.get(o,e))||void 0!==(n=J(o,e))?n:void 0;this.each((function(){G.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){G.remove(this,e)}))}}),A.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Y.get(e,t),n&&(!i||Array.isArray(n)?i=Y.access(e,t,A.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=A.queue(e,t),i=n.length,r=n.shift(),o=A._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,(function(){A.dequeue(e,t)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:A.Callbacks("once memory").add((function(){Y.remove(e,[t+"queue",n])}))})}}),A.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?A.queue(this[0],e):void 0===t?this:this.each((function(){var n=A.queue(this,e,t);A._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&A.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){A.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=A.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=Y.get(o[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var Z=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ee=new RegExp("^(?:([+-])=|)("+Z+")([a-z%]*)$","i"),te=["Top","Right","Bottom","Left"],ne=v.documentElement,ie=function(e){return A.contains(e.ownerDocument,e)},re={composed:!0};ne.getRootNode&&(ie=function(e){return A.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});var oe=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===A.css(e,"display")};function ae(e,t,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return A.css(e,t,"")},c=s(),l=n&&n[3]||(A.cssNumber[t]?"":"px"),d=e.nodeType&&(A.cssNumber[t]||"px"!==l&&+c)&&ee.exec(A.css(e,t));if(d&&d[3]!==l){for(c/=2,l=l||d[3],d=+c||1;a--;)A.style(e,t,d+l),(1-o)*(1-(o=s()/c||.5))<=0&&(a=0),d/=o;d*=2,A.style(e,t,d+l),n=n||[]}
vendor: 15,434 bytes, line 26
26return n&&(d=+d||+c||0,r=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=l,i.start=d,i.end=r)),r}var se={};function ce(e){var t,n=e.ownerDocument,i=e.nodeName,r=se[i];return r||(t=n.body.appendChild(n.createElement(i)),r=A.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),se[i]=r,r)}function le(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]=Y.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&oe(i)&&(r[o]=ce(i))):"none"!==n&&(r[o]="none",Y.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}A.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){oe(this)?A(this).show():A(this).hide()}))}});var de=/^(?:checkbox|radio)$/i,ue=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=v.createDocumentFragment().appendChild(v.createElement("div")),t=v.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="<option></option>",h.option=!!e.lastChild}();var he={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 fe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?A.merge([e],n):n}function me(e,t){for(var n=0,i=e.length;n<i;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}he.tbody=he.tfoot=he.colgroup=he.caption=he.thead,he.th=he.td,h.option||(he.optgroup=he.option=[1,"<select multiple='multiple'>","</select>"]);var ve=/<|&#?\w+;/;function ge(e,t,n,i,r){for(var o,a,s,c,l,d,u=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((o=e[h])||0===o)if("object"===y(o))A.merge(p,o.nodeType?[o]:o);else if(ve.test(o)){for(a=a||u.appendChild(t.createElement("div")),s=(ue.exec(o)||["",""])[1].toLowerCase(),c=he[s]||he._default,a.innerHTML=c[1]+A.htmlPrefilter(o)+c[2],d=c[0];d--;)a=a.lastChild;A.merge(p,a.childNodes),(a=u.firstChild).textContent=""}else p.push(t.createTextNode(o));for(u.textContent="",h=0;o=p[h++];)if(i&&A.inArray(o,i)>-1)r&&r.push(o);else if(l=ie(o),a=fe(u.appendChild(o),"script"),l&&me(a),n)for(d=0;o=a[d++];)pe.test(o.type||"")&&n.push(o);return u}var be=/^key/,ye=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ae=/^([^.]*)(?:\.(.+)|)/;function _e(){return!0}function we(){return!1}function Me(e,t){return e===function(){try{return v.activeElement}catch(e){}}()==("focus"===t)}function ke(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)ke(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=we;else if(!r)return e;return 1===o&&(a=r,(r=function(e){return A().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=A.guid++)),e.each((function(){A.event.add(this,t,r,i,n)}))}function Ce(e,t,n){n?(Y.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var i,o,a=Y.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=r.call(arguments),Y.set(this,t,a),i=n(this,t),this[t](),a!==(o=Y.get(this,t))||i?Y.set(this,t,!1):o={},a!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else a.length&&(Y.set(this,t,{value:A.event.trigger(A.extend(a[0],A.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,t)&&A.event.add(e,t,_e)}A.event={global:{},add:function(e,t,n,i,r){var o,a,s,c,l,d,u,p,h,f,m,v=Y.get(e);if(U(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&A.find.matchesSelector(ne,r),n.guid||(n.guid=A.guid++),(c=v.events)||(c=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==A&&A.event.triggered!==t.type?A.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(N)||[""]).length;l--;)h=m=(s=Ae.exec(t[l])||[])[1],f=(s[2]||"").split(".").sort(),h&&(u=A.event.special[h]||{},h=(r?u.delegateType:u.bindType)||h,u=A.event.special[h]||{},d=A.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&A.expr.match.needsContext.test(r),namespace:f.join(".")},o),(p=c[h])||((p=c[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,f,a)||e.addEventListener&&e.addEventListener(h,a)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,d):p.push(d),A.event.global[h]=!0)},remove:function(e,t,n,i,r){var o,a,s,c,l,d,u,p,h,f,m,v=Y.hasData(e)&&Y.get(e);if(v&&(c=v.events)){for(l=(t=(t||"").match(N)||[""]).length;l--;)if(h=m=(s=Ae.exec(t[l])||[])[1],f=(s[2]||"").split(".").sort(),h){for(u=A.event.special[h]||{},p=c[h=(i?u.delegateType:u.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)d=p[o],!r&&m!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(p.splice(o,1),d.selector&&p.delegateCount--,u.remove&&u.remove.call(e,d));a&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,f,v.handle)||A.removeEvent(e,h,v.handle),delete c[h])}else for(h in c)A.event.remove(e,h+t[l],n,i,!0);A.isEmptyObject(c)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,a,s=new Array(arguments.length),c=A.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[c.type]||[],d=A.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,c)){for(a=A.event.handlers.call(this,c,l),t=0;(r=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(i=((A.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(c.result=i)&&(c.preventDefault(),c.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,i,r,o,a,s=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<c;n++)void 0===a[r=(i=t[n]).selector+" "]&&(a[r]=i.needsContext?A(r,this).index(l)>-1:A.find(r,this,null,[l]).length),a[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return l=this,c<t.length&&s.push({elem:l,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(A.Event.prototype,e,{enumerable:!0,configurable:!0,get:f(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[A.expando]?e:new A.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return de.test(t.type)&&t.click&&S(t,"input")&&Ce(t,"click",_e),!1},trigger:function(e){var t=this||e;return de.test(t.type)&&t.click&&S(t,"input")&&Ce(t,"click"),!0},_default:function(e){var t=e.target;return de.test(t.type)&&t.click&&S(t,"input")&&Y.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},A.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},A.Event=function(e,t){if(!(this instanceof A.Event))return new A.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?_e:we,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&&A.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.Event,isDefaultPrevented:we,isPropagationStopped:we,isImmediatePropagationStopped:we,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=_e,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=_e,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=_e,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},A.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&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&ye.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},(function(e,t){A.event.special[e]={setup:function(){return Ce(this,e,Me),!1},trigger:function(){return Ce(this,e),!0},delegateType:t}})),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){A.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||A.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),A.fn.extend({on:function(e,t,n,i){return ke(this,e,t,n,i)},one:function(e,t,n,i){return ke(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,A(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=we),this.each((function(){A.event.remove(this,e,n,t)}))}});var Se=/<script|<style|<link/i,Ee=/checked\s*(?:[^=]|=\s*.checked.)/i,xe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function Te(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 $e(e,t){var n,i,r,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(r in Y.remove(t,"handle events"),s)for(n=0,i=s[r].length;n<i;n++)A.event.add(t,r,s[r][n]);G.hasData(e)&&(o=G.access(e),a=A.extend({},o),G.set(t,a))}}function Pe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&de.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ne(e,t,n,i){t=o(t);var r,a,s,c,l,d,u=0,p=e.length,m=p-1,v=t[0],g=f(v);if(g||p>1&&"string"==typeof v&&!h.checkClone&&Ee.test(v))return e.each((function(r){var o=e.eq(r);g&&(t[0]=v.call(this,r,o.html())),Ne(o,t,n,i)}));if(p&&(a=(r=ge(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=a),a||i)){for(c=(s=A.map(fe(r,"script"),Te)).length;u<p;u++)l=r,u!==m&&(l=A.clone(l,!0,!0),c&&A.merge(s,fe(l,"script"))),n.call(e[u],l,u);if(c)for(d=s[s.length-1].ownerDocument,A.map(s,De),u=0;u<c;u++)l=s[u],pe.test(l.type||"")&&!Y.access(l,"globalEval")&&A.contains(d,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?A._evalUrl&&!l.noModule&&A._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},d):b(l.textContent.replace(xe,""),l,d))}return e}function Le(e,t,n){for(var i,r=t?A.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||A.cleanData(fe(i)),i.parentNode&&(n&&ie(i)&&me(fe(i,"script")),i.parentNode.removeChild(i));return e}A.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,a,s=e.cloneNode(!0),c=ie(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||A.isXMLDoc(e)))for(a=fe(s),i=0,r=(o=fe(e)).length;i<r;i++)Pe(o[i],a[i]);if(t)if(n)for(o=o||fe(e),a=a||fe(s),i=0,r=o.length;i<r;i++)$e(o[i],a[i]);else $e(e,s);return(a=fe(s,"script")).length>0&&me(a,!c&&fe(e,"script")),s},cleanData:function(e){for(var t,n,i,r=A.event.special,o=0;void 0!==(n=e[o]);o++)if(U(n)){if(t=n[Y.expando]){if(t.events)for(i in t.events)r[i]?A.event.remove(n,i):A.removeEvent(n,i,t.handle);n[Y.expando]=void 0}n[G.expando]&&(n[G.expando]=void 0)}}}),A.fn.extend({detach:function(e){return Le(this,e,!0)},remove:function(e){return Le(this,e)},text:function(e){return q(this,(function(e){return void 0===e?A.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 Ne(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)}))},prepend:function(){return Ne(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ne(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&&(A.cleanData(fe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return A.clone(this,e,t)}))},html:function(e){return q(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&&!Se.test(e)&&!he[(ue.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(A.cleanData(fe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ne(this,arguments,(function(t){var n=this.parentNode;A.inArray(this,e)<0&&(A.cleanData(fe(this)),n&&n.replaceChild(t,this))}),e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){A.fn[e]=function(e){for(var n,i=[],r=A(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),A(r[s])[t](n),a.apply(i,n.get());return this.pushStack(i)}}));var ze=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),Ie=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Re=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},Be=new RegExp(te.join("|"),"i");function je(e,t,n){var i,r,o,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=A.style(e,t)),!h.pixelBoxStyles()&&ze.test(a)&&Be.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 qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(d){l.style.cssText="position:absolute;
26left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ne.appendChild(l).appendChild(d);var t=e.getComputedStyle(d);i="1%"!==t.top,c=12===n(t.marginLeft),d.style.right="60%",a=36===n(t.right),r=36===n(t.width),d.style.position="absolute",o=12===n(d.offsetWidth/3),ne.removeChild(l),d=null}}function n(e){return Math.round(parseFloat(e))}var i,r,o,a,s,c,l=v.createElement("div"),d=v.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===d.style.backgroundClip,A.extend(h,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,i,r;return null==s&&(t=v.createElement("table"),n=v.createElement("tr"),i=v.createElement("div"),t.style.cssText="position:absolute;
26left:-11111px",n.style.height="1px",i.style.height="9px",ne.appendChild(t).appendChild(n).appendChild(i),r=e.getComputedStyle(n),s=parseInt(r.height)>3,ne.removeChild(t)),s}}))}();var Fe=["Webkit","Moz","ms"],Ve=v.createElement("div").style,We={};function He(e){var t=A.cssProps[e]||We[e];return t||(e in Ve?e:We[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Fe.length;n--;)if((e=Fe[n]+t)in Ve)return e}(e)||e)}var Ue=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ye={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"};function Ke(e,t,n){var i=ee.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Qe(e,t,n,i,r,o){var a="width"===t?1:0,s=0,c=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=A.css(e,n+te[a],!0,r)),i?("content"===n&&(c-=A.css(e,"padding"+te[a],!0,r)),"margin"!==n&&(c-=A.css(e,"border"+te[a]+"Width",!0,r))):(c+=A.css(e,"padding"+te[a],!0,r),"padding"!==n?c+=A.css(e,"border"+te[a]+"Width",!0,r):s+=A.css(e,"border"+te[a]+"Width",!0,r));return!i&&o>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-s-.5))||0),c}function Je(e,t,n){var i=Ie(e),r=(!h.boxSizingReliable()||n)&&"border-box"===A.css(e,"boxSizing",!1,i),o=r,a=je(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(a)){if(!n)return a;a="auto"}return(!h.boxSizingReliable()&&r||!h.reliableTrDimensions()&&S(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===A.css(e,"boxSizing",!1,i),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Qe(e,t,n||(r?"border":"content"),o,i,a)+"px"}function Ze(e,t,n,i,r){return new Ze.prototype.init(e,t,n,i,r)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=je(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=H(t),c=Xe.test(t),l=e.style;if(c||(t=He(s)),a=A.cssHooks[t]||A.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:l[t];"string"===(o=typeof n)&&(r=ee.exec(n))&&r[1]&&(n=ae(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=r&&r[3]||(A.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,i){var r,o,a,s=H(t);return Xe.test(t)||(t=He(s)),(a=A.cssHooks[t]||A.cssHooks[s])&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=je(e,t,i)),"normal"===r&&t in Ge&&(r=Ge[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),A.each(["height","width"],(function(e,t){A.cssHooks[t]={get:function(e,n,i){if(n)return!Ue.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,t,i):Re(e,Ye,(function(){return Je(e,t,i)}))},set:function(e,n,i){var r,o=Ie(e),a=!h.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===A.css(e,"boxSizing",!1,o),c=i?Qe(e,t,i,s,o):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Qe(e,t,"border",!1,o)-.5)),c&&(r=ee.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=A.css(e,t)),Ke(0,n,c)}}})),A.cssHooks.marginLeft=qe(h.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(je(e,"marginLeft"))||e.getBoundingClientRect().left-Re(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),A.each({margin:"",padding:"",border:"Width"},(function(e,t){A.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+te[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(A.cssHooks[e+t].set=Ke)})),A.fn.extend({css:function(e,t){return q(this,(function(e,t,n){var i,r,o={},a=0;if(Array.isArray(t)){for(i=Ie(e),r=t.length;a<r;a++)o[t[a]]=A.css(e,t[a],!1,i);return o}return void 0!==n?A.style(e,t,n):A.css(e,t)}),e,t,arguments.length>1)}}),A.Tween=Ze,Ze.prototype={constructor:Ze,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(A.cssNumber[n]?"":"px")},cur:function(){var e=Ze.propHooks[this.prop];return e&&e.get?e.get(this):Ze.propHooks._default.get(this)},run:function(e){var t,n=Ze.propHooks[this.prop];return this.options.duration?this.pos=t=A.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):Ze.propHooks._default.set(this),this}},Ze.prototype.init.prototype=Ze.prototype,Ze.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=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1!==e.elem.nodeType||!A.cssHooks[e.prop]&&null==e.elem.style[He(e.prop)]?e.elem[e.prop]=e.now:A.style(e.elem,e.prop,e.now+e.unit)}}},Ze.propHooks.scrollTop=Ze.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=Ze.prototype.init,A.fx.step={};var et,tt,nt,it,rt=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){tt&&(!1===v.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,A.fx.interval),A.fx.tick())}function st(){return e.setTimeout((function(){et=void 0})),et=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=te[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function lt(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=A.Deferred().always((function(){delete c.elem})),c=function(){if(r)return!1;for(var t=et||st(),n=Math.max(0,l.startTime+l.duration-t),i=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(i);
vendor: 6,772 bytes, line 26
26return s.notifyWith(e,[l,i,n]),i<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:A.extend({},t),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},n),originalProperties:t,originalOptions:n,startTime:et||st(),duration:n.duration,tweens:[],createTween:function(t,n){var i=A.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){var n=0,i=t?l.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),d=l.props;for(!function(e,t){var n,i,r,o,a;for(n in e)if(r=t[i=H(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(a=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}(d,l.opts.specialEasing);o<a;o++)if(i=dt.prefilters[o].call(l,e,d,l.opts))return f(i.stop)&&(A._queueHooks(l.elem,l.opts.queue).stop=i.stop.bind(i)),i;return A.map(d,lt,l),f(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),A.fx.timer(A.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}A.Animation=A.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ae(n.elem,e,ee.exec(t),n),n}]},tweener:function(e,t){f(e)?(t=e,e=["*"]):e=e.match(N);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,c,l,d,u="width"in t||"height"in t,p=this,h={},f=e.style,m=e.nodeType&&oe(e),v=Y.get(e,"fxshow");for(i in n.queue||(null==(a=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--,A.queue(e,"fx").length||a.empty.fire()}))}))),t)if(r=t[i],rt.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!v||void 0===v[i])continue;m=!0}h[i]=v&&v[i]||A.style(e,i)}if((c=!A.isEmptyObject(t))||!A.isEmptyObject(h))for(i in u&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(d=A.css(e,"display"))&&(l?d=l:(le([e],!0),l=e.style.display||l,d=A.css(e,"display"),le([e]))),("inline"===d||"inline-block"===d&&null!=l)&&"none"===A.css(e,"float")&&(c||(p.done((function(){f.display=l})),null==l&&(d=f.display,l="none"===d?"":d)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",p.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),c=!1,h)c||(v?"hidden"in v&&(m=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!m),m&&le([e],!0),p.done((function(){for(i in m||le([e]),Y.remove(e,"fxshow"),h)A.style(e,i,h[i])}))),c=lt(m?v[i]:0,i,p),i in v||(v[i]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),A.speed=function(e,t,n){var i=e&&"object"==typeof e?A.extend({},e):{complete:n||!n&&t||f(e)&&e,duration:e,easing:n&&t||t&&!f(t)&&t};return A.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in A.fx.speeds?i.duration=A.fx.speeds[i.duration]:i.duration=A.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){f(i.old)&&i.old.call(this),i.queue&&A.dequeue(this,i.queue)},i},A.fn.extend({fadeTo:function(e,t,n,i){return this.filter(oe).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=A.isEmptyObject(e),o=A.speed(t,n,i),a=function(){var t=dt(this,A.extend({},e),o);(r||Y.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&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",o=A.timers,a=Y.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&ot.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||A.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Y.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=A.timers,a=i?i.length:0;for(n.finish=!0,A.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}))}}),A.each(["toggle","show","hide"],(function(e,t){var n=A.fn[t];A.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,i,r)}})),A.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){A.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),A.timers=[],A.fx.tick=function(){var e,t=0,n=A.timers;for(et=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||A.fx.stop(),et=void 0},A.fx.timer=function(e){A.timers.push(e),A.fx.start()},A.fx.interval=13,A.fx.start=function(){tt||(tt=!0,at())},A.fx.stop=function(){tt=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(t,n){return t=A.fx&&A.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)}}))},nt=v.createElement("input"),it=v.createElement("select").appendChild(v.createElement("option")),nt.type="checkbox",h.checkOn=""!==nt.value,h.optSelected=it.selected,(nt=v.createElement("input")).value="t",nt.type="radio",h.radioValue="t"===nt.value;var ut,pt=A.expr.attrHandle;A.fn.extend({attr:function(e,t){return q(this,A.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){A.removeAttr(this,e)}))}}),A.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?A.prop(e,t,n):(1===o&&A.isXMLDoc(e)||(r=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?ut:void 0)),void 0!==n?null===n?void A.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=A.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&S(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(N);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),ut={set:function(e,t,n){return!1===t?A.removeAttr(e,n):e.setAttribute(n,n),n}},A.each(A.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||A.find.attr;pt[t]=function(e,t,i){var r,o,a=t.toLowerCase();
vendor: 9,173 bytes, line 26
26return i||(o=pt[a],pt[a]=r,r=null!=n(e,t,i)?a:null,pt[a]=o),r}}));var ht=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i;function mt(e){return(e.match(N)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function gt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}A.fn.extend({prop:function(e,t){return q(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[A.propFix[e]||e]}))}}),A.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&A.isXMLDoc(e)||(t=A.propFix[t]||t,r=A.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=A.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(A.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)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){A.propFix[this.toLowerCase()]=this})),A.fn.extend({addClass:function(e){var t,n,i,r,o,a,s,c=0;if(f(e))return this.each((function(t){A(this).addClass(e.call(this,t,vt(this)))}));if((t=gt(e)).length)for(;n=this[c++];)if(r=vt(n),i=1===n.nodeType&&" "+mt(r)+" "){for(a=0;o=t[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=mt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,o,a,s,c=0;if(f(e))return this.each((function(t){A(this).removeClass(e.call(this,t,vt(this)))}));if(!arguments.length)return this.attr("class","");if((t=gt(e)).length)for(;n=this[c++];)if(r=vt(n),i=1===n.nodeType&&" "+mt(r)+" "){for(a=0;o=t[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(s=mt(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):f(e)?this.each((function(n){A(this).toggleClass(e.call(this,n,vt(this),t),t)})):this.each((function(){var t,r,o,a;if(i)for(r=0,o=A(this),a=gt(e);t=a[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&Y.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Y.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+mt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;A.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=f(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,A(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=A.map(r,(function(e){return null==e?"":e+""}))),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=A.valHooks[r.type]||A.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(bt,""):null==n?"":n:void 0}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:mt(A.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?o+1:r.length;for(i=o<0?c:a?o:0;i<c;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(t=A(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,r=e.options,o=A.makeArray(t),a=r.length;a--;)((i=r[a]).selected=A.inArray(A.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),A.each(["radio","checkbox"],(function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},h.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),h.focusin="onfocusin"in e;var yt=/^(?:focusinfocus|focusoutblur)$/,At=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(t,n,i,r){var o,a,s,c,l,u,p,h,g=[i||v],b=d.call(t,"type")?t.type:t,y=d.call(t,"namespace")?t.namespace.split("."):[];if(a=h=s=i=i||v,3!==i.nodeType&&8!==i.nodeType&&!yt.test(b+A.event.triggered)&&(b.indexOf(".")>-1&&(y=b.split("."),b=y.shift(),y.sort()),l=b.indexOf(":")<0&&"on"+b,(t=t[A.expando]?t:new A.Event(b,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:A.makeArray(n,[t]),p=A.event.special[b]||{},r||!p.trigger||!1!==p.trigger.apply(i,n))){if(!r&&!p.noBubble&&!m(i)){for(c=p.delegateType||b,yt.test(c+b)||(a=a.parentNode);a;a=a.parentNode)g.push(a),s=a;s===(i.ownerDocument||v)&&g.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=g[o++])&&!t.isPropagationStopped();)h=a,t.type=o>1?c:p.bindType||b,(u=(Y.get(a,"events")||Object.create(null))[t.type]&&Y.get(a,"handle"))&&u.apply(a,n),(u=l&&a[l])&&u.apply&&U(a)&&(t.result=u.apply(a,n),!1===t.result&&t.preventDefault());return t.type=b,r||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(g.pop(),n)||!U(i)||l&&f(i[b])&&!m(i)&&((s=i[l])&&(i[l]=null),A.event.triggered=b,t.isPropagationStopped()&&h.addEventListener(b,At),i[b](),t.isPropagationStopped()&&h.removeEventListener(b,At),A.event.triggered=void 0,s&&(i[l]=s)),t.result}},simulate:function(e,t,n){var i=A.extend(new A.Event,n,{type:e,isSimulated:!0});A.event.trigger(i,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each((function(){A.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return A.event.trigger(e,t,n,!0)}}),h.focusin||A.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){A.event.simulate(t,e.target,A.event.fix(e))};A.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=Y.access(i,t);r||i.addEventListener(e,n,!0),Y.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Y.access(i,t)-1;r?Y.access(i,t,r):(i.removeEventListener(e,n,!0),Y.remove(i,t))}}}));var _t=e.location,wt={guid:Date.now()},Mt=/\?/;A.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||A.error("Invalid XML: "+t),n};var kt=/\[\]$/,Ct=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function xt(e,t,n,i){var r;if(Array.isArray(t))A.each(t,(function(t,r){n||kt.test(e)?i(e,r):xt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==y(t))i(e,t);else for(r in t)xt(e+"["+r+"]",t[r],n,i)}A.param=function(e,t){var n,i=[],r=function(e,t){var n=f(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!A.isPlainObject(e))A.each(e,(function(){r(this.name,this.value)}));else for(n in e)xt(n,e[n],t,r);return i.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&Et.test(this.nodeName)&&!St.test(e)&&(this.checked||!de.test(e))})).map((function(e,t){var n=A(this).val();return null==n?null:Array.isArray(n)?A.map(n,(function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}})):{name:t.name,value:n.replace(Ct,"\r\n")}})).get()}});var Ot=/%20/g,Tt=/#.*$/,Dt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:GET|HEAD)$/,Nt=/^\/\//,Lt={},zt={},It="*/".concat("*"),Rt=v.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(N)||[];if(f(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function jt(e,t,n,i){var r={},o=e===zt;function a(s){var c;return r[s]=!0,A.each(e[s]||[],(function(e,s){var l=s(t,n,i);return"string"!=typeof l||o||r[l]?o?!(c=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),c}return a(t.dataTypes[0])||!r["*"]&&a("*")}function qt(e,t){var n,i,r=A.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&A.extend(!0,e,i),e}Rt.href=_t.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,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":A.parseXML}
vendor: 2,814 bytes, line 26
26,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,A.ajaxSettings),t):qt(A.ajaxSettings,e)},ajaxPrefilter:Bt(Lt),ajaxTransport:Bt(zt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,r,o,a,s,c,l,d,u,p,h=A.ajaxSetup({},n),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?A(f):A.event,g=A.Deferred(),b=A.Callbacks("once memory"),y=h.statusCode||{},_={},w={},M="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=$t.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||M;return i&&i.abort(t),C(0,t),this}};if(g.promise(k),h.url=((t||h.url||_t.href)+"").replace(Nt,_t.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(N)||[""],null==h.crossDomain){c=v.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Rt.protocol+"//"+Rt.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=A.param(h.data,h.traditional)),jt(Lt,h,n,k),l)return k;for(u in(d=A.event&&h.global)&&0==A.active++&&A.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Pt.test(h.type),r=h.url.replace(Tt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ot,"+")):(p=h.url.slice(r.length),h.data&&(h.processData||"string"==typeof h.data)&&(r+=(Mt.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace(Dt,"$1"),p=(Mt.test(r)?"&":"?")+"_="+wt.guid+++p),h.url=r+p),h.ifModified&&(A.lastModified[r]&&k.setRequestHeader("If-Modified-Since",A.lastModified[r]),A.etag[r]&&k.setRequestHeader("If-None-Match",A.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+It+"; q=0.01":""):h.accepts["*"]),h.headers)k.setRequestHeader(u,h.headers[u]);if(h.beforeSend&&(!1===h.beforeSend.call(f,k,h)||l))return k.abort();if(M="abort",b.add(h.complete),k.done(h.success),k.fail(h.error),i=jt(zt,h,n,k)){if(k.readyState=1,d&&m.trigger("ajaxSend",[k,h]),l)return k;h.async&&h.timeout>0&&(s=e.setTimeout((function(){k.abort("timeout")}),h.timeout));try{l=!1,i.send(_,C)}catch(e){if(l)throw e;C(-1,e)}}else C(-1,"No Transport");
vendor: 11,858 bytes, line 26
26function C(t,n,a,c){var u,p,v,_,w,M=n;l||(l=!0,s&&e.clearTimeout(s),i=void 0,o=c||"",k.readyState=t>0?4:0,u=t>=200&&t<300||304===t,a&&(_=function(e,t,n){for(var i,r,o,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){c.unshift(r);break}if(c[0]in n)o=c[0];else{for(r in n){if(!c[0]||e.converters[r+" "+c[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),n[o]}(h,k,a)),!u&&A.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),_=function(e,t,n,i){var r,o,a,s,c,l={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=d.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=d.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=l[c+" "+o]||l["* "+o]))for(r in l)if((s=r.split(" "))[1]===o&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[r]:!0!==l[r]&&(o=s[0],d.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 "+c+" to "+o}}}return{state:"success",data:t}}(h,_,k,u),u?(h.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(A.lastModified[r]=w),(w=k.getResponseHeader("etag"))&&(A.etag[r]=w)),204===t||"HEAD"===h.type?M="nocontent":304===t?M="notmodified":(M=_.state,p=_.data,u=!(v=_.error))):(v=M,!t&&M||(M="error",t<0&&(t=0))),k.status=t,k.statusText=(n||M)+"",u?g.resolveWith(f,[p,M,k]):g.rejectWith(f,[k,M,v]),k.statusCode(y),y=void 0,d&&m.trigger(u?"ajaxSuccess":"ajaxError",[k,h,u?p:v]),b.fireWith(f,[k,M]),d&&(m.trigger("ajaxComplete",[k,h]),--A.active||A.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return A.get(e,t,n,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],(function(e,t){A[t]=function(e,n,i,r){return f(n)&&(r=r||i,i=n,n=void 0),A.ajax(A.extend({url:e,type:t,dataType:r,data:n,success:i},A.isPlainObject(e)&&e))}})),A.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),A._evalUrl=function(e,t,n){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,n)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=A(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 f(e)?this.each((function(t){A(this).wrapInner(e.call(this,t))})):this.each((function(){var t=A(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(n){A(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){A(this).replaceWith(this.childNodes)})),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ft={0:200,1223:204},Vt=A.ajaxSettings.xhr();h.cors=!!Vt&&"withCredentials"in Vt,h.ajax=Vt=!!Vt,A.ajaxTransport((function(t){var n,i;if(h.cors||Vt&&!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(Ft[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()}}})),A.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),A.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 A.globalEval(e),e}}}),A.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),A.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=A("<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)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Wt,Ht=[],Ut=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ht.pop()||A.expando+"_"+wt.guid++;return this[e]=!0,e}}),A.ajaxPrefilter("json jsonp",(function(t,n,i){var r,o,a,s=!1!==t.jsonp&&(Ut.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=f(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ut,"$1"+r):!1!==t.jsonp&&(t.url+=(Mt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||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?A(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,Ht.push(r)),a&&f(o)&&o(a[0]),a=o=void 0})),"script"})),h.createHTMLDocument=((Wt=v.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Wt.childNodes.length),A.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((i=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(i)):t=v),o=!n&&[],(r=E.exec(e))?[t.createElement(r[1])]:(r=ge([e],t,o),o&&o.length&&A(o).remove(),A.merge([],r.childNodes)));var i,r,o},A.fn.load=function(e,t,n){var i,r,o,a=this,s=e.indexOf(" ");return s>-1&&(i=mt(e.slice(s)),e=e.slice(0,s)),f(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&A.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(i?A("<div>").append(A.parseHTML(e)).find(i):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},A.expr.pseudos.animated=function(e){return A.grep(A.timers,(function(t){return e===t.elem})).length},A.offset={setOffset:function(e,t,n){var i,r,o,a,s,c,l=A.css(e,"position"),d=A(e),u={};"static"===l&&(e.style.position="relative"),s=d.offset(),o=A.css(e,"top"),c=A.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+c).indexOf("auto")>-1?(a=(i=d.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(c)||0),f(t)&&(t=t.call(e,n,A.extend({},s))),null!=t.top&&(u.top=t.top-s.top+a),null!=t.left&&(u.left=t.left-s.left+r),"using"in t?t.using.call(e,u):("number"==typeof u.top&&(u.top+="px"),"number"==typeof u.left&&(u.left+="px"),d.css(u))}},A.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){A.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"===A.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"===A.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=A(e).offset()).top+=A.css(e,"borderTopWidth",!0),r.left+=A.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-A.css(i,"marginTop",!0),left:t.left-r.left-A.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===A.css(e,"position");)e=e.offsetParent;return e||ne}))}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;A.fn[e]=function(i){return q(this,(function(e,i,r){var o;if(m(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)}})),A.each(["top","left"],(function(e,t){A.cssHooks[t]=qe(h.pixelPosition,(function(e,n){if(n)return n=je(e,t),ze.test(n)?A(e).position()[t]+"px":n}))})),A.each({Height:"height",Width:"width"},(function(e,t){A.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){A.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return q(this,(function(t,n,r){var o;return m(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?A.css(t,n,s):A.style(t,n,r,s)}),t,a?r:void 0,a)}}))})),A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){A.fn[t]=function(e){return this.on(t,e)}})),A.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)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),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){A.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;A.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),f(e))return i=r.call(arguments,2),(o=function(){return e.apply(t||this,i.concat(r.call(arguments)))}).guid=e.guid=e.guid||A.guid++,o},A.holdReady=function(e){e?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=S,A.isFunction=f,A.isWindow=m,A.camelCase=H,A.type=y,A.now=Date.now,A.isNumeric=function(e){var t=A.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},A.trim=function(e){return null==e?"":(e+"").replace(Xt,"")};var Yt=e.jQuery,Gt=e.$;return A.noConflict=function(t){return e.$===A&&(e.$=Gt),t&&e.jQuery===A&&(e.jQuery=Yt),A},void 0===t&&(e.jQuery=e.$=A),A}))})),moment=createCommonjsModule((function(e,t){e.exports=function(){var t,n;function i(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function c(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[],r=e.length;for(n=0;n<r;++n)i.push(t(e[n],n));return i}
vendor: 5,760 bytes, line 26
26function p(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,i){return kt(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var t=f(e),i=n.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);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 v(e){var t=h(NaN);return null!=e?p(f(t),e):f(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var g=i.momentProperties=[],b=!1;function y(e,t){var n,i,r,o=g.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=f(t)),c(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)c(r=t[i=g[n]])||(e[i]=r);return e}function A(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function _(e){return e instanceof A||null!=e&&null!=e._isAMomentObject}function w(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var n=!0;return p((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,o,s,c=[],l=arguments.length;for(o=0;o<l;o++){if(r="","object"==typeof arguments[o]){for(s in r+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(r+=s+": "+arguments[0][s]+", ");r=r.slice(0,-2)}else r=arguments[o];c.push(r)}w(e+"\nArguments: "+Array.prototype.slice.call(c).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,C={};function S(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),C[e]||(w(t),C[e]=!0)}function E(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(e,t){var n,i=p({},e);for(n in t)a(t,n)&&(o(e[n])&&o(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)a(e,n)&&!a(t,n)&&o(e[n])&&(i[n]=p({},i[n]));return i}function O(e){null!=e&&this.set(e)}function T(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}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var D=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,$=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},N={};function L(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(N[e]=r),t&&(N[t[0]]=function(){return T(r.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function z(e,t){return e.isValid()?(t=I(t,e.localeData()),P[t]=P[t]||function(e){var t,n,i,r=e.match(D);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[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),P[t](e)):e.localeData().invalidDate()}function I(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for($.lastIndex=0;n>=0&&$.test(e);)e=e.replace($,i),$.lastIndex=0,n-=1;return e}var R={};function B(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function j(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function q(e){var t,n,i={};for(n in e)a(e,n)&&(t=j(n))&&(i[t]=e[n]);return i}var F={};function V(e,t){F[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function H(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function U(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=H(t)),n}function X(e,t){return function(n){return null!=n?(G(this,e,n),i.updateOffset(this,t),this):Y(this,e)}}function Y(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function G(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(n=U(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),_e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var K,Q=/\d/,J=/\d\d/,Z=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,ie=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,ce=/\d+/,le=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,n){K[e]=E(t)?t:function(e,i){return e&&n?n:t}}function fe(e,t){return a(K,e)?K[e](t._strict,t._locale):new RegExp(function(e){return me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r})))}(e))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var ve,ge={};function be(e,t){var n,i,r=t;
vendor: 11,060 bytes, line 26
26for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=U(e)}),i=e.length,n=0;n<i;n++)ge[e[n]]=r}function ye(e,t){be(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function Ae(e,t,n){null!=t&&a(ge,e)&&ge[e](t,n._a,n,e)}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?W(e)?29:28:31-i%7%2}ve=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},L("M",["MM",2],"Mo",(function(){return this.month()+1})),L("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),L("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),B("month","M"),V("month",8),he("M",ne),he("MM",ne,J),he("MMM",(function(e,t){return t.monthsShortRegex(e)})),he("MMMM",(function(e,t){return t.monthsRegex(e)})),be(["M","MM"],(function(e,t){t[1]=U(e)-1})),be(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[1]=r:f(n).invalidMonth=e}));var we="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Me="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce=pe,Se=pe;function Ee(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=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,a))?r:null:-1!==(r=ve.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,a))||-1!==(r=ve.call(this._longMonthsParse,a))?r:null:-1!==(r=ve.call(this._longMonthsParse,a))||-1!==(r=ve.call(this._shortMonthsParse,a))?r:null}function xe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=U(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 Oe(e){return null!=e?(xe(this,e),i.updateOffset(this,!0),this):Y(this,"Month")}function Te(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=h([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]=me(i[t]),r[t]=me(r[t]);for(t=0;t<24;t++)o[t]=me(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 De(e){return W(e)?366:365}L("Y",0,0,(function(){var e=this.year();return e<=9999?T(e,4):"+"+e})),L(0,["YY",2],0,(function(){return this.year()%100})),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),B("year","y"),V("year",1),he("Y",le),he("YY",ne,J),he("YYYY",ae,ee),he("YYYYY",se,te),he("YYYYYY",se,te),be(["YYYYY","YYYYYY"],0),be("YYYY",(function(e,t){t[0]=2===e.length?i.parseTwoDigitYear(e):U(e)})),be("YY",(function(e,t){t[0]=i.parseTwoDigitYear(e)})),be("Y",(function(e,t){t[0]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return U(e)+(U(e)>68?1900:2e3)};var $e=X("FullYear",!0);function Pe(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}function Ne(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Le(e,t,n){var i=7+t-n;return-(7+Ne(e,0,i).getUTCDay()-t)%7+i-1}function ze(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+Le(e,i,r);return s<=0?a=De(o=e-1)+s:s>De(e)?(o=e+1,a=s-De(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ie(e,t,n){var i,r,o=Le(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+Re(r=e.year()-1,t,n):a>Re(e.year(),t,n)?(i=a-Re(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function Re(e,t,n){var i=Le(e,t,n),r=Le(e+1,t,n);return(De(e)-i+r)/7}function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),V("week",5),V("isoWeek",5),he("w",ne),he("ww",ne,J),he("W",ne),he("WW",ne,J),ye(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=U(e)})),L("d",0,"do","day"),L("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),L("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),L("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),he("d",ne),he("e",ne),he("E",ne),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),ye(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e})),ye(["d","e","E"],(function(e,t,n,i){t[i]=U(e)}));var je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ve=pe,We=pe,He=pe;function Ue(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=h([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=ve.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._shortWeekdaysParse,a))||-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,a))||-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,a))||-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._shortWeekdaysParse,a))?r:null}function Xe(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),i=me(this.weekdaysMin(n,"")),r=me(this.weekdaysShort(n,"")),o=me(this.weekdays(n,"")),a.push(i),s.push(r),c.push(o),l.push(i),l.push(r),l.push(o);a.sort(e),s.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(){return this.hours()%12||12}function Ge(e,t){L(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ke(e,t){return t._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Ye),L("k",["kk",2],0,(function(){return this.hours()||24})),L("hmm",0,0,(function(){return""+Ye.apply(this)+T(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+Ye.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Ge("a",!0),Ge("A",!1),B("hour","h"),V("hour",13),he("a",Ke),he("A",Ke),he("H",ne),he("h",ne),he("k",ne),he("HH",ne,J),he("hh",ne,J),he("kk",ne,J),he("hmm",ie),he("hmmss",re),he("Hmm",ie),he("Hmmss",re),be(["H","HH"],3),be(["k","kk"],(function(e,t,n){var i=U(e);t[3]=24===i?0:i})),be(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),be(["h","hh"],(function(e,t,n){t[3]=U(e),f(n).bigHour=!0})),be("hmm",(function(e,t,n){var i=e.length-2;t[3]=U(e.substr(0,i)),t[4]=U(e.substr(i)),f(n).bigHour=!0})),be("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=U(e.substr(0,i)),t[4]=U(e.substr(i,2)),t[5]=U(e.substr(r)),f(n).bigHour=!0})),be("Hmm",(function(e,t,n){var i=e.length-2;t[3]=U(e.substr(0,i)),t[4]=U(e.substr(i))})),be("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=U(e.substr(0,i)),t[4]=U(e.substr(i,2)),t[5]=U(e.substr(r))}));var Qe,Je=X("Hours",!0),Ze={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:we,monthsShort:Me,week:{dow:0,doy:6},weekdays:je,weekdaysMin:Fe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function it(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(void 0===et[t]&&e&&e.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(t))try{n=Qe._abbr,commonjsRequire("./locale/"+t),ot(n)}catch(e){et[t]=null}return et[t]}function ot(e,t){var n;return e&&((n=c(t)?st(e):at(e,t))?Qe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function at(e,t){if(null!==t){var n,i=Ze;if(t.abbr=e,null!=et[e])S("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=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])i=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return et[e]=new O(x(i,t)),tt[e]&&tt[e].forEach((function(e){at(e.name,e.config)})),ot(e),et[e]}return delete et[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!r(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=it(e[o]).split("-")).length,n=(n=it(e[o+1]))?n.split("-"):null;t>0;){if(i=rt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&nt(r,n)>=t-1)break;t--}o++}return Qe}(e)}function ct(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>_e(n[0],n[1])?2:n[3]<0||n[3]>
2624||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var lt=/^\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)?)?$/,dt=/^\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)?)?$/,ut=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ht=[["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/]],ft=/^\/?Date\((-?\d+)/i,mt=/^(?:(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}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gt(e){var t,n,i,r,o,a,s=e._i,c=lt.exec(s)||dt.exec(s),l=pt.length,d=ht.length;if(c){for(f(e).iso=!0,t=0,n=l;t<n;t++)if(pt[t][1].exec(c[1])){r=pt[t][0],i=!1!==pt[t][2];break}if(null==r)return void(e._isValid=!1);if(c[3]){for(t=0,n=d;t<n;t++)if(ht[t][1].exec(c[3])){o=(c[2]||" ")+ht[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(c[4]){if(!ut.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),wt(e)}else e._isValid=!1}function bt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function yt(e){var t,n=mt.exec(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(n){if(t=function(e,t,n,i,r,o){var a=[bt(e),Me.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&a.push(parseInt(o,10)),a}(n[4],n[3],n[2],n[5],n[6],n[7]),!function(e,t,n){return!e||qe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(n[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(n[8],n[9],n[10]),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function At(e,t,n){return null!=e?e:null!=t?t:n}function _t(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,o,a,s,c,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=At(t.GG,e._a[0],Ie(Ct(),1,4).year),i=At(t.W,1),((r=At(t.E,1))<1||r>7)&&(c=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=Ie(Ct(),o,a),n=At(t.gg,e._a[0],l.year),i=At(t.w,l.week),null!=t.d?((r=t.d)<0||r>6)&&(c=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(c=!0)):r=o),i<1||i>Re(n,o,a)?f(e)._overflowWeeks=!0:null!=c?f(e)._overflowWeekday=!0:(s=ze(n,i,r,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=At(e._a[0],r[0]),(e._dayOfYear>De(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=Ne(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ne:Pe).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[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(f(e).weekdayMismatch=!0)}}function wt(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],f(e).empty=!0;var t,n,r,o,a,s,c,l=""+e._i,d=l.length,u=0;for(c=(r=I(e._f,e._locale).match(D)||[]).length,t=0;t<c;t++)o=r[t],(n=(l.match(fe(o,e))||[])[0])&&((a=l.substr(0,l.indexOf(n))).length>0&&f(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),N[o]?(n?f(e).empty=!1:f(e).unusedTokens.push(o),Ae(o,n,e)):e._strict&&!n&&f(e).unusedTokens.push(o);f(e).charsLeftOver=d-u,l.length>0&&f(e).unusedInput.push(l),e._a[3]<=12&&!0===f(e).bigHour&&e._a[3]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t: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[3],e._meridiem),null!==(s=f(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),_t(e),ct(e)}else yt(e);else gt(e)}function Mt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new A(ct(t)):(d(t)?e._d=t:r(n)?function(e){var t,n,i,r,o,a,s=!1,c=e._f.length;if(0===c)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<c;r++)o=0,a=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],wt(t),m(t)&&(a=!0),o+=f(t).charsLeftOver,o+=10*f(t).unusedTokens.length,f(t).score=o,s?o<i&&(i=o,n=t):(null==i||o<i||a)&&(i=o,n=t,a&&(s=!0));p(e,n||t)}(e):n?wt(e):function(e){var t=e._i;c(t)?e._d=new Date(i.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ft.exec(e._i);
vendor: 6,703 bytes, line 26
26null===t?(gt(e),!1===e._isValid&&(delete e._isValid,yt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),_t(e)):o(t)?function(e){if(!e._d){var t=q(e._i),n=void 0===t.day?t.date:t.day;e._a=u([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),_t(e)}}(e):l(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function kt(e,t,n,i,a){var c={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(o(e)&&s(e)||r(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=i,function(e){var t=new A(ct(Mt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(c)}function Ct(e,t,n,i){return kt(e,t,n,i,!1)}i.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var St=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Et=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function xt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Ct();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Tt(e){var t=q(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,c=t.hour||0,l=t.minute||0,d=t.second||0,u=t.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=Ot.length;for(t in e)if(a(e,t)&&(-1===ve.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[Ot[n]]){if(i)return!1;parseFloat(e[Ot[n]])!==U(e[Ot[n]])&&(i=!0)}return!0}(t),this._milliseconds=+u+1e3*d+6e4*l+1e3*c*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=st(),this._bubble()}function Dt(e){return e instanceof Tt}function $t(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Pt(e,t){L(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+T(~~(e/60),2)+t+T(~~e%60,2)}))}Pt("Z",":"),Pt("ZZ",""),he("Z",ue),he("ZZ",ue),be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Lt(ue,e)}));var Nt=/([\+\-]|\d\d)/gi;function Lt(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Nt)||["-",0,0])[1]+U(n[2]))?0:"+"===n[0]?i:-i}function zt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(_(e)||d(e)?e.valueOf():Ct(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Ct(e).local()}function It(e){return-Math.round(e._d.getTimezoneOffset())}function Rt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Bt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qt(e,t){var n,i,r,o=e,s=null;return Dt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Bt.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:U(s[2])*n,h:U(s[3])*n,m:U(s[4])*n,s:U(s[5])*n,ms:U($t(1e3*s[6]))*n}):(s=jt.exec(e))?(n="-"===s[1]?-1:1,o={y:Ft(s[2],n),M:Ft(s[3],n),w:Ft(s[4],n),d:Ft(s[5],n),h:Ft(s[6],n),m:Ft(s[7],n),s:Ft(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=function(e,t){var n;return e.isValid()&&t.isValid()?(t=zt(t,e),e.isBefore(t)?n=Vt(e,t):((n=Vt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(Ct(o.from),Ct(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),i=new Tt(o),Dt(e)&&a(e,"_locale")&&(i._locale=e._locale),Dt(e)&&a(e,"_isValid")&&(i._isValid=e._isValid),i}function Ft(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vt(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 Wt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(S(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),Ht(this,qt(n,i),e),this}}function Ht(e,t,n,r){var o=t._milliseconds,a=$t(t._days),s=$t(t._months);e.isValid()&&(r=null==r||r,s&&xe(e,Y(e,"Month")+s*n),a&&G(e,"Date",Y(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}qt.fn=Tt.prototype,qt.invalid=function(){return qt(NaN)};var Ut=Wt(1,"add"),Xt=Wt(-1,"subtract");function Yt(e){return"string"==typeof e||e instanceof String}function Gt(e){return _(e)||d(e)||Yt(e)||l(e)||function(e){var t=r(e),n=!1;return t&&(n=0===e.filter((function(t){return!l(t)&&Yt(e)})).length),t&&n}(e)||function(e){var t,n,i=o(e)&&!s(e),r=!1,c=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=c.length;for(t=0;t<l;t+=1)n=c[t],r=r||a(e,n);return i&&r}(e)||null==e}function Kt(e){var t,n=o(e)&&!s(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)i=i||a(e,r[t]);return n&&i}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);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 Jt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=st(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Zt=M("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 en(){return this._locale}function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>
26=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],i=[],r=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)i.push(me(a[e].name)),n.push(me(a[e].abbr)),r.push(me(a[e].narrow)),o.push(me(a[e].name)),o.push(me(a[e].abbr)),o.push(me(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function sn(e,t){L(0,[e,e.length],0,t)}function cn(e,t,n,i,r){var o;return null==e?Ie(this,i,r).year:(t>(o=Re(e,i,r))&&(t=o),ln.call(this,e,t,n,i,r))}function ln(e,t,n,i,r){var o=ze(e,t,n,i,r),a=Ne(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),he("N",on),he("NN",on),he("NNN",on),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?f(n).era=r:f(n).invalidEra=e})),he("y",ce),he("yy",ce),he("yyy",ce),he("yyyy",ce),he("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),be(["y","yy","yyy","yyyy"],0),be(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),L(0,["gg",2],0,(function(){return this.weekYear()%100})),L(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),he("G",le),he("g",le),he("GG",ne,J),he("gg",ne,J),he("GGGG",ae,ee),he("gggg",ae,ee),he("GGGGG",se,te),he("ggggg",se,te),ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=U(e)})),ye(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),L("Q",0,"Qo","quarter"),B("quarter","Q"),V("quarter",7),he("Q",Q),be("Q",(function(e,t){t[1]=3*(U(e)-1)})),L("D",["DD",2],"Do","date"),B("date","D"),V("date",9),he("D",ne),he("DD",ne,J),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),be(["D","DD"],2),be("Do",(function(e,t){t[2]=U(e.match(ne)[0])}));var dn=X("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),V("dayOfYear",4),he("DDD",oe),he("DDDD",Z),be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=U(e)})),L("m",["mm",2],0,"minute"),B("minute","m"),V("minute",14),he("m",ne),he("mm",ne,J),be(["m","mm"],4);var un=X("Minutes",!1);L("s",["ss",2],0,"second"),B("second","s"),V("second",15),he("s",ne),he("ss",ne,J),be(["s","ss"],5);var pn,hn,fn=X("Seconds",!1);for(L("S",0,0,(function(){return~~(this.millisecond()/100)})),L(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),L(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),L(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),L(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),L(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),L(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),B("millisecond","ms"),V("millisecond",16),he("S",oe,Q),he("SS",oe,J),he("SSS",oe,Z),pn="SSSS";pn.length<=9;pn+="S")he(pn,ce);function mn(e,t){t[6]=U(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")be(pn,mn);hn=X("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var vn=A.prototype;function gn(e){return e}vn.add=Ut,vn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Gt(arguments[0])?(e=arguments[0],t=void 0):Kt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Ct(),r=zt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(E(t[o])?t[o].c
vendor: 4,241 bytes, line 26
26all(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Ct(n)))},vn.clone=function(){return new A(this)},vn.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=j(t)){case"year":o=Qt(this,i)/12;break;case"month":o=Qt(this,i);break;case"quarter":o=Qt(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:H(o)},vn.endOf=function(e){var t,n;if(void 0===(e=j(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Ct(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Ct(),e)},vn.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Ct(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Ct(),e)},vn.get=function(e){return E(this[e=j(e)])?this[e]():this},vn.invalidAt=function(){return f(this).overflow},vn.isAfter=function(e,t){var n=_(e)?e:Ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=j(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},vn.isBefore=function(e,t){var n=_(e)?e:Ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=j(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},vn.isBetween=function(e,t,n,i){var r=_(e)?e:Ct(e),o=_(t)?t:Ct(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)))},vn.isSame=function(e,t){var n,i=_(e)?e:Ct(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=j(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},vn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},vn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},vn.isValid=function(){return m(this)},vn.lang=Zt,vn.locale=Jt,vn.localeData=en,vn.max=Et,vn.min=St,vn.parsingFlags=function(){return p({},f(this))},vn.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:F[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=q(e)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](e[i[n].unit])}else if(E(this[e=j(e)]))return this[e](t);return this},vn.startOf=function(e){var t,n;if(void 0===(e=j(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}
26return this._d.setTime(t),i.updateOffset(this,!0),this},vn.subtract=Xt,vn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},vn.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()}},vn.toDate=function(){return new Date(this.valueOf())},vn.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?z(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",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""},vn.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""},vn.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""},vn.eraYear=function(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-i(o[e].since).year())*n+o[e].offset;return this.year()},vn.year=$e,vn.isLeapYear=function(){return W(this.year())},vn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},vn.quarter=vn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},vn.month=Oe,vn.daysInMonth=function(){return _e(this.year(),this.month())},vn.week=vn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},vn.isoWeek=vn.isoWeeks=function(e){var t=Ie(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},vn.weeksInYear=function(){var e=this.localeData()._week;return Re(this.year(),e.dow,e.doy)},vn.weeksInWeekYear=function(){var e=this.localeData()._week;return Re(this.weekYear(),e.dow,e.doy)},vn.isoWeeksInYear=function(){return Re(this.year(),1,4)},vn.isoWeeksInISOWeekYear=function(){return Re(this.isoWeekYear(),1,4)},vn.date=dn,vn.day=vn.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},vn.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")},vn.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},vn.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")},vn.hour=vn.hours=Je,vn.minute=vn.minutes=un,vn.second=vn.seconds=fn,vn.millisecond=vn.milliseconds=hn,vn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Lt(ue,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=It(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Ht(this,qt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:It(this)},vn.utc=function(e){return this.utcOffset(0,e)},vn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(It(this),"m")),this},vn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Lt(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},vn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ct(e).utcOffset():0,(this.utcOffset()-e)%60==0)},vn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Rt,vn.isUTC=Rt,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=M("dates accessor is deprecated. Use date instead.",dn),vn.months=M("months accessor is deprecated. Use month instead",Oe),vn.years=M("years accessor is deprecated. Use year instead",$e),vn.zone=M("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()})),vn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=Mt(t))._a?(e=t._isUTC?h(t._a):Ct(t._a),this._isDSTShifted=this.isValid()&&function(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&&U(e[i])!==U(t[i]))&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var bn=O.prototype;function yn(e,t,n,i){var r=st(),o=h().set(i,t);return r[n](o,e)}
vendor: 13,626 bytes, lines 26-28
26function An(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return yn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=yn(e,i,n,"month");return r}function _n(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=st(),a=e?o._week.dow:0,s=[];if(null!=n)return yn(t,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=yn(t,(r+a)%7,i,"day");return s}bn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return E(i)?i.call(t,n):i},bn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(e){return this._ordinal.replace("%d",e)},bn.preparse=gn,bn.postformat=gn,bn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return E(r)?r(e,t,n,i):r.replace(/%d/i,e)},bn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)},bn.set=function(e){var t,n;for(n in e)a(e,n)&&(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)},bn.eras=function(e,t){var n,r,o,a=this._eras||st("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":o=i(a[n].since).startOf("day"),a[n].since=o.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=i(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}}return a},bn.erasParse=function(e,t,n){var i,r,o,a,s,c=this.eras();for(e=e.toUpperCase(),i=0,r=c.length;i<r;++i)if(o=c[i].name.toUpperCase(),a=c[i].abbr.toUpperCase(),s=c[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return c[i];break;case"NNNN":if(o===e)return c[i];break;case"NNNNN":if(s===e)return c[i]}else if([o,a,s].indexOf(e)>=0)return c[i]},bn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},bn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},bn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},bn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},bn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},bn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ke.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return Ee.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=h([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}},bn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Se),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(e){return Ie(e,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.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?Be(n,this._week.dow):e?n[e.day()]:n},bn.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},bn.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},bn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return Ue.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=h([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}},bn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=We),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=He),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},bn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===U(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=M("moment.lang is deprecated. Use moment.locale instead.",ot),i.langData=M("moment.langData is deprecated. Use moment.localeData instead.",st);var wn=Math.abs;function Mn(e,t,n,i){var r=qt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function kn(e){return e<0?Math.floor(e):Math.ceil(e)}function Cn(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function En(e){return function(){return this.as(e)}}var xn=En("ms"),On=En("s"),Tn=En("m"),Dn=En("h"),$n=En("d"),Pn=En("w"),Nn=En("M"),Ln=En("Q"),zn=En("y");function In(e){return function(){return this.isValid()?this._data[e]:NaN}}var Rn=In("milliseconds"),Bn=In("seconds"),jn=In("minutes"),qn=In("hours"),Fn=In("days"),Vn=In("months"),Wn=In("years");var Hn=Math.round,Un={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Xn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Yn=Math.abs;function Gn(e){return(e>0)-(e<0)||+e}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,a,s,c=Yn(this._milliseconds)/1e3,l=Yn(this._days),d=Yn(this._months),u=this.asSeconds();return u?(e=H(c/60),t=H(e/60),c%=60,e%=60,n=H(d/12),d%=12,i=c?c.toFixed(3).replace(/\.?0+$/,""):"",r=u<0?"-":"",o=Gn(this._months)!==Gn(u)?"-":"",a=Gn(this._days)!==Gn(u)?"-":"",s=Gn(this._milliseconds)!==Gn(u)?"-":"",r+"P"+(n?o+n+"Y":"")+(d?o+d+"M":"")+(l?a+l+"D":"")+(t||e||c?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(c?s+i+"S":"")):"P0D"}var Qn=Tt.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),e.milliseconds=wn(e.milliseconds),e.seconds=wn(e.seconds),e.minutes=wn(e.minutes),e.hours=wn(e.hours),e.months=wn(e.months),e.years=wn(e.years),this},Qn.add=function(e,t){return Mn(this,e,t,1)},Qn.subtract=function(e,t){return Mn(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=j(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Cn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(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)}},Qn.asMilliseconds=xn,Qn.asSeconds=On,Qn.asMinutes=Tn,Qn.asHours=Dn,Qn.asDays=$n,Qn.asWeeks=Pn,Qn.asMonths=Nn,Qn.asQuarters=Ln,Qn.asYears=zn,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*U(this._months/12):NaN},Qn._bubble=function(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*kn(Sn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=H(o/1e3),c.seconds=e%60,t=H(e/60),c.minutes=t%60,n=H(t/60),c.hours=n%24,a+=H(n/24),s+=r=H(Cn(a)),a-=kn(Sn(r)),i=H(s/12),s%=12,c.days=a,c.months=s,c.years=i,this},Qn.clone=function(){return qt(this)},Qn.get=function(e){return e=j(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=Rn,Qn.seconds=Bn,Qn.minutes=jn,Qn.hours=qn,Qn.days=Fn,Qn.weeks=function(){return H(this.days()/7)},Qn.months=Vn,Qn.years=Wn,Qn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=Un;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},Un,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),i=function(e,t,n,i){var r=qt(e).abs(),o=Hn(r.as("s")),a=Hn(r.as("m")),s=Hn(r.as("h")),c=Hn(r.as("d")),l=Hn(r.as("M")),d=Hn(r.as("w")),u=Hn(r.as("y")),p=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||c<=1&&["d"]||c<n.d&&["dd",c];return null!=n.w&&(p=p||d<=1&&["w"]||d<n.w&&["ww",d]),(p=p||l<=1&&["M"]||l<n.M&&["MM",l]||u<=1&&["y"]||["yy",u])[2]=t,p[3]=+e>0,p[4]=i,Xn.apply(null,p)}(this,!r,o,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},Qn.toISOString=Kn,Qn.toString=Kn,Qn.toJSON=Kn,Qn.locale=Jt,Qn.localeData=en,Qn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Qn.lang=Zt,L("X",0,0,"unix"),L("x",0,0,"valueOf"),he("x",le),he("X",/[+-]?\d+(\.\d{1,3})?/),be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),be("x",(function(e,t,n){n._d=new Date(U(e))})), 27//! moment.js 28i.version="2.29.4",t=Ct,i.fn=vn,i.min=function(){var e=[].slice.call(arguments,0);return xt("isBefore",e)},i.max=function(){var e=[].slice.call(arguments,0);return xt("isAfter",e)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(e){return Ct(1e3*e)},i.months=function(e,t){return An(e,t,"months")},i.isDate=d,i.locale=ot,i.invalid=v,i.duration=qt,i.isMoment=_,i.weekdays=function(e,t,n){return _n(e,t,n,"weekdays")},i.parseZone=function(){return Ct.apply(null,arguments).parseZone()},i.localeData=st,i.isDuration=Dt,i.monthsShort=function(e,t){return An(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return _n(e,t,n,"weekdaysMin")},i.defineLocale=at,i.updateLocale=function(e,t){if(null!=t){var n,i,r=Ze;null!=et[e]&&null!=et[e].parentLocale?et[e].set(x(et[e]._config,t)):(null!=(i=rt(e))&&(r=i._config),t=x(r,t),null==i&&(t.abbr=e),(n=new O(t)).parentLocale=et[e],et[e]=n),ot(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===ot()&&ot(e)):null!=et[e]&&delete et[e]);return et[e]},i.locales=function(){return k(et)},i.weekdaysShort=function(e,t,n){return _n(e,t,n,"weekdaysShort")},i.normalizeUnits=j,i.relativeTimeRounding=function(e){return void 0===e?Hn:"function"==typeof e&&(Hn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Un[e]&&(void 0===t?Un[e]:(Un[e]=t,"s"===e&&(Un.ss=t-1),!0))},i.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"},i.prototype=vn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()})),jquery_daterangepicker=createCommonjsModule((function(e,t){e.exports=function(e,t){e.dateRangePickerLanguages={default
vendor: 22,298 bytes, line 28
28:{selected:"Selected:",day:"Day",days:"Days",apply:"Close","week-1":"mo","week-2":"tu","week-3":"we","week-4":"th","week-5":"fr","week-6":"sa","week-7":"su","week-number":"W","month-name":["january","february","march","april","may","june","july","august","september","october","november","december"],shortcuts:"Shortcuts","custom-values":"Custom Values",past:"Past",following:"Following",previous:"Previous","prev-week":"Week","prev-month":"Month","prev-year":"Year",next:"Next","next-week":"Week","next-month":"Month","next-year":"Year","less-than":"Date range should not be more than %d days","more-than":"Date range should not be less than %d days","default-more":"Please select a date range longer than %d days","default-single":"Please select a date","default-less":"Please select a date range less than %d days","default-range":"Please select a date range between %d and %d days","default-default":"Please select a date range",time:"Time",hour:"Hour",minute:"Minute"},id:{selected:"Terpilih:",day:"Hari",days:"Hari",apply:"Tutup","week-1":"sen","week-2":"sel","week-3":"rab","week-4":"kam","week-5":"jum","week-6":"sab","week-7":"min","week-number":"W","month-name":["januari","februari","maret","april","mei","juni","juli","agustus","september","oktober","november","desember"],shortcuts:"Pintas","custom-values":"Nilai yang ditentukan",past:"Yang Lalu",following:"Mengikuti",previous:"Sebelumnya","prev-week":"Minggu","prev-month":"Bulan","prev-year":"Tahun",next:"Selanjutnya","next-week":"Minggu","next-month":"Bulan","next-year":"Tahun","less-than":"Tanggal harus lebih dari %d hari","more-than":"Tanggal harus kurang dari %d hari","default-more":"Jarak tanggal harus lebih lama dari %d hari","default-single":"Silakan pilih tanggal","default-less":"Jarak rentang tanggal tidak boleh lebih lama dari %d hari","default-range":"Rentang tanggal harus antara %d dan %d hari","default-default":"Silakan pilih rentang tanggal",time:"Waktu",hour:"Jam",minute:"Menit"},az:{selected:"Seçildi:",day:" gün",days:" gün",apply:"tÉtbiq","week-1":"1","week-2":"2","week-3":"3","week-4":"4","week-5":"5","week-6":"6","week-7":"7","month-name":["yanvar","fevral","mart","aprel","may","iyun","iyul","avqust","sentyabr","oktyabr","noyabr","dekabr"],shortcuts:"Qısayollar",past:"KeçmiÅ",following:"NövbÉti",previous:" ","prev-week":"ÃncÉki hÉftÉ","prev-month":"ÃncÉki ay","prev-year":"ÃncÉki il",next:" ","next-week":"NövbÉti hÉftÉ","next-month":"NövbÉti ay","next-year":"NövbÉti il","less-than":"Tarix aralıÄı %d gündÉn çox olmamalıdır","more-than":"Tarix aralıÄı %d gündÉn az olmamalıdır","default-more":"%d gündÉn çox bir tarix seçin","default-single":"Tarix seçin","default-less":"%d gündÉn az bir tarix seçin","default-range":"%d vÉ %d gün aralıÄında tarixlÉr seçin","default-default":"Tarix aralıÄı seçin"},bg:{selected:"ÐзбÑано:",day:"Ðен",days:"Ðни",apply:"ÐаÑвоÑи","week-1":"пн","week-2":"вÑ","week-3":"ÑÑ","week-4":"ÑÑ","week-5":"пÑ","week-6":"Ñб","week-7":"нд","week-number":"С","month-name":["ÑнÑаÑи","ÑевÑÑаÑи","маÑÑ","апÑил","май","Ñни","Ñли","авгÑÑÑ","ÑепÑемвÑи","окÑомвÑи","ноемвÑи","декемвÑи"],shortcuts:"ÐÑеки пÑÑиÑа","custom-values":"ÐеÑÑонализиÑани ÑÑойноÑÑи",past:"Ðинал",following:"СледваÑ",previous:"ÐÑедиÑен","prev-week":"СедмиÑа","prev-month":"ÐеÑеÑ","prev-year":"Ðодина",next:"СледваÑ","next-week":"СедмиÑа","next-month":"ÐеÑеÑ","next-year":"Ðодина","less-than":"ÐеÑиодÑÑ Ð¾Ñ Ð²Ñеме не ÑÑÑбва да е повеÑе Ð¾Ñ %d дни","more-than":"ÐеÑиодÑÑ Ð¾Ñ Ð²Ñеме не ÑÑÑбва да е по-малко Ð¾Ñ %d дни","default-more":"ÐÐ¾Ð»Ñ Ð¸Ð·Ð±ÐµÑеÑе пеÑиод по-дÑлÑг Ð¾Ñ %d дни","default-single":"ÐÐ¾Ð»Ñ Ð¸Ð·Ð±ÐµÑеÑе даÑа","default-less":"ÐÐ¾Ð»Ñ Ð¸Ð·Ð±ÐµÑеÑе пеÑиод по-кÑÑ Ð¾Ñ %d дни","default-range":"ÐÐ¾Ð»Ñ Ð¸Ð·Ð±ÐµÑеÑе пеÑиод Ð¼ÐµÐ¶Ð´Ñ %d и %d дни","default-default":"ÐÐ¾Ð»Ñ Ð¸Ð·Ð±ÐµÑеÑе пеÑиод",time:"ÐÑеме",hour:"ЧаÑ",minute:"ÐинÑÑа"},cn:{selected:"已鿩:",day:"天",days:"天",apply:"ç¡®å®","week-1":"ä¸","week-2":"äº","week-3":"ä¸","week-4":"å","week-5":"äº","week-6":"å
","week-7":"æ¥","week-number":"å¨","month-name":["䏿","äºæ","䏿","åæ","äºæ","å
æ","䏿","å
«æ","乿","åæ","å䏿","åäºæ"],shortcuts:"å¿«æ·éæ©",past:"è¿å»",following:"å°æ¥",previous:" ","prev-week":"ä¸å¨","prev-month":"ä¸ä¸ªæ","prev-year":"å»å¹´",next:" ","next-week":"ä¸å¨","next-month":"ä¸ä¸ªæ","next-year":"æå¹´","less-than":"æéæ¥æèå´ä¸è½å¤§äº%d天","more-than":"æéæ¥æèå´ä¸è½å°äº%d天","default-more":"è¯·éæ©å¤§äº%då¤©çæ¥æèå´","default-less":"è¯·éæ©å°äº%då¤©çæ¥æèå´","default-range":"è¯·éæ©%d天å°%då¤©çæ¥æèå´","default-single":"è¯·éæ©ä¸ä¸ªæ¥æ","default-default":"è¯·éæ©ä¸ä¸ªæ¥æèå´",time:"æ¶é´",hour:"å°æ¶",minute:"åé"},cz:{selected:"Vybráno:",day:"Den",days:"Dny",apply:"ZavÅÃt","week-1":"po","week-2":"út","week-3":"st","week-4":"Ät","week-5":"pá","week-6":"so","week-7":"ne","month-name":["leden","únor","bÅezen","duben","kvÄten","Äerven","Äervenec","srpen","záÅÃ","ÅÃjen","listopad","prosinec"],shortcuts:"Zkratky",past:"po",following:"následujÃcÃ",previous:"pÅedchozÃ","prev-week":"týden","prev-month":"mÄsÃc","prev-year":"rok",next:"dalÅ¡Ã","next-week":"týden","next-month":"mÄsÃc","next-year":"rok","less-than":"Rozsah data by nemÄl být vÄtšà než %d dnů","more-than":"Rozsah data by nemÄl být menšà než %d dnů","default-more":"ProsÃm zvolte rozsah data vÄtšà než %d dnů","default-single":"ProsÃm zvolte datum","default-less":"ProsÃm zvolte rozsah data menšà než %d dnů","default-range":"ProsÃm zvolte rozsah data mezi %d a %d dny","default-default":"ProsÃm zvolte rozsah data"},de:{selected:"Auswahl:",day:"Tag",days:"Tage",apply:"SchlieÃen","week-1":"mo","week-2":"di","week-3":"mi","week-4":"do","week-5":"fr","week-6":"sa","week-7":"so","month-name":["januar","februar","märz","april","mai","juni","juli","august","september","oktober","november","dezember"],shortcuts:"Schnellwahl",past:"Vorherige",following:"Folgende",previous:"Vorherige","prev-week":"Woche","prev-month":"Monat","prev-year":"Jahr",next:"Nächste","next-week":"Woche","next-month":"Monat","next-year":"Jahr","less-than":"Datumsbereich darf nicht gröÃer sein als %d Tage","more-than":"Datumsbereich darf nicht kleiner sein als %d Tage","default-more":"Bitte mindestens %d Tage auswählen","default-single":"Bitte ein Datum auswählen","default-less":"Bitte weniger als %d Tage auswählen","default-range":"Bitte einen Datumsbereich zwischen %d und %d Tagen auswählen","default-default":"Bitte ein Start- und Enddatum auswählen",Time:"Zeit",hour:"Stunde",minute:"Minute"},es:{selected:"Seleccionado:",day:"DÃa",days:"DÃas",apply:"Cerrar","week-1":"lu","week-2":"ma","week-3":"mi","week-4":"ju","week-5":"vi","week-6":"sa","week-7":"do","month-name":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortcuts:"Accesos directos",past:"Pasado",following:"Siguiente",previous:"Anterior","prev-week":"Semana","prev-month":"Mes","prev-year":"Año",next:"Siguiente","next-week":"Semana","next-month":"Mes","next-year":"Año","less-than":"El rango no deberÃa ser mayor de %d dÃas","more-than":"El rango no deberÃa ser menor de %d dÃas","default-more":"Por favor selecciona un rango mayor a %d dÃas","default-single":"Por favor selecciona un dÃa","default-less":"Por favor selecciona un rango menor a %d dÃas","default-range":"Por favor selecciona un rango entre %d y %d dÃas","default-default":"Por favor selecciona un rango de fechas."},fr:{selected:"Sélection:",day:"Jour",days:"Jours",apply:"Fermer","week-1":"lu","week-2":"ma","week-3":"me","week-4":"je","week-5":"ve","week-6":"sa","week-7":"di","month-name":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortcuts:"Raccourcis",past:"Passé",following:"Suivant",previous:"Précédent","prev-week":"Semaine","prev-month":"Mois","prev-year":"Année",next:"Suivant","next-week":"Semaine","next-month":"Mois","next-year":"Année","less-than":"L'intervalle ne doit pas être supérieure à %d jours","more-than":"L'intervalle ne doit pas être inférieure à %d jours","default-more":"Merci de choisir une intervalle supérieure à %d jours","default-single":"Merci de choisir une date","default-less":"Merci de choisir une intervalle inférieure %d jours","default-range":"Merci de choisir une intervalle comprise entre %d et %d jours","default-default":"Merci de choisir une date"},hu:{selected:"Kiválasztva:",day:"Nap",days:"Nap",apply:"Ok","week-1":"h","week-2":"k","week-3":"sz","week-4":"cs","week-5":"p","week-6":"sz","week-7":"v","month-name":["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],shortcuts:"Gyorsválasztó",past:"Múlt",following:"KövetkezÅ",previous:"ElÅzÅ","prev-week":"Hét","prev-month":"Hónap","prev-year":"Ãv",next:"KövetkezÅ","next-week":"Hét","next-month":"Hónap","next-year":"Ãv","less-than":"A kiválasztás nem lehet több %d napnál","more-than":"A kiválasztás nem lehet több %d napnál","default-more":"Válassz ki egy idÅszakot ami hosszabb mint %d nap","default-single":"Válassz egy napot","default-less":"Válassz ki egy idÅszakot ami rövidebb mint %d nap","default-range":"Válassz ki egy %d - %d nap hosszú idÅszakot","default-default":"Válassz ki egy idÅszakot"},it:{selected:"Selezionati:",day:"Giorno",days:"Giorni",apply:"Chiudi","week-1":"lu","week-2":"ma","week-3":"me","week-4":"gi","week-5":"ve","week-6":"sa","week-7":"do","month-name":["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],shortcuts:"Scorciatoie",past:"Scorso",following:"Successivo",previous:"Precedente","prev-week":"Settimana","prev-month":"Mese","prev-year":"Anno",next:"Prossimo","next-week":"Settimana","next-month":"Mese","next-year":"Anno","less-than":"L'intervallo non dev'essere maggiore di %d giorni","more-than":"L'intervallo non dev'essere minore di %d giorni","default-more":"Seleziona un intervallo maggiore di %d giorni","default-single":"Seleziona una data","default-less":"Seleziona un intervallo minore di %d giorni","default-range":"Seleziona un intervallo compreso tra i %d e i %d giorni","default-default":"Seleziona un intervallo di date"},ko:{selected:"기ê°:",day:"ì¼",days:"ì¼ê°",apply:"ë«ê¸°","week-1":"ì","week-2":"í","week-3":"ì","week-4":"목","week-5":"ê¸","week-6":"í ","week-7":"ì¼","week-number":"주","month-name":["1ì","2ì","3ì","4ì","5ì","6ì","7ì","8ì","9ì","10ì","11ì","12ì"],shortcuts:"ë¨ì¶í¤ë¤",past:"ì§ë(ì¤ë기ì¤)",following:"ì´í(ì¤ë기ì¤)",previous:"ì´ì ","prev-week":"1주","prev-month":"1ë¬","prev-year":"1ë
",next:"ë¤ì","next-week":"1주","next-month":"1ë¬","next-year":"1ë
","less-than":"ë ì§ ë²ìë %d ì¼ë³´ë¤ ë§ì ì ììµëë¤","more-than":"ë ì§ ë²ìë %d ì¼ë³´ë¤ ìì ì ììµëë¤","default-more":"ë ì§ ë²ì를 %d ì¼ë³´ë¤ ê¸¸ê² ì íí´ ì£¼ì¸ì","default-single":"ë ì§ë¥¼ ì íí´ ì£¼ì¸ì","default-less":"%d ì¼ë³´ë¤ ìì ë ì§ë¥¼ ì íí´ ì£¼ì¸ì","default-range":"%dì %d ì¼ ì¬ì´ì ë ì§ ë²ì를 ì íí´ ì£¼ì¸ì","default-default":"ë ì§ ë²ì를 ì íí´ ì£¼ì¸ì",time:"ìê°",hour:"ì",minute:"ë¶"},no:{selected:"Valgt:",day:"Dag",days:"Dager",apply:"Lukk","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lø","week-7":"sø","month-name":["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],shortcuts:"Snarveier","custom-values":"Egendefinerte Verdier",past:"Over",following:"Følger",previous:"Forrige","prev-week":"Uke","prev-month":"MÃ¥ned","prev-year":"Ã
r",next:"Neste","next-week":"Uke","next-month":"MÃ¥ned","next-year":"Ã
r","less-than":"Datoperioden skal ikkje være lengre enn %d dager","more-than":"Datoperioden skal ikkje være kortere enn %d dager","default-more":"Vennligst velg ein datoperiode lengre enn %d dager","default-single":"Vennligst velg ein dato","default-less":"Vennligst velg ein datoperiode mindre enn %d dager","default-range":"Vennligst velg ein datoperiode mellom %d og %d dager","default-default":"Vennligst velg ein datoperiode",time:"Tid",hour:"Time",minute:"Minutter"},nl:{selected:"Geselecteerd:",day:"Dag",days:"Dagen",apply:"Ok","week-1":"ma","week-2":"di","week-3":"wo","week-4":"do","week-5":"vr","week-6":"za","week-7":"zo","month-name":["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortcuts:"Snelkoppelingen","custom-values":"Aangepaste waarden",past:"Verleden",following:"Komend",previous:"Vorige","prev-week":"Week","prev-month":"Maand","prev-year":"Jaar",next:"Volgende","next-week":"Week","next-month":"Maand","next-year":"Jaar","less-than":"Interval moet langer dan %d dagen zijn","more-than":"Interval mag niet minder dan %d dagen zijn","default-more":"Selecteer een interval langer dan %dagen","default-single":"Selecteer een datum","default-less":"Selecteer een interval minder dan %d dagen","default-range":"Selecteer een interval tussen %d en %d dagen","default-default":"Selecteer een interval",time:"Tijd",hour:"Uur",minute:"Minuut"},ru:{selected:"ÐÑбÑано:",day:"ÐенÑ",days:"Ðней",apply:"ÐÑимениÑÑ","week-1":"пн","week-2":"вÑ","week-3":"ÑÑ","week-4":"ÑÑ","week-5":"пÑ","week-6":"Ñб","week-7":"вÑ","month-name":["ÑнваÑÑ","ÑевÑалÑ","маÑÑ","апÑелÑ","май","иÑнÑ","иÑлÑ","авгÑÑÑ","ÑенÑÑбÑÑ","окÑÑбÑÑ","ноÑбÑÑ","декабÑÑ"],shortcuts:"ÐÑÑÑÑÑй вÑбоÑ","custom-values":"ÐолÑзоваÑелÑÑкие знаÑениÑ",past:"ÐÑоÑедÑие",following:"СледÑÑÑие",previous:" ","prev-week":"ÐеделÑ","prev-month":"ÐеÑÑÑ","prev-year":"Ðод",next:" ","next-week":"ÐеделÑ","next-month":"ÐеÑÑÑ","next-year":"Ðод","less-than":"Ðиапазон не Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð±Ð¾Ð»ÑÑе %d дней","more-than":"Ðиапазон не Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¼ÐµÐ½ÑÑе %d дней","default-more":"ÐожалÑйÑÑа вÑбеÑиÑе диапазон болÑÑе %d дней","default-single":"ÐожалÑйÑÑа вÑбеÑиÑе даÑÑ","default-less":"ÐожалÑйÑÑа вÑбеÑиÑе диапазон менÑÑе %d дней","default-range":"ÐожалÑйÑÑа вÑбеÑиÑе диапазон Ð¼ÐµÐ¶Ð´Ñ %d и %d днÑми","default-default":"ÐожалÑйÑÑа вÑбеÑиÑе диапазон",time:"ÐÑемÑ",hour:"ЧаÑÑ",minute:"ÐинÑÑÑ"},pl:{selected:"Wybrany:",day:"DzieÅ",days:"Dni",apply:"Zamknij","week-1":"pon","week-2":"wt","week-3":"År","week-4":"czw","week-5":"pt","week-6":"so","week-7":"nd","month-name":["styczeÅ","luty","marzec","kwiecieÅ","maj","czerwiec","lipiec","sierpieÅ","wrzesieÅ","październik","listopad","grudzieÅ"],shortcuts:"Skróty","custom-values":"Niestandardowe wartoÅci",past:"PrzeszÅe",following:"NastÄpne",previous:"Poprzednie","prev-week":"tydzieÅ","prev-month":"miesiÄ
c","prev-year":"rok",next:"NastÄpny","next-week":"tydzieÅ","next-month":"miesiÄ
c","next-year":"rok","less-than":"Okres nie powinien byÄ dÅuższy niż %d dni","more-than":"Okres nie powinien byÄ krótszy niż %d ni","default-more":"Wybierz okres dÅuższy niż %d dni","default-single":"Wybierz datÄ","default-less":"Wybierz okres krótszy niż %d dni","default-range":"Wybierz okres trwajÄ
cy od %d do %d dni","default-default":"Wybierz okres",time:"Czas",hour:"Godzina",minute:"Minuta"},se:{selected:"Vald:",day:"dag",days:"dagar",apply:"godkänn","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lö","week-7":"sö","month-name":["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],shortcuts:"genvägar","custom-values":"Anpassade värden",past:"över",following:"följande",previous:"förra","prev-week":"vecka","prev-month":"mÃ¥nad","prev-year":"Ã¥r",next:"nästa","next-week":"vecka","next-month":"mÃ¥ned","next-year":"Ã¥r","less-than":"Datumintervall bör inte vara mindre än %d dagar","more-than":"Datumintervall bör inte vara mer än %d dagar","default-more":"Välj ett datumintervall längre än %d dagar","default-single":"Välj ett datum","default-less":"Välj ett datumintervall mindre än %d dagar","default-range":"Välj ett datumintervall mellan %d och %d dagar","default-default":"Välj ett datumintervall",time:"tid",hour:"timme",minute:"minut"},pt:{selected:"Selecionado:",day:"Dia",days:"Dias",apply:"Fechar","week-1":"seg","week-2":"ter","week-3":"qua","week-4":"qui","week-5":"sex","week-6":"sab","week-7":"dom","week-number":"N","month-name":["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],shortcuts:"Atalhos","custom-values":"Valores Personalizados",past:"Passado",following:"Seguinte",previous:"Anterior","prev-week":"Semana","prev-month":"Mês","prev-year":"Ano",next:"Próximo","next-week":"Próxima Semana","next-month":"Próximo Mês","next-year":"Próximo Ano","less-than":"O perÃodo selecionado não deve ser maior que %d dias","more-than":"O perÃodo selecionado não deve ser menor que %d dias","default-more":"Selecione um perÃodo superior a %d dias","default-single":"Selecione uma data","default-less":"Selecione um perÃodo inferior a %d dias","default-range":"Selecione um perÃodo de %d a %d dias","default-default":"Selecione um perÃodo",time:"Tempo",hour:"Hora",minute:"Minuto"},tc:{selected:"已鏿:",day:"天",days:"天",apply:"確å®","week-1":"ä¸","week-2":"äº","week-3":"ä¸","week-4":"å","week-5":"äº","week-6":"å
","week-7":"æ¥","week-number":"å¨","month-name":["䏿","äºæ","䏿","åæ","äºæ","å
æ","䏿","å
«æ","乿","åæ","å䏿","åäºæ"],shortcuts:"å¿«é鏿",past:"éå»",following:"å°ä¾",previous:" ","prev-week":"ä¸é±","prev-month":"ä¸åæ","prev-year":"å»å¹´",next:" ","next-week":"ä¸å¨","next-month":"ä¸åæ","next-year":"æå¹´","less-than":"æé¸æ¥æç¯åä¸è½å¤§æ¼%d天","more-than":"æé¸æ¥æç¯åä¸è½å°æ¼%d天","default-more":"è«é¸æå¤§æ¼%då¤©çæ¥æç¯å","default-less":"è«é¸æå°æ¼%då¤©çæ¥æç¯å","default-range":"è«é¸æ%d天å°%då¤©çæ¥æç¯å","default-single":"è«é¸æä¸åæ¥æ","default-default":"è«é¸æä¸åæ¥æç¯å",time:"æ¥æ",hour:"å°æ",minute:"åé"},ja:{selected:"鏿ãã¾ãã:",day:"æ¥",days:"æ¥ã
",apply:"éãã","week-1":"æ","week-2":"ç«","week-3":"æ°´","week-4":"æ¨","week-5":"é","week-6":"å","week-7":"æ¥","month-name":["1æ","2æ","3æ","4æ","5æ","6æ","7æ","8æ","9æ","10æ","11æ","12æ"],shortcuts:"ã¯ã¤ãã¯é¸æ",past:"éå»",following:"å°æ¥",previous:" ","prev-week":"å
é±ã","prev-month":"å
æ","prev-year":"æ¨å¹´",next:" ","next-week":"æ¥é±","next-month":"æ¥æ","next-year":"æ¥å¹´","less-than":"æ¥ä»ã®ç¯å²ã¯ ï¼
d æ¥ä»¥ä¸ã«ãã¹ãã§ã¯ããã¾ãã","more-than":"æ¥ä»ã®ç¯å²ã¯ ï¼
d æ¥ãä¸åã£ã¦ã¯ããã¾ãã","default-more":"ï¼
d æ¥ãããé·ãæéã鏿ãã¦ãã ãã","default-less":"ï¼
d æ¥æªæºã®æéã鏿ãã¦ãã ãã","default-range":"ï¼
d ã¨ï¼
dæ¥ã®éã®æ¥ä»ç¯å²ã鏿ãã¦ãã ãã","default-single":"æ¥ä»ã鏿ãã¦ãã ãã","default-default":"æ¥ä»ç¯å²ã鏿ãã¦ãã ãã",time:"æé",hour:"æé",minute:"å"},da:{selected:"Valgt:",day:"Dag",days:"Dage",apply:"Luk","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lö","week-7":"sö","month-name":["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],shortcuts:"genveje","custom-values":"Brugerdefinerede værdier",past:"Forbi",following:"Følgende",previous:"Forrige","prev-week":"uge","prev-month":"mÃ¥nad","prev-year":"Ã¥r",next:"Næste","next-week":"Næste uge","next-month":"Næste mÃ¥ned","next-year":"Næste Ã¥r","less-than":"Dato interval bør ikke være med end %d dage","more-than":"Dato interval bør ikke være mindre end %d dage","default-more":"Vælg datointerval længere end %d dage","default-single":"Vælg dato","default-less":"Vælg datointerval mindre end %d dage","default-range":"Vælg datointerval mellem %d og %d dage","default-default":"Vælg datointerval",time:"tid",hour:"time",minute:"minut"},fi:{selected:"Valittu:",day:"Päivä",days:"Päivää",apply:"Sulje","week-1":"ma","week-2":"ti","week-3":"ke","week-4":"to","week-5":"pe","week-6":"la","week-7":"su","week-number":"V","month-name":["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],shortcuts:"Pikavalinnat","custom-values":"Mukautetut Arvot",past:"Menneet",following:"Tulevat",previous:"Edellinen","prev-week":"Viikko","prev-month":"Kuukausi","prev-year":"Vuosi",next:"Seuraava","next-week":"Viikko","next-month":"Kuukausi","next-year":"Vuosi","less-than":"Aikajakson tulisi olla vähemmän kuin %d päivää","more-than":"Aikajakson ei tulisi olla vähempää kuin %d päivää","default-more":"Valitse pidempi aikajakso kuin %d päivää","default-single":"Valitse päivä","default-less":"Valitse lyhyempi aikajakso kuin %d päivää","default-range":"Valitse aikajakso %d ja %d päivän väliltä","default-default":"Valitse aikajakso",time:"Aika",hour:"Tunti",minute:"Minuutti"}},e.fn.dateRangePicker=function(
28n){n||(n={}),(n=e.extend(!0,{autoClose:!1,format:"YYYY-MM-DD",separator:" to ",language:"auto",startOfWeek:"sunday",getValue:function(){return e(this).val()},setValue:function(t){e(this).attr("readonly")||e(this).is(":disabled")||t==e(this).val()||e(this).val(t)},startDate:!1,endDate:!1,time:{enabled:!1},minDays:0,maxDays:0,showShortcuts:!1,shortcuts:{},customShortcuts:[],inline:!1,container:"body",alwaysOpen:!1,singleDate:!1,lookBehind:!1,batchMode:!1,duration:200,stickyMonths:!1,dayDivAttrs:[],dayTdAttrs:[],selectForward:!1,selectBackward:!1,applyBtnClass:"",singleMonth:"auto",hoveringTooltip:function(e,t,n){return e>1?e+" "+U("days"):""},showTopbar:!0,swapTime:!1,showWeekNumbers:!1,getWeekNumber:function(e){return t(e).format("w")},customOpenAnimation:null,customCloseAnimation:null,customArrowPrevSymbol:null,customArrowNextSymbol:null},n)).start=!1,n.end=!1,n.startWeek=!1,n.isTouchDevice="ontouchstart"in window||navigator.msMaxTouchPoints,n.isTouchDevice&&(n.hoveringTooltip=!1),"auto"==n.singleMonth&&(n.singleMonth=e(window).width()<480),n.singleMonth&&(n.stickyMonths=!1),n.showTopbar||(n.autoClose=!0),n.startDate&&"string"==typeof n.startDate&&(n.startDate=t(n.startDate,n.format).toDate()),n.endDate&&"string"==typeof n.endDate&&(n.endDate=t(n.endDate,n.format).toDate());var i,r,o=function(){if("auto"==n.language){var t=navigator.language?navigator.language:navigator.browserLanguage;if(!t)return e.dateRangePickerLanguages.default;for(var i in t=t.toLowerCase(),e.dateRangePickerLanguages)if(-1!==t.indexOf(i))return e.dateRangePickerLanguages[i];return e.dateRangePickerLanguages.default}return n.language&&n.language in e.dateRangePickerLanguages?e.dateRangePickerLanguages[n.language]:e.dateRangePickerLanguages.default}(),a=!1,s=this,c=e(s).get(0);return e(this).unbind(".datepicker").bind("click.datepicker",(function(e){i.is(":visible")||d(n.duration)})).bind("change.datepicker",(function(e){u()})).bind("keyup.datepicker",(function(){try{clearTimeout(r)}catch(e){}r=setTimeout((function(){u()}),2e3)})),function(){var r=this;if(e(this).data("date-picker-opened"))L();else{e(this).data("date-picker-opened",!0),(i=function(){var t='<div class="date-picker-wrapper';n.extraClass&&(t+=" "+n.extraClass+" "),n.singleDate&&(t+=" single-date "),n.showShortcuts||(t+=" no-shortcuts "),n.showTopbar||(t+=" no-topbar "),n.customTopBar&&(t+=" custom-topbar "),t+='">',n.showTopbar&&(t+='<div class="drp_top-bar">',n.customTopBar?("function"==typeof n.customTopBar&&(n.customTopBar=n.customTopBar()),t+='<div class="custom-top">'+n.customTopBar+"</div>"):(t+='<div class="normal-top"><span style="color:#333">'+U("selected")+' </span> <b class="start-day">...</b>
28',n.singleDate||(t+=' <span class="separator-day">'+n.separator+'</span> <b class="end-day">...</b> <i class="selected-days">(<span class="selected-days-num">3</span> '+U("days")+")</i>"),t+="</div>",t+='<div class="error-top">error</div><div class="default-top">default</div>'),t+='<input type="button" class="apply-btn disabled'+function(){var e="";return!0===n.autoClose&&(e+=" hide"),""!==n.applyBtnClass&&(e+=" "+n.applyBtnClass),e}()+'" value="'+U("apply")+'" />',t+="</div>");var i=n.showWeekNumbers?6:5,r="<";n.customArrowPrevSymbol&&(r=n.customArrowPrevSymbol);var o=">";if(n.customArrowNextSymbol&&(o=n.customArrowNextSymbol),t+='<div class="month-wrapper"> <table class="month1" cellspacing="0" border="0" cellpadding="0"> <thead> <tr class="caption"> <th style="width:27px;"> <span class="prev">'+r+' </span> </th> <th colspan="'+i+'" class="month-name"> </th> <th style="width:27px;">'+(n.singleDate||!n.stickyMonths?'<span class="next">'+o+"</span>":"")+' </th> </tr> <tr class="week-name">'+q()+" </thead> <tbody></tbody> </table>",!n.singleMonth&&(t+='<div class="gap">'+function(){for(var e=['<div class="gap-top-mask"></div><div class="gap-bottom-mask"></div><div class="gap-lines">'],t=0;t<20;t++)e.push('<div class="gap-line"><div class="gap-1"></div><div class="gap-2"></div><div class="gap-3"></div></div>');return e.push("</div>"),e.join("")}()+'</div><table class="month2" cellspacing="0" border="0" cellpadding="0"> <thead> <tr class="caption"> <th style="width:27px;">'+(n.stickyMonths?"":'<span class="prev">'+r+"</span>")+' </th> <th colspan="'+i+'" class="month-name"> </th> <th style="width:27px;"> <span class="next">'+o+'</span> </th> </tr> <tr class="week-name">'+q()+" </thead> <tbody></tbody></table>"),t+='<div style="clear:both;height:0;font-size:0;"></div><div class="time"><div class="time1"></div>',n.singleDate||(t+='<div class="time2"></div>'),t+='</div><div style="clear:both;height:0;font-size:0;"></div></div>',t+='<div class="footer">',n.showShortcuts){t+='<div class="shortcuts"><b>'+U("shortcuts")+"</b>";var a=n.shortcuts;if(a){var s;if(a["prev-days"]&&a["prev-days"].length>0){t+=' <span class="prev-days">'+U("past");for(var c=0;c<a["prev-days"].length;c++)s=a["prev-days"][c],s+=a["prev-days"][c]>1?U("days"):U("day"),t+=' <a href="javascript:;" shortcut="day,-'+a["prev-days"][c]+'">'+s+"</a>";t+="</span>"}if(a["next-days"]&&a["next-days"].length>0){for(t+=' <span class="next-days">'+U("following"),c=0;c<a["next-days"].length;c++)s=a["next-days"][c],s+=a["next-days"][c]>1?U("days"):U("day"),t+=' <a href="javascript:;" shortcut="day,'+a["next-days"][c]+'">'+s+"</a>";t+="</span>"}if(a.prev&&a.prev.length>0){for(t+=' <span class="prev-buttons">'+U("previous"),c=0;c<a.prev.length;c++)s=U("prev-"+a.prev[c]),t+=' <a href="javascript:;" shortcut="prev,'+a.prev[c]+'">'+s+"</a>";t+="</span>"}if(a.next&&a.next.length>0){for(t+=' <span class="next-buttons">'+U("next"),c=0;c<a.next.length;c++)s=U("next-"+a.next[c]),t+=' <a href="javascript:;" shortcut="next,'+a.next[c]+'">'+s+"</a>";t+="</span>"}}if(n.customShortcuts)for(c=0;c<n.customShortcuts.length;c++){var l=n.customShortcuts[c];t+=' <span class="custom-shortcut"><a href="javascript:;" shortcut="custom">'+l.name+"</a></span>"}t+="</div>"}if(n.showCustomValues&&(t+='<div class="customValues"><b>'+(n.customValueLabel||U("custom-values"))+"</b>",n.customValues))for(c=0;c<n.customValues.length;c++){var d=n.customValues[c];t+=' <span class="custom-value"><a href="javascript:;" custom="'+d.value+'">'+d.name+"</a></span>"}return e(t+="</div></div>")}().hide()).append('<div class="date-range-length-tip"></div>'),e(n.container).append(i),n.inline?i.addClass("inline-wrapper"):l(),n.alwaysOpen&&i.find(".apply-btn").hide();var o=X();if(Y(o),n.time.enabled)if(n.startDate&&n.endDate||n.start&&n.end)$(t(n.start||n.startDate).toDate(),"time1"),$(t(n.end||n.endDate).toDate(),"time2");else{var s=n.defaultEndTime?n.defaultEndTime:o;$(o,"time1"),$(s,"time2")}var d="";d=n.singleDate?U("default-single"):n.minDays&&n.maxDays?U("default-range"):n.minDays?U("default-more"):n.maxDays?U("default-less"):U("default-default"),i.find(".default-top").html(d.replace(/\%d/,n.minDays).replace(/\%d/,n.maxDays)),n.singleMonth?i.addClass("single-month"):i.addClass("two-months"),setTimeout((function(){h(),a=!0}),0),i.click((function(e){e.stopPropagation()})),e(document).bind("click.datepicker",(function(t){(function(t,n){return n.contains(t.target)||t.target==n||null!=n.childNodes&&e.inArray(t.target,n.childNodes)>=0})(t,r[0])||i.is(":visible")&&L()})),i.find(".next").click((function(){var t,i;n.stickyMonths?(t=B(n.month1),F(i=B(n.month2))||!n.singleDate&&I(t,i)>=0||(D(t,"month1"),D(i,"month2"),T())):function(t){var i=e(t).parents("table").hasClass("month2"),r=i?n.month2:n.month1;r=B(r),!n.singleMonth&&!n.singleDate&&!i&&I(r,n.month2)>=0||F(r)||(D(r,i?"month2":"month1"),N())}(this)})),i.find(".prev").click((function(){var t,i;n.stickyMonths?(t=j(n.month1),i=j(n.month2),F(t)||!n.singleDate&&I(i,t)<=0||(D(i,"month2"),D(t,"month1"),T())):function(t){var i=e(t).parents("table").hasClass("month2"),r=i?n.month2:n.month1;r=j(r),i&&I(r,n.month1)<=0||F(r)||(D(r,i?"month2":"month1"),N())}(this)})),i.attr("unselectable","on").css("user-select","none").bind("selectstart",(function(e){return e.preventDefault(),!1})),i.find(".apply-btn").click((function(){L();var t=P(new Date(n.start))+n.separator+P(new Date(n.end));e(r).trigger("datepicker-apply",{value:t,date1:new Date(n.start),date2:new Date(n.end)})})),i.find("[custom]").click((function(){var t=e(this).attr("custom");n.start=!1,n.end=!1,i.find(".day.checked").removeClass("checked"),n.setValue.call(c,t),C(),S(!0),T(),n.autoClose&&L()})),i.find("[shortcut]").click((function(){var t,i=e(this).attr("shortcut"),r=new Date,o=!1;if(-1!=i.indexOf("day")){var a=parseInt(i.split(",",2)[1],10);o=new Date((new Date).getTime()+864e5*a),r=new Date(r.getTime()+864e5*(a>0?1:-1))}else if(-1!=i.indexOf("week")){var s;for(s=1==(t=-1!=i.indexOf("prev,")?-1:1)?"monday"==n.startOfWeek?1:0:"monday"==n.startOfWeek?0:6,r=new Date(r.getTime()-864e5);r.getDay()!=s;)r=new Date(r.getTime()+864e5*t);o=new Date(r.getTime()+864e5*t*6)}else if(-1!=i.indexOf("month"))(o=1==(t=-1!=i.indexOf("prev,")?-1:1)?B(r):j(r)).setDate(1),(r=B(o)).setDate(1),r=new Date(r.getTime()-864e5);else if(-1!=i.indexOf("year"))t=-1!=i.indexOf("prev,")?-1:1,(o=new Date).setFullYear(r.getFullYear()+t),o.setMonth(0),o.setDate(1),r.setFullYear(r.getFullYear()+t),r.setMonth(11),r.setDate(31);else if("custom"==i){var c=e(this).html();if(n.customShortcuts&&n.customShortcuts.length>0)for(var l=0;l<n.customShortcuts.length;l++){var d=n.customShortcuts[l];if(d.name==c){var u;if((u=d.dates.call())&&2==u.length&&(o=u[0],r=u[1]),u&&1==u.length){var p=u[0];D(p,"month1"),D(B(p),"month2"),N()}break}}}o&&r&&(x(o,r),C())})),i.find(".time1 input[type=range]").bind("change touchmove",(function(t){var n=t.target;v("time1","hour"==n.name?e(n).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==n.name?e(n).val().replace(/^(\d{1})$/,"0$1"):void 0)})),i.find(".time2 input[type=range]").bind("change touchmove",(function(t){var n=t.target;v("time2","hour"==n.name?e(n).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==n.name?e(n).val().replace(/^(\d{1})$/,"0$1"):void 0)}))}}.call(this),n.alwaysOpen&&d(0),e(this).data("dateRangePicker",{setStart:function(e){return"string"==typeof e&&(e=t(e,n.format).toDate()),n.end=!1,O(e),this},setEnd:function(e,i){var r=new Date;return r.setTime(n.start),"string"==typeof e&&(e=t(e,n.format).toDate()),x(r,e,i),this},setDateRange:function(e,i,r){"string"==typeof e&&"string"==typeof i&&(e=t(e,n.format).toDate(),i=t(i,n.format).toDate()),x(e,i,r)},clear:function(){n.start=!1,n.end=!1,i.find(".day.checked").removeClass("checked"),i.find(".day.last-date-selected").removeClass("last-date-selected"),i.find(".day.first-date-selected").removeClass("first-date-selected"),n.setValue.call(c,""),C(),S(),T()},close:L,open:d,redraw:z,getDatePicker:function(){return i},resetMonthsView:Y,destroy:function(){e(s).unbind(".datepicker"),e(s).data("dateRangePicker",""),e(s).data("date-picker-opened",null),i.remove(),e(window).unbind("resize.datepicker",l),e(document).unbind("click.datepicker",L)}}),e(window).bind("resize.datepicker",l),this;
vendor: 4,459 bytes, line 28
28function l(){if(!n.inline){var t=e(s).offset();if("relative"==e(n.container).css("position")){var r=e(n.container).offset();i.css({top:t.top-r.top+e(s).outerHeight()+4,left:t.left-r.left})}else t.left<460?i.css({top:t.top+e(s).outerHeight()+parseInt(e("body").css("border-top")||0,10),left:t.left}):i.css({top:t.top+e(s).outerHeight()+parseInt(e("body").css("border-top")||0,10),left:t.left+e(s).width()-i.width()-16})}}function d(t){l(),z(),u(),n.customOpenAnimation?n.customOpenAnimation.call(i.get(0),(function(){e(s).trigger("datepicker-opened",{relatedTarget:i})})):i.slideDown(t,(function(){e(s).trigger("datepicker-opened",{relatedTarget:i})})),e(s).trigger("datepicker-open",{relatedTarget:i}),N(),h()}function u(){var e=n.getValue.call(c),i=e?e.split(n.separator):"";if(i&&(1==i.length&&n.singleDate||i.length>=2)){var r=n.format;r.match(/Do/)&&(r=r.replace(/Do/,"D"),i[0]=i[0].replace(/(\d+)(th|nd|st)/,"$1"),i.length>=2&&(i[1]=i[1].replace(/(\d+)(th|nd|st)/,"$1"))),a=!1,i.length>=2?x(p(i[0],r,t.locale(n.language)),p(i[1],r,t.locale(n.language))):1==i.length&&n.singleDate&&O(p(i[0],r,t.locale(n.language))),a=!0}}function p(e,n,i){return t(e,n,i).isValid()?t(e,n,i).toDate():t().toDate()}function h(){var e=i.find(".gap").css("margin-left");e&&(e=parseInt(e));var t=i.find(".month1").width(),n=i.find(".gap").width()+(e?2*e:0),r=i.find(".month2").width();i.find(".month-wrapper").width(t+n+r)}function f(e,n){i.find("."+e+" input[type=range].hour-range").val(t(n).hours()),i.find("."+e+" input[type=range].minute-range").val(t(n).minutes()),v(e,t(n).format("HH"),t(n).format("mm"))}function m(e,i){n[e]=parseInt(t(parseInt(i)).startOf("day").add(t(n[e+"Time"]).format("HH"),"h").add(t(n[e+"Time"]).format("mm"),"m").valueOf())}function v(e,r,o){switch(r&&i.find("."+e+" .hour-val").text(r),o&&i.find("."+e+" .minute-val").text(o),e){case"time1":n.start&&a("start",t(n.start)),a("startTime",t(n.startTime||t().valueOf()));break;case"time2":n.end&&a("end",t(n.end)),a("endTime",t(n.endTime||t().valueOf()))}function a(e,t){var i=t.format("HH"),a=t.format("mm");n[e]=t.startOf("day").add(r||i,"h").add(o||a,"m").valueOf()}C(),S(),T()}function g(e){var i=e;return"week-range"===n.batchMode?i="monday"===n.startOfWeek?t(parseInt(e)).startOf("isoweek").valueOf():t(parseInt(e)).startOf("week").valueOf():"month-range"===n.batchMode&&(i=t(parseInt(e)).startOf("month").valueOf()),i}function b(e){var i=e;return"week-range"===n.batchMode?i="monday"===n.startOfWeek?t(parseInt(e)).endOf("isoweek").valueOf():t(parseInt(e)).endOf("week").valueOf():"month-range"===n.batchMode&&(i=t(parseInt(e)).endOf("month").valueOf()),i}function y(i){if(!i.hasClass("invalid")){var r=i.attr("time");if(i.addClass("checked"),n.singleDate?(n.start=r,n.end=!1):"week"===n.batchMode?"monday"===n.startOfWeek?(n.start=t(parseInt(r)).startOf("isoweek").valueOf(),n.end=t(parseInt(r)).endOf("isoweek").valueOf()):(n.end=t(parseInt(r)).endOf("week").valueOf(),n.start=t(parseInt(r)).startOf("week").valueOf()):"workweek"===n.batchMode?(n.start=t(parseInt(r)).day(1).valueOf(),n.end=t(parseInt(r)).day(5).valueOf()):"weekend"===n.batchMode?(n.start=t(parseInt(r)).day(6).valueOf(),n.end=t(parseInt(r)).day(7).valueOf()):"month"===n.batchMode?(n.start=t(parseInt(r)).startOf("month").valueOf(),n.end=t(parseInt(r)).endOf("month").valueOf()):n.start&&n.end||!n.start&&!n.end?(n.start=g(r),n.end=!1):n.start&&(n.end=b(r),n.time.enabled&&m("end",n.end)),n.time.enabled&&(n.start&&m("start",n.start),n.end&&m("end",n.end)),!n.singleDate&&n.start&&n.end&&n.start>n.end){var o=n.end;n.end=b(n.start),n.start=g(o),n.time.enabled&&n.swapTime&&(f("time1",n.start),f("time2",n.end))}n.start=parseInt(n.start),n.end=parseInt(n.end),M(),n.start&&!n.end&&(e(s).trigger("datepicker-first-date-selected",{date1:new Date(n.start)}),w(i)),_(),C(),S(),T(),k()}}function A(e){if(e=parseInt(e,10),n.startDate&&R(e,n.startDate)<0)return!1;if(n.endDate&&R(e,n.endDate)>0)return!1;if(n.start&&!n.end&&!n.singleDate){if(n.maxDays>0&&E(e,n.start)>n.maxDays)return!1;if(n.minDays>0&&E(e,n.start)<n.minDays)return!1;if(n.selectForward&&e<n.start)return!1;if(n.selectBackward&&e>n.start)return!1;if(n.beforeShowDay&&"function"==typeof n.beforeShowDay){for(var t=!0,i=e;E(i,n.start)>1;){if(!n.beforeShowDay(new Date(i))[0]){t=!1;break}if(Math.abs(i-n.start)<864e5)break;i>n.start&&(i-=864e5),i<n.start&&(i+=864e5)}if(!t)return!1}}return!0}function _(){return i.find(".day.invalid.tmp").removeClass("tmp invali
28d").addClass("valid"),n.start&&!n.end&&i.find(".day.toMonth.valid").each((function(){A(parseInt(e(this).attr("time"),10))?e(this).addClass("valid tmp").removeClass("invalid"):e(this).addClass("invalid tmp").removeClass("valid")})),!0}function w(t){var r=parseInt(t.attr("time")),o="";if(t.hasClass("has-tooltip")&&t.attr("data-tooltip"))o='<span style="white-space:nowrap">'+t.attr("data-tooltip")+"</span>";else if(!t.hasClass("invalid"))if(n.singleDate)i.find(".day.hovering").removeClass("hovering"),t.addClass("hovering");else if(i.find(".day").each((function(){var t=parseInt(e(this).attr("time"));n.start,n.end,t==r?e(this).addClass("hovering"):e(this).removeClass("hovering"),n.start&&!n.end&&(n.start<t&&r>=t||n.start>t&&r<=t)?e(this).addClass("hovering"):e(this).removeClass("hovering")})),n.start&&!n.end){var a=E(r,n.start);n.hoveringTooltip&&("function"==typeof n.hoveringTooltip?o=n.hoveringTooltip(a,n.start,r):!0===n.hoveringTooltip&&a>1&&(o=a+" "+U("days")))}if(o){var s=t.offset(),c=i.offset(),l=s.left-c.left,d=s.top-c.top;l+=t.width()/2;var u=i.find(".date-range-length-tip"),p=u.css({visibility:"hidden",display:"none"}).html(o).width(),h=u.height();l-=p/2,d-=h,setTimeout((function(){u.css({left:l,top:d,display:"block",visibility:"visible"})}),10)}else i.find(".date-range-length-tip").hide()}function M(){i.find(".day.hovering").removeClass("hovering"),i.find(".date-range-length-tip").hide()}function k(){!0===n.singleDate?a&&n.start&&n.autoClose&&L():a&&n.start&&n.end&&n.autoClose&&L()}function C(){var e=Math.ceil((n.end-n.start)/864e5)+1;n.singleDate?n.start&&!n.end?i.find(".drp_top-bar").removeClass("error").addClass("normal"):i.find(".drp_top-bar").removeClass("error").removeClass("normal"):n.maxDays&&e>n.maxDays?(n.start=!1,n.end=!1,i.find(".day").removeClass("checked"),i.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(U("less-than").replace("%d",n.maxDays))):n.minDays&&e<n.minDays?(n.start=!1,n.end=!1,i.find(".day").removeClass("checked"),i.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(U("more-than").replace("%d",n.minDays))):n.start||n.end?i.find(".drp_top-bar").removeClass("error").addClass("normal"):i.find(".drp_top-bar").removeClass("error").removeClass("normal"),n.singleDate&&n.start&&!n.end||!n.singleDate&&n.start&&n.end?i.find(".apply-btn").removeClass("disabled"):i.find(".apply-btn").addClass("disabled"),n.batchMode&&(n.start&&n.startDate&&R(n.start,n.startDate)<0||n.end&&n.endDate&&R(n.end,n.endDate)>0)&&(n.start=!1,n.end=!1,i.find(".day").removeClass("checked"))}function S(t,r){var o;i.find(".start-day").html("..."),i.find(".end-day").html("..."),i.find(".selected-days").hide(),n.start&&i.find(".start-day").html(P(new Date(parseInt(n.start)))),n.end&&i.find(".end-day").html(P(new Date(parseInt(n.end)))),n.start&&n.singleDate?(i.find(".apply-btn").removeClass("disabled"),o=P(new Date(n.start)),n.setValue.call(c,o,P(new Date(n.start)),P(new Date(n.end))),a&&!r&&e(s).trigger("datepicker-change",{value:o,date1:new Date(n.start)})):n.start&&n.end?(i.find(".selected-days").show().find(".selected-days-num").html(E(n.end,n.start)),i.find(".apply-btn").removeClass("disabled"),o=P(new Date(n.start))+n.separator+P(new Date(n.end)),n.setValue.call(c,o,P(new Date(n.start)),P(new Date(n.end))),a&&!r&&e(s).trigger("datepicker-change",{value:o,date1:new Date(n.start),date2:new Date(n.end)})):t?i.find(".apply-btn").removeClass("disabled"):i.find(".apply-btn").addClass("disabled")}function E(e,t){return Math.abs(W(e)-W(t))+1}function x(e,t,i){if(e.getTime()>t.getTime()){var r=t;t=e,e=r,r=null}var o=!0;if(n.startDate&&R(e,n.startDate)<0&&(o=!1),n.endDate&&R(t,n.endDate)>0&&(o=!1),!o)return D(n.startDate,"month1"),D(B(n.startDate),"month2"),void N();n.start=e.getTime(),n.end=t.getTime(),n.time.enabled&&(f("time1",e),f("time2",t)),(n.stickyMonths||R(e,t)>0&&0===I(e,t))&&(n.lookBehind?e=j(t):t=B(e)),n.stickyMonths&&!1!==n.endDate&&I(t,n.endDate)>0&&(e=j(e),t=j(t)),n.stickyMonths||0===I(e,t)&&(n.lookBehind?e=j(t):t=B(e)),D(e,"month1"),D(t,"month2"),N(),C(),S(!1,i),k()}function O(e){var t=!0;n.startDate&&R(e,n.startDate)<0&&(t=!1),n.endDate&&R(e,n.endDate)>0&&(t=!1),t?(n.start=e.getTime(),n.time.enabled&&f("time1",e),D(e,"month1"),!0!==n.singleMonth&&D(B(e),"month2"),N(),S(),k()):D(n.startDate,"month1")}function T(){(n.start||n.end)&&(i.find(".day").each((function(){var i=parseInt(e(this).attr("time")),r=n.start,o=n.end;n.time.enabled&&(i=t(i).startOf("day").valueOf(),r=t(r||t().valueOf()).startOf("day").valueOf(),o=t(o||t().valueOf()).startOf("day").valueOf()),n.start&&n.end&&o>=i&&r<=i||n.start&&!n.end&&t(r).format("YYYY-MM-DD")==t(i).format("YYYY-MM-DD")?e(this).addClass("checked"):e(this).removeClass("checked"),n.start&&t(r).format("YYYY-MM-DD")==t(i).format("YYYY-MM-DD")?e(this).addClass("first-date-selected"):e(this).removeClass("first-date-selected"),n.end&&t(o).format("YYYY-MM-DD")==t(i).format("YYYY-MM-DD")?e(this).addClass("last-date-selected"):e(this).removeClass("last-date-selected")})),i.find(".week-number").each((function(){e(this).attr("data-start-time")==n.startWeek&&e(this).addClass("week-number-selected")})))}function D(r,o){r=t(r).toDate();var a,s=(a=r.getMonth(),U("month-name")[a]);i.find("."+o+" .month-name").html(s+" "+r.getFullYear()),i.find("."+o+" tbody").html(function(e){var i=[];e.setDate(1),new Date(e.getTime()-864e5);var r,o,a=new Date,s=e.getDay();if(0===s&&"monday"===n.startOfWeek&&(s=7),s>0)for(var c=s;c>0;c--){var l=new Date(e.getTime()-864e5*c);o=A(l.getTime()),n.startDate&&R(l,n.startDate)<0&&(o=!1),n.endDate&&R(l,n.endDate)>0&&(o=!1),i.push({date:l,type:"lastMonth",day:l.getDate(),time:l.getTime(),valid:o})}var d=e.getMonth();for(c=0;c<40;c++)r=t(e).add(c,"days").toDate(),o=A(r.getTime()),n.startDate&&R(r,n.startDate)<0&&(o=!1),n.endDate&&R(r,n.endDate)>0&&(o=!1),i.push({date:r,type:r.getMonth()==d?"toMonth":"nextMonth",day:r.getDate(),time:r.getTime(),valid:o});for(var u=[],p=0;p<6&&"nextMonth"!=i[7*p].type;p++){for(u.push("<tr>"),l=0;l<7;l++){var h="monday"==n.startOfWeek?l+1:l;r=i[7*p+h];var f=t(r.time).format("L")==t(a).format("L");if(r.extraClass="",r.tooltip="",r.valid&&n.beforeShowDay&&"function"==typeof n.beforeShowDay){var m=n.beforeShowDay(t(r.time).toDate());r.valid=m[0],r.extraClass=m[1]||"",r.tooltip=m[2]||"",""!==r.tooltip&&(r.extraClass+=" has-tooltip ")}
vendor: 4,966 bytes, line 28
28var v={time:r.time,"data-tooltip":r.tooltip,class:"day "+r.type+" "+r.extraClass+" "+(r.valid?"valid":"invalid")+" "+(f?"real-today":"")};0===l&&n.showWeekNumbers&&u.push('<td><div class="week-number" data-start-time="'+r.time+'">'+n.getWeekNumber(r.date)+"</div></td>"),u.push("<td "+V({},n.dayTdAttrs,r)+"><div "+V(v,n.dayDivAttrs,r)+">"+H(r.time,r.day)+"</div></td>")}u.push("</tr>")}return u.join("")}(r)),n[o]=r,_(),i.find(".day").unbind("click").click((function(t){y(e(this))})),i.find(".day").unbind("mouseenter").mouseenter((function(t){w(e(this))})),i.find(".day").unbind("mouseleave").mouseleave((function(e){i.find(".date-range-length-tip").hide(),n.singleDate&&M()})),i.find(".week-number").unbind("click").click((function(r){var o,a,s,c;o=e(this),c=parseInt(o.attr("data-start-time"),10),n.startWeek?(i.find(".week-number-selected").removeClass("week-number-selected"),a=new Date(c<n.startWeek?c:n.startWeek),s=new Date(c<n.startWeek?n.startWeek:c),n.startWeek=!1,n.start=t(a).day("monday"==n.startOfWeek?1:0).valueOf(),n.end=t(s).day("monday"==n.startOfWeek?7:6).valueOf()):(n.startWeek=c,o.addClass("week-number-selected"),a=new Date(c),n.start=t(a).day("monday"==n.startOfWeek?1:0).valueOf(),n.end=t(a).day("monday"==n.startOfWeek?7:6).valueOf()),_(),C(),S(),T(),k()}))}function $(e,t){i.find("."+t).append("<div><span>"+U("Time")+': <span class="hour-val">00</span>:<span class="minute-val">00</span></span></div><div class="hour"><label>'+U("Hour")+': <input type="range" class="hour-range" name="hour" min="0" max="23"></label></div><div class="minute"><label>'+U("Minute")+': <input type="range" class="minute-range" name="minute" min="0" max="59"></label></div>'),f(t,e)}function P(e){return t(e).format(n.format)}function N(){T();var e=parseInt(t(n.month1).format("YYYYMM")),r=parseInt(t(n.month2).format("YYYYMM")),o=Math.abs(e-r);o>1&&89!=o?i.addClass("has-gap").removeClass("no-gap").find(".gap").css("visibility","visible"):i.removeClass("has-gap").addClass("no-gap").find(".gap").css("visibility","hidden");var a=i.find("table.month1").height(),s=i.find("table.month2").height();i.find(".gap").height(Math.max(a,s)+10)}function L(){if(!n.alwaysOpen){var t=function(){e(s).data("date-picker-opened",!1),e(s).trigger("datepicker-closed",{relatedTarget:i})};n.customCloseAnimation?n.customCloseAnimation.call(i.get(0),t):e(i).slideUp(n.duration,t),e(s).trigger("datepicker-close",{relatedTarget:i})}}function z(){D(n.month1,"month1"),D(n.month2,"month2")}function I(e,n){var i=parseInt(t(e).format("YYYYMM"))-parseInt(t(n).format("YYYYMM"));return i>0?1:0===i?0:-1}function R(e,n){var i=parseInt(t(e).format("YYYYMMDD"))-parseInt(t(n).format("YYYYMMDD"));return i>0?1:0===i?0:-1}function B(e){return t(e).add(1,"months").toDate()}function j(e){return t(e).add(-1,"months").toDate()}function q(){var e=n.showWeekNumbers?"<th>"+U("week-number")+"</th>":"";return"monday"==n.startOfWeek?e+"<th>"+U("week-1")+"</th><th>"+U("week-2")+"</th><th>"+U("week-3")+"</th><th>"+U("week-4")+"</th><th>"+U("week-5")+"</th><th>"+U("week-6")+"</th><th>"+U("week-7")+"</th>":e+"<th>"+U("week-7")+"</th><th>"+U("week-1")+"</th><th>"+U("week-2")+"</th><th>"+U("week-3")+"</th><th>"+U("week-4")+"</th><th>"+U("week-5")+"</th><th>"+U("week-6")+"</th>"}function F(e){return e=t(e),!(!n.startDate||!e.endOf("month").isBefore(n.startDate))||!(!n.endDate||!e.startOf("month").isAfter(n.endDate))}function V(t,n,i){var r=e.extend(!0,{},t);e.each(n,(function(e,t){var n=t(i);for(var o in n)r.hasOwnProperty(o)?r[o]+=n[o]:r[o]=n[o]}));var o="";for(var a in r)r.hasOwnProperty(a)&&(o+=a+'="'+r[a]+'" ');return o}function W(e){return Math.floor(function(e){return t.isMoment(e)&&(e=e.toDate().getTime()),"object"==typeof e&&e.getTime&&(e=e.getTime()),"string"!=typeof e||e.match(/\d{13}/)||(e=t(e,n.format).toDate().getTime()),e=parseInt(e,10)-60*(new Date).getTimezoneOffset()*1e3}(e)/864e5)}function H(e,t){return n.showDateFilter&&"function"==typeof n.showDateFilter?n.showDateFilter(e,t):t}function U(t){var n=t.toLowerCase(),i=t in o?o[t]:n in o?o[n]:null,r=e.dateRangePickerLanguages.default;return null==i&&(i=t in r?r[t]:n in r?r[n]:""),i}function X(){var e=n.defaultTime?n.defaultTime:new Date;return n.lookBehind?(n.startDate&&I(e,n.startDate)<0&&(e=B(t(n.startDate).toDate())),n.endDate&&I(e,n.endDate)>0&&(e=t(n.endDate).toDate())):(n.startDate&&I(e,n.startDate)<0&&(e=t(n.startDate).toDate()),n.endDate&&I(B(e),n.endDate)>0&&(e=j(t(n.endDate).toDate()))),n.singleDate&&(n.startDate&&I(e,n.startDate)<0&&(e=t(n.startDate).toDate()),n.endDate&&I(e,n.endDate)>0&&(e=t(n.endDate).toDate())),e}function Y(e){e||(e=X()),n.lookBehind?(D(j(e),"month1"),D(e,"month2")):(D(e,"month1"),D(B(e),"month2")),n.singleDate&&D(e,"month1"),T(),N()}}}(jquery,moment)})),e;!function(e){e.fn.tagEditorInput=function(){var t=" ",n=e(this),i=parseInt(n.css("fontSize")),r=e("<span/>").css({position:"absolute",top:-9999,left:-9999,width:"auto",fontSize:n.css("fontSize"),fontFamily:n.
28css("fontFamily"),fontWeight:n.css("fontWeight"),letterSpacing:n.css("letterSpacing"),whiteSpace:"nowrap"});return r.insertAfter(n),n.bind("keyup keydown focus",(function(){if(t!==(t=n.val())){r.text(t);var e=r.width()+i;20>e&&(e=20),e!=n.width()&&n.width(e)}}))},e.fn.tagEditor=function(t,n,r){function o(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var a,s=e.extend({},e.fn.tagEditor.defaults,t);if(s.dregex=new RegExp("["+s.delimiter.replace("-","-")+"]","g"),"string"==typeof t){var c=[];return this.each((function(){var i=e(this),o=i.data("options"),a=i.next(".tag-editor");if("getTags"==t)c.push({field:i[0],editor:a,tags:a.data("tags")});else if("addTag"==t){if(o.maxTags&&a.data("tags").length>=o.maxTags)return!1;e('<li><div class="tag-editor-spacer"> '+o.delimiter[0]+'</div><div class="tag-editor-tag"></div><div class="tag-editor-delete"><i></i></div></li>').appendTo(a).find(".tag-editor-tag").html('<input type="text" maxlength="'+o.maxLength+'">').addClass("active").find("input").val(n).blur(),r?e(".placeholder",a).remove():a.click()}else"removeTag"==t?(e(".tag-editor-tag",a).filter((function(){return e(this).text()==n})).closest("li").find(".tag-editor-delete").click(),r||a.click()):"destroy"==t&&i.removeClass("tag-editor-hidden-src").removeData("options").off("focus.tag-editor").next(".tag-editor").remove()})),"getTags"==t?c:this}return window.getSelection&&e(document).off("keydown.tag-editor").on("keydown.tag-editor",(function(t){if(8==t.which||46==t.which||t.ctrlKey&&88==t.which){try{var n=getSelection(),r="INPUT"!=document.activeElement.tagName?e(n.getRangeAt(0).startContainer.parentNode).closest(".tag-editor"):0}catch(t){r=0}if(n.rangeCount>0&&r&&r.length){var o=[],a=n.toString().split(r.prev().data("options").dregex);for(i=0;i<a.length;i++){var s=e.trim(a[i]);s&&o.push(s)}return e(".tag-editor-tag",r).each((function(){~e.inArray(e(this).text(),o)&&e(this).closest("li").find(".tag-editor-delete").click()})),!1}}})),this.each((function(){var t=e(this),n=[],i=e("<ul "+(s.clickDelete?'oncontextmenu="return false;" ':"")+'class="tag-editor"></ul>').insertAfter(t);t.addClass("tag-editor-hidden-src").data("options",s).on("focus.tag-editor",(function(){i.click()})),i.append('<li style="width:1px"> </li>');var r,c,l='<li><div class="tag-editor-spacer"> '+s.delimiter[0]+'</div><div class="tag-editor-tag"></div><div class="tag-editor-delete"><i></i></div></li>';function d(){!s.placeholder||n.length||e(".deleted, .placeholder, input",i).length||i.append('<li class="placeholder"><div>'+s.placeholder+"</div></li>")}function u(r){var o=n.toString();n=e(".tag-editor-tag:not(.deleted)",i).map((function(t,n){var i=e.trim(e(this).hasClass("active")?e(this).find("input").val():e(n).text());if(i)return i})).get(),i.data("tags",n),t.val(n.join(s.delimiter[0])),r||o!=n.toString()&&s.onChange(t,i,n),d()}function p(r){for(var a,c=r.closest("li"),l=r.val().replace(/ +/," ").split(s.dregex),d=r.data("old_tag"),p=n.slice(0),h=!1,f=0;f<l.length;f++)if(m=e.trim(l[f]).slice(0,s.maxLength),s.forceLowercase&&(m=m.toLowerCase()),a=s.beforeTagSave(t,i,p,d,m),m=a||m,!1!==a&&m&&(s.removeDuplicates&&~e.inArray(m,p)&&e(".tag-editor-tag",i).each((function(){e(this).text()==m&&e(this).closest("li").remove()})),p.push(m),c.before('<li><div class="tag-editor-spacer"> '+s.delimiter[0]+'</div><div class="tag-editor-tag">'+o(m)+'</div><div class="tag-editor-delete"><i></i></div></li>'),s.maxTags&&p.length>=s.maxTags)){h=!0;break}r.attr("maxlength",s.maxLength).removeData("old_tag").val(""),h?r.blur():r.focus(),u()}i.click((function(t,n){var r,o,c=99999;if(!window.getSelection||""==getSelection())return s.maxTags&&i.data("tags").length>=s.maxTags?(i.find("input").blur(),!1):(a=!0,e("input:focus",i).blur(),!!a&&(a=!0,e(".placeholder",i).remove(),n&&n.length?o="before":e(".tag-editor-tag",i).each((function(){var i=e(this),a=i.offset(),s=a.left,l=a.top;t.pageY>=l&&t.pageY<=l+i.height()&&(t.pageX<s?(o="before",r=s-t.pageX):(o="after",r=t.pageX-s-i.width()),r<c&&(c=r,n=i))})),"before"==o?e(l).insertBefore(n.closest("li")).find(".tag-editor-tag").click():"after"==o?e(l).insertAfter(n.closest("li")).find(".tag-editor-tag").click():e(l).appendTo(i).find(".tag-editor-tag").click(),!1))})),i.on("click",".tag-editor-delete",(function(r){if(e(this).prev().hasClass("active"))return e(this).closest("li").find("input").caret(-1),!1;var o=e(this).closest("li"),a=o.find(".tag-editor-tag");return!1===s.beforeTagDelete(t,i,n,a.text())||(a.addClass("deleted").animate({width:0},s.animateDelete,(function(){o.remove(),d()})),u()),!1})),s.clickDelete&&i.on("mousedown",".tag-editor-tag",(function(r){if(r.ctrlKey||r.which>1){var o=e(this).closest("li"),a=o.find(".tag-editor-tag");return!1===s.beforeTagDelete(t,i,n,a.text())||(a.addClass("deleted").animate({width:0},s.animateDelete,(function(){o.remove(),d()})),u()),!1}})),i.on("click",".tag-editor-tag",(function(t){if(s.clickDelete&&(t.ctrlKey||t.which>1))return!1;if(!e(this).hasClass("active")){var n=e(this).text(),r=Math.abs((e(this).offset().left-t.pageX)/e(this).width()),a=parseInt(n.length*r),c=e(this).html('<input type="text" maxlength="'+s.maxLength+'" value="'+o(n)+'">').addClass("active").find("input");if(c.data("old_tag",n).tagEditorInput().focus().caret(a),s.autocomplete){var l=e.extend({},s.autocomplete),d="select"in l?s.autocomplete.select:"";l.select=function(t,n){d&&d(t,n),setTimeout((function(){i.trigger("click",[e(".active",i).find("input").closest("li").next("li").find(".tag-editor-tag")])}),20)},c.autocomplete(l)}}return!1})),i.on("blur","input",(function(r){r.stopPropagation();var c,l=e(this),h=l.data("old_tag"),f=e.trim(l.val().replace(/ +/," ").replace(s.dregex,s.delimiter[0]));if(f){if(f.indexOf(s.delimiter[0])>=0)return void p(l);if(f!=h)if(s.forceLowercase&&(f=f.toLowerCase()),c=s.beforeTagSave(t,i,n,h,f),f=c||f,!1===c){if(h)return l.val(h).focus(),a=!1,void u();try{l.closest("li").remove()}catch(r){}h&&u()}else s.removeDuplicates&&e(".tag-editor-tag:not(.active)",i).each((function(){e(this).text()==f&&e(this).closest("li").remove()}))}else{if(h&&!1===s.beforeTagDelete(t,i,n,h))return l.val(h).focus(),a=!1,void u();try{l.closest("li").remove()}catch(r){}h&&u()}l.parent().html(o(f)).removeClass("active"),f!=h&&u(),d()})),i.on("paste","input",(function(t){e(this).removeAttr("maxlength"),r=e(this),setTimeout((function(){p(r)}),30)})),i.on("keypress","input",(function(t){s.delimiter.indexOf(String.fromCharCode(t.which))>=0&&(c=e(this),setTimeout((function(){p(c)}),20))})),i.on("keydown","input",(function(n){var r=e(this);if((37==n.which||!s.autocomplete&&38==n.which)&&!r.caret()||8==n.which&&!r.val())return(o=r.closest("li").prev("li").find(".tag-editor-tag")).length?o.click().find("input").caret(-1):!r.val()||s.maxTags&&i.data("tags").length>=s.maxTags||e(l).insertBefore(r.closest("li")).find(".tag-editor-tag").click(),!1;if((39==n.which||!s.autocomplete&&40==n.which)&&r.caret()==r.val().length)return(a=r.closest("li").next("li").find(".tag-editor-tag")).length?a.click().find("input").caret(0):r.val()&&i.click(),!1;if(9==n.which){if(n.shiftKey){var o;if((o=r.closest("li").prev("li").find(".tag-editor-tag")).length)o.click().find("input").caret(0);else{if(!r.val()||s.maxTags&&i.data("tags").length>=s.maxTags)return t.attr("disabled","disabled"),void setTimeout((function(){t.removeAttr("disabled")}),30);e(l).insertBefore(r.closest("li")).find(".tag-editor-tag").click()}return!1}var a;if((a=r.closest("li").next("li").find(".tag-editor-tag")).length)a.click().find("input").caret(0);else{if(!r.val())return;i.click()}return!1}if(!(46!=n.which||e.trim(r.val())&&r.caret()!=r.val().length))return(a=r.closest("li").next("li").find(".tag-editor-tag")).length?a.click().find("input").caret(0):r.val()&&i.click(),!1;if(13==n.which)return i.trigger("click",[r.closest("li").next("li").find(".tag-editor-tag")]),s.maxTags&&i.data("tags").length>=s.maxTags&&i.find("input").blur(),!1;if(36!=n.which||r.caret()){if(35==n.which&&r.caret()==r.val().length)i.find(".tag-editor-tag").last().click();else if(27==n.which)return r.val(r.data("old_tag")?r.data("old_tag"):"").blur(),!1}else i.find(".tag-editor-tag").first().click()}));for(var h=s.initialTags.length?s.initialTags:t.val().split(s.dregex),f=0;f<h.length&&!(s.maxTags&&f>=s.maxTags);f++){var m=e.trim(h[f].replace(/ +/," "));m&&(s.forceLowercase&&(m=m.toLowerCase()),n.push(m),i.append('<li><div class="tag-editor-spacer"> '+s.delimiter[0]+'</div><div class="tag-editor-tag">'+o(m)+'</div><div class="tag-editor-delete"><i></i></div></li>'))}u(!0),s.sortable&&e.fn.sortable&&i.sortable({distance:5,cancel:".tag-editor-spacer, input",helper:"clone",update:function(){u()}})}))},e.fn.tagEditor.defaults={initialTags:[],maxTags:0,maxLength:50,delimiter:",;",placeholder:"",forceLowercase:!0,removeDuplicates:!0,clickDelete:!1,animateDelete:175,sortable:!0,autocomplete:null,onChange:function(){},beforeTagSave:function(){},beforeTagDelete:function(){}}}(jquery),e=jquery,e.fn.caret=function(e){var t=this[0],n="true"===t.contentEditable;if(0==arguments.length){if(window.getSelection)return n?(t.focus(),(r=(i=window.getSelection().getRangeAt(0)).cloneRange()).selectNodeContents(t),r.setEnd(i.endContainer,i.endOffset),r.toString().length):t.selectionStart;if(document.selection){if(t.focus(),n){var i=document.selection.createRange();return(r=document.body.createTextRange()).moveToElementText(t),r.setEndPoint("EndToEnd",i),r.text.length}e=0;var r,o=t.createTextRange(),a=(r=document.selection.createRange().duplicate()).getBookmark();for(o.moveToBookmark(a);0!==o.moveStart("character",-1);)e++;return e}return t.selectionStart?t.selectionStart:0}return-1==e&&(e=this[n?"text":"val"]().length),window.getSelection?n?(t.focus(),window.getSelection().collapse(t.firstChild,e)):t.setSelectionRange(e,e):document.body.createTextRange&&(n?((o=document.body.createTextRange()).moveToElementText(t),o.moveStart("character",e),o.collapse(!0),o.select()):((o=t.createTextRange()).move("character",e),o.select())),n||t.focu
28s(),e};var jquery_magnificPopup=createCommonjsModule((function(e,t){!function(e){var t,n,i,r,o,a,s=function(){},c=!!window.jQuery,l=e(window),d=function(e,n){t.ev.on("mfp"+e+".mfp",n)},u=function(t,n,i,r){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),r?n&&n.appendChild(o):(o=e(o),n&&o.appendTo(n)),o},p=function(n,i){t.ev.triggerHandler("mfp"+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},h=function(n){return n===a&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),a=n),t.currTemplate.closeBtn},f=function(){e.magnificPopup.instance||((t=new s).init(),e.magnificPopup.instance=t)};s.prototype={constructor:s,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(n){var r;if(!1===n.isObj){t.items=n.items.toArray(),t.index=0;var a,s=n.items;for(r=0;r<s.length;r++)if((a=s[r]).parsed&&(a=a.el[0]),a===n.el[0]){t.index=r;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(!t.isOpen){t.types=[],o="",n.mainEl&&n.mainEl.length?t.ev=n.mainEl.eq(0):t.ev=i,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=u("bg").on("click.mfp",(function(){t.close()})),t.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",(function(e){t._checkIfClose(e.target)&&t.close()})),t.container=u("container",t.wrap)),t.contentContainer=u("content"),t.st.preloader&&(t.preloader=u("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(r=0;r<c.length;r++){var f=c[r];f=f.charAt(0).toUpperCase()+f.slice(1),t["init"+f].call(t)}p("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(d("MarkupParse",(function(e,t,n,i){n.close_replaceWith=h(i.type)})),o+=" mfp-close-btn-in"):t.wrap.append(h())),t.st.alignTop&&(o+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:l.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup.mfp",(function(e){27===e.keyCode&&t.close()})),l.on("resize.mfp",(function(){t.updateSize()})),t.st.closeOnContentClick||(o+=" mfp-auto-cursor"),o&&t.wrap.addClass(o);var m=t.wH=l.height(),v={};if(t.fixedContentPos&&t._hasScrollBar(m)){var g=t._getScrollbarSize();g&&(v.marginRight=g)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):v.overflow="hidden");var b=t.st.mainClass;return t.isIE7&&(b+=" mfp-ie7"),b&&t._addClassToMFP(b),t.updateItemHTML(),p("BuildControls"),e("html").css(v),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout((function(){t.content?(t._addClassToMFP("mfp-ready"),t._setFocus()):t.bgOverlay.addClass("mfp-ready"),i.on("focusin.mfp",t._onFocusIn)}),16),t.isOpen=!0,t.updateSize(m),p("Open"),n}t.updateItemHTML()},close:function(){t.isOpen&&(p("BeforeClose"),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP("mfp-removing"),setTimeout((function(){t._close()}),t.st.removalDelay)):t._close())},_close:function(){p("Close");var n="mfp-removing mfp-ready ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var r={marginRight:""};t.isIE7?e("body, html").css("overflow",""):r.overflow="",e("html").css(r)}i.off("keyup.mfp focusin.mfp"),t.ev.off(".mfp"),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,p("AfterClose")},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||l.height();t.fixedContentPos||t.wrap.css("height",t.wH),p("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(p("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var o=!!t.st[i]&&t.st[i].markup;p("FirstMarkupParse",o),t.currTemplate[i]=!o||e(o)}r&&r!==n.type&&t.container.removeClass("mfp-"+r+"-holder");var a=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(a,i),n.preloaded=!0,p("Change",n),r=n.type,t.container.prepend(t.contentContainer),p("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".mfp-close").length||t.content.append(h()):t.content=e:t.content="",p("BeforeAppend"),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,r=t.items[n];if(r.tagName?r={el:e(r)}:(i=r.type,r={data:r,src:r.src}),r.el){for(var o=t.types,a=0;a<o.length;a++)if(r.el.hasClass("mfp-"+o[a])){i=o[a];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=i||t.st.type||"inline",r.index=n,r.parsed=!0,t.items[n]=r,p("ElementParse",r),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var r="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(r).on(r,i)):(n.isObj=!1,n.delegate?e.off(r).on(r,n.delegate,i):(n.items=e,e.off(r).on(r,i)))},_openClick:function(n,i,r){if((void 0!==r.midClick?r.midClick:e.magnificPopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var o=void 0!==r.disableOn?r.disableOn:e.magnificPopup.defaults.disableOn;if(o)if(e.isFunction(o)){if(!o.call(t))return!0}else if(l.width()<o)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),r.el=e(n.mfpEl),r.delegate&&(r.items=i.find(r.delegate)),t.open(r)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var r={status:e,text:i};p("UpdateStatus",r),e=r.status,i=r.text,t.preloader.html(i),t.preloader.find("a").on("click",(function(e){e.stopImmediatePropagation()})),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass("mfp-prevent-close")){var i=t.st.closeOnContentClick,r=t.st.closeOnBgClick;if(i&&r)return!0;
28if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(r&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||l.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,n,i){var r;i.data&&(n=e.extend(i.data,n)),p("MarkupParse",[t,n,i]),e.each(n,(function(n,i){if(void 0===i||!1===i)return!0;if((r=n.split("_")).length>1){var o=t.find(".mfp-"+r[0]);if(o.length>0){var a=r[1];"replaceWith"===a?o[0]!==i[0]&&o.replaceWith(i):"img"===a?o.is("img")?o.attr("src",i):o.replaceWith(e("<img>").attr("src",i).attr("class",o.attr("class"))):o.attr(r[1],i)}}else t.find(".mfp-"+n).html(i)}))},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:s.prototype,modules:[],open:function(t,n){return f(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(n){f();var i=e(this);if("string"==typeof n)if("open"===n){var r,o=c?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;o.items?r=o.items[a]:(r=i,o.delegate&&(r=r.find(o.delegate)),r=r.eq(a)),t._openClick({mfpEl:r},i,o)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),c?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var m,v,g,b=function(){g&&(v.after(g.addClass(m)).detach(),g=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),d("Close.inline",(function(){b()}))},getInline:function(n,i){if(b(),n.src){var r=t.st.inline,o=e(n.src);if(o.length){var a=o[0].parentNode;a&&a.tagName&&(v||(m=r.hiddenClass,v=u(m),m="mfp-"+m),g=o.after(v).detach().removeClass(m)),t.updateStatus("ready")}else t.updateStatus("error",r.tNotFound),o=e("<div>");return n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var y,A=function(){y&&e(document.body).removeClass(y)},_=function(){A(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),y=t.st.ajax.cursor,d("Close.ajax",_),d("BeforeChange.ajax",_)},getAjax:function(n){y&&e(document.body).addClass(y),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(i,r,o){var a={data:i,xhr:o};p("ParseAjax",a),t.appendContent(e(a.data),"ajax"),n.finished=!0,A(),t._setFocus(),setTimeout((function(){t.wrap.addClass("mfp-ready")}),16),t.updateStatus("ready"),p("AjaxContentAdded")},error:function(){A(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var w,M,k=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;
28var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),d("Open"+i,(function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)})),d("Close"+i,(function(){n.cursor&&e(document.body).removeClass(n.cursor),l.off("resize.mfp")})),d("Resize"+i,t.resizeImage),t.isLowIE&&d("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,w&&clearInterval(w),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],r=function(o){w&&clearInterval(w),w=setInterval((function(){i.naturalWidth>0?t._onImageHasSize(e):(n>200&&clearInterval(w),3==++n?r(10):40===n?r(50):100===n&&r(500))}),o)};r(1)},getImage:function(n,i){var r=0,o=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,p("ImageLoadComplete")):++r<200?setTimeout(o,100):a())},a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,c=i.find(".mfp-img");if(c.length){var l=document.createElement("img");l.className="mfp-img",n.el&&n.el.find("img").length&&(l.alt=n.el.find("img").attr("alt")),n.img=e(l).on("load.mfploader",o).on("error.mfploader",a),l.src=n.src,c.is("img")&&(n.img=n.img.clone()),(l=n.img[0]).naturalWidth>0?n.hasSize=!0:l.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:k(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(w&&clearInterval(w),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}}),e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var r,o,a=n.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return r["-webkit-"+o]=r["-moz-"+o]=r["-o-"+o]=r[o]=i,t.css(r),t},c=function(){t.content.css("visibility","visible")};d("BuildControls"+i,(function(){if(t._allowZoom()){if(clearTimeout(r),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void c();(o=s(e)).css(t._getOffset()),t.wrap.append(o),r=setTimeout((function(){o.css(t._getOffset(!0)),r=setTimeout((function(){c(),setTimeout((function(){o.remove(),e=o=null,p("ZoomAnimationEnded")}),16)}),a)}),16)}})),d("BeforeClose"+i,(function(){if(t._allowZoom()){if(clearTimeout(r),t.st.removalDelay=a,!e){if(!(e=t._getItemToZoom()))return;o=s(e)}o.css(t._getOffset(!0)),t.wrap.append(o),t.content.css("visibility","hidden"),setTimeout((function(){o.css(t._getOffset())}),16)}})),d("Close"+i,(function(){t._allowZoom()&&(c(),o&&o.remove(),e=null)}))}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var i,r=(i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),o=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);r.top-=e(window).scrollTop()-o;var s={width:i.width(),height:(c?i.innerHeight():i[0].offsetHeight)-a-o};return void 0===M&&(M=void 0!==document.createElement("p").style.MozTransform),M?s["-moz-transform"]=s.transform="translate("+r.left+"px,"+r.top+"px)":(s.left=r.left,s.top=r.top),s}}});var C=function(e){if(t.currTemplate.iframe){var n=t.currTemplate.iframe.find("iframe");n.length&&(e||(n[0].src="//about:blank"),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),d("BeforeChange",(function(e,t,n){t!==n&&("iframe"===t?C():"iframe"===n&&C(!0))})),d("Close.iframe",(function(){C()}))},getIframe:function(n,i){var r=n.src,o=t.st.iframe;e.each(o.patterns,(function(){if(r.indexOf(this.index)>-1)return this.id&&(r="string"==typeof this.id?r.substr(r.lastIndexOf(this.id
28)+this.id.length,r.length):this.id.call(this,r)),r=this.src.replace("%id%",r),!1}));var a={};return o.srcAction&&(a[o.srcAction]=r),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var S=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},E=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,r=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;o+=" mfp-gallery",d("Open"+r,(function(){n.navigateByImgClick&&t.wrap.on("click"+r,".mfp-img",(function(){if(t.items.length>1)return t.next(),!1})),i.on("keydown"+r,(function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()}))})),d("UpdateStatus"+r,(function(e,n){n.text&&(n.text=E(n.text,t.currItem.index,t.items.length))})),d("MarkupParse"+r,(function(e,i,r,o){var a=t.items.length;r.counter=a>1?E(n.tCounter,o.index,a):""})),d("BuildControls"+r,(function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,r=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),o=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");r.click((function(){t.prev()})),o.click((function(){t.next()})),t.container.append(r.add(o))}})),d("Change"+r,(function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout((function(){t.preloadNearbyImages(),t._preloadTimeout=null}),16)})),d("Close"+r,(function(){i.off(r),t.wrap.off("click"+r),t.arrowRight=t.arrowLeft=null}))},next:function(){t.direction=!0,t.index=S(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=S(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),r=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?r:i);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?i:r);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=S(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),p("LazyLoad",i),"image"===i.type&&(i.img=e('<img class="mfp-img" />').on("load.mfploader",(function(){i.hasSize=!0})).on("error.mfploader",(function(){i.hasSize=!0,i.loadError=!0,p("LazyLoadError",i)})).attr("src",i.src)),i.preloaded=!0}}}}),e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,(function(e){return"@2x"+e}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(d("ImageHasSize.retina",(function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})})),d("ElementParse.retina",(function(t,i){i.src=e.replaceSrc(i,n)})))}}}}),f()}(jquery)})),global$1="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},VERSION="1.12.1",root="object"==typeof self&&self.self===self&&self||"object"==typeof global$1&&global$1.global===global$1&&global$1||Function("return this")()||{},ArrayProto=Array.prototype,ObjProto=Object.prototype,SymbolProto="undefined"!=typeof Symbol?Symbol.prototype:null,push=ArrayProto.push,slice=ArrayProto.slice,toString=ObjProto.toString,hasOwnProperty=ObjProto.hasOwnProperty,supportsArrayBuffer="undefined"!=typeof ArrayBuffer,supportsDataView="undefined"!=typeof DataView,nativeIsArray=Array.isArray,nativeKeys=Object.keys,nativeCreate=Object.create,nativeIsView=supportsArrayBuffer&&ArrayBuffer.isView,_isNaN=isNaN,_isFinite=isFinite,hasEnumBug=!{toString:null}.propertyIsEnumerable("toString"),nonEnumerableProps=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],MAX_ARRAY_INDEX=Math.pow(2,53)-1;function restArguments(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)}}function isObject(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function isNull(e){return null===e}function isUndefined(e){return void 0===e}function isBoolean(e){return!0===e||!1===e||"[object Boolean]"===toString.call(e)}function isElement(e){return!(!e||1!==e.nodeType)}function tagTester(e){var t="[object "+e+"]";return function(e){return toString.call(e)===t}}
28var isString=tagTester("String"),isNumber=tagTester("Number"),isDate=tagTester("Date"),isRegExp=tagTester("RegExp"),isError=tagTester("Error"),isSymbol=tagTester("Symbol"),isArrayBuffer=tagTester("ArrayBuffer"),isFunction=tagTester("Function"),nodelist=root.document&&root.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof nodelist&&(isFunction=function(e){return"function"==typeof e||!1});var isFunction$1=isFunction,hasObjectTag=tagTester("Object"),hasStringTagBug=supportsDataView&&hasObjectTag(new DataView(new ArrayBuffer(8))),isIE11="undefined"!=typeof Map&&hasObjectTag(new Map),isDataView=tagTester("DataView");function ie10IsDataView(e){return null!=e&&isFunction$1(e.getInt8)&&isArrayBuffer(e.buffer)}var isDataView$1=hasStringTagBug?ie10IsDataView:isDataView,isArray=nativeIsArray||tagTester("Array");function has(e,t){return null!=e&&hasOwnProperty.call(e,t)}var isArguments=tagTester("Arguments");!function(){isArguments(arguments)||(isArguments=function(e){return has(e,"callee")})}();var isArguments$1=isArguments;function isFinite$1(e){return!isSymbol(e)&&_isFinite(e)&&!isNaN(parseFloat(e))}function isNaN$1(e){return isNumber(e)&&_isNaN(e)}function constant(e){return function(){return e}}function createSizePropertyCheck(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=MAX_ARRAY_INDEX}}function shallowProperty(e){return function(t){return null==t?void 0:t[e]}}var getByteLength=shallowProperty("byteLength"),isBufferLike=createSizePropertyCheck(getByteLength),typedArrayPattern=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function isTypedArray(e){return nativeIsView?nativeIsView(e)&&!isDataView$1(e):isBufferLike(e)&&typedArrayPattern.test(toString.call(e))}var isTypedArray$1=supportsArrayBuffer?isTypedArray:constant(!1),getLength=shallowProperty("length");function emulatedSet(e){for(var t={},n=e.length,i=0;i<n;++i)t[e[i]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}function collectNonEnumProps(e,t){t=emulatedSet(t);var n=nonEnumerableProps.length,i=e.constructor,r=isFunction$1(i)&&i.prototype||ObjProto,o="constructor";for(has(e,o)&&!t.contains(o)&&t.push(o);n--;)(o=nonEnumerableProps[n])in e&&e[o]!==r[o]&&!t.contains(o)&&t.push(o)}function keys(e){if(!isObject(e))return[];if(nativeKeys)return nativeKeys(e);var t=[];for(var n in e)has(e,n)&&t.push(n);return hasEnumBug&&collectNonEnumProps(e,t),t}function isEmpty(e){if(null==e)return!0;var t=getLength(e);return"number"==typeof t&&(isArray(e)||isString(e)||isArguments$1(e))?0===t:0===getLength(keys(e))}function isMatch(e,t){var n=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}function _(e){return e instanceof _?e:this instanceof _?void(this._wrapped=e):new _(e)}function toBufferView(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,getByteLength(e))}_.VERSION=VERSION,_.prototype.value=function(){return this._wrapped},_.prototype.valueOf=_.prototype.toJSON=_.prototype.value,_.prototype.toString=function(){return String(this._wrapped)};var tagDataView="[object DataView]";function eq(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)&&deepEq(e,t,n,i)}function deepEq(e,t,n,i){e instanceof _&&(e=e._wrapped),t instanceof _&&(t=t._wrapped);var r=toString.call(e);if(r!==toString.call(t))return!1;if(hasStringTagBug&&"[object Object]"==r&&isDataView$1(e)){if(!isDataView$1(t))return!1;r=tagDataView}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 SymbolProto.valueOf.call(e)===SymbolProto.valueOf.call(t);case"[object ArrayBuffer]":case tagDataView:return deepEq(toBufferView(e),toBufferView(t),n,i)}var o="[object Array]"===r;if(!o&&isTypedArray$1(e)){if(getByteLength(e)!==getByteLength(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(isFunction$1(a)&&a instanceof a&&isFunction$1(s)&&s instanceof s)&&"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(!eq(e[c],t[c],n,i))return!1}else{var l,d=keys(e);if(c=d.length,keys(t).length!==c)return!1;for(;c--;)if(!has(t,l=d[c])||!eq(e[l],t[l],n,i))return!1}return n.pop(),i.pop(),!0}function isEqual(e,t){return eq(e,t)}function allKeys(e){if(!isObject(e))return[];var t=[];for(var n in e)t.push(n);return hasEnumBug&&collectNonEnumProps(e,t),t}function ie11fingerprint(e){var t=getLength(e);return function(n){if(null==n)return!1;var i=allKeys(n);if(getLength(i))return!1;for(var r=0;r<t;r++)if(!isFunction$1(n[e[r]]))return!1;
vendor: 17,354 bytes, line 28
28return e!==weakMapMethods||!isFunction$1(n[forEachName])}}var forEachName="forEach",hasName="has",commonInit=["clear","delete"],mapTail=["get",hasName,"set"],mapMethods=commonInit.concat(forEachName,mapTail),weakMapMethods=commonInit.concat(mapTail),setMethods=["add"].concat(commonInit,forEachName,hasName),isMap=isIE11?ie11fingerprint(mapMethods):tagTester("Map"),isWeakMap=isIE11?ie11fingerprint(weakMapMethods):tagTester("WeakMap"),isSet=isIE11?ie11fingerprint(setMethods):tagTester("Set"),isWeakSet=tagTester("WeakSet");function values(e){for(var t=keys(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=e[t[r]];return i}function pairs(e){for(var t=keys(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=[t[r],e[t[r]]];return i}function invert(e){for(var t={},n=keys(e),i=0,r=n.length;i<r;i++)t[e[n[i]]]=n[i];return t}function functions(e){var t=[];for(var n in e)isFunction$1(e[n])&&t.push(n);return t.sort()}function createAssigner(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,c=0;c<s;c++){var l=a[c];t&&void 0!==n[l]||(n[l]=o[l])}return n}}var extend=createAssigner(allKeys),extendOwn=createAssigner(keys),defaults=createAssigner(allKeys,!0);function ctor(){return function(){}}function baseCreate(e){if(!isObject(e))return{};if(nativeCreate)return nativeCreate(e);var t=ctor();t.prototype=e;var n=new t;return t.prototype=null,n}function create(e,t){var n=baseCreate(e);return t&&extendOwn(n,t),n}function clone(e){return isObject(e)?isArray(e)?e.slice():extend({},e):e}function tap(e,t){return t(e),e}function toPath(e){return isArray(e)?e:[e]}function toPath$1(e){return _.toPath(e)}function deepGet(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}function get(e,t,n){var i=deepGet(e,toPath$1(t));return isUndefined(i)?n:i}function has$1(e,t){for(var n=(t=toPath$1(t)).length,i=0;i<n;i++){var r=t[i];if(!has(e,r))return!1;e=e[r]}return!!n}function identity(e){return e}function matcher(e){return e=extendOwn({},e),function(t){return isMatch(t,e)}}function property(e){return e=toPath$1(e),function(t){return deepGet(t,e)}}function optimizeCb(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)}}function baseIteratee(e,t,n){return null==e?identity:isFunction$1(e)?optimizeCb(e,t,n):isObject(e)&&!isArray(e)?matcher(e):property(e)}function iteratee(e,t){return baseIteratee(e,t,1/0)}function cb(e,t,n){return _.iteratee!==iteratee?_.iteratee(e,t):baseIteratee(e,t,n)}function mapObject(e,t,n){t=cb(t,n);for(var i=keys(e),r=i.length,o={},a=0;a<r;a++){var s=i[a];o[s]=t(e[s],s,e)}return o}function noop(){}function propertyOf(e){return null==e?noop:function(t){return get(e,t)}}function times(e,t,n){var i=Array(Math.max(0,e));t=optimizeCb(t,n,1);for(var r=0;r<e;r++)i[r]=t(r);return i}function random(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}_.toPath=toPath,_.iteratee=iteratee;var now=Date.now||function(){return(new Date).getTime()};function createEscaper(e){var t=function(t){return e[t]},n="(?:"+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}}var escapeMap={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},_escape=createEscaper(escapeMap),unescapeMap=invert(escapeMap),_unescape=createEscaper(unescapeMap),templateSettings=_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},noMatch=/(.)^/,escapes={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},escapeRegExp=/\\|'|\r|\n|\u2028|\u2029/g;function escapeChar(e){return"\\"+escapes[e]}var bareIdentifier=/^\s*(\w|\$)+\s*$/;function template(e,t,n){!t&&n&&(t=n),t=defaults({},t,_.templateSettings);var i=RegExp([(t.escape||noMatch).source,(t.interpolate||noMatch).source,(t.evaluate||noMatch).source].join("|")+"|$","g"),r=0,o="__p+='";e.replace(i,(function(t,n,i,a,s){return o+=e.slice(r,s).replace(escapeRegExp,escapeChar),r=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t})),o+="';\n";var a,s=t.variable;if(s){if(!bareIdentifier.test(s))throw new Error(s)}else o="with(obj||{}){\n"+o+"}\n",s="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{a=new Function(s,"_",o)}catch(e){throw e.source=o,e}var c=function(e){return a.call(this,e,_)};return c.source="function("+s+"){\n"+o+"}",c}function result(e,t,n){var i=(t=toPath$1(t)).length;if(!i)return isFunction$1(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=isFunction$1(o)?o.call(e):o}return e}var idCounter=0;function uniqueId(e){var t=++idCounter+"";return e?e+t:t}function chain(e){var t=_(e);return t._chain=!0,t}function executeBound(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var o=baseCreate(e.prototype),a=e.apply(o,r);return isObject(a)?a:o}var partial=restArguments((function(e,t){var n=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 executeBound(e,i,this,this,a)};return i}));partial.placeholder=_;var bind=restArguments((function(e,t,n){if(!isFunction$1(e))throw new TypeError("Bind must be called on a function");var i=restArguments((function(r){return executeBound(e,i,t,this,n.concat(r))}));return i})),isArrayLike=createSizePropertyCheck(getLength);function flatten(e,t,n,i){if(i=i||[],t||0===t){if(t<=0)return i.concat(e)}else t=1/0;for(var r=i.length,o=0,a=getLength(e);o<a;o++){var s=e[o];if(isArrayLike(s)&&(isArray(s)||isArguments$1(s)))if(t>1)flatten(s,t-1,n,i),r=i.length;else for(var c=0,l=s.length;c<l;)i[r++]=s[c++];else n||(i[r++]=s)}return i}var bindAll=restArguments((function(e,t){var n=(t=flatten(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=bind(e[i],e)}return e}));function memoize(e,t){var n=function(i){var r=n.cache,o=""+(t?t.apply(this,arguments):i);return has(r,o)||(r[o]=e.apply(this,arguments)),r[o]};return n.cache={},n}var delay=restArguments((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),defer=partial(delay,_,1);function throttle(e,t,n){var i,r,o,a,s=0;n||(n={});var c=function(){s=!1===n.leading?0:now(),i=null,a=e.apply(r,o),i||(r=o=null)},l=function(){var l=now();s||!1!==n.leading||(s=l);var d=t-(l-s);return r=this,o=arguments,d<=0||d>t?(i&&(clearTimeout(i),i=null),s=l,a=e.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(c,d)),a};return l.cancel=function(){clearTimeout(i),s=0,i=r=o=null},l}function debounce(e,t,n){var i,r,o,a,s,c=function(){var l=now()-r;t>l?i=setTimeout(c,t-l):(i=null,n||(a=e.apply(s,o)),i||(o=s=null))},l=restArguments((function(l){return s=this,o=l,r=now(),i||(i=setTimeout(c,t),n&&(a=e.apply(s,o))),a}));return l.cancel=function(){clearTimeout(i),i=o=s=null},l}function wrap(e,t){return partial(t,e)}function negate(e){return function(){return!e.apply(this,arguments)}}function compose(){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}}function after(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function before(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var once=partial(before,2);function findKey(e,t,n){t=cb(t,n);for(var i,r=keys(e),o=0,a=r.length;o<a;o++)if(t(e[i=r[o]],i,e))return i}function createPredicateIndexFinder(e){return function(t,n,i){n=cb(n,i);for(var r=getLength(t),o=e>0?0:r-1;o>=0&&o<r;o+=e)if(n(t[o],o,t))return o;return-1}}var findIndex=createPredicateIndexFinder(1),findLastIndex=createPredicateIndexFinder(-1);function sortedIndex(e,t,n,i){for(var r=(n=cb(n,i,1))(t),o=0,a=getLength(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<r?o=s+1:a=s}return o}function createIndexFinder(e,t,n){return function(i,r,o){var a=0,s=getLength(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(slice.call(i,a,s),isNaN$1))>=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}}var indexOf=createIndexFinder(1,findIndex,sortedIndex),lastIndexOf=createIndexFinder(-1,findLastIndex);function find(e,t,n){var i=(isArrayLike(e)?findIndex:findKey)(e,t,n);if(void 0!==i&&-1!==i)return e[i]}function findWhere(e,t){return find(e,matcher(t))}function each(e,t,n){var i,r;if(t=optimizeCb(t,n),isArrayLike(e))for(i=0,r=e.length;i<r;i++)t(e[i],i,e);else{var o=keys(e);for(i=0,r=o.length;i<r;i++)t(e[o[i]],o[i],e)}return e}function map(e,t,n){t=cb(t,n);for(var i=!isArrayLike(e)&&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}function createReduce(e){var t=function(t,n,i,r){var o=!isArrayLike(t)&&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 c=o?o[s]:s;i=n(i,t[c],c,t)}return i};return function(e,n,i,r){var o=arguments.length>=3;return t(e,optimizeCb(n,r,4),i,o)}}var reduce=createReduce(1),reduceRight=createReduce(-1);function filter(e,t,n){var i=[];return t=cb(t,n),each(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}function reject(e,t,n){return filter(e,negate(cb(t)),n)}function every(e,t,n){t=cb(t,n);for(var i=!isArrayLike(e)&&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}function some(e,t,n){t=cb(t,n);for(var i=!isArrayLike(e)&&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}function contains(e,t,n,i){return isArrayLike(e)||(e=values(e)),("number"!=typeof n||i)&&(n=0),indexOf(e,t,n)>=0}var invoke=restArguments((function(e,t,n){var i,r;return isFunction$1(t)?r=t:(t=toPath$1(t),i=t.slice(0,-1),t=t[t.length-1]),map(e,(function(e){var o=r;if(!o){if(i&&i.length&&(e=deepGet(e,i)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))}));function pluck(e,t){return map(e,property(t))}function where(e,t){return filter(e,matcher(t))}function max(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,c=(e=isArrayLike(e)?e:values(e)).length;s<c;s++)null!=(i=e[s])&&i>o&&(o=i);else t=cb(t,n),each(e,(function(e,n,i){((r=t(e,n,i))>a||r===-1/0&&o===-1/0)&&(o=e,a=r)}));return o}function min(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,c=(e=isArrayLike(e)?e:values(e)).length;s<c;s++)null!=(i=e[s])&&i<o&&(o=i);else t=cb(t,n),each(e,(function(e,n,i){((r=t(e,n,i))<a||r===1/0&&o===1/0)&&(o=e,a=r)}));return o}function sample(e,t,n){if(null==t||n)return isArrayLike(e)||(e=values(e)),e[random(e.length-1)];var i=isArrayLike(e)?clone(e):values(e),r=getLength(i);t=Math.max(Math.min(t,r),0);for(var o=r-1,a=0;a<t;a++){var s=random(a,o),c=i[a];i[a]=i[s],i[s]=c}return i.slice(0,t)}function shuffle(e){return sample(e,1/0)}function sortBy(e,t,n){var i=0;return t=cb(t,n),pluck(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")}function group(e,t){return function(n,i,r){var o=t?[[],[]]:{};return i=cb(i,r),each(n,(function(t,r){var a=i(t,r,n);e(o,t,a)})),o}}var groupBy=group((function(e,t,n){has(e,n)?e[n].push(t):e[n]=[t]})),indexBy=group((function(e,t,n){e[n]=t})),countBy=group((function(e,t,n){has(e,n)?e[n]++:e[n]=1})),partition=group((function(e,t,n){e[n?0:1].push(t)}),!0),reStrSymbol=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function toArray(e){return e?isArray(e)?slice.call(e):isString(e)?e.match(reStrSymbol):isArrayLike(e)?map(e,identity):values(e):[]}function size(e){return null==e?0:isArrayLike(e)?e.length:keys(e).length}function keyInObj(e,t,n){return t in n}var pick=restArguments((function(e,t){var n={},i=t[0];if(null==e)return n;isFunction$1(i)?(t.length>1&&(i=optimizeCb(i,t[1])),t=allKeys(e)):(i=keyInObj,t=flatten(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})),omit=restArguments((function(e,t){var n,i=t[0];return isFunction$1(i)?(i=negate(i),t.length>1&&(n=t[1])):(t=map(flatten(t,!1,!1),String),i=function(e,n){return!contains(t,n)}),pick(e,i,n)}));function initial(e,t,n){return slice.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function first(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:initial(e,e.length-t)}function rest(e,t,n){return slice.call(e,null==t||n?1:t)}function last(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:rest(e,Math.max(0,e.length-t))}function compact(e){return filter(e,Boolean)}function flatten$1(e,t){return flatten(e,t,!1)}var difference=restArguments((function(e,t){return t=flatten(t,!0,!0),filter(e,(function(e){return!contains(t,e)}))})),without=restArguments((function(e,t){return difference(e,t)}));function uniq(e,t,n,i){isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=cb(n,i));for(var r=[],o=[],a=0,s=getLength(e);a<s;a++){var c=e[a],l=n?n(c,a,e):c;t&&!n?(a&&o===l||r.push(c),o=l):n?contains(o,l)||(o.push(l),r.push(c)):contains(r,c)||r.push(c)}return r}var union=restArguments((function(e){return uniq(flatten(e,!0,!0))}));function intersection(e){for(var t=[],n=arguments.length,i=0,r=getLength(e);i<r;i++){var o=e[i];if(!contains(t,o)){var a;for(a=1;a<n&&contains(arguments[a],o);a++);a===n&&t.push(o)}}return t}function unzip(e){for(var t=e&&max(e,getLength).length||0,n=Array(t),i=0;i<t;i++)n[i]=pluck(e,i);return n}var zip=restArguments(unzip);function object(e,t){for(var n={},i=0,r=getLength(e);i<r;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n}function range(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}function chunk(e,t){if(null==t||t<1)return[];for(var n=[],i=0,r=e.length;i<r;)n.push(slice.call(e,i,i+=t));return n}function chainResult(e,t){return e._chain?_(t).chain():t}function mixin(e){return each(functions(e),(function(t){var n=_[t]=e[t];_.prototype[t]=function(){var e=[this._wrapped];return push.apply(e,arguments),chainResult(this,n.apply(_,e))}})),_}each(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=ArrayProto[e];_.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),chainResult(this,n)}})),each(["concat","join","slice"],(function(e){var t=ArrayProto[e];_.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),chainResult(this,e)}}));var allExports=Object.freeze({VERSION:VERSION,restArguments:restArguments,isObject:isObject,isNull:isNull,isUndefined:isUndefined,isBoolean:isBoolean,isElement:isElement,isString:isString,isNumber:isNumber,isDate:isDate,isRegExp:isRegExp,isError:isError,isSymbol:isSymbol,isArrayBuffer:isArrayBuffer,isDataView:isDataView$1,isArray:isArray,isFunction:isFunction$1,isArguments:isArguments$1,isFinite:isFinite$1,isNaN:isNaN$1,isTypedArray:isTypedArray$1,isEmpty:isEmpty,isMatch:isMatch,isEqual:isEqual,isMap:isMap,isWeakMap:isWeakMap,isSet:isSet,isWeakSet:isWeakSet,keys:keys,allKeys:allKeys,values:values,pairs:pairs,invert:invert,functions:functions,methods:functions,extend:extend,extendOwn:extendOwn,assign:extendOwn,defaults:defaults,create:create,clone:clone,tap:tap,get:get,has:has$1,mapObject:mapObject,identity:identity,constant:constant,noop:noop,toPath:toPath,property:property,propertyOf:propertyOf,matcher:matcher,matches:matcher,times:times,random:random,now:now,escape:_escape,unescape:_unescape,templateSettings:templateSettings,template:template,result:result,uniqueId:uniqueId,chain:chain,iteratee:iteratee,partial:partial,bind:bind,bindAll:bindAll,memoize:memoize,delay:delay,defer:defer,throttle:throttle,debounce:debounce,wrap:wrap,negate:negate,compose:compose,after:after,before:before,once:once,findKey:findKey,findIndex:findIndex,findLastIndex:findLastIndex,sortedIndex:sortedIndex,indexOf:indexOf,lastIndexOf:lastIndexOf,find:find,detect:find,findWhere:findWhere,each:each,forEach:each,map:map,collect:map,reduce:reduce,foldl:reduce,inject:reduce,reduceRight:reduceRight,foldr:reduceRight,filter:filter,select:filter,reject:reject,every:every,all:every,some:some,any:some,contains:contains,includes:contains,include:contains,invoke:invoke,pluck:pluck,where:where,max:max,min:min,shuffle:shuffle,sample:sample,sortBy:sortBy,groupBy:groupBy,indexBy:indexBy,countBy:countBy,partition:partition,toArray:toArray,size:size,pick:pick,omit:omit,first:first,head:first,take:first,initial:initial,last:last,rest:rest,tail:rest,drop:rest,compact:compact,flatten:flatten$1,without:without,uniq:uniq,unique:uniq,union:union,intersection:intersection,difference:difference,unzip:unzip,transpose:unzip,zip:zip,object:object,range:range,chunk:chunk,mixin:mixin,default:_}),_$1=mixin(allExports);_$1._=_$1;var makeString=function(e){return null==e?"":""+e},isBlank=function(e){return/^\s*$/.test(makeString(e))}
28,stripTags=function(e){return makeString(e).replace(/<\/?[^>]+>/g,"")},capitalize=function(e,t){e=makeString(e);var n=t?e.slice(1).toLowerCase():e.slice(1);return e.charAt(0).toUpperCase()+n},decapitalize=function(e){return(e=makeString(e)).charAt(0).toLowerCase()+e.slice(1)},chop=function(e,t){return null==e?[]:(e=String(e),(t=~~t)>0?e.match(new RegExp(".{1,"+t+"}","g")):[e])},escapeRegExp$1=function(e){return makeString(e).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},defaultToWhiteSpace=function(e){return null==e?"\\s":e.source?e.source:"["+escapeRegExp$1(e)+"]"},nativeTrim=String.prototype.trim,trim=function(e,t){return e=makeString(e),!t&&nativeTrim?nativeTrim.call(e):(t=defaultToWhiteSpace(t),e.replace(new RegExp("^"+t+"+|"+t+"+$","g"),""))},clean=function(e){return trim(e).replace(/\s\s+/g," ")},from="Ä
à áäâãåæÄÄÄÄÄèéëêÄĥìÃïîĵÅľÅÅòóöÅôõðøÅÈÅÅ¡ÅÅ¥ÈÅ£Åùúüűûñÿýçżźž",to="aaaaaaaaaccceeeeeghiiiijllnnoooooooossssstttuuuuuunyyczzz";from+=from.toUpperCase(),to+=to.toUpperCase(),to=to.split(""),from+="Ã",to.push("ss");var cleanDiacritics=function(e){return makeString(e).replace(/.{1}/g,(function(e){var t=from.indexOf(e);return-1===t?e:to[t]}))},count=function(e,t){return e=makeString(e),t=makeString(t),0===e.length||0===t.length?0:e.split(t).length-1},chars=function(e){return makeString(e).split("")},swapCase=function(e){return makeString(e).replace(/\S/g,(function(e){return e===e.toUpperCase()?e.toLowerCase():e.toUpperCase()}))},escapeChars={"¢":"cent","£":"pound","Â¥":"yen","â¬":"euro","©":"copy","®":"reg","<":"lt",">":"gt",'"':"quot","&":"amp","'":"#39"},escapeChars_1=escapeChars,regexString="[";for(var key in escapeChars_1)regexString+=key;regexString+="]";var regex=new RegExp(regexString,"g"),escapeHTML=function(e){return makeString(e).replace(regex,(function(e){return"&"+escapeChars_1[e]+";"}))},htmlEntities={nbsp:" ",cent:"¢",pound:"£",yen:"Â¥",euro:"â¬",copy:"©",reg:"®",lt:"<",gt:">",quot:'"',amp:"&",apos:"'"},htmlEntities_1=htmlEntities,unescapeHTML=function(e){return makeString(e).replace(/\&([^;]{1,10});/g,(function(e,t){var n;return t in htmlEntities_1?htmlEntities_1[t]:(n=t.match(/^#x([\da-fA-F]+)$/))?String.fromCharCode(parseInt(n[1],16)):(n=t.match(/^#(\d+)$/))?String.fromCharCode(~~n[1]):e}))},splice=function(e,t,n,i){var r=chars(e);return r.splice(~~t,~~n,i),r.join("")},insert=function(e,t,n){return splice(e,t,0,n)},replaceAll=function(e,t,n,i){var r=new RegExp(t,!0===i?"gi":"g");return makeString(e).replace(r,n)},include=function(e,t){return""===t||-1!==makeString(e).indexOf(t)},slice$1=[].slice,join=function(){var e=slice$1.call(arguments),t=e.shift();return e.join(makeString(t))},lines=function(e){return null==e?[]:String(e).split(/\r\n?|\n/)};function getIndent(e){for(var t=e.match(/^[\s\\t]*/gm),n=t[0].length,i=1;i<t.length;i++)n=Math.min(t[i].length,n);return n}var dedent=function(e,t){var n,i=getIndent(e=makeString(e));return 0===i?e:(n="string"==typeof t?new RegExp("^"+t,"gm"):new RegExp("^[ \\t]{"+i+"}","gm"),e.replace(n,""))},reverse=function(e){return chars(e).reverse().join("")},toPositive=function(e){return e<0?0:+e||0},startsWith=function(e,t,n){return e=makeString(e),t=""+t,n=null==n?0:Math.min(toPositive(n),e.length),e.lastIndexOf(t,n)===n},endsWith=function(e,t,n){return e=makeString(e),t=""+t,(n=void 0===n?e.length-t.length:Math.min(toPositive(n),e.length)-t.length)>=0&&e.indexOf(t,n)===n},adjacent=function(e,t){return 0===(e=makeString(e)).length?"":e.slice(0,-1)+String.fromCharCode(e.charCodeAt(e.length-1)+t)},pred=function(e){return adjacent(e,-1)},succ=function(e){return adjacent(e,1)},titleize=function(e){return makeString(e).toLowerCase().replace(/(?:^|\s|-)\S/g,(function(e){return e.toUpperCase()}))},camelize=function(e,t){return e=trim(e).replace(/[-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),!0===t?decapitalize(e):e},underscored=function(e){return trim(e).replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/[-\s]+/g,"_").toLowerCase()},dasherize=function(e){return trim(e).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()},classify=function(e){return e=makeString(e),capitalize(camelize(e.replace(/[\W_]/g," ")).replace(/\s/g,""))},humanize=function(e){return capitalize(trim(underscored(e).replace(/_id$/,"").replace(/_/g," ")))},nativeTrimLeft=String.prototype.trimLeft,ltrim=function(e,t){return e=makeString(e),!t&&nativeTrimLeft?nativeTrimLeft.call(e):(t=defaultToWhiteSpace(t),e.replace(new RegExp("^"+t+"+"),""))},nativeTrimRight=String.prototype.trimRight,rtrim=function(e,t){return e=makeString(e),!t&&nativeTrimRight?nativeTrimRight.call(e):(t=defaultToWhiteSpace(t),e.replace(new RegExp(t+"+$"),""))},truncate=function(e,t,n){return n=n||"...",t=~~t,(e=makeString(e)).length>t?e.slice(0,t)+n:e},prune=function(e,t,n){if(e=makeString(e),t=~~t,n=null!=n?String(n):"...",e.length<=t)return e;var i=e.slice(0,t+1).replace(/.(?=\W*\w*$)/g,(function(e){return e.toUpperCase()!==e.toLowerCase()?"A":" "}));return((i=i.slice(i.length-2).match(/\w\w/)?i.replace(/\s*\S+$/,""):rtrim(i.slice(0,i.length-1)))+n).length>e.length?e:e.slice(0,i.length)+n},words=function(e,t){return isBlank(e)?[]:trim(e,t).split(t||/\s+/)},strRepeat=function(e,t){if(t<1)return"";for(var n="";t>0;)1&t&&(n+=e),t>>=1,e+=e;return n},pad=function(e,t,n,i){e=makeString(e),t=~~t;var r=0;switch(n?n.length>1&&(n=n.charAt(0)):n=" ",i){case"right":return r=t-e.length,e+strRepeat(n,r);case"both":return r=t-e.length,strRepeat(n,Math.ceil(r/2))+e+strRepeat(n,Math.floor(r/2));default:return r=t-e.length,strRepeat(n,r)+e}},lpad=function(e,t,n){return pad(e,t,n)},rpad=function(e,t,n){return pad(e,t,n,"right")},lrpad=function(e,t,n){return pad(e,t,n,"both")},browser=deprecate;function deprecate(e,t){if(config("noDeprecation"))return e;var n=!1;
28return function(){if(!n){if(config("throwDeprecation"))throw new Error(t);config("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}function config(e){try{if(!commonjsGlobal.localStorage)return!1}catch(e){return!1}var t=commonjsGlobal.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}var sprintf=createCommonjsModule((function(e,t){!function(){var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[\+\-]/};function n(e){return r(a(e),arguments)}function i(e,t){return n.apply(null,[e].concat(t||[]))}function r(t,i){var r,o,a,s,c,l,d,u,p,h=1,f=t.length,m="";for(o=0;o<f;o++)if("string"==typeof t[o])m+=t[o];else if(Array.isArray(t[o])){if((s=t[o])[2])for(r=i[h],a=0;a<s[2].length;a++){if(!r.hasOwnProperty(s[2][a]))throw new Error(n('[sprintf] property "%s" does not exist',s[2][a]));r=r[s[2][a]]}else r=s[1]?i[s[1]]:i[h++];if(e.not_type.test(s[8])&&e.not_primitive.test(s[8])&&r instanceof Function&&(r=r()),e.numeric_arg.test(s[8])&&"number"!=typeof r&&isNaN(r))throw new TypeError(n("[sprintf] expecting number but found %T",r));switch(e.number.test(s[8])&&(u=r>=0),s[8]){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,s[6]?parseInt(s[6]):0);break;case"e":r=s[7]?parseFloat(r).toExponential(s[7]):parseFloat(r).toExponential();break;case"f":r=s[7]?parseFloat(r).toFixed(s[7]):parseFloat(r);break;case"g":r=s[7]?String(Number(r.toPrecision(s[7]))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=s[7]?r.substring(0,s[7]):r;break;case"t":r=String(!!r),r=s[7]?r.substring(0,s[7]):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=s[7]?r.substring(0,s[7]):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=s[7]?r.substring(0,s[7]):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}e.json.test(s[8])?m+=r:(!e.number.test(s[8])||u&&!s[3]?p="":(p=u?"+":"-",r=r.toString().replace(e.sign,"")),l=s[4]?"0"===s[4]?"0":s[4].charAt(1):" ",d=s[6]-(p+r).length,c=s[6]&&d>0?l.repeat(d):"",m+=s[5]?p+r+c:"0"===l?p+c+r:c+p+r)}return m}var o=Object.create(null);function a(t){if(o[t])return o[t];for(var n,i=t,r=[],a=0;i;){if(null!==(n=e.text.exec(i)))r.push(n[0]);else if(null!==(n=e.modulo.exec(i)))r.push("%");else{if(null===(n=e.placeholder.exec(i)))throw new SyntaxError("[sprintf] unexpected placeholder");if(n[2]){a|=1;var s=[],c=n[2],l=[];if(null===(l=e.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(l[1]);""!==(c=c.substring(l[0].length));)if(null!==(l=e.key_access.exec(c)))s.push(l[1]);else{if(null===(l=e.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(l[1])}n[2]=s}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push(n)}i=i.substring(n[0].length)}return o[t]=r}t.sprintf=n,t.vsprintf=i,"undefined"!=typeof window&&(window.sprintf=n,window.vsprintf=i)}()})),sprintf_1=sprintf.sprintf,sprintf_2=sprintf.vsprintf,str=Object.freeze({default:sprintf,__moduleExports:sprintf,sprintf:sprintf_1,vsprintf:sprintf_2}),sprintf$1=browser(sprintf.sprintf,"sprintf() will be removed in the next major release, use the sprintf-js package instead."),vsprintf=browser(sprintf.vsprintf,"vsprintf() will be removed in the next major release, use the sprintf-js package instead."),toNumber=function(e,t){if(null==e)return 0;var n=Math.pow(10,isFinite(t)?t:0);return Math.round(e*n)/n},numberFormat=function(e,t,n,i){if(isNaN(e)||null==e)return"";i="string"==typeof i?i:",";var r=(e=e.toFixed(~~t)).split("."),o=r[0],a=r[1]?(n||".")+r[1]:"";return o.replace(/(\d)(?=(?:\d{3})+$)/g,"$1"+i)+a},strRight=function(e,t){e=makeString(e);var n=(t=makeString(t))?e.indexOf(t):-1;return~n?e.slice(n+t.length,e.length):e},strRightBack=function(e,t){e=makeString(e);var n=(t=makeString(t))?e.lastIndexOf(t):-1;return~n?e.slice(n+t.length,e.length):e},strLeft=function(e,t){e=makeString(e);var n=(t=makeString(t))?e.indexOf(t):-1;return~n?e.slice(0,n):e},strLeftBack=function(e,t){e=makeString(e),t=makeString(t);var n=e.lastIndexOf(t);return~n?e.slice(0,n):e},toSentence=function(e,t,n,i){t=t||", ",n=n||" and ";var r=e.slice(),o=r.pop();return e.length>2&&i&&(n=rtrim(t)+n),r.length?r.join(t)+n+o:o},toSentenceSerial=function(e,t,n){return toSentence(e,t,n,!0)},slugify=function(e){return trim(dasherize(cleanDiacritics(e).replace(/[^\w\s-]/g,"-").toLowerCase()),"-")},surround=function(e,t){return[t,e,t].join("")},quote=function(e,t){return surround(e,t||'"')},unquote=function(e,t){return t=t||'"',e[0]===t&&e[e.length-1]===t?e.slice(1,e.length-1):e},repeat=function(e,t,n){if(e=makeString(e),t=~~t,null==n)return strRepeat(e,t);for(var i=[];t>0;i[--t]=e);return i.join(n)},naturalCmp=function(e,t){if(e==t)return 0;if(!e)return-1;if(!t)return 1;for(var n=/(\.\d+|\d+|\D+)/g,i=String(e).match(n),r=String(t).match(n),o=Math.min(i.length,r.length),a=0;a<o;a++){var s=i[a],c=r[a];if(s!==c){var l=+s,d=+c;return l==l&&d==d?l>d?1:-1:s<c?-1:1}}
28return i.length!=r.length?i.length-r.length:e<t?-1:1},levenshtein=function(e,t){if((e=makeString(e))===(t=makeString(t)))return 0;if(!e||!t)return Math.max(e.length,t.length);for(var n=new Array(t.length+1),i=0;i<n.length;++i)n[i]=i;for(i=0;i<e.length;++i){for(var r=i+1,o=0;o<t.length;++o){var a=r,s=a+1;(r=n[o]+(e.charAt(i)===t.charAt(o)?0:1))>s&&(r=s),r>(s=n[o+1]+1)&&(r=s),n[o]=a}n[o]=r}return r};function boolMatch(e,t){var n,i,r=e.toLowerCase();for(t=[].concat(t),n=0;n<t.length;n+=1)if(i=t[n]){if(i.test&&i.test(e))return!0;if(i.toLowerCase()===r)return!0}}var toBoolean=function(e,t,n){return"number"==typeof e&&(e=""+e),"string"!=typeof e?!!e:!!boolMatch(e=trim(e),t||["true","1"])||!boolMatch(e,n||["false","0"])&&void 0},exports$1=function(){var e={};for(var t in this)this.hasOwnProperty(t)&&!t.match(/^(?:include|contains|reverse|join|map|wrap)$/)&&(e[t]=this[t]);return e},wrap$1=function(e,t){e=makeString(e);var n,i=(t=t||{}).width||75,r=t.seperator||"\n",o=t.cut||!1,a=t.preserveSpaces||!1,s=t.trailingSpaces||!1;if(i<=0)return e;if(o){var c=0;for(n="";c<e.length;
28)c%i==0&&c>0&&(n+=r),n+=e.charAt(c),c++;if(s)for(;c%i>0;)n+=" ",c++;return n}var l=e.split(" "),d=0;for(n="";l.length>0;){if(1+l[0].length+d>i&&d>0){if(a)n+=" ",d++;else if(s)for(;d<i;)n+=" ",d++;n+=r,d=0}d>0&&(n+=" ",d++),n+=l[0],d+=l[0].length,l.shift()}if(s)for(;d<i;)n+=" ",d++;return n},map$1=function(e,t){return 0===(e=makeString(e)).length||"function"!=typeof t?e:e.replace(/./g,t)};function s(e){if(!(this instanceof s))return new s(e);this._wrapped=e}function fn2method(e,t){"function"==typeof t&&(s.prototype[e]=function(){var e=[this._wrapped].concat(Array.prototype.slice.call(arguments)),n=t.apply(null,e);return"string"==typeof n?new s(n):n})}for(var key$1 in s.VERSION="3.3.4",s.isBlank=isBlank,s.stripTags=stripTags,s.capitalize=capitalize,s.decapitalize=decapitalize,s.chop=chop,s.trim=trim,s.clean=clean,s.cleanDiacritics=cleanDiacritics,s.count=count,s.chars=chars,s.swapCase=swapCase,s.escapeHTML=escapeHTML,s.unescapeHTML=unescapeHTML,s.splice=splice,s.insert=insert,s.replaceAll=replaceAll,s.include=include,s.join=join,s.lines=lines,s.dedent=dedent,s.reverse=reverse,s.startsWith=startsWith,s.endsWith=endsWith,s.pred=pred,s.succ=succ,s.titleize=titleize,s.camelize=camelize,s.underscored=underscored,s.dasherize=dasherize,s.classify=classify,s.humanize=humanize,s.ltrim=ltrim,s.rtrim=rtrim,s.truncate=truncate,s.prune=prune,s.words=words,s.pad=pad,s.lpad=lpad,s.rpad=rpad,s.lrpad=lrpad,s.sprintf=sprintf$1,s.vsprintf=vsprintf,s.toNumber=toNumber,s.numberFormat=numberFormat,s.strRight=strRight,s.strRightBack=strRightBack,s.strLeft=strLeft,s.strLeftBack=strLeftBack,s.toSentence=toSentence,s.toSentenceSerial=toSentenceSerial,s.slugify=slugify,s.surround=surround,s.quote=quote,s.unquote=unquote,s.repeat=repeat,s.naturalCmp=naturalCmp,s.levenshtein=levenshtein,s.toBoolean=toBoolean,s.exports=exports$1,s.escapeRegExp=escapeRegExp$1,s.wrap=wrap$1,s.map=map$1,s.strip=s.trim,s.lstrip=s.ltrim,s.rstrip=s.rtrim,s.center=s.lrpad,s.rjust=s.lpad,s.ljust=s.rpad,s.contains=s.include,s.q=s.quote,s.toBool=s.toBoolean,s.camelcase=s.camelize,s.mapChars=s.map,s.prototype={value:function(){return this._wrapped}},s)fn2method(key$1,s[key$1]);function prototype2method(e){fn2method(e,(function(t){var n=Array.prototype.slice.call(arguments,1);return String.prototype[e].apply(t,n)}))}fn2method("tap",(function(e,t){return t(e)}));var prototypeMethods=["toUpperCase","toLowerCase","split","replace","slice","substring","substr","concat"];for(var method in prototypeMethods)prototype2method(prototypeMethods[method]);var underscore_string=s,backbone=createCommonjsModule((function(e,t){!function(e){var n,i="object"==typeof self&&self.self===self&&self||"object"==typeof commonjsGlobal&&commonjsGlobal.global===commonjsGlobal&&commonjsGlobal,r=_$1;try{n=jquery}catch(e){}!function(e,t,n,i){var r=e.Backbone,o=Array.prototype.slice;t.VERSION="1.4.0",t.$=i,t.noConflict=function(){return e.Backbone=r,this},t.emulateHTTP=!1,t.emulateJSON=!1;var a,s=t.Events={},c=/\s+/,l=function(e,t,i,r,o){var a,s=0;if(i&&"object"==typeof i){void 0!==r&&"context"in o&&void 0===o.context&&(o.context=r);for(a=n.keys(i);s<a.length;s++)t=l(e,t,a[s],i[a[s]],o)}else if(i&&c.test(i))for(a=i.split(c);s<a.length;s++)t=e(t,a[s],r,o);else t=e(t,i,r,o);return t};s.on=function(e,t,n){(this._events=l(d,this._events||{},e,t,{context:n,ctx:this,listening:a}),a)&&((this._listeners||(this._listeners={}))[a.id]=a,a.interop=!1);return this},s.listenTo=function(e,t,i){if(!e)return this;var r=e._listenId||(e._listenId=n.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),s=a=o[r];s||(this._listenId||(this._listenId=n.uniqueId("l")),s=a=o[r]=new v(this,e));var c=u(e,t,i,this);if(a=void 0,c)throw c;return s.interop&&s.on(t,i),this};var d=function(e,t,n,i){if(n){var r=e[t]||(e[t]=[]),o=i.context,a=i.ctx,s=i.listening;s&&s.count++,r.push({callback:n,context:o,ctx:o||a,listening:s})}return e},u=function(e,t,n,i){try{e.on(t,n,i)}catch(e){return e}};s.off=function(e,t,n){return this._events?(this._events=l(p,this._events,e,t,{context:n,listeners:this._listeners}),this):this},s.stopListening=function(e,t,i){var r=this._listeningTo;if(!r)return this;for(var o=e?[e._listenId]:n.keys(r),a=0;a<o.length;a++){var s=r[o[a]];if(!s)break;s.obj.off(t,i,this),s.interop&&s.off(t,i)}return n.isEmpty(r)&&(this._listeningTo=void 0),this};var p=function(e,t,i,r){if(e){var o,a=r.context,s=r.listeners,c=0;if(t||a||i){for(o=t?[t]:n.keys(e);c<o.length;c++){var l=e[t=o[c]];if(!l)break;for(var d=[],u=0;u<l.length;u++){var p=l[u];if(i&&i!==p.callback&&i!==p.callback._callback||a&&a!==p.context)d.push(p);else{var h=p.listening;h&&h.off(t,i)}}d.length?e[t]=d:delete e[t]}return e}for(o=n.keys(s);c<o.length;c++)s[o[c]].cleanup()}};s.once=function(e,t,n){var i=l(h,{},e,t,this.off.bind(this));return"string"==typeof e&&null==n&&(t=void 0),this.on(i,t,n)},s.listenToOnce=function(e,t,n){var i=l(h,{},t,n,this.stopListening.bind(this,e));return this.listenTo(e,i)};var h=function(e,t,i,r){if(i){var o=e[t]=n.once((function(){r(t,o),i.apply(this,arguments)}));o._callback=i}return e};s.trigger=function(e){if(!this._events)return this;for(var t=Math.max(0,arguments.length-1),n=Array(t),i=0;i<t;i++)n[i]=arguments[i+1];return l(f,this._events,e,void 0,n),this};var f=function(e,t,n,i){if(e){var r=e[t],o=e.all;r&&o&&(o=o.slice()),r&&m(r,i),o&&m(o,[t].concat(i))}return e},m=function(e,t){var n,i=-1,r=e.length,o=t[0],a=t[1],s=t[2];switch(t.length){case 0:for(;++i<r;)(n=e[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=e[i]).callback.call(n.ctx,o);return;case 2:for(;++i<r;)(n=e[i]).callback.call(n.ctx,o,a);return;case 3:for(;++i<r;)(n=e[i]).callback.call(n.ctx,o,a,s);return;default:for(;++i<r;)(n=e[i]).callback.apply(n.ctx,t);return}},v=function(e,t){this.id=e._listenId,this.listener=e,this.obj=t,this.interop=!0,this.count=0,this._events=void 0};v.prototype.on=s.on,v.prototype.off=function(e,t){var n;this.interop?(this._events=l(p,this._events,e,t,{context:void 0,listeners:void 0}),n=!this._events):(this.count--,n=0===this.count),n&&this.cleanup()},v.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},s.bind=s.on,s.unbind=s.off,n.extend(t,s);var g=t.Model=function(e,t){var i=e||{};t||(t={}),this.preinitialize.apply(this,arguments),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(i=this.parse(i,t)||{});var r=n.result(this,"defaults");i=n.defaults(n.extend({},r,i),r),this.set(i,t),this.changed={},this.initialize.apply(this,arguments)};n.extend(g.prototype,s,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(e){return n.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return n.escape(this.get(e))},has:function(e){return null!=this.get(e)},matches:function(e){return!!n.iteratee(e,this)(this.attributes)},set:function(e,t,i){if(null==e)return this;var r;if("object"==typeof e?(r=e,i=t):(r={})[e]=t,i||(i={}
28),!this._validate(r,i))return!1;var o=i.unset,a=i.silent,s=[],c=this._changing;this._changing=!0,c||(this._previousAttributes=n.clone(this.attributes),this.changed={});var l=this.attributes,d=this.changed,u=this._previousAttributes;for(var p in r)t=r[p],n.isEqual(l[p],t)||s.push(p),n.isEqual(u[p],t)?delete d[p]:d[p]=t,o?delete l[p]:l[p]=t;if(this.idAttribute in r&&(this.id=this.get(this.idAttribute)),!a){s.length&&(this._pending=i);for(var h=0;h<s.length;h++)this.trigger("change:"+s[h],this,l[s[h]],i)}if(c)return this;if(!a)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,n.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var i in this.attributes)t[i]=void 0;return this.set(t,n.extend({},e,{unset:!0}))},hasChanged:function(e){return null==e?!n.isEmpty(this.changed):n.has(this.changed,e)},changedAttributes:function(e){if(!e)return!!this.hasChanged()&&n.clone(this.changed);var t,i=this._changing?this._previousAttributes:this.attributes,r={};for(var o in e){var a=e[o];n.isEqual(i[o],a)||(r[o]=a,t=!0)}return!!t&&r},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(e){e=n.extend({parse:!0},e);var t=this,i=e.success;return e.success=function(n){var r=e.parse?t.parse(n,e):n;if(!t.set(r,e))return!1;i&&i.call(e.context,t,n,e),t.trigger("sync",t,n,e)},W(this,e),this.sync("read",this,e)},save:function(e,t,i){var r;null==e||"object"==typeof e?(r=e,i=t):(r={})[e]=t;var o=(i=n.extend({validate:!0,parse:!0},i)).wait;if(r&&!o){if(!this.set(r,i))return!1}else if(!this._validate(r,i))return!1;var a=this,s=i.success,c=this.attributes;i.success=function(e){a.attributes=c;var t=i.parse?a.parse(e,i):e;if(o&&(t=n.extend({},r,t)),t&&!a.set(t,i))return!1;s&&s.call(i.context,a,e,i),a.trigger("sync",a,e,i)},W(this,i),r&&o&&(this.attributes=n.extend({},c,r));var l=this.isNew()?"create":i.patch?"patch":"update";"patch"!==l||i.attrs||(i.attrs=r);var d=this.sync(l,this,i);return this.attributes=c,d},destroy:function(e){e=e?n.clone(e):{};var t=this,i=e.success,r=e.wait,o=function(){t.stopListening(),t.trigger("destroy",t,t.collection,e)};e.success=function(n){r&&o(),i&&i.call(e.context,t,n,e),t.isNew()||t.trigger("sync",t,n,e)};var a=!1;return this.isNew()?n.defer(e.success):(W(this,e),a=this.sync("delete",this,e)),r||o(),a},url:function(){var e=n.result(this,"urlRoot")||n.result(this.collection,"url")||V();if(this.isNew())return e;var t=this.get(this.idAttribute);return e.replace(/[^\/]$/,"$&/")+encodeURIComponent(t)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},n.extend({},e,{validate:!0}))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=n.extend({},this.attributes,e);var i=this.validationError=this.validate(e,t)||null;return!i||(this.trigger("invalid",this,i,n.extend(t,{validationError:i})),!1)}});var b=t.Collection=function(e,t){t||(t={}),this.preinitialize.apply(this,arguments),t.model&&(this.model=t.model),void 0!==t.comparator&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,n.extend({silent:!0},t))},y={add:!0,remove:!0,merge:!0},A={add:!0,remove:!1},_=function(e,t,n){n=Math.min(Math.max(n,0),e.length);var i,r=Array(e.length-n),o=t.length;for(i=0;i<r.length;i++)r[i]=e[i+n];for(i=0;i<o;i++)e[i+n]=t[i];for(i=0;i<r.length;i++)e[i+o+n]=r[i]};n.extend(b.prototype,s,{model:g,preinitialize:function(){},initialize:function(){},toJSON:function(e){return this.map((function(t){return t.toJSON(e)}))},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,n.extend({merge:!1},t,A))},remove:function(e,t){t=n.extend({},t);var i=!n.isArray(e);e=i?[e]:e.slice();var r=this._removeModels(e,t);return!t.silent&&r.length&&(t.changes={added:[],merged:[],removed:r},this.trigger("update",this,t)),i?r[0]:r},set:function(e,t){if(null!=e){(t=n.extend({},y,t)).parse&&!this._isModel(e)&&(e=this.parse(e,t)||[]);var i=!n.isArray(e);e=i?[e]:e.slice();var r=t.at;null!=r&&(r=+r),r>this.length&&(r=this.length),r<0&&(r+=this.length+1);var o,a,s=[],c=[],l=[],d=[],u={},p=t.add,h=t.merge,f=t.remove,m=!1,v=this.comparator&&null==r&&!1!==t.sort,g=n.isString(this.comparator)?this.comparator:null;for(a=0;a<e.length;a++){o=e[a];var b=this.get(o);if(b){if(h&&o!==b){var A=this._isModel(o)?o.attributes:o;t.parse&&(A=b.parse(A,t)),b.set(A,t),l.push(b),v&&!m&&(m=b.hasChanged(g))}u[b.cid]||(u[b.cid]=!0,s.push(b)),e[a]=b}else p&&(o=e[a]=this._prepareModel(o,t))&&(c.push(o),this._addReference(o,t),u[o.cid]=!0,s.push(o))}if(f){for(a=0;a<this.length;a++)u[(o=this.models[a]).cid]||d.push(o);d.length&&this._removeModels(d,t)}var w=!1,M=!v&&p&&f;if(s.length&&M?(w=this.length!==s.length||n.some(this.models,(function(e,t){return e!==s[t]})),this.models.length=0,_(this.models,s,0),this.length=this.models.length):c.length&&(v&&(m=!0),_(this.models,c,null==r?this.length:r),this.length=this.models.length),m&&this.sort({silent:!0}),!t.silent){for(a=0;a<c.length;a++)null!=r&&(t.index=r+a),(o=c[a]).trigger("add",o,this,t);(m||w)&&this.trigger("sort",this,t),(c.length||d.length||l.length)&&(t.changes={added:c,removed:d,merged:l},this.trigger("update",this,t))}return i?e[0]:e}},reset:function(e,t){t=t?n.clone(t):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],t);return t.previousModels=this.models,this._reset(),e=this.add(e,n.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,n.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e)},unshift:function(e,t){return this.add(e,n.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e)},slice:function(){return o.apply(this.models,arguments)},get:function(e){if(null!=e)return this._byId[e]||this._byId[this.modelId(this._isModel(e)?e.attributes:e)]||e.cid&&this._byId[e.cid]},has:function(e){return null!=this.get(e)},at:function(e){return e<0&&(e+=this.length),this.models[e]},where:function(e,t){return this[t?"find":"filter"](e)},findWhere:function(e){return this.where(e,!0)},sort:function(e){var t=this.comparator;if(!t)throw new Error("Cannot sort a set without a comparator");e||(e={});var i=t.length;return n.isFunction(t)&&(t=t.bind(this)),1===i||n.isString(t)?this.models=this.sortBy(t):this.models.sort(t),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return this.map(e+"")},fetch:function(e){var t=(e=n.extend({parse:!0},e)).success,i=this;return e.success=function(n){var r=e.reset?"reset":"set";i[r](n,e),t&&t.call(e.context,i,n,e),i.trigger("sync",i,n,e)},W(this,e),this.sync("read",this,e)},create:function(e,t){var i=(t=t?n.clone(t):{}).wait;if(!(e=this._prepareModel(e,t)))return!1;i||this.add(e,t);var r=this,o=t.success;return t.success=function(e,t,n){i&&r.add(e,n),o&&o.call(n.context,e,t,n)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(e){return e[this.model.prototype.idAttribute||"id"]},values:function(){return new M(this,k)},keys:function(){return new M(this,C)},entries:function(){return new M(this,S)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(this._isModel(e))return e.collection||(e.collection=this),e;(t=t?n.clone(t):{}
28).collection=this;var i=new this.model(e,t);return i.validationError?(this.trigger("invalid",this,i.validationError,t),!1):i},_removeModels:function(e,t){for(var n=[],i=0;i<e.length;i++){var r=this.get(e[i]);if(r){var o=this.indexOf(r);this.models.splice(o,1),this.length--,delete this._byId[r.cid];var a=this.modelId(r.attributes);null!=a&&delete this._byId[a],t.silent||(t.index=o,r.trigger("remove",r,this,t)),n.push(r),this._removeReference(r,t)}}return n},_isModel:function(e){return e instanceof g},_addReference:function(e,t){this._byId[e.cid]=e;var n=this.modelId(e.attributes);null!=n&&(this._byId[n]=e),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){delete this._byId[e.cid];var n=this.modelId(e.attributes);null!=n&&delete this._byId[n],this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,i){if(t){if(("add"===e||"remove"===e)&&n!==this)return;if("destroy"===e&&this.remove(t,i),"change"===e){var r=this.modelId(t.previousAttributes()),o=this.modelId(t.attributes);r!==o&&(null!=r&&delete this._byId[r],null!=o&&(this._byId[o]=t))}}this.trigger.apply(this,arguments)}});var w="function"==typeof Symbol&&Symbol.iterator;w&&(b.prototype[w]=b.prototype.values);var M=function(e,t){this._collection=e,this._kind=t,this._index=0},k=1,C=2,S=3;w&&(M.prototype[w]=function(){return this});M.prototype.next=function(){if(this._collection){if(this._index<this._collection.length){var e,t=this._collection.at(this._index);if(this._index++,this._kind===k)e=t;else{var n=this._collection.modelId(t.attributes);e=this._kind===C?n:[n,t]}return{value:e,done:!1}}this._collection=void 0}return{value:void 0,done:!0}};var E=t.View=function(e){this.cid=n.uniqueId("view"),this.preinitialize.apply(this,arguments),n.extend(this,n.pick(e,O)),this._ensureElement(),this.initialize.apply(this,arguments)},x=/^(\S+)\s*(.*)$/,O=["model","collection","el","id","attributes","className","tagName","events"];n.extend(E.prototype,s,{tagName:"div",$:function(e){return this.$el.find(e)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(e){return this.undelegateEvents(),this._setElement(e),this.delegateEvents(),this},_setElement:function(e){this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0]},delegateEvents:function(e){if(e||(e=n.result(this,"events")),!e)return this;for(var t in this.undelegateEvents(),e){var i=e[t];if(n.isFunction(i)||(i=this[i]),i){var r=t.match(x);this.delegate(r[1],r[2],i.bind(this))}}return this},delegate:function(e,t,n){return this.$el.on(e+".delegateEvents"+this.cid,t,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(e,t,n){return this.$el.off(e+".delegateEvents"+this.cid,t,n),this},_createElement:function(e){return document.createElement(e)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var e=n.extend({},n.result(this,"attributes"));this.id&&(e.id=n.result(this,"id")),this.className&&(e.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(e)}},_setAttributes:function(e){this.$el.attr(e)}});var T=function(e,t,i,r){n.each(i,(function(n,i){t[i]&&(e.prototype[i]=function(e,t,n,i){switch(t){case 1:return function(){return e[n](this[i])};case 2:return function(t){return e[n](this[i],t)};case 3:return function(t,r){return e[n](this[i],D(t,this),r)};case 4:return function(t,r,o){return e[n](this[i],D(t,this),r,o)};default:return function(){var t=o.call(arguments);return t.unshift(this[i]),e[n].apply(e,t)}}}(t,n,i,r))}))},D=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?$(e):n.isString(e)?function(t){return t.get(e)}:e},$=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}};n.each([[b,{forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},"models"],[g,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes"]],(function(e){var t=e[0],i=e[1],r=e[2];t.mixin=function(e){var i=n.reduce(n.functions(e),(function(e,t){return e[t]=0,e}),{});T(t,e,i,r)},T(t,n,i,r)})),t.sync=function(e,i,r){var o=P[e];n.defaults(r||(r={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var a={type:o,dataType:"json"};if(r.url||(a.url=n.result(i,"url")||V()),null!=r.data||!i||"create"!==e&&"update"!==e&&"patch"!==e||(a.contentType="application/json",a.data=JSON.stringify(r.attrs||i.toJSON(r))),r.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),r.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){a.type="POST",r.emulateJSON&&(a.data._method=o);var s=r.beforeSend;r.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",o),s)return s.apply(this,arguments)}}"GET"===a.type||r.emulateJSON||(a.processData=!1);var c=r.error;r.error=function(e,t,n){r.textStatus=t,r.errorThrown=n,c&&c.call(r.context,e,t,n)};var l=r.xhr=t.ajax(n.extend(a,r));return i.trigger("request",i,l,r),l};var P={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var N=t.Router=function(e){e||(e={}),this.preinitialize.apply(this,arguments),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},L=/\((.*?)\)/g,z=/(\(\?)?:\w+/g,I=/\*\w+/g,R=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(N.prototype,s,{preinitialize:function(){},initialize:function(){},route:function(e,i,r){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(i)&&(r=i,i=""),r||(r=this[i]);var o=this;return t.history.route(e,(function(n){var a=o._extractParameters(e,n);!1!==o.execute(r,a,i)&&(o.trigger.apply(o,["route:"+i].concat(a)),o.trigger("route",i,a),t.history.trigger("route",o,i,a))})),this},execute:function(e,t,n){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var e,t=n.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(R,"\\$&").replace(L,"(?:$1)?").replace(z,(function(e,t){return t?e:"([^/?]+)"})).replace(I,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var i=e.exec(t).slice(1);return n.map(i,(function(e,t){return t===i.length-1?e||null:e?decodeURIComponent(e):null}))}});var B=t.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},j=/^[#\/]|\s+$/g,q=/^\/+|\/+$/g,F=/#.*$/;B.started=!1,n.extend(B.prototype,s,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(e){return decodeURI(e.replace(/%25/g,"%2525"))},getSearch:function(){var e=this.location.href.replace(/#.*/,"").match(/\?.+/);return e?e[0]:""},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getPath:function(){var e=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===e.charAt(0)?e.slice(1):e},getFragment:function(e){return null==e&&(e=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),e.replace(j,"")},start:function(e){if(B.started)throw new Error("Backbone.history has already been started");if(B.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||
28!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(q,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,r=i.insertBefore(this.iframe,i.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var o=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?o("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?o("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),B.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!B.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+e;e=e.replace(F,"");var r=this.decodeFragment(e);if(this.fragment!==r){if(this.fragment=r,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var o=this.iframe.contentWindow;t.replace||(o.document.open(),o.document.close()),this._updateHash(o.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var i=e.href.replace(/(javascript:|#).*$/,"");e.replace(i+"#"+t)}else e.hash="#"+t}}),t.history=new B;g.extend=b.extend=N.extend=E.extend=B.extend=function(e,t){var i,r=this;return i=e&&n.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},n.extend(i,r,t),i.prototype=n.create(r.prototype,e),i.prototype.constructor=i,i.__super__=r.prototype,i};var V=function(){throw new Error('A "url" property or function must be specified')},W=function(e,t){var n=t.error;
28t.error=function(i){n&&n.call(t.context,e,i,t),e.trigger("error",e,i,t)}}}(i,t,r,n)}()})),backbone_stickit=createCommonjsModule((function(e,t){!function(e,t,n){t.Stickit=n,n._handlers=[],n.addHandler=function(t){t=e.map(e.flatten([t]),(function(t){return e.defaults({},t,{updateModel:!0,updateView:!0,updateMethod:"text"})})),this._handlers=this._handlers.concat(t)},n.ViewMixin={_modelBindings:null,unstickit:function(t,n){if(e.isObject(n))e.each(n,(function(e,n){this.unstickit(t,n)}),this);else{var i=[],r=[];this._modelBindings=e.reject(this._modelBindings,(function(e){if(!(t&&e.model!==t||n&&e.config.selector!=n))return e.model.off(e.event,e.fn),r.push(e.config._destroy),i.push(e.model),!0})),e.invoke(e.uniq(i),"trigger","stickit:unstuck",this.cid),e.each(e.uniq(r),(function(e){e.call(this)}),this),this.$el.off(".stickit"+(t?"."+t.cid:""),n)}},stickit:function(t,n){var i=t||this.model,r=n||e.result(this,"bindings")||{};this._modelBindings||(this._modelBindings=[]),this.addBinding(i,r);var o=this.remove;return o.stickitWrapped||(this.remove=function(){var e=this;return this.unstickit(),o&&(e=o.apply(this,arguments)),e}),this.remove.stickitWrapped=!0,this},addBinding:function(t,n,r){var m=t||this.model,v=".stickit."+m.cid;if(r=r||{},e.isObject(n)){var g=n;e.each(g,(function(e,t){this.addBinding(m,t,e)}),this)}else{var b=":el"===n?this.$el:this.$(n);if(this.unstickit(m,n),b.length){e.isString(r)&&(r={observe:r}),e.isFunction(r.observe)&&(r.observe=r.observe.call(this));var y=d(b,r),A=y.observe;y.selector=n,y.view=this;var _=y.bindId=e.uniqueId(),w=e.extend({stickitChange:y},y.setOptions);if(y._destroy=function(){o.call(this,y.destroy,b,m,y)},u(b,y,m,A),h(b,y,m,A),p(b,y,m),A){e.each(y.events,(function(t){var r=t+v,s=":el"===n?"":n;this.$el.on(r,s,e.bind((function(e){var t=o.call(this,y.getVal,b,e,y,i.call(arguments,1)),n=a(y.updateModel,t,e,y);n&&c(m,A,t,w,y)}),this))}),this),e.each(e.flatten([A]),(function(e){s(m,"change:"+e,y,(function(e,t,n){if((n&&n.stickitChange&&n.stickitChange.bindId)!==_){var i=l(m,A,y);f(b,y,i,m)}}))}));var M=l(m,A,y);f(b,y,M,m,!0)}o.call(this,y.initialize,b,m,y)}}}},e.extend(t.View.prototype,n.ViewMixin);var i=[].slice,r=function(t,n){var i=(n||"").split("."),r=e.reduce(i,(function(e,t){return e[t]}),t);return null==r?t:r},o=function(t){if(t=e.isString(t)?r(this,t):t)return t.apply(this,i.call(arguments,1))},a=function(t,n,i){if(e.isBoolean(t))return t;if(e.isFunction(t)||e.isString(t)){var r=e.last(arguments).view;return o.apply(r,arguments)}return!1},s=function(e,t,n,i){var r=n.view;e.on(t,i,r),r._modelBindings.push({model:e,event:t,fn:i,config:n})},c=function(t,n,i,r,a){var s={},c=a.view;a.onSet&&(i=o.call(c,a.onSet,i,a)),a.set?o.call(c,a.set,n,i,r,a):(s[n]=i,e.isArray(n)&&e.isArray(i)&&(s=e.reduce(n,(function(t,n,r){return t[n]=e.has(i,r)?i[r]:null,t}),{})),t.set(s,r))},l=function(t,n,i){var r=i.view,a=function(e){return t[i.escape?"escape":"get"](e)},s=function(e){return null==e?"":e},c=e.isArray(n)?e.map(n,a):a(n);return i.onGet&&(c=o.call(r,i.onGet,c,i)),e.isArray(c)?e.map(c,s):s(c)},d=n.getConfiguration=function(t,i){var r=[{updateModel:!1,updateMethod:"text",update:function(e,t,n,i){e[i.updateMethod]&&e[i.updateMethod](t)},getVal:function(e,t,n){return e[n.updateMethod]()}}];(r=r.concat(e.filter(n._handlers,(function(e){return t.is(e.selector)})))).push(i);var o=e.extend.apply(e,r);return e.has(o,"updateView")||(o.updateView=!o.visible),o},u=function(t,n,i,r){var o=["autofocus","autoplay","async","checked","controls","defer","disabled","hidden","indeterminate","loop","multiple","open","readonly","required","scoped","selected"],a=n.view;e.each(n.attributes||[],(function(c){(c=e.clone(c)).view=a;var d="",u=c.observe||(c.observe=r),p=function(){var n=e.contains(o,c.name)?"prop":"attr",r=l(i,u,c);"class"===c.name?(t.removeClass(d).addClass(r),d=r):t[n](c.name,r)};e.each(e.flatten([u]),(function(e){s(i,"change:"+e,n,p)})),p()}))},p=function(t,n,i,r){e.each(n.classes||[],(function(r,o){e.isString(r)&&(r={observe:r}),r.view=n.view;var a=r.observe,c=function(){var e=l(i,a,r);t.toggleClass(o,!!e)};e.each(e.flatten([a]),(function(e){s(i,"change:"+e,n,c)})),c()}))},h=function(t,n,i,r){if(null!=n.visible){var a=n.view,c=function(){var s=n.visible,c=n.visibleFn,d=l(i,r,n),u=!!d;(e.isFunction(s)||e.isString(s))&&(u=!!o.call(a,s,d,n)),c?o.call(a,c,t,u,n):t.toggle(u)};e.each(e.flatten([r]),(function(e){s(i,"change:"+e,n,c)})),c()}},f=function(e,t,n,i,r){var s=t.view;a(t.updateView,n,t)&&(o.call(s,t.update,e,n,i,t),r||o.call(s,t.afterUpdate,e,n,t))};n.addHandler([{selector:"[contenteditable]",updateMethod:"html",events:["input","change"]},{selector:"input",events:["propertychange","input","change"],update:function(e,t){e.val(t)},getVal:function(e){return e.val()}},{selector:"textarea",events:["propertychange","input","change"],update:function(e,t){e.val(t)},getVal:function(e){return e.val()}},{selector:'input[type="radio"]',events:["change"],update:function(e,t){e.filter('[value="'+t+'"]').prop("checked",!0)},getVal:function(e){return e.filter(":checked").val()}},{selector:'input[type="checkbox"]',events:["change"],update:function(n,i,r,o){if(n.length>1)i||(i=[]),n.each((function(n,r){var o=t.$(r),a=e.contains(i,o.val());o.prop("checked",a)}));else{var a=e.isBoolean(i)?i:i===n.val();n.prop("checked",a)}},getVal:function(n){var i;if(n.length>1)i=e.reduce(n,(function(e,n){var i=t.$(n);return i.prop("checked")&&e.push(i.val()),e}),[]);else{i=n.prop("checked");var r=n.val();"on"!==r&&null!=r&&(i=i?n.val():null)}return i}},{selector:"select",events:["change"],update:function(n,i,a,s){var c,d=s.selectOptions,u=d&&d.collection||void 0,p=n.prop("multiple");if(!d){d={};var h=function(e){return e.map((function(e,n){var i=t.$(n).data("stickit-bind-val");return{value:void 0!==i?i:n.value,label:n.text}})).get()};n.find("optgroup").length?(u={opt_labels:[]},n.find("> option").length&&(u.opt_labels.push(void 0),e.each(n.find("> option"),(function(e){u[void 0]=h(t.$(e))}))),e.each(n.find("optgroup"),(function(e){var n=t.$(e).attr("label");u.opt_labels.push(n),u[n]=h(t.$(e).find("option"))}))):u=h(n.find("option"))}d.valuePath=d.valuePath||"value",d.labelPath=d.labelPath||"label",d.disabledPath=d.disabledPath||"disabled";var f=function(n,i,o){e.each(n,(function(n){var a,s,c,l=t.$("<option/>"),u=n;"__default__"===n?(a=o.label,s=o.value,c=o.disabled):(a=r(n,d.labelPath),s=r(n,d.valuePath),c=r(n,d.disabledPath)),function(t,n,i){l.text(t),u=n,l.data("stickit-bind-val",u),e.isArray(u)||e.isObject(u)||l.val(u),!0===i&&l.prop("disabled","disabled")}(a,s,c),!p&&null!=u&&null!=o&&u===o||e.isObject(o)&&e.isEqual(u,o)?l.prop("selected",!0):p&&e.isArray(o)&&e.each(o,(function(t){e.isObject(t)&&(t=r(t,d.valuePath)),(t===u||e.isObject(t)&&e.isEqual(u,t))&&l.prop("selected",!0)})),i.append(l)}))};if(n.find("*").remove(),e.isString(u)){var m=window;0===u.indexOf("this.")&&(m=this),u=u.replace(/^[a-z]*\.(.+)$/,"$1"),c=r(m,u)}else c=e.isFunction(u)?o.call(this,u,n,s):u;if(c instanceof t.Collection){var v=c,g=function(){var e=l(a,s.observe,s);
28o.call(this,s.update,n,e,a,s)},b=function(){v.off("add remove reset sort",g)},y=function(){b(),v.off("stickit:selectRefresh"),a.off("stickit:selectRefresh")};v.trigger("stickit:selectRefresh"),v.once("stickit:selectRefresh",b,this),v.on("add remove reset sort",g,this),a.trigger("stickit:selectRefresh"),a.once("stickit:selectRefresh",(function(){a.off("stickit:unstuck",y)})),a.once("stickit:unstuck",y,this),c=c.toJSON()}if(d.defaultOption){var A=e.isFunction(d.defaultOption)?d.defaultOption.call(this,n,s):d.defaultOption;f(["__default__"],n,A)}if(e.isArray(c))f(c,n,i);else if(c.opt_labels)e.each(c.opt_labels,(function(e){var r=t.$("<optgroup/>").attr("label",e);f(c[e],r,i),n.append(r)}));else{var _,w=[];for(var M in c)(_={})[d.valuePath]=M,_[d.labelPath]=c[M],w.push(_);w=e.sortBy(w,d.comparator||d.labelPath),f(w,n,i)}},getVal:function(n){var i=n.find("option:selected");return n.prop("multiple")?e.map(i,(function(e){return t.$(e).data("stickit-bind-val")})):i.data("stickit-bind-val")}}])}(_$1,backbone,t)})),unsavedModels,getPrompt;unsavedModels=[],getPrompt=function(e){var t,n=_$1.rest(arguments),i=function(e,t){return _$1.isBoolean(t)?t:(_$1.isString(t)?e[t]:t).apply(e,n)};return _$1.each(unsavedModels,(function(n){!t&&i(n,n._unsavedConfig[e])&&(t=n._unsavedConfig.prompt)})),t},backbone.History.prototype.navigate=_$1.wrap(backbone.History.prototype.navigate,(function(e,t,n){var i=getPrompt("unloadRouterPrompt",t,n);i?confirm(i+" \n\nAre you sure you want to leave this page?")&&e.call(this,t,n):e.call(this,t,n)})),window.onbeforeunload=function(e){return getPrompt("unloadWindowPrompt",e)},_$1.extend(backbone.Model.prototype,{unsaved:{},_trackingChanges:!1,_originalAttrs:{},_unsavedChanges:{},startTracking:function(){return this._unsavedConfig=_$1.extend({},{prompt:"You have unsaved changes!",unloadRouterPrompt:!1,unloadWindowPrompt:!1},this.unsaved||{}),this._trackingChanges=!0,this._resetTracking(),this._triggerUnsavedChanges(),this},stopTracking:function(){return this._trackingChanges=!1,this._originalAttrs={},this._unsavedChanges={},this._triggerUnsavedChanges(),this},restartTracking:function(){return this._resetTracking(),this._triggerUnsavedChanges(),this},resetAttributes:function(){if(this._trackingChanges)return this.attributes=this._originalAttrs,this._resetTracking(),this._triggerUnsavedChanges(),this},unsavedAttributes:function(e){if(!e)return!_$1.isEmpty(this._unsavedChanges)&&_$1.clone(this._unsavedChanges);var t,n=!1,i=this._unsavedChanges;for(var r in e)_$1.isEqual(i[r],t=e[r])||((n||(n={}))[r]=t);return n},_resetTracking:function(){this._originalAttrs=_$1.clone(this.attributes),this._unsavedChanges={}},_triggerUnsavedChanges:function(){this.trigger("unsavedChanges",!_$1.isEmpty(this._unsavedChanges),_$1.clone(this._unsavedChanges),this),this.unsaved&&function(e){_$1.isEmpty(e._unsavedChanges)?unsavedModels=_$1.filter(unsavedModels,(function(t){return e.cid!=t.cid})):_$1.findWhere(unsavedModels,{cid:e.cid})||unsavedModels.push(e)}(this)}}),backbone.Model.prototype.set=_$1.wrap(backbone.Model.prototype.set,(function(e,t,n,i){var r,o;return null==t?this:("object"==typeof t?(r=t,i=n):(r={})[t]=n,i||(i={}),o=e.call(this,r,i),!this._trackingChanges||i.silent||i.trackit_silent||(_$1.each(r,_$1.bind((function(e,t){_$1.isEqual(this._originalAttrs[t],e)?delete this._unsavedChanges[t]:this._unsavedChanges[t]=e}),this)),this._triggerUnsavedChanges()),o)})),backbone.sync=_$1.wrap(backbone.sync,(function(e,t,n,i){return i||(i={}),"update"!=t&&"create"!=t&&"patch"!=t||(i.success=_$1.wrap(i.success,_$1.bind((function(e,t,i,r){var o;return e&&(o=e.call(this,t,i,r)),n._trackingChanges&&(n._resetTracking(),n._triggerUnsavedChanges()),o}),this))),e(t,n,i)})), 29/** 30 * 31 * 32 * @author Jerry Bendy <[email protected]> 33 * @licence MIT 34 * 35 */ 36function(e){var t,n=e.URLSearchParams&&e.URLSearchParams.prototype.get?e.URLSearchParams:null,i=n&&"a=1"===new n({a:1}).toString(),r=n&&"+"===new n("s=%2B").get("s"),o=!n||((t=new n).append("s"," &"),"s=+%26"===t.toString()),a=d.prototype,s=!(!e.Symbol||!e.Symbol.iterator);if(!(n&&i&&r&&o)){a.append=function(e,t){m(this.__URLSearchParams__,e,t)},a.delete=function(e){delete this.__URLSearchParams__[e]},a.get=function(e){var t=this.__URLSearchParams__;return e in t?t[e][0]:null},a.getAll=function(e){var t=this.__URLSearchParams__;return e in t?t[e].slice(0):[]},a.has=function(e){return e in this.__URLSearchParams__},a.set=function(e,t){this.__URLSearchParams__[e]=[""+t]},a.toString=function(){var e,t,n,i,r=this.__URLSearchParams__,o=[];for(t in r)for(n=u(t),e=0,i=r[t];e<i.length;e++)o.push(n+"="+u(i[e]));return o.join("&")};var c=!!r&&n&&!i&&e.Proxy;Object.defineProperty(e,"URLSearchParams",{value:c?new Proxy(n,{construct:function(e,t){return new e(new d(t[0]).toString())}}):d});var l=e.URLSearchParams.prototype;l.polyfill=!0,l.forEach=l.forEach||function(e,t){var n=f(this.toString());
36Object.getOwnPropertyNames(n).forEach((function(i){n[i].forEach((function(n){e.call(t,n,i,this)}),this)}),this)},l.sort=l.sort||function(){var e,t,n,i=f(this.toString()),r=[];for(e in i)r.push(e);for(r.sort(),t=0;t<r.length;t++)this.delete(r[t]);for(t=0;t<r.length;t++){var o=r[t],a=i[o];for(n=0;n<a.length;n++)this.append(o,a[n])}},l.keys=l.keys||function(){var e=[];return this.forEach((function(t,n){e.push(n)})),h(e)},l.values=l.values||function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},l.entries=l.entries||function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},s&&(l[e.Symbol.iterator]=l[e.Symbol.iterator]||l.entries)}function d(e){((e=e||"")instanceof URLSearchParams||e instanceof d)&&(e=e.toString()),this.__URLSearchParams__=f(e)}function u(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function p(e){return decodeURIComponent(e.replace(/\+/g," "))}function h(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return s&&(n[e.Symbol.iterator]=function(){return n}),n}function f(e){var t={};if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&m(t,n,e[n]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var i=e.split("&"),r=0;r<i.length;r++){var o=i[r],a=o.indexOf("=");-1<a?m(t,p(o.slice(0,a)),p(o.slice(a+1))):o&&m(t,p(o),"")}}return t}function m(e,t,n){var i="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);t in e?e[t].push(i):e[t]=[i]}}(void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof window?window:commonjsGlobal); 37/*! 38 * Vue.js v2.6.14 39 * (c) 2014-2021 Evan You 40 * Released under the MIT License. 41 */ 42var emptyObject=Object.freeze({});function isUndef(e){return null==e}function isDef(e){return null!=e}function isTrue(e){return!0===e}function isFalse(e){return!1===e}function isPrimitive(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function isObject$1(e){return null!==e&&"object"==typeof e}var _toString=Object.prototype.toString;function toRawType(e){return _toString.call(e).slice(8,-1)}function isPlainObject(e){return"[object Object]"===_toString.call(e)}function isRegExp$1(e){return"[object RegExp]"===_toString.call(e)}function isValidArrayIndex(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function isPromise(e){return isDef(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function toString$1(e){return null==e?"":Array.isArray(e)||isPlainObject(e)&&e.toString===_toString?JSON.stringify(e,null,2):String(e)}function toNumber$1(e){var t=parseFloat(e);return isNaN(t)?e:t}function makeMap(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 isBuiltInTag=makeMap("slot,component",!0),isReservedAttribute=makeMap("key,ref,slot,slot-scope,is");function remove(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var hasOwnProperty$1=Object.prototype.hasOwnProperty;function hasOwn(e,t){return hasOwnProperty$1.call(e,t)}function cached(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var camelizeRE=/-(\w)/g,camelize$1=cached((function(e){return e.replace(camelizeRE,(function(e,t){return t?t.toUpperCase():""}))})),capitalize$1=cached((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),hyphenateRE=/\B([A-Z])/g,hyphenate=cached((function(e){return e.replace(hyphenateRE,"-$1").toLowerCase()}));function polyfillBind(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 nativeBind(e,t){return e.bind(t)}var bind$1=Function.prototype.bind?nativeBind:polyfillBind;function toArray$1(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function extend$1(e,t){for(var n in t)e[n]=t[n];return e}function toObject(e){for(var t={},n=0;n<e.length;n++)e[n]&&extend$1(t,e[n]);return t}function noop$1(e,t,n){}var no=function(e,t,n){return!1},identity$1=function(e){return e};function genStaticKeys(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}function looseEqual(e,t){if(e===t)return!0;var n=isObject$1(e),i=isObject$1(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 looseEqual(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 looseEqual(e[n],t[n])}))}catch(e){return!1}}function looseIndexOf(e,t){for(var n=0;n<e.length;n++)if(looseEqual(e[n],t))return n;return-1}function once$1(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var SSR_ATTR="data-server-rendered",ASSET_TYPES=["component","directive","filter"],LIFECYCLE_HOOKS=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","
42serverPrefetch"],config$1={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:no,isReservedAttr:no,isUnknownElement:no,getTagNamespace:noop$1,parsePlatformTagName:identity$1,mustUseProp:no,async:!0,_lifecycleHooks:LIFECYCLE_HOOKS},unicodeRegExp=/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 isReserved(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function def(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var bailRE=new RegExp("[^"+unicodeRegExp.source+".$_\\d]");function parsePath(e){if(!bailRE.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}}}var hasProto="__proto__"in{},inBrowser="undefined"!=typeof window,inWeex="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,weexPlatform=inWeex&&WXEnvironment.platform.toLowerCase(),UA=inBrowser&&window.navigator.userAgent.toLowerCase(),isIE=UA&&/msie|trident/.test(UA),isIE9=UA&&UA.indexOf("msie 9.0")>0,isEdge=UA&&UA.indexOf("edge/")>0,isAndroid=UA&&UA.indexOf("android")>0||"android"===weexPlatform,isIOS=UA&&/iphone|ipad|ipod|ios/.test(UA)||"ios"===weexPlatform,isChrome=UA&&/chrome\/\d+/.test(UA)&&!isEdge,isPhantomJS=UA&&/phantomjs/.test(UA),isFF=UA&&UA.match(/firefox\/(\d+)/),nativeWatch={}.watch,supportsPassive=!1,_isServer;if(inBrowser)try{var opts={};Object.defineProperty(opts,"passive",{get:function(){supportsPassive=!0}}),window.addEventListener("test-passive",null,opts)}catch(e){}var isServerRendering=function(){return void 0===_isServer&&(_isServer=!inBrowser&&!inWeex&&void 0!==global$1&&(global$1.process&&"server"===global$1.process.env.VUE_ENV)),_isServer},devtools=inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function isNative(e){return"function"==typeof e&&/native code/.test(e.toString())}var hasSymbol="undefined"!=typeof Symbol&&isNative(Symbol)&&"undefined"!=typeof Reflect&&isNative(Reflect.ownKeys),_Set;_Set="undefined"!=typeof Set&&isNative(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 warn=noop$1,uid=0,Dep=function(){this.id=uid++,this.subs=[]};Dep.prototype.addSub=function(e){this.subs.push(e)},Dep.prototype.removeSub=function(e){remove(this.subs,e)}
vendor: 20,941 bytes, line 42
42,Dep.prototype.depend=function(){Dep.target&&Dep.target.addDep(this)},Dep.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},Dep.target=null;var targetStack=[];function pushTarget(e){targetStack.push(e),Dep.target=e}function popTarget(){targetStack.pop(),Dep.target=targetStack[targetStack.length-1]}var VNode=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},prototypeAccessors={child:{configurable:!0}};prototypeAccessors.child.get=function(){return this.componentInstance},Object.defineProperties(VNode.prototype,prototypeAccessors);var createEmptyVNode=function(e){void 0===e&&(e="");var t=new VNode;return t.text=e,t.isComment=!0,t};function createTextVNode(e){return new VNode(void 0,void 0,void 0,String(e))}function cloneVNode(e){var t=new VNode(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 arrayProto=Array.prototype,arrayMethods=Object.create(arrayProto),methodsToPatch=["push","pop","shift","unshift","splice","sort","reverse"];methodsToPatch.forEach((function(e){var t=arrayProto[e];def(arrayMethods,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 arrayKeys=Object.getOwnPropertyNames(arrayMethods),shouldObserve=!0;function toggleObserving(e){shouldObserve=e}var Observer=function(e){this.value=e,this.dep=new Dep,this.vmCount=0,def(e,"__ob__",this),Array.isArray(e)?(hasProto?protoAugment(e,arrayMethods):copyAugment(e,arrayMethods,arrayKeys),this.observeArray(e)):this.walk(e)};function protoAugment(e,t){e.__proto__=t}function copyAugment(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];def(e,o,t[o])}}function observe(e,t){var n;if(isObject$1(e)&&!(e instanceof VNode))return hasOwn(e,"__ob__")&&e.__ob__ instanceof Observer?n=e.__ob__:shouldObserve&&!isServerRendering()&&(Array.isArray(e)||isPlainObject(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Observer(e)),t&&n&&n.vmCount++,n}function defineReactive$$1(e,t,n,i,r){var o=new Dep,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!r&&observe(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return Dep.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(t)&&dependArray(t))),t},set:function(t){var i=s?s.call(e):n;t===i||t!=t&&i!=i||s&&!c||(c?c.call(e,t):n=t,l=!r&&observe(t),o.notify())}})}}function set(e,t,n){if(Array.isArray(e)&&isValidArrayIndex(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?(defineReactive$$1(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function del(e,t){if(Array.isArray(e)&&isValidArrayIndex(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||hasOwn(e,t)&&(delete e[t],n&&n.dep.notify())}}function dependArray(e){for(var t=void 0,n=0,i=e.length;n<i;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&dependArray(t)}Observer.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)defineReactive$$1(e,t[n])},Observer.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)observe(e[t])};var strats=config$1.optionMergeStrategies;function mergeData(e,t){if(!t)return e;for(var n,i,r,o=hasSymbol?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(i=e[n],r=t[n],hasOwn(e,n)?i!==r&&isPlainObject(i)&&isPlainObject(r)&&mergeData(i,r):set(e,n,r));return e}function mergeDataOrFn(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?mergeData(i,r):r}:t?e?function(){return mergeData("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function mergeHook(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?dedupeHooks(n):n}function dedupeHooks(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function mergeAssets(e,t,n,i){var r=Object.create(e||null);return t?extend$1(r,t):r}strats.data=function(e,t,n){return n?mergeDataOrFn(e,t,n):t&&"function"!=typeof t?e:mergeDataOrFn(e,t)},LIFECYCLE_HOOKS.forEach((function(e){strats[e]=mergeHook})),ASSET_TYPES.forEach((function(e){strats[e+"s"]=mergeAssets})),strats.watch=function(e,t,n,i){if(e===nativeWatch&&(e=void 0),t===nativeWatch&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};for(var o in extend$1(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},strats.props=strats.methods=strats.inject=strats.computed=function(e,t,n,i){if(!e)return t;var r=Object.create(null);return extend$1(r,e),t&&extend$1(r,t),r},strats.provide=mergeDataOrFn;var defaultStrat=function(e,t){return void 0===t?e:t};function normalizeProps(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[camelize$1(r)]={type:null});else if(isPlainObject(n))for(var a in n)r=n[a],o[camelize$1(a)]=isPlainObject(r)?r:{type:r};e.props=o}}function normalizeInject(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(isPlainObject(n))for(var o in n){var a=n[o];i[o]=isPlainObject(a)?extend$1({from:o},a):{from:a}}}}function normalizeDirectives(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})}}function assertObjectType(e,t,n){isPlainObject(t)||warn('Invalid value for option "'+e+'": expected an Object, but got '+toRawType(t)+".",n)}function mergeOptions(e,t,n){if("function"==typeof t&&(t=t.options),normalizeProps(t),normalizeInject(t),normalizeDirectives(t),!t._base&&(t.extends&&(e=mergeOptions(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=mergeOptions(e,t.mixins[i],n);var o,a={};for(o in e)s(o);for(o in t)hasOwn(e,o)||s(o);function s(i){var r=strats[i]||defaultStrat;a[i]=r(e[i],t[i],n,i)}return a}function resolveAsset(e,t,n,i){if("string"==typeof n){var r=e[t];if(hasOwn(r,n))return r[n];var o=camelize$1(n);if(hasOwn(r,o))return r[o];var a=capitalize$1(o);return hasOwn(r,a)?r[a]:r[n]||r[o]||r[a]}}function validateProp(e,t,n,i){var r=t[e],o=!hasOwn(n,e),a=n[e],s=getTypeIndex(Boolean,r.type);if(s>-1)if(o&&!hasOwn(r,"default"))a=!1;else if(""===a||a===hyphenate(e)){var c=getTypeIndex(String,r.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=getPropDefaultValue(i,r,e);var l=shouldObserve;toggleObserving(!0),observe(a),toggleObserving(l)}return a}function getPropDefaultValue(e,t,n){if(hasOwn(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"!==getType(t.type)?i.call(e):i}}var functionTypeCheckRE=/^\s*function (\w+)/;function getType(e){var t=e&&e.toString().match(functionTypeCheckRE);return t?t[1]:""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){if(!Array.isArray(t))return isSameType(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(isSameType(t[n],e))return n;return-1}function handleError(e,t,n){pushTarget();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){globalHandleError(e,i,"errorCaptured hook")}}globalHandleError(e,t,n)}finally{popTarget()}}function invokeWithErrorHandling(e,t,n,i,r){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&isPromise(o)&&!o._handled&&(o.catch((function(e){return handleError(e,i,r+" (Promise/async)")})),o._handled=!0)}catch(e){handleError(e,i,r)}return o}function globalHandleError(e,t,n){if(config$1.errorHandler)try{return config$1.errorHandler.call(null,e,t,n)}catch(t){t!==e&&logError(t)}logError(e)}function logError(e,t,n){if(!inBrowser&&!inWeex||"undefined"==typeof console)throw e;console.error(e)}var isUsingMicroTask=!1,callbacks=[],pending=!1,timerFunc;function flushCallbacks(){pending=!1;var e=callbacks.slice(0);callbacks.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&isNative(Promise)){var p=Promise.resolve();timerFunc=function(){p.then(flushCallbacks),isIOS&&setTimeout(noop$1)},isUsingMicroTask=!0}else if(isIE||"undefined"==typeof MutationObserver||!isNative(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())timerFunc="undefined"!=typeof setImmediate&&isNative(setImmediate)?function(){setImmediate(flushCallbacks)}:function(){setTimeout(flushCallbacks,0)};else{var counter=1,observer=new MutationObserver(flushCallbacks),textNode=document.createTextNode(String(counter));observer.observe(textNode,{characterData:!0}),timerFunc=function(){counter=(counter+1)%2,textNode.data=String(counter)},isUsingMicroTask=!0}function nextTick(e,t){var n;if(callbacks.push((function(){if(e)try{e.call(t)}catch(e){handleError(e,t,"nextTick")}else n&&n(t)})),pending||(pending=!0,timerFunc()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var seenObjects=new _Set;function traverse(e){_traverse(e,seenObjects),seenObjects.clear()}function _traverse(e,t){var n,i,r=Array.isArray(e);if(!(!r&&!isObject$1(e)||Object.isFrozen(e)||e instanceof VNode)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(r)for(n=e.length;n--;)_traverse(e[n],t);else for(n=(i=Object.keys(e)).length;n--;)_traverse(e[i[n]],t)}}var normalizeEvent=cached((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 createFnInvoker(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return invokeWithErrorHandling(i,null,arguments,t,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)invokeWithErrorHandling(r[o],null,e,t,"v-on handler")}return n.fns=e,n}function updateListeners(e,t,n,i,r,o){var a,s,c,l;for(a in e)s=e[a],c=t[a],l=normalizeEvent(a),isUndef(s)||(isUndef(c)?(isUndef(s.fns)&&(s=e[a]=createFnInvoker(s,o)),isTrue(l.once)&&(s=e[a]=r(l.name,s,l.capture)),n(l.name,s,l.capture,l.passive,l.params)):s!==c&&(c.fns=s,e[a]=c));for(a in t)isUndef(e[a])&&i((l=normalizeEvent(a)).name,t[a],l.capture)}function mergeVNodeHook(e,t,n){var i;e instanceof VNode&&(e=e.data.hook||(e.data.hook={}));var r=e[t];function o(){n.apply(this,arguments),remove(i.fns,o)}isUndef(r)?i=createFnInvoker([o]):isDef(r.fns)&&isTrue(r.merged)?(i=r).fns.push(o):i=createFnInvoker([r,o]),i.merged=!0,e[t]=i}function extractPropsFromVNodeData(e,t,n){var i=t.options.props;if(!isUndef(i)){var r={},o=e.attrs,a=e.props;if(isDef(o)||isDef(a))for(var s in i){var c=hyphenate(s);checkProp(r,a,s,c,!0)||checkProp(r,o,s,c,!1)}return r}}function checkProp(e,t,n,i,r){if(isDef(t)){if(hasOwn(t,n))return e[n]=t[n],r||delete t[n],!0;if(hasOwn(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function simpleNormalizeChildren(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function normalizeChildren(e){return isPrimitive(e)?[createTextVNode(e)]:Array.isArray(e)?normalizeArrayChildren(e):void 0}function isTextNode(e){return isDef(e)&&isDef(e.text)&&isFalse(e.isComment)}function normalizeArrayChildren(e,t){var n,i,r,o,a=[];for(n=0;n<e.length;n++)isUndef(i=e[n])||"boolean"==typeof i||(o=a[r=a.length-1],Array.isArray(i)?i.length>0&&(isTextNode((i=normalizeArrayChildren(i,(t||"")+"_"+n))[0])&&isTextNode(o)&&(a[r]=createTextVNode(o.text+i[0].text),i.shift()),a.push.apply(a,i)):isPrimitive(i)?isTextNode(o)?a[r]=createTextVNode(o.text+i):""!==i&&a.push(createTextVNode(i)):isTextNode(i)&&isTextNode(o)?a[r]=createTextVNode(o.text+i.text):(isTrue(e._isVList)&&isDef(i.tag)&&isUndef(i.key)&&isDef(t)&&(i.key="__vlist"+t+"_"+n+"__"),a.push(i)));return a}function initProvide(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function initInjections(e){var t=resolveInject(e.$options.inject,e);t&&(toggleObserving(!1),Object.keys(t).forEach((function(n){defineReactive$$1(e,n,t[n])})),toggleObserving(!0))}function resolveInject(e,t){if(e){for(var n=Object.create(null),i=hasSymbol?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&&hasOwn(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var c=e[o].default;n[o]="function"==typeof c?c.call(t):c}}}return n}}function resolveSlots(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,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(isWhitespace)&&delete n[l];return n}function isWhitespace(e){return e.isComment&&!e.asyncFactory||" "===e.text}function isAsyncPlaceholder(e){return e.isComment&&e.asyncFactory}function normalizeScopedSlots(e,t,n){var i,r=Object.keys(t).length>0,o=e?!!e.$stable:!r,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==emptyObject&&a===n.$key&&!r&&!n.$hasNormal)return n;for(var s in i={},e)e[s]&&"$"!==s[0]&&(i[s]=normalizeScopedSlot(t,s,e[s]))}else i={};for(var c in t)c in i||(i[c]=proxyNormalSlot(t,c));return e&&Object.isExtensible(e)&&(e._normalized=i),def(i,"$stable",o),def(i,"$key",a),def(i,"$hasNormal",r),i}function normalizeScopedSlot(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({}),t=(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:normalizeChildren(e))&&e[0];return e&&(!t||1===e.length&&t.isComment&&!isAsyncPlaceholder(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function proxyNormalSlot(e,t){return function(){return e[t]}}function renderList(e,t){var n,i,r,o,a;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(isObject$1(e))if(hasSymbol&&e[Symbol.iterator]){n=[];for(var s=e[Symbol.iterator](),c=s.next();!c.done;)n.push(t(c.value,n.length)),c=s.next()}else for(o=Object.keys(e),n=new Array(o.length),i=0,r=o.length;i<r;i++)a=o[i],n[i]=t(e[a],a,i);return isDef(n)||(n=[]),n._isVList=!0,n}function renderSlot(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(n=extend$1(extend$1({},i),n)),r=o(n)||("function"==typeof t?t():t)):r=this.$slots[e]||("function"==typeof t?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function resolveFilter(e){return resolveAsset(this.$options,"filters",e)||identity$1}function isKeyNotMatch(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function checkKeyCodes(e,t,n,i,r){var o=config$1.keyCodes[t]||n;return r&&i&&!config$1.keyCodes[t]?isKeyNotMatch(r,i):o?isKeyNotMatch(o,e):i?hyphenate(i)!==t:void 0===e}function bindObjectProps(e,t,n,i,r){if(n)if(isObject$1(n)){var o;Array.isArray(n)&&(n=toObject(n));var a=function(a){if("class"===a||"style"===a||isReservedAttribute(a))o=e;else{var s=e.attrs&&e.attrs.type;o=i||config$1.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=camelize$1(a),l=hyphenate(a);c in o||l 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;return e}function renderStatic(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t||markStatic(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i}function markOnce(e,t,n){return markStatic(e,"__once__"+t+(n?"_"+n:""),!0),e}function markStatic(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&markStaticNode(e[i],t+"_"+i,n);else markStaticNode(e,t,n)}function markStaticNode(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function bindObjectListeners(e,t){if(t)if(isPlainObject(t)){var n=e.on=e.on?extend$1({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}else;return e}function resolveScopedSlots(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?resolveScopedSlots(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return i&&(t.$key=i),t}function bindDynamicKeys(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 prependModifier(e,t){return"string"==typeof e?t+e:e}function installRenderHelpers(e){e._o=markOnce,e._n=toNumber$1,e._s=toString$1,e._l=renderList,e._t=renderSlot,e._q=looseEqual,e._i=looseIndexOf,e._m=renderStatic,e._f=resolveFilter,e._k=checkKeyCodes,e._b=bindObjectProps,e._v=createTextVNode,e._e=createEmptyVNode,e._u=resolveScopedSlots,e._g=bindObjectListeners,e._d=bindDynamicKeys,e._p=prependModifier}function FunctionalRenderContext(e,t,n,i,r){var o,a=this,s=r.options;hasOwn(i,"_uid")?(o=Object.create(i))._original=i:(o=i,i=i._original);var c=isTrue(s._compiled),l=!c;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||emptyObject,this.injections=resolveInject(s.inject,i),this.slots=function(){return a.$slots||normalizeScopedSlots(e.scopedSlots,a.$slots=resolveSlots(n,i)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return normalizeScopedSlots(e.scopedSlots,this.slots())}}),c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=normalizeScopedSlots(e.scopedSlots,this.$slots)),s._scopeId?this._c=function(e,t,n,r){var a=createElement(o,e,t,n,r,l);return a&&!Array.isArray(a)&&(a.fnScopeId=s._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,i){return createElement(o,e,t,n,i,l)}}function createFunctionalComponent(e,t,n,i,r){var o=e.options,a={},s=o.props;if(isDef(s))for(var c in s)a[c]=validateProp(c,s,t||emptyObject);else isDef(n.attrs)&&mergeProps(a,n.attrs),isDef(n.props)&&mergeProps(a,n.props);var l=new FunctionalRenderContext(n,a,r,i,e),d=o.render.call(null,l._c,l);if(d instanceof VNode)return cloneAndMarkFunctionalResult(d,n,l.parent,o);if(Array.isArray(d)){for(var u=normalizeChildren(d)||[],p=new Array(u.length),h=0;h<u.length;h++)p[h]=cloneAndMarkFunctionalResult(u[h],n,l.parent,o);return p}}function cloneAndMarkFunctionalResult(e,t,n,i,r){var o=cloneVNode(e);return o.fnContext=n,o.fnOptions=i,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function mergeProps(e,t){for(var n in t)e[camelize$1(n)]=t[n]}installRenderHelpers(FunctionalRenderContext.prototype);var componentVNodeHooks={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;componentVNodeHooks.prepatch(n,n)}else{(e.componentInstance=createComponentInstanceForVnode(e,activeInstance)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;updateChildComponent(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,callHook(n,"mounted")),e.data.keepAlive&&(t._isMounted?queueActivatedComponent(n):activateChildComponent(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?deactivateChildComponent(t,!0):t.$destroy())}},hooksToMerge=Object.keys(componentVNodeHooks);function createComponent(e,t,n,i,r){if(!isUndef(e)){var o=n.$options._base;if(isObject$1(e)&&(e=o.extend(e)),"function"==typeof e){var a;if(isUndef(e.cid)&&void 0===(e=resolveAsyncComponent(a=e,o)))return createAsyncPlaceholder(a,t,n,i,r);t=t||{},resolveConstructorOptions(e),isDef(t.model)&&transformModel(e.options,t);var s=extractPropsFromVNodeData(t,e);if(isTrue(e.options.functional))return createFunctionalComponent(e,s,t,n,i);var c=t.on;if(t.on=t.nativeOn,isTrue(e.options.abstract)){var l=t.slot;t={},l&&(t.slot=l)}installComponentHooks(t);var d=e.options.name||r;return new VNode("vue-component-"+e.cid+(d?"-"+d:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:s,listeners:c,tag:r,children:i},a)}}}function createComponentInstanceForVnode(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;return isDef(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}function installComponentHooks(e){for(var t=e.hook||(e.hook={}),n=0;n<hooksToMerge.length;
42n++){var i=hooksToMerge[n],r=t[i],o=componentVNodeHooks[i];r===o||r&&r._merged||(t[i]=r?mergeHook$1(o,r):o)}}function mergeHook$1(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}function transformModel(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={}),o=r[i],a=t.model.callback;isDef(o)?(Array.isArray(o)?-1===o.indexOf(a):o!==a)&&(r[i]=[a].concat(o)):r[i]=a}var SIMPLE_NORMALIZE=1,ALWAYS_NORMALIZE=2;function createElement(e,t,n,i,r,o){return(Array.isArray(n)||isPrimitive(n))&&(r=i,i=n,n=void 0),isTrue(o)&&(r=ALWAYS_NORMALIZE),_createElement(e,t,n,i,r)}function _createElement(e,t,n,i,r){if(isDef(n)&&isDef(n.__ob__))return createEmptyVNode();if(isDef(n)&&isDef(n.is)&&(t=n.is),!t)return createEmptyVNode();var o,a,s;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),r===ALWAYS_NORMALIZE?i=normalizeChildren(i):r===SIMPLE_NORMALIZE&&(i=simpleNormalizeChildren(i)),"string"==typeof t)?(a=e.$vnode&&e.$vnode.ns||config$1.getTagNamespace(t),o=config$1.isReservedTag(t)?new VNode(config$1.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!isDef(s=resolveAsset(e.$options,"components",t))?new VNode(t,n,i,void 0,void 0,e):createComponent(s,n,e,i,t)):o=createComponent(t,n,e,i);return Array.isArray(o)?o:isDef(o)?(isDef(a)&&applyNS(o,a),isDef(n)&®isterDeepBindings(n),o):createEmptyVNode()}function applyNS(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),isDef(e.children))for(var i=0,r=e.children.length;i<r;i++){var o=e.children[i];isDef(o.tag)&&(isUndef(o.ns)||isTrue(n)&&"svg"!==o.tag)&&applyNS(o,t,n)}}function registerDeepBindings(e){isObject$1(e.style)&&traverse(e.style),isObject$1(e.class)&&traverse(e.class)}function initRender(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=resolveSlots(t._renderChildren,i),e.$scopedSlots=emptyObject,e._c=function(t,n,i,r){return createElement(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return createElement(e,t,n,i,r,!0)};var r=n&&n.data;defineReactive$$1(e,"$attrs",r&&r.attrs||emptyObject,null,!0),defineReactive$$1(e,"$listeners",t._parentListeners||emptyObject,null,!0)}var currentRenderingInstance=null,target;function renderMixin(e){installRenderHelpers(e.prototype),e.prototype.$nextTick=function(e){return nextTick(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=normalizeScopedSlots(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{currentRenderingInstance=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){handleError(n,t,"render"),e=t._vnode}finally{currentRenderingInstance=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof VNode||(e=createEmptyVNode()),e.parent=r,e}}function ensureCtor(e,t){return(e.__esModule||hasSymbol&&"Module"===e[Symbol.toStringTag])&&(e=e.default),isObject$1(e)?t.extend(e):e}function createAsyncPlaceholder(e,t,n,i,r){var o=createEmptyVNode();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}function resolveAsyncComponent(e,t){if(isTrue(e.error)&&isDef(e.errorComp))return e.errorComp;if(isDef(e.resolved))return e.resolved;var n=currentRenderingInstance;if(n&&isDef(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),isTrue(e.loading)&&isDef(e.loadingComp))return e.loadingComp;if(n&&!isDef(e.owners)){var i=e.owners=[n],r=!0,o=null,a=null;n.$on("hook:destroyed",(function(){return remove(i,n)}));var s=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==o&&(clearTimeout(o),o=null),null!==a&&(clearTimeout(a),a=null))},c=once$1((function(n){e.resolved=ensureCtor(n,t),r?i.length=0:s(!0)})),l=once$1((function(t){isDef(e.errorComp)&&(e.error=!0,s(!0))})),d=e(c,l);return isObject$1(d)&&(isPromise(d)?isUndef(e.resolved)&&d.then(c,l):isPromise(d.component)&&(d.component.then(c,l),isDef(d.error)&&(e.errorComp=ensureCtor(d.error,t)),isDef(d.loading)&&(e.loadingComp=ensureCtor(d.loading,t),0===d.delay?e.loading=!0:o=setTimeout((function(){o=null,isUndef(e.resolved)&&isUndef(e.error)&&(e.loading=!0,s(!1))}),d.delay||200)),isDef(d.timeout)&&(a=setTimeout((function(){a=null,isUndef(e.resolved)&&l(null)}),d.timeout)))),r=!1,e.loading?e.loadingComp:e.resolved}}function getFirstComponentChild(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(isDef(n)&&(isDef(n.componentOptions)||isAsyncPlaceholder(n)))return n}}function initEvents(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&updateComponentListeners(e,t)}function add(e,t){target.$on(e,t)}function remove$1(e,t){target.$off(e,t)}function createOnceHandler(e,t){var n=target;return function i(){var r=t.apply(null,arguments);null!==r&&n.$off(e,i)}}function updateComponentListeners(e,t,n){target=e,updateListeners(t,n||{},add,remove$1,createOnceHandler,e),target=void 0}function eventsMixin(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=t._events[e];if(n){n=n.length>1?toArray$1(n):n;
vendor: 6,412 bytes, line 42
42for(var i=toArray$1(arguments,1),r='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)invokeWithErrorHandling(n[o],t,i,t,r)}return t}}var activeInstance=null;function setActiveInstance(e){var t=activeInstance;return activeInstance=e,function(){activeInstance=t}}function initLifecycle(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}function lifecycleMixin(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=setActiveInstance(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){callHook(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||remove(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),callHook(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function mountComponent(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=createEmptyVNode),callHook(e,"beforeMount"),i=function(){e._update(e._render(),n)},new Watcher(e,i,noop$1,{before:function(){e._isMounted&&!e._isDestroyed&&callHook(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,callHook(e,"mounted")),e}function updateChildComponent(e,t,n,i,r){var o=i.data.scopedSlots,a=e.$scopedSlots,s=!!(o&&!o.$stable||a!==emptyObject&&!a.$stable||o&&e.$scopedSlots.$key!==o.$key||!o&&e.$scopedSlots.$key),c=!!(r||e.$options._renderChildren||s);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=r,e.$attrs=i.data.attrs||emptyObject,e.$listeners=n||emptyObject,t&&e.$options.props){toggleObserving(!1);for(var l=e._props,d=e.$options._propKeys||[],u=0;u<d.length;u++){var p=d[u],h=e.$options.props;l[p]=validateProp(p,h,t,e)}toggleObserving(!0),e.$options.propsData=t}n=n||emptyObject;var f=e.$options._parentListeners;e.$options._parentListeners=n,updateComponentListeners(e,n,f),c&&(e.$slots=resolveSlots(r,i.context),e.$forceUpdate())}function isInInactiveTree(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function activateChildComponent(e,t){if(t){if(e._directInactive=!1,isInInactiveTree(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++)activateChildComponent(e.$children[n]);callHook(e,"activated")}}function deactivateChildComponent(e,t){if(!(t&&(e._directInactive=!0,isInInactiveTree(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)deactivateChildComponent(e.$children[n]);callHook(e,"deactivated")}}function callHook(e,t){pushTarget();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,o=n.length;r<o;r++)invokeWithErrorHandling(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),popTarget()}var queue=[],activatedChildren=[],has$2={},waiting=!1,flushing=!1,index=0;function resetSchedulerState(){index=queue.length=activatedChildren.length=0,has$2={},waiting=flushing=!1}var currentFlushTimestamp=0,getNow=Date.now;if(inBrowser&&!isIE){var performance$1=window.performance;performance$1&&"function"==typeof performance$1.now&&getNow()>document.createEvent("Event").timeStamp&&(getNow=function(){return performance$1.now()})}function flushSchedulerQueue(){var e,t;for(currentFlushTimestamp=getNow(),flushing=!0,queue.sort((function(e,t){return e.id-t.id})),index=0;index<queue.length;index++)(e=queue[index]).before&&e.before(),t=e.id,has$2[t]=null,e.run();var n=activatedChildren.slice(),i=queue.slice();resetSchedulerState(),callActivatedHooks(n),callUpdatedHooks(i),devtools&&config$1.devtools&&devtools.emit("flush")}function callUpdatedHooks(e){for(var t=e.length;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&callHook(i,"updated")}}function queueActivatedComponent(e){e._inactive=!1,activatedChildren.push(e)}function callActivatedHooks(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,activateChildComponent(e[t],!0)}function queueWatcher(e){var t=e.id;if(null==has$2[t]){if(has$2[t]=!0,flushing){for(var n=queue.length-1;n>index&&queue[n].id>e.id;)n--;queue.splice(n+1,0,e)}else queue.push(e);waiting||(waiting=!0,nextTick(flushSchedulerQueue))}}var uid$2=0,Watcher=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=++uid$2,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new _Set,this.newDepIds=new _Set,this.expression="","function"==typeof t?this.getter=t:(this.getter=parsePath(t),this.getter||(this.getter=noop$1)),this.value=this.lazy?void 0:this.get()};Watcher.prototype.get=function(){var e;pushTarget(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;handleError(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&traverse(e),popTarget(),this.cleanupDeps()}return e},Watcher.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))},Watcher.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},Watcher.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():queueWatcher(this)},Watcher.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||isObject$1(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'+this.expression+'"';invokeWithErrorHandling(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},Watcher.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1}
42,Watcher.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Watcher.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||remove(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var sharedPropertyDefinition={enumerable:!0,configurable:!0,get:noop$1,set:noop$1};function proxy(e,t,n){sharedPropertyDefinition.get=function(){return this[t][n]},sharedPropertyDefinition.set=function(e){this[t][n]=e},Object.defineProperty(e,n,sharedPropertyDefinition)}function initState(e){e._watchers=[];var t=e.$options;t.props&&initProps(e,t.props),t.methods&&initMethods(e,t.methods),t.data?initData(e):observe(e._data={},!0),t.computed&&initComputed(e,t.computed),t.watch&&t.watch!==nativeWatch&&initWatch(e,t.watch)}function initProps(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[];!e.$parent||toggleObserving(!1);var o=function(o){r.push(o);var a=validateProp(o,t,n,e);defineReactive$$1(i,o,a),o in e||proxy(e,"_props",o)};for(var a in t)o(a);toggleObserving(!0)}function initData(e){var t=e.$options.data;isPlainObject(t=e._data="function"==typeof t?getData(t,e):t||{})||(t={});for(var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);r--;){var o=n[r];i&&hasOwn(i,o)||isReserved(o)||proxy(e,"_data",o)}observe(t,!0)}function getData(e,t){pushTarget();try{return e.call(t,t)}catch(e){return handleError(e,t,"data()"),{}}finally{popTarget()}}var computedWatcherOptions={lazy:!0};function initComputed(e,t){var n=e._computedWatchers=Object.create(null),i=isServerRendering();for(var r in t){var o=t[r],a="function"==typeof o?o:o.get;i||(n[r]=new Watcher(e,a||noop$1,noop$1,computedWatcherOptions)),r in e||defineComputed(e,r,o)}}function defineComputed(e,t,n){var i=!isServerRendering();"function"==typeof n?(sharedPropertyDefinition.get=i?createComputedGetter(t):createGetterInvoker(n),sharedPropertyDefinition.set=noop$1):(sharedPropertyDefinition.get=n.get?i&&!1!==n.cache?createComputedGetter(t):createGetterInvoker(n.get):noop$1,sharedPropertyDefinition.set=n.set||noop$1),Object.defineProperty(e,t,sharedPropertyDefinition)}function createComputedGetter(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Dep.target&&t.depend(),t.value}}function createGetterInvoker(e){return function(){return e.call(this,this)}}function initMethods(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?noop$1:bind$1(t[n],e)}function initWatch(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)createWatcher(e,n,i[r]);else createWatcher(e,n,i)}}function createWatcher(e,t,n,i){return isPlainObject(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}function stateMixin(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=set,e.prototype.$delete=del,e.prototype.$watch=function(e,t,n){if(isPlainObject(t))return createWatcher(this,e,t,n);(n=n||{}).user=!0;var i=new Watcher(this,e,t,n);if(n.immediate){var r='callback for immediate watcher "'+i.expression+'"';pushTarget(),invokeWithErrorHandling(t,this,[i.value],this,r),popTarget()}return function(){i.teardown()}}}var uid$3=0;function initMixin(e){e.prototype._init=function(e){var t=this;t._uid=uid$3++,t._isVue=!0,e&&e._isComponent?initInternalComponent(t,e):t.$options=mergeOptions(resolveConstructorOptions(t.constructor),e||{},t),t._renderProxy=t,t._self=t,initLifecycle(t),initEvents(t),initRender(t),callHook(t,"beforeCreate"),initInjections(t),initState(t),initProvide(t),callHook(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function initInternalComponent(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)}
vendor: 6,376 bytes, line 42
42function resolveConstructorOptions(e){var t=e.options;if(e.super){var n=resolveConstructorOptions(e.super);if(n!==e.superOptions){e.superOptions=n;var i=resolveModifiedOptions(e);i&&extend$1(e.extendOptions,i),(t=e.options=mergeOptions(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function resolveModifiedOptions(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}function Vue(e){this._init(e)}function initUse(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=toArray$1(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}}function initMixin$1(e){e.mixin=function(e){return this.options=mergeOptions(this.options,e),this}}function initExtend(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=mergeOptions(n.options,e),a.super=n,a.options.props&&initProps$1(a),a.options.computed&&initComputed$1(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,ASSET_TYPES.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=extend$1({},a.options),r[i]=a,a}}function initProps$1(e){var t=e.options.props;for(var n in t)proxy(e.prototype,"_props",n)}function initComputed$1(e){var t=e.options.computed;for(var n in t)defineComputed(e.prototype,n,t[n])}function initAssetRegisters(e){ASSET_TYPES.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&isPlainObject(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]}}))}function getComponentName(e){return e&&(e.Ctor.options.name||e.tag)}function matches(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!isRegExp$1(e)&&e.test(t)}function pruneCache(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=a.name;s&&!t(s)&&pruneCacheEntry(n,o,i,r)}}}function pruneCacheEntry(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,remove(n,t)}initMixin(Vue),stateMixin(Vue),eventsMixin(Vue),lifecycleMixin(Vue),renderMixin(Vue);var patternTypes=[String,RegExp,Array],KeepAlive={name:"keep-alive",abstract:!0,props:{include:patternTypes,exclude:patternTypes,max:[String,Number]},methods:{cacheVNode:function(){var e=this.cache,t=this.keys,n=this.vnodeToCache,i=this.keyToCache;if(n){var r=n.tag,o=n.componentInstance,a=n.componentOptions;e[i]={name:getComponentName(a),tag:r,componentInstance:o},t.push(i),this.max&&t.length>parseInt(this.max)&&pruneCacheEntry(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)pruneCacheEntry(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){pruneCache(e,(function(e){return matches(t,e)}))})),this.$watch("exclude",(function(t){pruneCache(e,(function(e){return!matches(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=getFirstComponentChild(e),n=t&&t.componentOptions;if(n){var i=getComponentName(n),r=this.include,o=this.exclude;if(r&&(!i||!matches(r,i))||o&&i&&matches(o,i))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,remove(s,c),s.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},builtInComponents={KeepAlive:KeepAlive};function initGlobalAPI(e){var t={get:function(){return config$1}};Object.defineProperty(e,"config",t),e.util={warn:warn,extend:extend$1,mergeOptions:mergeOptions,defineReactive:defineReactive$$1},e.set=set,e.delete=del,e.nextTick=nextTick,e.observable=function(e){return observe(e),e},e.options=Object.create(null),ASSET_TYPES.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,extend$1(e.options.components,builtInComponents),initUse(e),initMixin$1(e),initExtend(e),initAssetRegisters(e)}initGlobalAPI(Vue),Object.defineProperty(Vue.prototype,"$isServer",{get:isServerRendering}),Object.defineProperty(Vue.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Vue,"FunctionalRenderContext",{value:FunctionalRenderContext}),Vue.version="2.6.14";var isReservedAttr=makeMap("style,class"),acceptValue=makeMap("input,textarea,option,select,progress"),mustUseProp=function(e,t,n){return"value"===n&&acceptValue(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},isEnumeratedAttr=makeMap("contenteditable,draggable,spellcheck"),isValidContentEditableValue=makeMap("events,caret,typing,plaintext-only"),convertEnumeratedValue=function(e,t){return isFalsyAttrValue(t)||"false"===t?"false":"contenteditable"===e&&isValidContentEditableValue(t)?t:"true"},isBooleanAttr=makeMap("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),xlinkNS="http://www.w3.org/1999/xlink",isXlink=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},getXlinkProp=function(e){return isXlink(e)?e.slice(6,e.length):""},isFalsyAttrValue=function(e){return null==e||!1===e};function genClassForVnode(e){for(var t=e.data,n=e,i=e;isDef(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=mergeClassData(i.data,t));for(;isDef(n=n.parent);)n&&n.data&&(t=mergeClassData(t,n.data));return renderClass(t.staticClass,t.class)}function mergeClassData(e,t){return{staticClass:concat(e.staticClass,t.staticClass),class:isDef(e.class)?[e.class,t.class]:t.class}}function renderClass(e,t){return isDef(e)||isDef(t)?concat(e,stringifyClass(t)):""}function concat(e,t){return e?t?e+" "+t:e:t||""}
42function stringifyClass(e){return Array.isArray(e)?stringifyArray(e):isObject$1(e)?stringifyObject(e):"string"==typeof e?e:""}function stringifyArray(e){for(var t,n="",i=0,r=e.length;i<r;i++)isDef(t=stringifyClass(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function stringifyObject(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var namespaceMap={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},isHTMLTag=makeMap("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"),isSVG=makeMap("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),isPreTag=function(e){return"pre"===e},isReservedTag=function(e){return isHTMLTag(e)||isSVG(e)};function getTagNamespace(e){return isSVG(e)?"svg":"math"===e?"math":void 0}var unknownElementCache=Object.create(null);function isUnknownElement(e){if(!inBrowser)return!0;if(isReservedTag(e))return!1;if(e=e.toLowerCase(),null!=unknownElementCache[e])return unknownElementCache[e];var t=document.createElement(e);return e.indexOf("-")>-1?unknownElementCache[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:unknownElementCache[e]=/HTMLUnknownElement/.test(t.toString())}var isTextInputType=makeMap("text,number,password,search,email,tel,url");function query(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function createElement$1(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function createElementNS(e,t){return document.createElementNS(namespaceMap[e],t)}function createTextNode(e){return document.createTextNode(e)}function createComment(e){return document.createComment(e)}function insertBefore(e,t,n){e.insertBefore(t,n)}function removeChild(e,t){e.removeChild(t)}function appendChild(e,t){e.appendChild(t)}function parentNode(e){return e.parentNode}function nextSibling(e){return e.nextSibling}function tagName(e){return e.tagName}function setTextContent(e,t){e.textContent=t}function setStyleScope(e,t){e.setAttribute(t,"")}var nodeOps=Object.freeze({createElement:createElement$1,createElementNS:createElementNS,createTextNode:createTextNode,createComment:createComment,insertBefore:insertBefore,removeChild:removeChild,appendChild:appendChild,parentNode:parentNode,nextSibling:nextSibling,tagName:tagName,setTextContent:setTextContent,setStyleScope:setStyleScope}),ref={create:function(e,t){registerRef(t)},update:function(e,t){e.data.ref!==t.data.ref&&(registerRef(e,!0),registerRef(t))},destroy:function(e){registerRef(e,!0)}};function registerRef(e,t){var n=e.data.ref;if(isDef(n)){var i=e.context,r=e.componentInstance||e.elm,o=i.$refs;t?Array.isArray(o[n])?remove(o[n],r):o[n]===r&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(r)<0&&o[n].push(r):o[n]=[r]:o[n]=r}}var emptyNode=new VNode("",{},[]),hooks=["create","activate","update","remove","destroy"];function sameVnode(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&isDef(e.data)===isDef(t.data)&&sameInputType(e,t)||isTrue(e.isAsyncPlaceholder)&&isUndef(t.asyncFactory.error))}function sameInputType(e,t){if("input"!==e.tag)return!0;var n,i=isDef(n=e.data)&&isDef(n=n.attrs)&&n.type,r=isDef(n=t.data)&&isDef(n=n.attrs)&&n.type;return i===r||isTextInputType(i)&&isTextInputType(r)}function createKeyToOldIdx(e,t,n){var i,r,o={};for(i=t;i<=n;++i)isDef(r=e[i].key)&&(o[r]=i);return o}function createPatchFunction(e){var t,n,i={},r=e.modules,o=e.nodeOps;for(t=0;t<hooks.length;++t)for(i[hooks[t]]=[],n=0;n<r.length;++n)isDef(r[n][hooks[t]])&&i[hooks[t]].push(r[n][hooks[t]]);function a(e){var t=o.parentNode(e);isDef(t)&&o.removeChild(t,e)}function s(e,t,n,r,a,s,u){if(isDef(e.elm)&&isDef(s)&&(e=s[u]=cloneVNode(e)),e.isRootInsert=!a,!function(e,t,n,r){var o=e.data;if(isDef(o)){var a=isDef(e.componentInstance)&&o.keepAlive;if(isDef(o=o.hook)&&isDef(o=o.init)&&o(e,!1),isDef(e.componentInstance))return c(e,t),l(n,e.elm,r),isTrue(a)&&function(e,t,n,r){var o,a=e;for(;a.componentInstance;)if(a=a.componentInstance._vnode,isDef(o=a.data)&&isDef(o=o.transition)){for(o=0;o<i.activate.length;
vendor: 13,851 bytes, line 42
42++o)i.activate[o](emptyNode,a);t.push(a);break}l(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var f=e.data,m=e.children,v=e.tag;isDef(v)?(e.elm=e.ns?o.createElementNS(e.ns,v):o.createElement(v,e),h(e),d(e,m,t),isDef(f)&&p(e,t),l(n,e.elm,r)):isTrue(e.isComment)?(e.elm=o.createComment(e.text),l(n,e.elm,r)):(e.elm=o.createTextNode(e.text),l(n,e.elm,r))}}function c(e,t){isDef(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,u(e)?(p(e,t),h(e)):(registerRef(e),t.push(e))}function l(e,t,n){isDef(e)&&(isDef(n)?o.parentNode(n)===e&&o.insertBefore(e,t,n):o.appendChild(e,t))}function d(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)s(t[i],n,e.elm,null,!0,t,i);else isPrimitive(e.text)&&o.appendChild(e.elm,o.createTextNode(String(e.text)))}function u(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return isDef(e.tag)}function p(e,n){for(var r=0;r<i.create.length;++r)i.create[r](emptyNode,e);isDef(t=e.data.hook)&&(isDef(t.create)&&t.create(emptyNode,e),isDef(t.insert)&&n.push(e))}function h(e){var t;if(isDef(t=e.fnScopeId))o.setStyleScope(e.elm,t);else for(var n=e;n;)isDef(t=n.context)&&isDef(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t),n=n.parent;isDef(t=activeInstance)&&t!==e.context&&t!==e.fnContext&&isDef(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t)}function f(e,t,n,i,r,o){for(;i<=r;++i)s(n[i],o,e,t,!1,n,i)}function m(e){var t,n,r=e.data;if(isDef(r))for(isDef(t=r.hook)&&isDef(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(isDef(t=e.children))for(n=0;n<e.children.length;++n)m(e.children[n])}function v(e,t,n){for(;t<=n;++t){var i=e[t];isDef(i)&&(isDef(i.tag)?(g(i),m(i)):a(i.elm))}}function g(e,t){if(isDef(t)||isDef(e.data)){var n,r=i.remove.length+1;for(isDef(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&a(e)}return n.listeners=t,n}(e.elm,r),isDef(n=e.componentInstance)&&isDef(n=n._vnode)&&isDef(n.data)&&g(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);isDef(n=e.data.hook)&&isDef(n=n.remove)?n(e,t):t()}else a(e.elm)}function b(e,t,n,i){for(var r=n;r<i;r++){var o=t[r];if(isDef(o)&&sameVnode(e,o))return r}}function y(e,t,n,r,a,c){if(e!==t){isDef(t.elm)&&isDef(r)&&(t=r[a]=cloneVNode(t));var l=t.elm=e.elm;if(isTrue(e.isAsyncPlaceholder))isDef(t.asyncFactory.resolved)?w(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(isTrue(t.isStatic)&&isTrue(e.isStatic)&&t.key===e.key&&(isTrue(t.isCloned)||isTrue(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,p=t.data;isDef(p)&&isDef(d=p.hook)&&isDef(d=d.prepatch)&&d(e,t);var h=e.children,m=t.children;if(isDef(p)&&u(t)){for(d=0;d<i.update.length;++d)i.update[d](e,t);isDef(d=p.hook)&&isDef(d=d.update)&&d(e,t)}isUndef(t.text)?isDef(h)&&isDef(m)?h!==m&&function(e,t,n,i,r){for(var a,c,l,d=0,u=0,p=t.length-1,h=t[0],m=t[p],g=n.length-1,A=n[0],_=n[g],w=!r;d<=p&&u<=g;)isUndef(h)?h=t[++d]:isUndef(m)?m=t[--p]:sameVnode(h,A)?(y(h,A,i,n,u),h=t[++d],A=n[++u]):sameVnode(m,_)?(y(m,_,i,n,g),m=t[--p],_=n[--g]):sameVnode(h,_)?(y(h,_,i,n,g),w&&o.insertBefore(e,h.elm,o.nextSibling(m.elm)),h=t[++d],_=n[--g]):sameVnode(m,A)?(y(m,A,i,n,u),w&&o.insertBefore(e,m.elm,h.elm),m=t[--p],A=n[++u]):(isUndef(a)&&(a=createKeyToOldIdx(t,d,p)),isUndef(c=isDef(A.key)?a[A.key]:b(A,t,d,p))?s(A,i,e,h.elm,!1,n,u):sameVnode(l=t[c],A)?(y(l,A,i,n,u),t[c]=void 0,w&&o.insertBefore(e,l.elm,h.elm)):s(A,i,e,h.elm,!1,n,u),A=n[++u]);d>p?f(e,isUndef(n[g+1])?null:n[g+1].elm,n,u,g,i):u>g&&v(t,d,p)}(l,h,m,n,c):isDef(m)?(isDef(e.text)&&o.setTextContent(l,""),f(l,null,m,0,m.length-1,n)):isDef(h)?v(h,0,h.length-1):isDef(e.text)&&o.setTextContent(l,""):e.text!==t.text&&o.setTextContent(l,t.text),isDef(p)&&isDef(d=p.hook)&&isDef(d=d.postpatch)&&d(e,t)}}}function A(e,t,n){if(isTrue(n)&&isDef(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var _=makeMap("attrs,class,staticClass,staticStyle,key");function w(e,t,n,i){var r,o=t.tag,a=t.data,s=t.children;if(i=i||a&&a.pre,t.elm=e,isTrue(t.isComment)&&isDef(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(isDef(a)&&(isDef(r=a.hook)&&isDef(r=r.init)&&r(t,!0),isDef(r=t.componentInstance)))return c(t,n),!0;if(isDef(o)){if(isDef(s))if(e.hasChildNodes())if(isDef(r=a)&&isDef(r=r.domProps)&&isDef(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{for(var l=!0,u=e.firstChild,h=0;h<s.length;h++){if(!u||!w(u,s[h],n,i)){l=!1;break}u=u.nextSibling}if(!l||u)return!1}else d(t,s,n);if(isDef(a)){var f=!1;for(var m in a)if(!_(m)){f=!0,p(t,n);break}!f&&a.class&&traverse(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,r){if(!isUndef(t)){var a,c=!1,l=[];if(isUndef(e))c=!0,s(t,l);else{var d=isDef(e.nodeType);if(!d&&sameVnode(e,t))y(e,t,l,null,null,r);else{if(d){if(1===e.nodeType&&e.hasAttribute(SSR_ATTR)&&(e.removeAttribute(SSR_ATTR),n=!0),isTrue(n)&&w(e,t,l))return A(t,l,!0),e;a=e,e=new VNode(o.tagName(a).toLowerCase(),{},[],void 0,a)}var p=e.elm,h=o.parentNode(p);if(s(t,l,p._leaveCb?null:h,o.nextSibling(p)),isDef(t.parent))for(var f=t.parent,g=u(t);f;){for(var b=0;b<i.destroy.length;++b)i.destroy[b](f);if(f.elm=t.elm,g){for(var _=0;_<i.create.length;++_)i.create[_](emptyNode,f);var M=f.data.hook.insert;if(M.merged)for(var k=1;k<M.fns.length;k++)M.fns[k]()}else registerRef(f);f=f.parent}isDef(h)?v([e],0,0):isDef(e.tag)&&m(e)}}return A(t,l,c),t.elm}isDef(e)&&m(e)}}var directives={create:updateDirectives,update:updateDirectives,destroy:function(e){updateDirectives(e,emptyNode)}};function updateDirectives(e,t){(e.data.directives||t.data.directives)&&_update(e,t)}function _update(e,t){var n,i,r,o=e===emptyNode,a=t===emptyNode,s=normalizeDirectives$1(e.data.directives,e.context),c=normalizeDirectives$1(t.data.directives,t.context),l=[],d=[];for(n in c)i=s[n],r=c[n],i?(r.oldValue=i.value,r.oldArg=i.arg,callHook$1(r,"update",t,e),r.def&&r.def.componentUpdated&&d.push(r)):(callHook$1(r,"bind",t,e),r.def&&r.def.inserted&&l.push(r));if(l.length){var u=function(){for(var n=0;n<l.length;n++)callHook$1(l[n],"inserted",t,e)};o?mergeVNodeHook(t,"insert",u):u()}if(d.length&&mergeVNodeHook(t,"postpatch",(function(){for(var n=0;n<d.length;n++)callHook$1(d[n],"componentUpdated",t,e)})),!o)for(n in s)c[n]||callHook$1(s[n],"unbind",e,e,a)}var emptyModifiers=Object.create(null);function normalizeDirectives$1(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=emptyModifiers),r[getRawDirName(i)]=i,i.def=resolveAsset(t.$options,"directives",i.name);return r}function getRawDirName(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function callHook$1(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(i){handleError(i,n.context,"directive "+e.name+" "+t+" hook")}}var baseModules=[ref,directives];function updateAttrs(e,t){var n=t.componentOptions;if(!(isDef(n)&&!1===n.Ctor.options.inheritAttrs||isUndef(e.data.attrs)&&isUndef(t.data.attrs))){var i,r,o=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(i in isDef(s.__ob__)&&(s=t.data.attrs=extend$1({},s)),s)r=s[i],a[i]!==r&&setAttr(o,i,r,t.data.pre);for(i in(isIE||isEdge)&&s.value!==a.value&&setAttr(o,"value",s.value),a)isUndef(s[i])&&(isXlink(i)?o.removeAttributeNS(xlinkNS,getXlinkProp(i)):isEnumeratedAttr(i)||o.removeAttribute(i))}}function setAttr(e,t,n,i){i||e.tagName.indexOf("-")>-1?baseSetAttr(e,t,n):isBooleanAttr(t)?isFalsyAttrValue(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):isEnumeratedAttr(t)?e.setAttribute(t,convertEnumeratedValue(t,n)):isXlink(t)?isFalsyAttrValue(n)?e.removeAttributeNS(xlinkNS,getXlinkProp(t)):e.setAttributeNS(xlinkNS,t,n):baseSetAttr(e,t,n)}function baseSetAttr(e,t,n){if(isFalsyAttrValue(n))e.removeAttribute(t);else{if(isIE&&!isIE9&&"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 attrs={create:updateAttrs,update:updateAttrs};function updateClass(e,t){var n=t.elm,i=t.data,r=e.data;if(!(isUndef(i.staticClass)&&isUndef(i.class)&&(isUndef(r)||isUndef(r.staticClass)&&isUndef(r.class)))){var o=genClassForVnode(t),a=n._transitionClasses;isDef(a)&&(o=concat(o,stringifyClass(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var klass={create:updateClass,update:updateClass},validDivisionCharRE=/[\w).+\-_$\]]/,len,str$1,chr,index$1,expressionPos,expressionEndPos;function parseFilters(e){var t,n,i,r,o,a=!1,s=!1,c=!1,l=!1,d=0,u=0,p=0,h=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(c)96===t&&92!==n&&(c=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||d||u||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:u++;break;case 93:u--;break;case 123:d++;break;case 125:d--}if(47===t){for(var f=i-1,m=void 0;f>=0&&" "===(m=e.charAt(f));f--);m&&validDivisionCharRE.test(m)||(l=!0)}}else void 0===r?(h=i+1,r=e.slice(0,i).trim()):v();function v(){(o||(o=[])).push(e.slice(h,i).trim()),h=i+1}if(void 0===r?r=e.slice(0,i).trim():0!==h&&v(),o)for(i=0;i<o.length;i++)r=wrapFilter(r,o[i]);return r}function wrapFilter(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 baseWarn(e,t){console.error("[Vue compiler]: "+e)}function pluckModuleFunction(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function addProp(e,t,n,i,r){(e.props||(e.props=[])).push(rangeSetItem({name:t,value:n,dynamic:r},i)),e.plain=!1}function addAttr(e,t,n,i,r){(r?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(rangeSetItem({name:t,value:n,dynamic:r},i)),e.plain=!1}function addRawAttr(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(rangeSetItem({name:t,value:n},i))}function addDirective(e,t,n,i,r,o,a,s){(e.directives||(e.directives=[])).push(rangeSetItem({name:t,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function prependModifierMarker(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function addHandler(e,t,n,i,r,o,a,s){var c;(i=i||emptyObject).right?s?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete i.right):i.middle&&(s?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),i.capture&&(delete i.capture,t=prependModifierMarker("!",t,s)),i.once&&(delete i.once,t=prependModifierMarker("~",t,s)),i.passive&&(delete i.passive,t=prependModifierMarker("&",t,s)),i.native?(delete i.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var l=rangeSetItem({value:n.trim(),dynamic:s},a);i!==emptyObject&&(l.modifiers=i);var d=c[t];Array.isArray(d)?r?d.unshift(l):d.push(l):c[t]=d?r?[l,d]:[d,l]:l,e.plain=!1}function getRawBindingAttr(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function getBindingAttr(e,t,n){var i=getAndRemoveAttr(e,":"+t)||getAndRemoveAttr(e,"v-bind:"+t);if(null!=i)return parseFilters(i);if(!1!==n){var r=getAndRemoveAttr(e,t);if(null!=r)return JSON.stringify(r)}}function getAndRemoveAttr(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 getAndRemoveAttrByRegex(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 rangeSetItem(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function genComponentModel(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=genAssignmentCode(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function genAssignmentCode(e,t){var n=parseModel(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function parseModel(e){if(e=e.trim(),len=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<len-1)return(index$1=e.lastIndexOf("."))>-1?{exp:e.slice(0,index$1),key:'"'+e.slice(index$1+1)+'"'}:{exp:e,key:null};for(str$1=e,index$1=expressionPos=expressionEndPos=0;!eof();)isStringStart(chr=next())?parseString(chr):91===chr&&parseBracket(chr);return{exp:e.slice(0,expressionPos),key:e.slice(expressionPos+1,expressionEndPos)}}function next(){return str$1.charCodeAt(++index$1)}function eof(){return index$1>=len}function isStringStart(e){return 34===e||39===e}function parseBracket(e){var t=1;for(expressionPos=index$1;!eof();)if(isStringStart(e=next()))parseString(e);else if(91===e&&t++,93===e&&t--,0===t){expressionEndPos=index$1;break}}function parseString(e){for(var t=e;!eof()&&(e=next())!==t;);}var RANGE_TOKEN="__r",CHECKBOX_RADIO_TOKEN="__c",target$1;function model(e,t,n){var i=t.value,r=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return genComponentModel(e,i,r),!1;if("select"===o)genSelect(e,i,r);else if("input"===o&&"checkbox"===a)genCheckboxModel(e,i,r);else if("input"===o&&"radio"===a)genRadioModel(e,i,r);else if("input"===o||"textarea"===o)genDefaultModel(e,i,r);else if(!config$1.isReservedTag(o))return genComponentModel(e,i,r),!1;return!0}function genCheckboxModel(e,t,n){var i=n&&n.number,r=getBindingAttr(e,"value")||"null",o=getBindingAttr(e,"true-value")||"true",a=getBindingAttr(e,"false-value")||"false";addProp(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),addHandler(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&&("+genAssignmentCode(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+genAssignmentCode(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}
42else{"+genAssignmentCode(t,"$$c")+"}",null,!0)}function genRadioModel(e,t,n){var i=n&&n.number,r=getBindingAttr(e,"value")||"null";addProp(e,"checked","_q("+t+","+(r=i?"_n("+r+")":r)+")"),addHandler(e,"change",genAssignmentCode(t,r),null,!0)}function genSelect(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")+"})")+";";addHandler(e,"change",i=i+" "+genAssignmentCode(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}function genDefaultModel(e,t,n){var i=e.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,c=!o&&"range"!==i,l=o?"change":"range"===i?RANGE_TOKEN:"input",d="$event.target.value";s&&(d="$event.target.value.trim()"),a&&(d="_n("+d+")");var u=genAssignmentCode(t,d);c&&(u="if($event.target.composing)return;"+u),addProp(e,"value","("+t+")"),addHandler(e,l,u,null,!0),(s||a)&&addHandler(e,"blur","$forceUpdate()")}function normalizeEvents(e){if(isDef(e[RANGE_TOKEN])){var t=isIE?"change":"input";e[t]=[].concat(e[RANGE_TOKEN],e[t]||[]),delete e[RANGE_TOKEN]}isDef(e[CHECKBOX_RADIO_TOKEN])&&(e.change=[].concat(e[CHECKBOX_RADIO_TOKEN],e.change||[]),delete e[CHECKBOX_RADIO_TOKEN])}function createOnceHandler$1(e,t,n){var i=target$1;return function r(){var o=t.apply(null,arguments);null!==o&&remove$2(e,r,n,i)}}var useMicrotaskFix=isUsingMicroTask&&!(isFF&&Number(isFF[1])<=53);function add$1(e,t,n,i){if(useMicrotaskFix){var r=currentFlushTimestamp,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)}}target$1.addEventListener(e,t,supportsPassive?{capture:n,passive:i}:n)}function remove$2(e,t,n,i){(i||target$1).removeEventListener(e,t._wrapper||t,n)}function updateDOMListeners(e,t){if(!isUndef(e.data.on)||!isUndef(t.data.on)){var n=t.data.on||{},i=e.data.on||{};target$1=t.elm,normalizeEvents(n),updateListeners(n,i,add$1,remove$2,createOnceHandler$1,t.context),target$1=void 0}}var events={create:updateDOMListeners,update:updateDOMListeners},svgContainer;function updateDOMProps(e,t){if(!isUndef(e.data.domProps)||!isUndef(t.data.domProps)){var n,i,r=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};for(n in isDef(a.__ob__)&&(a=t.data.domProps=extend$1({},a)),o)n in a||(r[n]="");for(n in a){if(i=a[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===o[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var s=isUndef(i)?"":String(i);shouldUpdateValue(r,s)&&(r.value=s)}else if("innerHTML"===n&&isSVG(r.tagName)&&isUndef(r.innerHTML)){(svgContainer=svgContainer||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var c=svgContainer.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;c.firstChild;)r.appendChild(c.firstChild)}else if(i!==o[n])try{r[n]=i}catch(e){}}}}function shouldUpdateValue(e,t){return!e.composing&&("OPTION"===e.tagName||isNotInFocusAndDirty(e,t)||isDirtyWithModifiers(e,t))}function isNotInFocusAndDirty(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function isDirtyWithModifiers(e,t){var n=e.value,i=e._vModifiers;if(isDef(i)){if(i.number)return toNumber$1(n)!==toNumber$1(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var domProps={create:updateDOMProps,update:updateDOMProps},parseStyleText=cached((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 normalizeStyleData(e){var t=normalizeStyleBinding(e.style);return e.staticStyle?extend$1(e.staticStyle,t):t}function normalizeStyleBinding(e){return Array.isArray(e)?toObject(e):"string"==typeof e?parseStyleText(e):e}function getStyle(e,t){var n,i={};if(t)for(var r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=normalizeStyleData(r.data))&&extend$1(i,n);(n=normalizeStyleData(e.data))&&extend$1(i,n);for(var o=e;o=o.parent;)o.data&&(n=normalizeStyleData(o.data))&&extend$1(i,n);return i}var cssVarRE=/^--/,importantRE=/\s*!important$/,setProp=function(e,t,n){if(cssVarRE.test(t))e.style.setProperty(t,n);else if(importantRE.test(n))e.style.setProperty(hyphenate(t),n.replace(importantRE,""),"important");else{var i=normalize(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}},vendorNames=["Webkit","Moz","ms"],emptyStyle,normalize=cached((function(e){if(emptyStyle=emptyStyle||document.createElement("div").style,"filter"!==(e=camelize$1(e))&&e in emptyStyle)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<vendorNames.length;n++){var i=vendorNames[n]+t;if(i in emptyStyle)return i}}));function updateStyle(e,t){var n=t.data,i=e.data;if(!(isUndef(n.staticStyle)&&isUndef(n.style)&&isUndef(i.staticStyle)&&isUndef(i.style))){var r,o,a=t.elm,s=i.staticStyle,c=i.normalizedStyle||i.style||{},l=s||c,d=normalizeStyleBinding(t.data.style)||{};t.data.normalizedStyle=isDef(d.__ob__)?extend$1({},d):d;var u=getStyle(t,!0);for(o in l)isUndef(u[o])&&setProp(a,o,"");for(o in u)(r=u[o])!==l[o]&&setProp(a,o,null==r?"":r)}}var style={create:updateStyle,update:updateStyle},whitespaceRE=/\s+/;function addClass(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>
vendor: 12,342 bytes, line 42
42-1?t.split(whitespaceRE).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 removeClass(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(whitespaceRE).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 resolveTransition(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&extend$1(t,autoCssTransition(e.name||"v")),extend$1(t,e),t}return"string"==typeof e?autoCssTransition(e):void 0}}var autoCssTransition=cached((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"}})),hasTransition=inBrowser&&!isIE9,TRANSITION="transition",ANIMATION="animation",transitionProp="transition",transitionEndEvent="transitionend",animationProp="animation",animationEndEvent="animationend";hasTransition&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(transitionProp="WebkitTransition",transitionEndEvent="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(animationProp="WebkitAnimation",animationEndEvent="webkitAnimationEnd"));var raf=inBrowser?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function nextFrame(e){raf((function(){raf(e)}))}function addTransitionClass(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),addClass(e,t))}function removeTransitionClass(e,t){e._transitionClasses&&remove(e._transitionClasses,t),removeClass(e,t)}function whenTransitionEnds(e,t,n){var i=getTransitionInfo(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===TRANSITION?transitionEndEvent:animationEndEvent,c=0,l=function(){e.removeEventListener(s,d),n()},d=function(t){t.target===e&&++c>=a&&l()};setTimeout((function(){c<a&&l()}),o+1),e.addEventListener(s,d)}var transformRE=/\b(transform|all)(,|$)/;function getTransitionInfo(e,t){var n,i=window.getComputedStyle(e),r=(i[transitionProp+"Delay"]||"").split(", "),o=(i[transitionProp+"Duration"]||"").split(", "),a=getTimeout(r,o),s=(i[animationProp+"Delay"]||"").split(", "),c=(i[animationProp+"Duration"]||"").split(", "),l=getTimeout(s,c),d=0,u=0;return t===TRANSITION?a>0&&(n=TRANSITION,d=a,u=o.length):t===ANIMATION?l>0&&(n=ANIMATION,d=l,u=c.length):u=(n=(d=Math.max(a,l))>0?a>l?TRANSITION:ANIMATION:null)?n===TRANSITION?o.length:c.length:0,{type:n,timeout:d,propCount:u,hasTransform:n===TRANSITION&&transformRE.test(i[transitionProp+"Property"])}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return toMs(t)+toMs(e[n])})))}function toMs(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function enter(e,t){var n=e.elm;isDef(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=resolveTransition(e.data.transition);if(!isUndef(i)&&!isDef(n._enterCb)&&1===n.nodeType){for(var r=i.css,o=i.type,a=i.enterClass,s=i.enterToClass,c=i.enterActiveClass,l=i.appearClass,d=i.appearToClass,u=i.appearActiveClass,p=i.beforeEnter,h=i.enter,f=i.afterEnter,m=i.enterCancelled,v=i.beforeAppear,g=i.appear,b=i.afterAppear,y=i.appearCancelled,A=i.duration,_=activeInstance,w=activeInstance.$vnode;w&&w.parent;)_=w.context,w=w.parent;var M=!_._isMounted||!e.isRootInsert;if(!M||g||""===g){var k=M&&l?l:a,C=M&&u?u:c,S=M&&d?d:s,E=M&&v||p,x=M&&"function"==typeof g?g:h,O=M&&b||f,T=M&&y||m,D=toNumber$1(isObject$1(A)?A.enter:A),$=!1!==r&&!isIE9,P=getHookArgumentsLength(x),N=n._enterCb=once$1((function(){$&&(removeTransitionClass(n,S),removeTransitionClass(n,C)),N.cancelled?($&&removeTransitionClass(n,k),T&&T(n)):O&&O(n),n._enterCb=null}));e.data.show||mergeVNodeHook(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(),x&&x(n,N)})),E&&E(n),$&&(addTransitionClass(n,k),addTransitionClass(n,C),nextFrame((function(){removeTransitionClass(n,k),N.cancelled||(addTransitionClass(n,S),P||(isValidDuration(D)?setTimeout(N,D):whenTransitionEnds(n,o,N)))}))),e.data.show&&(t&&t(),x&&x(n,N)),$||P||N()}}}function leave(e,t){var n=e.elm;isDef(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=resolveTransition(e.data.transition);if(isUndef(i)||1!==n.nodeType)return t();if(!isDef(n._leaveCb)){var r=i.css,o=i.type,a=i.leaveClass,s=i.leaveToClass,c=i.leaveActiveClass,l=i.beforeLeave,d=i.leave,u=i.afterLeave,p=i.leaveCancelled,h=i.delayLeave,f=i.duration,m=!1!==r&&!isIE9,v=getHookArgumentsLength(d),g=toNumber$1(isObject$1(f)?f.leave:f),b=n._leaveCb=once$1((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),m&&(removeTransitionClass(n,s),removeTransitionClass(n,c)),b.cancelled?(m&&removeTransitionClass(n,a),p&&p(n)):(t(),u&&u(n)),n._leaveCb=null}));h?h(y):y()}function y(){b.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),l&&l(n),m&&(addTransitionClass(n,a),addTransitionClass(n,c),nextFrame((function(){removeTransitionClass(n,a),b.cancelled||(addTransitionClass(n,s),v||(isValidDuration(g)?setTimeout(b,g):whenTransitionEnds(n,o,b)))}))),d&&d(n,b),m||v||b())}}function isValidDuration(e){return"number"==typeof e&&!isNaN(e)}function getHookArgumentsLength(e){if(isUndef(e))return!1;var t=e.fns;return isDef(t)?getHookArgumentsLength(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function _enter(e,t){!0!==t.data.show&&enter(t)}var transition=inBrowser?{create:_enter,activate:_enter,remove:function(e,t){!0!==e.data.show?leave(e,t):t()}}:{},platformModules=[attrs,klass,events,domProps,style,transition],modules=platformModules.concat(baseModules),patch=createPatchFunction({nodeOps:nodeOps,modules:modules});isIE9&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&trigger(e,"input")}));var directive={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?mergeVNodeHook(n,"postpatch",(function(){directive.componentUpdated(e,t,n)})):setSelected(e,t,n.context),e._vOptions=[].map.call(e.options,getValue)):("textarea"===n.tag||isTextInputType(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",onCompositionStart),e.addEventListener("compositionend",onCompositionEnd),e.addEventListener("change",onCompositionEnd),isIE9&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){setSelected(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,getValue);if(r.some((function(e,t){return!looseEqual(e,i[t])})))(e.multiple?t.value.some((function(e){return hasNoMatchingOption(e,r)})):t.value!==t.oldValue&&hasNoMatchingOption(t.value,r))&&trigger(e,"change")}}};function setSelected(e,t,n){actuallySetSelected(e,t),(isIE||isEdge)&&setTimeout((function(){actuallySetSelected(e,t)}),0)}function actuallySetSelected(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],r)o=looseIndexOf(i,getValue(a))>-1,a.selected!==o&&(a.selected=o);else if(looseEqual(getValue(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function hasNoMatchingOption(e,t){return t.every((function(t){return!looseEqual(t,e)}))}function getValue(e){return"_value"in e?e._value:e.value}function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){e.target.composing&&(e.target.composing=!1,trigger(e.target,"input"))}function trigger(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function locateNode(e){return!e.componentInstance||e.data&&e.data.transition?e:locateNode(e.componentInstance._vnode)}var show={bind:function(e,t,n){var i=t.value,r=(n=locateNode(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,enter(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=locateNode(n)).data&&n.data.transition?(n.data.show=!0,i?enter(n,(function(){e.style.display=e.__vOriginalDisplay})):leave(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)}},platformDirectives={model:directive,show:show},transitionProps={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 getRealChild(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?getRealChild(getFirstComponentChild(t.children)):e}function extractTransitionData(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[camelize$1(o)]=r[o];return t}function placeholder(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function hasParentTransition(e){for(;e=e.parent;)if(e.data.transition)return!0}function isSameChild(e,t){return t.key===e.key&&t.tag===e.tag}var isNotTextNode=function(e){return e.tag||isAsyncPlaceholder(e)},isVShowDirective=function(e){return"show"===e.name},Transition={name:"transition",props:transitionProps,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(isNotTextNode)).length){var i=this.mode,r=n[0];if(hasParentTransition(this.$vnode))return r;var o=getRealChild(r);if(!o)return r;if(this._leaving)return placeholder(e,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:isPrimitive(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=extractTransitionData(this),c=this._vnode,l=getRealChild(c);if(o.data.directives&&o.data.directives.some(isVShowDirective)&&(o.data.show=!0),l&&l.data&&!isSameChild(o,l)&&!isAsyncPlaceholder(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=extend$1({},s);if("out-in"===i)return this._leaving=!0,mergeVNodeHook(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),placeholder(e,r);if("in-out"===i){if(isAsyncPlaceholder(o))return c;var u,p=function(){u()};mergeVNodeHook(s,"afterEnter",p),mergeVNodeHook(s,"enterCancelled",p),mergeVNodeHook(d,"delayLeave",(function(e){u=e}))}}return r}}},props=extend$1({tag:String,moveClass:String},transitionProps);delete props.mode;var TransitionGroup={props:props,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=setActiveInstance(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=extractTransitionData(this),s=0;s<r.length;s++){var c=r[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a)}if(i){for(var l=[],d=[],u=0;u<i.length;u++){var p=i[u];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?l.push(p):d.push(p)}this.kept=e(t,null,l),this.removed=d}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(callPendingCbs),e.forEach(recordPosition),e.forEach(applyTranslation),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,i=n.style;addTransitionClass(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(transitionEndEvent,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(transitionEndEvent,e),n._moveCb=null,removeTransitionClass(n,t))})}})))},methods:{hasMove:function(e,t){if(!hasTransition)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();
42e._transitionClasses&&e._transitionClasses.forEach((function(e){removeClass(n,e)})),addClass(n,t),n.style.display="none",this.$el.appendChild(n);var i=getTransitionInfo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function callPendingCbs(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function recordPosition(e){e.data.newPos=e.elm.getBoundingClientRect()}function applyTranslation(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"}}var platformComponents={Transition:Transition,TransitionGroup:TransitionGroup};Vue.config.mustUseProp=mustUseProp,Vue.config.isReservedTag=isReservedTag,Vue.config.isReservedAttr=isReservedAttr,Vue.config.getTagNamespace=getTagNamespace,Vue.config.isUnknownElement=isUnknownElement,extend$1(Vue.options.directives,platformDirectives),extend$1(Vue.options.components,platformComponents),Vue.prototype.__patch__=inBrowser?patch:noop$1,Vue.prototype.$mount=function(e,t){return mountComponent(this,e=e&&inBrowser?query(e):void 0,t)},inBrowser&&setTimeout((function(){config$1.devtools&&devtools&&devtools.emit("init",Vue)}),0);var defaultTagRE=/\{\{((?:.|\r?\n)+?)\}\}/g,regexEscapeRE=/[-.*+?^${}()|[\]\/\\]/g,buildRegex=cached((function(e){var t=e[0].replace(regexEscapeRE,"\\$&"),n=e[1].replace(regexEscapeRE,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));function parseText(e,t){var n=t?buildRegex(t):defaultTagRE;if(n.test(e)){for(var i,r,o,a=[],s=[],c=n.lastIndex=0;i=n.exec(e);){(r=i.index)>c&&(s.push(o=e.slice(c,r)),a.push(JSON.stringify(o)));var l=parseFilters(i[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),c=r+i[0].length}return c<e.length&&(s.push(o=e.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}function transformNode(e,t){t.warn;var n=getAndRemoveAttr(e,"class");n&&(e.staticClass=JSON.stringify(n));var i=getBindingAttr(e,"class",!1);i&&(e.classBinding=i)}function genData(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}var klass$1={staticKeys:["staticClass"],transformNode:transformNode,genData:genData};function transformNode$1(e,t){t.warn;var n=getAndRemoveAttr(e,"style");n&&(e.staticStyle=JSON.stringify(parseStyleText(n)));var i=getBindingAttr(e,"style",!1);i&&(e.styleBinding=i)}function genData$1(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}var style$1={staticKeys:["staticStyle"],transformNode:transformNode$1,genData:genData$1},decoder,he={decode:function(e){return(decoder=decoder||document.createElement("div")).innerHTML=e,decoder.textContent}},isUnaryTag=makeMap("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),canBeLeftOpenTag=makeMap("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),isNonPhrasingTag=makeMap("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"),attribute=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,dynamicArgAttribute=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ncname="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+unicodeRegExp.source+"]*",qnameCapture="((?:"+ncname+"\\:)?"+ncname+")",startTagOpen=new RegExp("^<"+qnameCapture),startTagClose=/^\s*(\/?)>/,endTag=new RegExp("^<\\/"+qnameCapture+"[^>]*>"),doctype=/^<!DOCTYPE [^>]+>/i,comment=/^<!\--/,conditionalComment=/^<!\[/,isPlainTextElement=makeMap("script,style,textarea",!0),reCache={},decodingMap={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},encodedAttr=/&(?:lt|gt|quot|amp|#39);/g,encodedAttrWithNewLines=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,isIgnoreNewlineTag=makeMap("pre,textarea",!0),shouldIgnoreFirstNewline=function(e,t){return e&&isIgnoreNewlineTag(e)&&"\n"===t[0]};function decodeAttr(e,t){var n=t?encodedAttrWithNewLines:encodedAttr;return e.replace(n,(function(e){return decodingMap[e]}))}function parseHTML(e,t){for(var n,i,r=[],o=t.expectHTML,a=t.isUnaryTag||no,s=t.canBeLeftOpenTag||no,c=0;e;){if(n=e,i&&isPlainTextElement(i)){var l=0,d=i.toLowerCase(),u=reCache[d]||(reCache[d]=new RegExp("([\\s\\S]*?)(</"+d+"[^>]*>)","i")),p=e.replace(u,(function(e,n,i){return l=i.length,isPlainTextElement(d)||"noscript"===d||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),shouldIgnoreFirstNewline(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-p.length,e=p,S(d,c-l,c)}else{var h=e.indexOf("<");if(0===h){if(comment.test(e)){var f=e.indexOf("--\x3e");
vendor: 5,590 bytes, line 42
42if(f>=0){t.shouldKeepComment&&t.comment(e.substring(4,f),c,c+f+3),M(f+3);continue}}if(conditionalComment.test(e)){var m=e.indexOf("]>");if(m>=0){M(m+2);continue}}var v=e.match(doctype);if(v){M(v[0].length);continue}var g=e.match(endTag);if(g){var b=c;M(g[0].length),S(g[1],b,c);continue}var y=k();if(y){C(y),shouldIgnoreFirstNewline(y.tagName,e)&&M(1);continue}}var A=void 0,_=void 0,w=void 0;if(h>=0){for(_=e.slice(h);!(endTag.test(_)||startTagOpen.test(_)||comment.test(_)||conditionalComment.test(_)||(w=_.indexOf("<",1))<0);)h+=w,_=e.slice(h);A=e.substring(0,h)}h<0&&(A=e),A&&M(A.length),t.chars&&A&&t.chars(A,c-A.length,c)}if(e===n){t.chars&&t.chars(e);break}}function M(t){c+=t,e=e.substring(t)}function k(){var t=e.match(startTagOpen);if(t){var n,i,r={tagName:t[1],attrs:[],start:c};for(M(t[0].length);!(n=e.match(startTagClose))&&(i=e.match(dynamicArgAttribute)||e.match(attribute));)i.start=c,M(i[0].length),i.end=c,r.attrs.push(i);if(n)return r.unarySlash=n[1],M(n[0].length),r.end=c,r}}function C(e){var n=e.tagName,c=e.unarySlash;o&&("p"===i&&isNonPhrasingTag(n)&&S(i),s(n)&&i===n&&S(n));for(var l=a(n)||!!c,d=e.attrs.length,u=new Array(d),p=0;p<d;p++){var h=e.attrs[p],f=h[3]||h[4]||h[5]||"",m="a"===n&&"href"===h[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;u[p]={name:h[1],value:decodeAttr(f,m)}}l||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:u,start:e.start,end:e.end}),i=n),t.start&&t.start(n,u,l,e.start,e.end)}function S(e,n,o){var a,s;if(null==n&&(n=c),null==o&&(o=c),e)for(s=e.toLowerCase(),a=r.length-1;a>=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=r.length-1;l>=a;l--)t.end&&t.end(r[l].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()}var onRE=/^@|^v-on:/,dirRE=/^v-|^@|^:|^#/,forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,forIteratorRE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,stripParensRE=/^\(|\)$/g,dynamicArgRE=/^\[.*\]$/,argRE=/:(.*)$/,bindRE=/^:|^\.|^v-bind:/,modifierRE=/\.[^.\]]+(?=[^\]]*$)/g,slotRE=/^v-slot(:|$)|^#/,lineBreakRE=/[\r\n]/,whitespaceRE$1=/[ \f\t\r\n]+/g,decodeHTMLCached=cached(he.decode),emptySlotScopeToken="_empty_",warn$2,delimiters,transforms,preTransforms,postTransforms,platformIsPreTag,platformMustUseProp,platformGetTagNamespace;function createASTElement(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:makeAttrsMap(t),rawAttrsMap:{},parent:n,children:[]}}function parse(e,t){warn$2=t.warn||baseWarn,platformIsPreTag=t.isPreTag||no,platformMustUseProp=t.mustUseProp||no,platformGetTagNamespace=t.getTagNamespace||no;t.isReservedTag;transforms=pluckModuleFunction(t.modules,"transformNode"),preTransforms=pluckModuleFunction(t.modules,"preTransformNode"),postTransforms=pluckModuleFunction(t.modules,"postTransformNode"),delimiters=t.delimiters;var n,i,r=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function l(e){if(d(e),s||e.processed||(e=processElement(e,t)),r.length||e===n||n.if&&(e.elseif||e.else)&&addIfCondition(n,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)processIfConditions(e,i);else{if(e.slotScope){var o=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[o]=e}i.children.push(e),e.parent=i}e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(s=!1),platformIsPreTag(e.tag)&&(c=!1);for(var a=0;a<postTransforms.length;a++)postTransforms[a](e,t)}function d(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return parseHTML(e,{warn:warn$2,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,d,u){var p=i&&i.ns||platformGetTagNamespace(e);isIE&&"svg"===p&&(o=guardIESVGBug(o));var h=createASTElement(e,o,i);p&&(h.ns=p),isForbiddenTag(h)&&!isServerRendering()&&(h.forbidden=!0);for(var f=0;f<preTransforms.length;f++)h=preTransforms[f](h,t)||h;s||(processPre(h),h.pre&&(s=!0)),platformIsPreTag(h.tag)&&(c=!0),s?processRawAttrs(h):h.processed||(processFor(h),processIf(h),processOnce(h)),n||(n=h),a?l(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],l(o)},chars:function(e,t,n){if(i&&(!isIE||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var r,l,d=i.children;if(e=c||e.trim()?isTextTag(i)?e:decodeHTMLCached(e):d.length?a?"condense"===a&&lineBreakRE.test(e)?"":" ":o?" ":"":"")c||"condense"!==a||(e=e.replace(whitespaceRE$1," ")),!s&&" "!==e&&(r=parseText(e,delimiters))?l={type:2,expression:r.expression,tokens:r.tokens,text:e}:" "===e&&d.length&&" "===d[d.length-1].text||(l={type:3,text:e}),l&&d.push(l)}},comment:function(e,t,n){if(i){var r={type:3,text:e,isComment:!0};i.children.push(r)}}}),n}function processPre(e){null!=getAndRemoveAttr(e,"v-pre")&&(e.pre=!0)}function processRawAttrs(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)}function processElement(e,t){processKey(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,processRef(e),processSlotContent(e),processSlotOutlet(e),processComponent(e);for(var n=0;n<transforms.length;n++)e=transforms[n](e,t)||e;return processAttrs(e),e}function processKey(e){var t=getBindingAttr(e,"key");t&&(e.key=t)}function processRef(e){var t=getBindingAttr(e,"ref");t&&(e.ref=t,e.refInFor=checkInFor(e))}
42function processFor(e){var t;if(t=getAndRemoveAttr(e,"v-for")){var n=parseFor(t);n&&extend$1(e,n)}}function parseFor(e){var t=e.match(forAliasRE);if(t){var n={};n.for=t[2].trim();var i=t[1].trim().replace(stripParensRE,""),r=i.match(forIteratorRE);return r?(n.alias=i.replace(forIteratorRE,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i,n}}function processIf(e){var t=getAndRemoveAttr(e,"v-if");if(t)e.if=t,addIfCondition(e,{exp:t,block:e});else{null!=getAndRemoveAttr(e,"v-else")&&(e.else=!0);var n=getAndRemoveAttr(e,"v-else-if");n&&(e.elseif=n)}}function processIfConditions(e,t){var n=findPrevElement(t.children);n&&n.if&&addIfCondition(n,{exp:e.elseif,block:e})}function findPrevElement(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}function addIfCondition(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function processOnce(e){null!=getAndRemoveAttr(e,"v-once")&&(e.once=!0)}function processSlotContent(e){var t;"template"===e.tag?(t=getAndRemoveAttr(e,"scope"),e.slotScope=t||getAndRemoveAttr(e,"slot-scope")):(t=getAndRemoveAttr(e,"slot-scope"))&&(e.slotScope=t);var n=getBindingAttr(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||addAttr(e,"slot",n,getRawBindingAttr(e,"slot"))),"template"===e.tag){var i=getAndRemoveAttrByRegex(e,slotRE);if(i){var r=getSlotName(i),o=r.name,a=r.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=i.value||emptySlotScopeToken}}else{var s=getAndRemoveAttrByRegex(e,slotRE);if(s){var c=e.scopedSlots||(e.scopedSlots={}),l=getSlotName(s),d=l.name,u=l.dynamic,p=c[d]=createASTElement("template",[],e);p.slotTarget=d,p.slotTargetDynamic=u,p.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=p,!0})),p.slotScope=s.value||emptySlotScopeToken,e.children=[],e.plain=!1}
42}}function getSlotName(e){var t=e.name.replace(slotRE,"");return t||"#"!==e.name[0]&&(t="default"),dynamicArgRE.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function processSlotOutlet(e){"slot"===e.tag&&(e.slotName=getBindingAttr(e,"name"))}function processComponent(e){var t;(t=getBindingAttr(e,"is"))&&(e.component=t),null!=getAndRemoveAttr(e,"inline-template")&&(e.inlineTemplate=!0)}function processAttrs(e){var t,n,i,r,o,a,s,c,l=e.attrsList;for(t=0,n=l.length;t<n;t++)if(i=r=l[t].name,o=l[t].value,dirRE.test(i))if(e.hasBindings=!0,(a=parseModifiers(i.replace(dirRE,"")))&&(i=i.replace(modifierRE,"")),bindRE.test(i))i=i.replace(bindRE,""),o=parseFilters(o),(c=dynamicArgRE.test(i))&&(i=i.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(i=camelize$1(i))&&(i="innerHTML"),a.camel&&!c&&(i=camelize$1(i)),a.sync&&(s=genAssignmentCode(o,"$event"),c?addHandler(e,'"update:"+('+i+")",s,null,!1,warn$2,l[t],!0):(addHandler(e,"update:"+camelize$1(i),s,null,!1,warn$2,l[t]),hyphenate(i)!==camelize$1(i)&&addHandler(e,"update:"+hyphenate(i),s,null,!1,warn$2,l[t])))),a&&a.prop||!e.component&&platformMustUseProp(e.tag,e.attrsMap.type,i)?addProp(e,i,o,l[t],c):addAttr(e,i,o,l[t],c);else if(onRE.test(i))i=i.replace(onRE,""),(c=dynamicArgRE.test(i))&&(i=i.slice(1,-1)),addHandler(e,i,o,a,!1,warn$2,l[t],c);else{var d=(i=i.replace(dirRE,"")).match(argRE),u=d&&d[1];c=!1,u&&(i=i.slice(0,-(u.length+1)),dynamicArgRE.test(u)&&(u=u.slice(1,-1),c=!0)),addDirective(e,i,r,o,u,c,a,l[t])}else addAttr(e,i,JSON.stringify(o),l[t]),!e.component&&"muted"===i&&platformMustUseProp(e.tag,e.attrsMap.type,i)&&addProp(e,i,"true",l[t])}function checkInFor(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function parseModifiers(e){var t=e.match(modifierRE);if(t){var n={};return t.forEach((function(e){n[e.slice(1)]=!0})),n}}function makeAttrsMap(e){for(var t={},n=0,i=e.length;n<i;n++)t[e[n].name]=e[n].value;return t}function isTextTag(e){return"script"===e.tag||"style"===e.tag}function isForbiddenTag(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}var ieNSBug=/^xmlns:NS\d+/,ieNSPrefix=/^NS\d+:/;function guardIESVGBug(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];ieNSBug.test(i.name)||(i.name=i.name.replace(ieNSPrefix,""),t.push(i))}return t}function preTransformNode(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=getBindingAttr(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var r=getAndRemoveAttr(e,"v-if",!0),o=r?"&&("+r+")":"",a=null!=getAndRemoveAttr(e,"v-else",!0),s=getAndRemoveAttr(e,"v-else-if",!0),c=cloneASTElement(e);processFor(c),addRawAttr(c,"type","checkbox"),processElement(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+o,addIfCondition(c,{exp:c.if,block:c});var l=cloneASTElement(e);getAndRemoveAttr(l,"v-for",!0),addRawAttr(l,"type","radio"),processElement(l,t),addIfCondition(c,{exp:"("+n+")==='radio'"+o,block:l});var d=cloneASTElement(e);return getAndRemoveAttr(d,"v-for",!0),addRawAttr(d,":type",n),processElement(d,t),addIfCondition(c,{exp:r,block:d}),a?c.else=!0:s&&(c.elseif=s),c}}}function cloneASTElement(e){return createASTElement(e.tag,e.attrsList.slice(),e.parent)}var model$1={preTransformNode:preTransformNode},modules$1=[klass$1,style$1,model$1];function text(e,t){t.value&&addProp(e,"textContent","_s("+t.value+")",t)}function html(e,t){t.value&&addProp(e,"innerHTML","_s("+t.value+")",t)}var directives$1={model:model,text:text,html:html},baseOptions={expectHTML:!0,modules:modules$1,directives:directives$1,isPreTag:isPreTag,isUnaryTag:isUnaryTag,mustUseProp:mustUseProp,canBeLeftOpenTag:canBeLeftOpenTag,isReservedTag:isReservedTag,getTagNamespace:getTagNamespace,staticKeys:genStaticKeys(modules$1)},isStaticKey,isPlatformReservedTag,genStaticKeysCached=cached(genStaticKeys$1);function optimize(e,t){e&&(isStaticKey=genStaticKeysCached(t.staticKeys||""),isPlatformReservedTag=t.isReservedTag||no,markStatic$1(e),markStaticRoots(e,!1))}function genStaticKeys$1(e){return makeMap("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}function markStatic$1(e){if(e.static=isStatic(e),1===e.type){if(!isPlatformReservedTag(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var i=e.children[t];markStatic$1(i),i.static||(e.static=!1)}if(e.ifConditions)for(var r=1,o=e.ifConditions.length;r<o;r++){var a=e.ifConditions[r].block;markStatic$1(a),a.static||(e.static=!1)}}}function markStaticRoots(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,i=e.children.length;n<i;n++)markStaticRoots(e.children[n],t||!!e.for);if(e.ifConditions)for(var r=1,o=e.ifConditions.length;r<o;r++)markStaticRoots(e.ifConditions[r].block,t)}}function isStatic(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||isBuiltInTag(e.tag)||!isPlatformReservedTag(e.tag)||isDirectChildOfTemplateFor(e)||!Object.keys(e).every(isStaticKey))))}function isDirectChildOfTemplateFor(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}var fnExpRE=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,fnInvokeRE=/\([^)]*?\);*$/,simplePathRE=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,keyCodes={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},keyNames={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"]},genGuard=function(e){return"if("+e+")return null;"},modifierCode={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:genGuard("$event.target !== $event.currentTarget"),ctrl:genGuard("!$event.ctrlKey"),shift:genGuard("!$event.shiftKey"),alt:genGuard("!$event.altKey"),meta:genGuard("!$event.metaKey"),left:genGuard("'button' in $event && $event.button !== 0"),middle:genGuard("'button' in $event && $event.button !== 1"),right:genGuard("'button' in $event && $event.button !== 2")};function genHandlers(e,t){var n=t?"nativeOn:":"on:",i="",r="";for(var o in e){var a=genHandler(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 genHandler(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return genHandler(e)})).join(",")+"]";var t=simplePathRE.test(e.value),n=fnExpRE.test(e.value),i=simplePathRE.test(e.value.replace(fnInvokeRE,""));if(e.modifiers){var r="",o="",a=[];for(var s in e.modifiers)if(modifierCode[s])o+=modifierCode[s],keyCodes[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=genGuard(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(r+=genKeyFilter(a)),o&&(r+=o),"function($event){"+r+(t?"return "+e.value+".apply(null, arguments)":n?"return ("+e.value+").apply(null, arguments)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function genKeyFilter(e){return"if(!$event.type.indexOf('key')&&"+e.map(genFilterCode).join("&&")+")return null;"}function genFilterCode(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=keyCodes[e],i=keyNames[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}function on(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}}function bind$1$1(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag
vendor: 4,080 bytes, line 42
42+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}}var baseDirectives={on:on,bind:bind$1$1,cloak:noop$1},CodegenState=function(e){this.options=e,this.warn=e.warn||baseWarn,this.transforms=pluckModuleFunction(e.modules,"transformCode"),this.dataGenFns=pluckModuleFunction(e.modules,"genData"),this.directives=extend$1(extend$1({},baseDirectives),e.directives);var t=e.isReservedTag||no;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function generate(e,t){var n=new CodegenState(t);return{render:"with(this){return "+(e?"script"===e.tag?"null":genElement(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function genElement(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return genStatic(e,t);if(e.once&&!e.onceProcessed)return genOnce(e,t);if(e.for&&!e.forProcessed)return genFor(e,t);if(e.if&&!e.ifProcessed)return genIf(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return genSlot(e,t);var n;if(e.component)n=genComponent(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=genData$2(e,t));var r=e.inlineTemplate?null:genChildren(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 genChildren(e,t)||"void 0"}function genStatic(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+genElement(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function genOnce(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return genIf(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("+genElement(e,t)+","+t.onceId+++","+n+")":genElement(e,t)}return genStatic(e,t)}function genIf(e,t,n,i){return e.ifProcessed=!0,genIfConditions(e.ifConditions.slice(),t,n,i)}function genIfConditions(e,t,n,i){if(!e.length)return i||"_e()";var r=e.shift();return r.exp?"("+r.exp+")?"+o(r.block)+":"+genIfConditions(e,t,n,i):""+o(r.block);function o(e){return n?n(e,t):e.once?genOnce(e,t):genElement(e,t)}}function genFor(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||genElement)(e,t)+"})"}function genData$2(e,t){var n="{",i=genDirectives(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:"+genProps(e.attrs)+","),e.props&&(n+="domProps:"+genProps(e.props)+","),e.events&&(n+=genHandlers(e.events,!1)+","),e.nativeEvents&&(n+=genHandlers(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=genScopedSlots(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=genInlineTemplate(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+genProps(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function genDirectives(e,t){var n=e.directives;if(n){var i,r,o,a,s="directives:[",c=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var l=t.directives[o.name];l&&(a=!!l(e,o,t.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}function genInlineTemplate(e,t){var n=e.children[0];if(n&&1===n.type){var i=generate(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}
42function genScopedSlots(e,t,n){var i=e.for||Object.keys(t).some((function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||containsSlotChild(n)})),r=!!e.if;if(!i)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==emptySlotScopeToken||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}var a=Object.keys(t).map((function(e){return genScopedSlot(t[e],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&r?",null,false,"+hash(a):"")+")"}function hash(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}function containsSlotChild(e){return 1===e.type&&("slot"===e.tag||e.children.some(containsSlotChild))}function genScopedSlot(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return genIf(e,t,genScopedSlot,"null");if(e.for&&!e.forProcessed)return genFor(e,t,genScopedSlot);var i=e.slotScope===emptySlotScopeToken?"":String(e.slotScope),r="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(genChildren(e,t)||"undefined")+":undefined":genChildren(e,t)||"undefined":genElement(e,t))+"}",o=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+r+o+"}"}function genChildren(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||genElement)(a,t)+s}var c=n?getNormalizationType(o,t.maybeComponent):0,l=r||genNode;return"["+o.map((function(e){return l(e,t)})).join(",")+"]"+(c?","+c:"")}}function getNormalizationType(e,t){for(var n=0,i=0;i<e.length;i++){var r=e[i];if(1===r.type){if(needsNormalization(r)||r.ifConditions&&r.ifConditions.some((function(e){return needsNormalization(e.block)}))){n=2;break}(t(r)||r.ifConditions&&r.ifConditions.some((function(e){return t(e.block)})))&&(n=1)}}return n}function needsNormalization(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function genNode(e,t){return 1===e.type?genElement(e,t):3===e.type&&e.isComment?genComment(e):genText(e)}function genText(e){return"_v("+(2===e.type?e.expression:transformSpecialNewlines(JSON.stringify(e.text)))+")"}function genComment(e){return"_e("+JSON.stringify(e.text)+")"}function genSlot(e,t){var n=e.slotName||'"default"',i=genChildren(e,t),r="_t("+n+(i?",function(){return "+i+"}":""),o=e.attrs||e.dynamicAttrs?genProps((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:camelize$1(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+")"}function genComponent(e,t,n){var i=t.inlineTemplate?null:genChildren(t,n,!0);return"_c("+e+","+genData$2(t,n)+(i?","+i:"")+")"}function genProps(e){for(var t="",n="",i=0;i<e.length;i++){var r=e[i],o=transformSpecialNewlines(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 transformSpecialNewlines(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var prohibitedKeywordRE=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");function createFunction(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),noop$1}}function createCompileToFunctionFn(e){var t=Object.create(null);return function(n,i,r){(i=extend$1({},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={},c=[];return s.render=createFunction(a.render,c),s.staticRenderFns=a.staticRenderFns.map((function(e){return createFunction(e,c)})),t[o]=s}}function createCompilerCreator(e){return function(t){function n(n,i){var r=Object.create(t),o=[],a=[];if(i)for(var s in i.modules&&(r.modules=(t.modules||[]).concat(i.modules)),i.directives&&(r.directives=extend$1(Object.create(t.directives||null),i.directives)),i)"modules"!==s&&"directives"!==s&&(r[s]=i[s]);r.warn=function(e,t,n){(n?a:o).push(e)};var c=e(n.trim(),r);return c.errors=o,c.tips=a,c}return{compile:n,compileToFunctions:createCompileToFunctionFn(n)}}}var createCompiler=createCompilerCreator((function(e,t){var n=parse(e.trim(),t);!1!==t.optimize&&optimize(n,t);var i=generate(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}})),ref$1=createCompiler(baseOptions),compileToFunctions=ref$1.compileToFunctions,div;function getShouldDecode(e){return(div=div||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',div.innerHTML.indexOf(" ")>0}var shouldDecodeNewlines=!!inBrowser&&getShouldDecode(!1),shouldDecodeNewlinesForHref=!!inBrowser&&getShouldDecode(!0),idToTemplate=cached((function(e){var t=query(e);return t&&t.innerHTML})),mount=Vue.prototype.$mount;function getOuterHTML(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML} 43/*! 44 * vuex v3.6.2 45 * (c) 2021 Evan You 46 * @license MIT 47 */ 48function applyMixin(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:t});else{const n=e.prototype._init;e.prototype._init=function(e={}){e.init=e.init?[t].concat(e.init):t,n.call(this,e)}}function t(){const e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}Vue.prototype.$mount=function(e,t){if((e=e&&query(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=idToTemplate(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=getOuterHTML(e));if(i){var r=compileToFunctions(i,{outputSourceRange:!1,shouldDecodeNewlines:shouldDecodeNewlines,shouldDecodeNewlinesForHref:shouldDecodeNewlinesForHref,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return mount.call(this,e,t)},Vue.compile=compileToFunctions;const target$2="undefined"!=typeof window?window:void 0!==global$1?global$1:{},devtoolHook=target$2.__VUE_DEVTOOLS_GLOBAL_HOOK__;function devtoolPlugin(e){devtoolHook&&(e._devtoolHook=devtoolHook,devtoolHook.emit("vuex:init",e),devtoolHook.on("vuex:travel-to-state",t=>{e.replaceState(t)}),e.subscribe((e,t)=>{devtoolHook.emit("vuex:mutation",e,t)},{prepend:!0}),e.subscribeAction((e,t)=>{devtoolHook.emit("vuex:action",e,t)},{prepend:!0}))}function find$1(e,t){return e.filter(t)[0]}function deepCopy(e,t=[]){if(null===e||"object"!=typeof e)return e;const n=find$1(t,t=>t.original===e);if(n)return n.copy;const i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach(n=>{i[n]=deepCopy(e[n],t)}),i}function forEachValue(e,t){Object.keys(e).forEach(n=>t(e[n],n))}function isObject$2(e){return null!==e&&"object"==typeof e}function isPromise$1(e){return e&&"function"==typeof e.then}function assert(e,t){if(!e)throw new Error("[vuex] "+t)}function partial$1(e,t){return function(){return e(t)}}class Module{constructor(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;const n=e.state;this.state=("function"==typeof n?n():n)||{}}get namespaced(){return!!this._rawModule.namespaced}addChild(e,t){this._children[e]=t}removeChild(e){delete this._children[e]}getChild(e){return this._children[e]}hasChild(e){return e in this._children}update(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)}forEachChild(e){forEachValue(this._children,e)}forEachGetter(e){this._rawModule.getters&&forEachValue(this._rawModule.getters,e)}forEachAction(e){this._rawModule.actions&&forEachValue(this._rawModule.actions,e)}forEachMutation(e){this._rawModule.mutations&&forEachValue(this._rawModule.mutations,e)}}class ModuleCollection{constructor(e){this.register([],e,!1)}get(e){return e.reduce((e,t)=>
48e.getChild(t),this.root)}getNamespace(e){let t=this.root;return e.reduce((e,n)=>(t=t.getChild(n),e+(t.namespaced?n+"/":"")),"")}update(e){update([],this.root,e)}register(e,t,n=!0){assertRawModule(e,t);const i=new Module(t,n);if(0===e.length)this.root=i;else{this.get(e.slice(0,-1)).addChild(e[e.length-1],i)}t.modules&&forEachValue(t.modules,(t,i)=>{this.register(e.concat(i),t,n)})}unregister(e){const t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i?i.runtime&&t.removeChild(n):console.warn(`[vuex] trying to unregister module '${n}', which is not registered`)}isRegistered(e){const t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)}}function update(e,t,n){if(assertRawModule(e,n),t.update(n),n.modules)for(const i in n.modules){if(!t.getChild(i))return void console.warn(`[vuex] trying to add a new module '${i}' on hot reloading, manual reload is needed`);update(e.concat(i),t.getChild(i),n.modules[i])}}const functionAssert={assert:e=>"function"==typeof e,expected:"function"},objectAssert={assert:e=>"function"==typeof e||"object"==typeof e&&"function"==typeof e.handler,expected:'function or object with "handler" function'},assertTypes={getters:functionAssert,mutations:functionAssert,actions:objectAssert};function assertRawModule(e,t){Object.keys(assertTypes).forEach(n=>{if(!t[n])return;const i=assertTypes[n];forEachValue(t[n],(t,r)=>{assert(i.assert(t),makeAssertionMessage(e,n,r,t,i.expected))})})}function makeAssertionMessage(e,t,n,i,r){let o=`${t} should be ${r} but "${t}.${n}"`;return e.length>0&&(o+=` in module "${e.join(".")}"`),o+=` is ${JSON.stringify(i)}.`,o}let Vue$1;class Store{constructor(e={}){!Vue$1&&"undefined"!=typeof window&&window.Vue&&install(window.Vue),assert(Vue$1,"must call Vue.use(Vuex) before creating a store instance."),assert("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser."),assert(this instanceof Store,"store must be called with the new operator.");const{plugins:t=[],strict:n=!1}=e;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ModuleCollection(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Vue$1,this._makeLocalGettersCache=Object.create(null);const i=this,{dispatch:r,commit:o}=this;this.dispatch=function(e,t){return r.call(i,e,t)},this.commit=function(e,t,n){return o.call(i,e,t,n)},this.strict=n;const a=this._modules.root.state;installModule(this,a,[],this._modules.root),resetStoreVM(this,a),t.forEach(e=>e(this));(void 0!==e.devtools?e.devtools:Vue$1.config.devtools)&&devtoolPlugin(this)}get state(){return this._vm._data.$$state}set state(e){assert(!1,"use store.replaceState() to explicit replace store state.")}commit(e,t,n){const{type:i,payload:r,options:o}=unifyObjectStyle(e,t,n),a={type:i,payload:r},s=this._mutations[i];s?(this._withCommit(()=>{s.forEach((function(e){e(r)}))}),this._subscribers.slice().forEach(e=>e(a,this.state)),o&&o.silent&&console.warn(`[vuex] mutation type: ${i}. Silent option has been removed. Use the filter functionality in the vue-devtools`)):console.error("[vuex] unknown mutation type: "+i)}dispatch(e,t){const{type:n,payload:i}=unifyObjectStyle(e,t),r={type:n,payload:i},o=this._actions[n];if(!o)return void console.error("[vuex] unknown action type: "+n);try{this._actionSubscribers.slice().filter(e=>e.before).forEach(e=>e.before(r,this.state))}catch(e){console.warn("[vuex] error in before action subscribers: "),console.error(e)}const a=o.length>1?Promise.all(o.map(e=>e(i))):o[0](i);return new Promise((e,t)=>{a.then(t=>{try{this._actionSubscribers.filter(e=>e.after).forEach(e=>e.after(r,this.state))}catch(e){console.warn("[vuex] error in after action subscribers: "),console.error(e)}e(t)},e=>{try{this._actionSubscribers.filter(e=>e.error).forEach(t=>t.error(r,this.state,e))}catch(e){console.warn("[vuex] error in error action subscribers: "),console.error(e)}t(e)})})}subscribe(e,t){return genericSubscribe(e,this._subscribers,t)}subscribeAction(e,t){return genericSubscribe("function"==typeof e?{before:e}:e,this._actionSubscribers,t)}
48watch(e,t,n){return assert("function"==typeof e,"store.watch only accepts a function."),this._watcherVM.$watch(()=>e(this.state,this.getters),t,n)}replaceState(e){this._withCommit(()=>{this._vm._data.$$state=e})}registerModule(e,t,n={}){"string"==typeof e&&(e=[e]),assert(Array.isArray(e),"module path must be a string or an Array."),assert(e.length>0,"cannot register the root module by using registerModule."),this._modules.register(e,t),installModule(this,this.state,e,this._modules.get(e),n.preserveState),resetStoreVM(this,this.state)}unregisterModule(e){"string"==typeof e&&(e=[e]),assert(Array.isArray(e),"module path must be a string or an Array."),this._modules.unregister(e),this._withCommit(()=>{const t=getNestedState(this.state,e.slice(0,-1));Vue$1.delete(t,e[e.length-1])}),resetStore(this)}hasModule(e){return"string"==typeof e&&(e=[e]),assert(Array.isArray(e),"module path must be a string or an Array."),this._modules.isRegistered(e)}hotUpdate(e){this._modules.update(e),resetStore(this,!0)}_withCommit(e){const t=this._committing;this._committing=!0,e(),this._committing=t}}function genericSubscribe(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}}function resetStore(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);const n=e.state;installModule(e,n,[],e._modules.root,!0),resetStoreVM(e,n,t)}function resetStoreVM(e,t,n){const i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);const r=e._wrappedGetters,o={};forEachValue(r,(t,n)=>{o[n]=partial$1(t,e),Object.defineProperty(e.getters,n,{get:()=>e._vm[n],enumerable:!0})});const a=Vue$1.config.silent;Vue$1.config.silent=!0,e._vm=new Vue$1({data:{$$state:t},computed:o}),Vue$1.config.silent=a,e.strict&&enableStrictMode(e),i&&(n&&e._withCommit(()=>{i._data.$$state=null}),Vue$1.nextTick(()=>i.$destroy()))}function installModule(e,t,n,i,r){const o=!n.length,a=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[a]&&console.error(`[vuex] duplicate namespace ${a} for the namespaced module ${n.join("/")}`),e._modulesNamespaceMap[a]=i),!o&&!r){const r=getNestedState(t,n.slice(0,-1)),o=n[n.length-1];e._withCommit(()=>{o in r&&console.warn(`[vuex] state field "${o}" was overridden by a module with the same name at "${n.join(".")}"`),Vue$1.set(r,o,i.state)})}const s=i.context=makeLocalContext(e,a,n);i.forEachMutation((t,n)=>{registerMutation(e,a+n,t,s)}
48),i.forEachAction((t,n)=>{const i=t.root?n:a+n,r=t.handler||t;registerAction(e,i,r,s)}),i.forEachGetter((t,n)=>{registerGetter(e,a+n,t,s)}),i.forEachChild((i,o)=>{installModule(e,t,n.concat(o),i,r)})}function makeLocalContext(e,t,n){const i=""===t,r={dispatch:i?e.dispatch:(n,i,r)=>{const o=unifyObjectStyle(n,i,r),{payload:a,options:s}=o;let{type:c}=o;if(s&&s.root||(c=t+c,e._actions[c]))return e.dispatch(c,a);console.error(`[vuex] unknown local action type: ${o.type}, global type: ${c}`)},commit:i?e.commit:(n,i,r)=>{const o=unifyObjectStyle(n,i,r),{payload:a,options:s}=o;let{type:c}=o;s&&s.root||(c=t+c,e._mutations[c])?e.commit(c,a,s):console.error(`[vuex] unknown local mutation type: ${o.type}, global type: ${c}`)}};return Object.defineProperties(r,{getters:{get:i?()=>e.getters:()=>makeLocalGetters(e,t)},state:{get:()=>getNestedState(e.state,n)}}),r}function makeLocalGetters(e,t){if(!e._makeLocalGettersCache[t]){const n={},i=t.length;Object.keys(e.getters).forEach(r=>{if(r.slice(0,i)!==t)return;const o=r.slice(i);Object.defineProperty(n,o,{get:()=>e.getters[r],enumerable:!0})}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function registerMutation(e,t,n,i){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,i.state,t)}))}function registerAction(e,t,n,i){(e._actions[t]||(e._actions[t]=[])).push((function(t){let r=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return isPromise$1(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch(t=>{throw e._devtoolHook.emit("vuex:error",t),t}):r}))}function registerGetter(e,t,n,i){e._wrappedGetters[t]?console.error("[vuex] duplicate getter key: "+t):e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)}}function enableStrictMode(e){e._vm.$watch((function(){return this._data.$$state}),()=>{assert(e._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function getNestedState(e,t){return t.reduce((e,t)=>e[t],e)}function unifyObjectStyle(e,t,n){return isObject$2(e)&&e.type&&(n=t,t=e,e=e.type),assert("string"==typeof e,`expects string as the type, but found ${typeof e}.`),{type:e,payload:t,options:n}}function install(e){Vue$1&&e===Vue$1?console.error("[vuex] already installed. Vue.use(Vuex) should be called only once."):(Vue$1=e,applyMixin(Vue$1))}const mapState=normalizeNamespace((e,t)=>{const n={};return isValidMap(t)||console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),normalizeMap(t).forEach(({key:t,val:i})=>{n[t]=function(){let t=this.$store.state,n=this.$store.getters;if(e){const i=getModuleByNamespace(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"==typeof i?i.call(this,t,n):t[i]},n[t].vuex=!0}),n}),mapMutations=normalizeNamespace((e,t)=>{const n={};return isValidMap(t)||console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),normalizeMap(t).forEach(({key:t,val:i})=>{n[t]=function(...t){let n=this.$store.commit;if(e){const t=getModuleByNamespace(this.$store,"mapMutations",e);if(!t)return;n=t.context.commit}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}}),n}),mapGetters=normalizeNamespace((e,t)=>{const n={};return isValidMap(t)||console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),normalizeMap(t).forEach(({key:t,val:i})=>{i=e+i,n[t]=function(){if(!e||getModuleByNamespace(this.$store,"mapGetters",e)){if(i in this.$store.getters)return this.$store.getters[i];console.error("[vuex] unknown getter: "+i)}},n[t].vuex=!0}),n}),mapActions=normalizeNamespace((e,t)=>{const n={};return isValidMap(t)||console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),normalizeMap(t).forEach(({key:t,val:i})=>{n[t]=function(...t){let n=this.$store.dispatch;if(e){const t=getModuleByNamespace(this.$store,"mapActions",e);if(!t)return;n=t.context.dispatch}return"function"==typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}}),n}),createNamespacedHelpers=e=>({mapState:mapState.bind(null,e),mapGetters:mapGetters.bind(null,e),mapMutations:mapMutations.bind(null,e),mapActions:mapActions.bind(null,e)});function normalizeMap(e){return isValidMap(e)?Array.isArray(e)?e.map(e=>({key:e,val:e})):Object.keys(e).map(t=>({key:t,val:e[t]}
48)):[]}function isValidMap(e){return Array.isArray(e)||isObject$2(e)}function normalizeNamespace(e){return(t,n)=>("string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n))}function getModuleByNamespace(e,t,n){const i=e._modulesNamespaceMap[n];return i||console.error(`[vuex] module namespace not found in ${t}(): ${n}`),i}function createLogger({collapsed:e=!0,filter:t=((e,t,n)=>!0),transformer:n=(e=>e),mutationTransformer:i=(e=>e),actionFilter:r=((e,t)=>!0),actionTransformer:o=(e=>e),logMutations:a=!0,logActions:s=!0,logger:c=console}={}){return l=>{let d=deepCopy(l.state);void 0!==c&&(a&&l.subscribe((r,o)=>{const a=deepCopy(o);if(t(r,d,a)){const t=getFormattedTime(),o=i(r),s=`mutation ${r.type}${t}`;startMessage(c,s,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",o),c.log("%c next state","color: #4CAF50; font-weight: bold",n(a)),endMessage(c)}d=a}),s&&l.subscribeAction((t,n)=>{if(r(t,n)){const n=getFormattedTime(),i=o(t),r=`action ${t.type}${n}`;startMessage(c,r,e),c.log("%c action","color: #03A9F4; font-weight: bold",i),endMessage(c)}}))}}function startMessage(e,t,n){const i=n?e.groupCollapsed:e.group;try{i.call(e,t)}catch(n){e.log(t)}}function endMessage(e){try{e.groupEnd()}catch(t){e.log("ââ log end ââ")}}function getFormattedTime(){const e=new Date;return` @ ${pad$1(e.getHours(),2)}:${pad$1(e.getMinutes(),2)}:${pad$1(e.getSeconds(),2)}.${pad$1(e.getMilliseconds(),3)}`}function repeat$1(e,t){return new Array(t+1).join(e)}function pad$1(e,t){return repeat$1("0",t-e.toString().length)+e}var index$2={Store:Store,install:install,version:"3.6.2",mapState:mapState,mapMutations:mapMutations,mapGetters:mapGetters,mapActions:mapActions,createNamespacedHelpers:createNamespacedHelpers,createLogger:createLogger};const state=()=>({channels:[],sms:[],emails:[],selected:null}),getters={actions:e=>[...e.channels,...e.sms,...e.emails]},actions={updateChannels(e,t){let{commit:n}=e;n("setChannels",t)},updateNotifications(e,t){let{dispatch:n}=e;const i=t.filter(e=>"email"===e.channel.type),r=t.filter(e=>"sms"===e.channel.type);n("updateEmails",i),n("updateSms",r)},updateEmails(e,t){let{commit:n}=e;n("setEmails",t)},updateSms(e,t){let{commit:n}=e;n("setSms",t)},updateAll(e,t){let{dispatch:n}=e,{channels:i,notifications:r}=t;n("updateChannels",i),n("updateNotifications",r)},selectNotification(e,t){let{commit:n}=e;n("setSelected",t)}},mutations={setChannels(e,t){e.channels=t},setSms(e,t){e.sms=t},setEmails(e,t){e.emails=t},setSelected(e,t){e.selected=t}};var actions$1={namespaced:!0,state:state,getters:getters,actions:actions,mutations:mutations};const state$1=()=>({beacons:[]}),getters$1={beacons:e=>e.beacons.map(e=>({uniqueId:e.uniqueId,name:e.name,mac:e.mac.toLowerCase(),notes:e.alias,tags:e.tags,product:e.product,firmware:e.firmware,orderId:e.orderId,profiles:e.profiles,managerId:e.managerId}))},actions$2={updateBeacons(e,t){let{commit:n}=e;n("setBeacons",t)}},mutations$1={setBeacons(e,t){e.beacons=t}};var beacons={namespaced:!0,state:state$1,getters:getters$1,actions:actions$2,mutations:mutations$1};const state$2=()=>({groups:[{id:"group-beacon-signals",icon:"BeaconSignals",text:"Beacon Signals"},{id:"group-telemetry",icon:"Telemetry",text:"Telemetry"},{id:"group-positions",icon:"Positions",text:"Positions"},{id:"group-occupancy",icon:"Occupancy",text:"Occupancy"}],conditions:[{group:"group-beacon-signals",id:"battery_level",name:"Battery level",icon:"battery-level-low",component:"BatteryLevel",config:["locationRange","locationIds","trackingIds","threshold","operator"]},{group:"group-beacon-signals",id:"button_clicked",name:"Button click",icon:"button-down",component:"ButtonClick",config:["locationRange","trackingIds","locationIds","buttonClickType"]},{group:"group-telemetry",id:"temperature",name:"Temperature",icon:"temp-min",component:"Temperature",config:["locationRange","locationIds","trackingIds","threshold","operator"]},{group:"group-telemetry",id:"air_quality",name:"Air quality",icon:"air-min",component:"AirQuality",config:["locationRange","locationIds","trackingIds","threshold","operator"]},{group:"group-telemetry",id:"humidity",icon:"humidity-min",name:"Humidity",component:"Humidity",config:["locationRange","locationIds","trackingIds","threshold","operator"]}
48,{group:"group-positions",id:"location_exit",icon:"exit-room",name:"Exit location",component:"ExitRoom",config:["locationRange","locationIds","trackingIds","threshold"]},{group:"group-positions",id:"location_entry",icon:"enter-room",name:"Enter location",component:"EnterRoom",config:["locationRange","locationIds","trackingIds","threshold"]},{group:"group-occupancy",id:"occupancy",icon:"occupancy-exceeded",name:"Room occupancy",component:"Occupancy",config:["locationRange","locationIds","occupancyLimit","operator"]}]}),getters$2={conditions:e=>e.conditions.map(e=>(e.icon="".concat("img/icon/svg/policy/").concat(e.icon,".svg"),e))},actions$3={},mutations$2={};var conditions={namespaced:!0,state:state$2,getters:getters$2,actions:actions$3,mutations:mutations$2};const state$3=()=>({notifications:{tags:[{name:"name",description:"policy name"},{name:"companyId",description:"company ID"},{name:"roomId",description:"current room id of the device"},{name:"roomName",description:"current room name of the device"},{name:"floorId",description:"current floor id of the device"},{name:"floorName",description:"current floor name of the device"},{name:"buildingId",description:"current building id of the device"},{name:"buildingName",description:"current building name of the device"},{name:"campusId",description:"current campus id of the device"},{name:"campusName",description:"current campus name of the device"},{name:"occupancyLimit",description:"max number of people in the room"},{name:"occupancy",description:"actual number of people in the room"},{name:"threshold",description:"minimum allowed parameter level"},{name:"deviceAlias",description:"alias of the device"},{name:"trackingId",description:"tracking ID of the device"},{name:"batteryLevel",description:"actual battery level"},{name:"previousRoomId",description:"room ID the device just left"},{name:"temperature",description:"actual temperature of the device"}]}}),getters$3={notificationTags:e=>e.notifications.tags},actions$4={},mutations$3={};var constants={namespaced:!0,state:state$3,getters:getters$3,actions:actions$4,mutations:mutations$3};const state$4=()=>({campuses:[],buildings:[],floors:[],rooms:[]}),getters$4={locationsTree:e=>{let t=[...e.campuses],n=[...e.rooms];return t.map(e=>({id:String(e.id),label:e.name,children:e.buildings.map(e=>({id:String(e.id),label:e.name,children:e.floors.map(e=>({id:String(e.id),label:e.name,children:n.filter(t=>t.floor.id===e.id).map(e=>({id:String(e.id),label:e.name}))}))}))}))}},actions$5={updateLocations(e,t){let{dispatch:n}=e,{campuses:i,buildings:r,floors:o,rooms:a}=t;n("updateCampuses",i),n("updateBuildings",r),n("updateFloors",o),n("updateRooms",a)},updateCampuses(e,t){let{commit:n}=e;n("setCampuses",t)},updateBuildings(e,t){let{commit:n}=e;n("setBuildings",t)},updateFloors(e,t){let{commit:n}=e;n("setFloors",t)},updateRooms(e,t){let{commit:n}=e;n("setRooms",t)}},mutations$4={setCampuses(e,t){e.campuses=t},setBuildings(e,t){e.buildings=t},setFloors(e,t){e.floors=t},setRooms(e,t){e.rooms=t}};var locations={namespaced:!0,state:state$4,getters:getters$4,actions:actions$5,mutations:mutations$4};const state$5=()=>({policies:[],selected:null,currentSetup:{locations:null,nameAndDescription:null,timing:null,conditions:null,actions:null}}),getters$5={policies:e=>e.policies,selectedPolicy:e=>e.policies.find(t=>t.id===e.selected),currentSetup:e=>e.currentSetup},actions$6={updatePolicies(e,t){let{commit:n}=e;n("setPolicies",t)},selectPolicy(e,t){let{commit:n}=e;n("selectPolicy",t)},updateCurrentSetupModule(e,t){let{commit:n}=e;n("setCurrentSetupModule",t)},resetCurrentSetupModule(e){let{commit:t}=e;t("setCurrentSetupModule",{module:"locations",data:null}),t("setCurrentSetupModule",{module:"nameAndDescription",data:null}),t("setCurrentSetupModule",{module:"timing",data:null}),t("setCurrentSetupModule",{module:"conditions",data:null}),t("setCurrentSetupModule",{module:"actions",data:null})}},mutations$5={setPolicies(e,t){e.policies=t},selectPolicy(e,t){e.selected=t},setCurrentSetupModule(e,t){let{module:n,data:i}=t;e.currentSetup[n]=i}};var policies={namespaced:!0,state:state$5,getters:getters$5,actions:actions$6,mutations:mutations$5};const messages={"common.confirmation.header":"Are you sure?","common.confirmation.confirm.label":"OK","common.confirmation.cancel.label":"Cancel","common.unsaved.prompt":"You have unsaved changes","common.date":"Date","file.upload.dropzone":"Drop File Here","file.upload.no.preview":"Preview unavailable","authentication.error":"Authentication error","old.firmware.alert":"Support for Kontakt.io beacon firmware versions lower than 4.x to be discontinued (Beacon and Tough Beacon). Please update your beacons to the latest version by the end of 2017.","config.pen
48ding.alert":"Some properties aren't synchronized with your device. Your device's settings can be updated by Gateway with Infrastructure Management or with the Kontakt.io Admin App","config.pending.alert.portal-light":"Your gateway will now automatically download this configuration when connected to its default (SSID - kontaktDeployment, network password - LTPGjjwp256) or your custom WiFi network . You can also apply this configuration manually via the Kontakt.io Administrator mobile app. For detailed instructions please check our support article","config.pending.alert.link":"link","config.pending.bulk.alert":"Some of your beacons aren't updated to current configuration ( %s )","config.pending.cancel":"Cancel config","config.pending.bulk.cancel":"Cancel all configs","config.pending.value.help":"This is what your device is currently broadcasting. New update pending","config.pending.password.help":"This is your device pending password change.","config.current.password.help":"This is your device current password. It will change after applying pending update.","general.enabled":"Enabled","general.disabled":"Disabled","general.save":"Save","general.cancel":"Cancel","general.loading":"Loading...","general.saveChanges":"Save changes","general.cancelChanges":"Cancel changes","general.show":"show","general.chooseFile":"Browse files","general.selectOption":"Select...","general.back":"Back","general.back.location":"Back to location list","general.location":"Go to location list","global.siteTitle":"Cloud | Kontakt","global.logo.alt":"Kontakt Cloud","global.logo.title":"Go back to main page","global.back.to.panel.title":"Go to K.io Cloud","global.login.welcome":"Welcome","global.login.signOut":"Sign out","global.login.yourAccount":"Your account","global.login.changePassword":"Change password","global.nav.devices":"Available devices","global.nav.devices.undertext":"Drag and drop devices to your map","global.nav.venues":"Locations","global.nav.analytics":"Analytics","global.nav.manager":"Accounts","global.nav.infrastructure":"Infrastructure","global.zendesk.header":"Contact Support","global.zendesk.name.label":"Your name","global.zendesk.name.placeholder":"Your name (required)","global.zendesk.name.msg":"Name is required","global.zendesk.email.label":"Your email","global.zendesk.email.placeholder":"Your email (required)","global.zendesk.email.msg":"Valid email is required","global.zendesk.subject.label":"Subject","global.zendesk.subject.placeholder":"Subject (required)","global.zendesk.subject.msg":"Subject is required","global.zendesk.message.label":"Message","global.zendesk.message.placeholder":"Tell us about the issue","global.zendesk.message.msg":"Message is required","global.zendesk.sendButton":"Send","global.zendesk.message.success":"Your message has been sent","global.zendesk.message.error":"An error occurred while sending the message","global.footer.dev.header":"Are you a Developer?","global.footer.dev.doc":"Get started with documentation","global.footer.dev.api":"Get API key","global.footer.contact.header":"Contact us","global.footer.contact.sales":"Contact sales","global.footer.contact.support":"Contact support","global.footer.order.header":"Need some beacons?","global.footer.order.smartBeacon":"Smart Beacon","global.footer.order.toughBeacon":"Tough Beacon","global.footer.help.copyrights":"Copyright %s © by Kontakt.io","global.footer.help.trademarks":"Bluetooth, Apple, Google, Nokia and other trademarks are the property of their respective trademark owners","message.manager.created":"Manager has been created.","message.manager.email.error":"Manager with given email already exists.","message.manager.updated":"Manager has been updated.","message.manager.deleted":"Manager has been deleted.","message.beacons.saved":"Properties for all the devices selected have been changed.","message.beacon.saved":"Properties of the device have been changed.","message.beacon.action.notContentAction":"The action chosen is of incorrect type.","message.beacon.action.added.success":"Action added.","message.beacon.action.added.fail":"Error occurred when adding action. We're already working on it.","message.beacon.action.deleted.success":"Action deleted.","message.beacon.action.deleted.fail"
48:"Error occurred when removing action. We're already working on it.","message.beacon.action.delete.confirm":"This action is also attached to other devices.","message.public.venue.update.successful":"Public location's status changed successfully.","message.public.venue.update.error":"Public location's status change error.","message.device.update.conflict":"Device with given UUID, major and minor already exists.","message.auth.signin.success":"Successfully signed in.","message.auth.signin.error":"Wrong email or/and password.","message.auth.signout.success":"Successfully signed out.","message.auth.error":"Wrong email or/and password.","message.auth.pass.remind":"We've sent a new password to: <strong>%s</strong>.","message.auth.pass.changed":"Password has been changed.","message.auth.pass.toShort":"Password is too short.","message.floorplan.saved":"Floor successfully saved.","message.floorplan.error":"Failed to load image.","modal.button.close":"close","modal.button.cancel":"Cancel","modal.button.save":"Save","modal.button.reject":"Cancel","modal.button.confirm":"Yes","modal.button.add":"Add","modal.button.continue":"Continue","tooltip.button.ok":"OK","tooltip.button.cancel":"Cancel","error.403.header":"403. Forbidden.","error.403.message1":"Here","error.403.message2":"is the right place to find your devices.","error.403.imgAlt":"Error 403","error.404.header":"Oops! 404. You're lost.","error.404.message1":"Here","error.404.message2":"is the right place to find your devices.","error.404.imgAlt":"Error 404","error.500.header":"Oops! 500. Something went wrong with our code.","error.500.message1":"Let us know","error.500.message2":"as we need to fix it.","error.500.message3":"But don't worry, you still have your devices working. You can check this out","error.500.message4":"HERE","error.500.imgAlt":"Error 500","error.unknown.header":"Oops! An unknown error has occurred.","error.unknown.message1":"Let us know","error.unknown.message2":"as we need to fix it.","error.unknown.imgAlt":"Unknown error","public.venue.list.header":"Your public locations","devices.search.label":"Filter devices:","venues.search.label":"Filter locations:","location.deployment.toggle.id":"Show device IDs","location.deployment.toggle.range":"Show range","location.deployment.dropdown.building":"Building","location.deployment.dropdown.floor":"Floor","location.deployment.noFloors":"You don't have any floor plans yet.","location.deployment.noFloors.add":"Add floor plan","location.deployment.filter":"You are using filtered devices view.","location.deployment.filter.exclude":"Exclude ids","location.deployment.proximity.filter":"Proximity","location.show":"Click to show location","location.show.map":"Click to show device on map","location.legend.gateways":"Gateways","location.legend.beacons":"Beacons","location.legend.battery.100":"Battery: 60-100%","location.legend.battery.59":"Battery: 20-59%","location.legend.battery.19":"Battery: 0-19%","location.legend.position":"Wrong position","location.legend.inRange":"Within Gateway range","search.hint":"Search","search.advanced.title":"Advanced search","search.start":"Start searching","search.clear":"Reset search","search.device.actions":"Choose action","search.list.firstPage":"Go to first page","search.list.nextPage":"Go to next page","search.list.previousPage":"Go to previous page","search.deviceType":"Devices","search.fields.default":"Everywhere","search.fields.none":"None","search.placeholder":"Enter device ID or alias","search.toggle.hidden":"Show detailed search","search.toggle.visible":"Hide detailed search","search.deviceType.BEACON":"Bluetooth Beacon","search.deviceType.CLOUD_BEACON":"Gateway list","search.fields.name":"Name","search.fields.category":"Category","search.fields.trackingId":"Tracking Id (Unique ID/MAC)","search.fields.alias":"Alias","search.fields.uniqueId":"ID","search.fields.majorFrom":"Major from","search.fields.majorTo":"Major to","search.fields.uuid":"UUID","search.fields.venue":"Location","search.fields.venueId":"Location","search.fields.venuesIds":"Location","search.fields.proximity":"UUID","search.fields.firmware":"Firmware","search.fields.major":"Major","search.fields.minor":"Minor","search.fields.namespace":"Namespace","search.fields.instanceId":"Instance Id","search.fields.manager":"Manager","search.fields.managerId":"Manager","search.fields.managersIds":"Manager","search.fields.orderId":"Order ID","search.fields.mac":"MAC Address","search.fields.description":"Description","search.fields.devicesCount":"Devices count","search.fields.tags":"Tags","search.fields.profiles":"Profile","search.fields.models":"Product","search.fields.firmwares":"Firmware","search.fields.batteryLevel":"Battery","search.fields.lastSeen":"Last seen","search.fields.types":"Product","search.range.IMMEDIATE":"Immediate","search.range.NEAR":"Near","search.range.FAR":"Far","search.range.default":"All","search.range.none":"None","search.advanced.from":"from","search.advanced.to":"to","search.advanced.major.placeholder":"MAJOR","search.advanced.major.msg.from":"Enter a natural number between 1 and 65535","
48search.advanced.major.msg.to":"Enter a natural number between 1 and 65535","search.advanced.minor.placeholder":"MINOR","search.advanced.minor.msg.from":"Enter a natural number between 1 and 65535","search.advanced.minor.msg.to":"Enter a natural number between 1 and 65535","search.advanced.txPower.placeholder":"TX POWER","search.advanced.txPower.msg.from":"Enter a natural number between 1 and 7","search.advanced.txPower.msg.to":"Enter a natural number between 1 and 7","search.advanced.interval.placeholder":"INTERVAL","search.advanced.interval.msg.from":"Enter a natural number between 20 and 10240","search.advanced.interval.msg.to":"Enter a natural number between 20 and 10240","search.advanced.actions.placeholder":"ACTIONS","search.advanced.actions.msg.from":"Enter a natural number between 1 and 9007199254740992","search.advanced.actions.msg.to":"Enter a natural number between 1 and 9007199254740992","search.advanced.proximity.placeholder":"UUID","search.advanced.proximity.msg":"Enter valid UUID","search.advanced.namespace.placeholder":"NAMESPACE","search.advanced.namespace.msg":"Enter valid namespace","search.advanced.instanceId.placeholder":"INSTANCE ID","search.advanced.instanceId.msg":"Enter valid Instance ID","search.advanced.url.placeholder":"URL","search.advanced.url.msg":"Enter valid URL","search.advanced.dataSendInterval.placeholder":"DATA SEND INTERVAL","search.advanced.dataSendInterval.msg.from":"Enter a natural number between 2 and 60","search.advanced.dataSendInterval.msg.to":"Enter a natural number between 2 and 60","search.advanced.wifiScanInterval.placeholder":"WIFI SCAN INTERVAL","search.advanced.wifiScanInterval.msg.from":"Enter a natural number between 1 and 30","search.advanced.wifiScanInterval.msg.to":"Enter a natural number between 1 and 30","search.advanced.filter.label":"Your filters","search.advanced.filter.reset":"Reset all","search.advanced.deviceType":"Device type","search.devices.noResults":"You don't have any devices yet.","search.items.noResults":"You don't have any items yet.","search.beacons.noResults":"No Beacons found.","search.cloudBeacons.noResults":"No Gateways found.","search.searchAgain":"Try again","search.venues.noVenues":"You don't have any locations yet","search.venues.noResult":"No locations found","table.header.cloudBeacons":"Gateway list","table.header.beacons":"Beacon list","table.header.device":"Device list","table.header.items":"Item list","table.header.profile":"Product","table.header.venues":"Location list","table.header.devices":"Devices","table.header.id":"Unique ID","table.header.id.short":"ID","table.header.lp":"No.","table.header.name":"Name","table.header.alias":"Alias","table.header.mac":"MAC","table.header.notes":"Notes","table.header.online":"Online","table.header.venue":"Location","table.header.venue.name":"Name","table.header.venue.description":"Description","table.header.venue.devicesCount":"Devices","table.header.venue.category":"Category","table.header.venue.type":"Type","table.header.venue.trackingId":"Tracking Id (Unique ID/MAC)","table.header.type":"Type","table.header.battery":"Battery","table.header.proximity":"UUID","table.header.deviceId":"Device ID","table.header.namespace":"Namespace","table.header.defaultSSIDName":"SSID","table.header.wifiScanInterval":"WiFi scan interval","table.header.dataSendInterval":"data send interval","table.header.major":"Major","table.header.instanceId":"Instance ID","table.header.minor":"Minor","table.header.txPower":"TX Power","table.header.interval":"Interval (ms)","table.header.url":"URL","table.header.actions":"Actions","table.header.firmware":"Firmware","table.header.tags":"Tags","table.header.edit":"Edit","table.header.prof":"Profile","table.header.locations":"Location list:","table.header.locations.goToVenues":"Go to locations","table.header.locations.devicesCount":"Devices assigned","table.header.locations.zones":"Zones","table.row.fmw":"FMW","table.row.sync":"SYNC","table.header.manager":"Manager","table.row.edit":"Manage device","table.row.notice.shuffled":"Shuffling is enabled","table.row.notice.config":"Pending configuration. Some properties need to be synchronized.","table.row.notice.firmware":"Firmware upgrade to %s available!","table.row.sync.firmware.upgradeMessage1":"Firmware upgrade to","table.row.sync.firmware.upgradeMessage2":"available!","table.row.sync.info":"This device is out of range. Some properties need to be synchronized. Mouse over the properties in brackets to
48see its current value.","table.row.sync.tooltip":"Current value:","table.row.battery":"%d%%","table.row.battery.tooltip":"Battery level %d%%","table.row.battery.tooltip.notsync":"Beacon not scanned yet. Battery level unavailable","table.row.battery.tooltip.sync":"Last connection: %s","table.row.profile.IBEACON":"iBeacon","table.row.profile.EDDYSTONE":"Eddystone","table.row.shares.shared":"You've shared this device","table.row.shares.sharedWithMe":"The device has been shared with you as %s","beacon.list.header":"Your devices","beacon.list.bulkManage":"Group manage","beacon.list.noBeacons":"There are no devices to manage","beacon.bulkManage.header":"Group manage","beacon.bulkManage.desc":"Change properties for the following devices:","beacon.bulkManage.toggle.showAdvanced":"Show advanced settings","beacon.bulkManage.toggle.showBasic":"Show basic settings","beacon.manage.warning.access":"You have no permission to edit this device. Contact with device owner.","beacon.manage.header":"Manage your Beacon","beacon.manage.deviceName":"Currently editing: %s","beacon.manage.data.header":"Beacon settings","beacon.manage.data.selectProfile_new":"Select a profile","beacon.manage.data.profile_new.ALL":"iBeacon, Eddystone","beacon.manage.data.profile_new.IBEACON":"iBeacon","beacon.manage.data.profile_new.EDDYSTONE":"Eddystone","beacon.manage.data.selectPreset":"Select a preset","beacon.manage.data.applyPreset":"Apply","beacon.manage.data.currentPreset":"current preset","beacon.manage.data.propertiesHeader":"Properties","beacon.manage.data.customPreset.name":"Manual setup (advanced mode)","beacon.manage.data.customPreset.label":"Manual setup","beacon.manage.data.name.label":"Device name","beacon.manage.data.name.description":"This option allows you to add your own device name. The configuration can be successfully applied with Gateway and active Infrastructure Management or the Kontakt.io Admin App.","beacon.manage.data.customPreset.description":"This option allows you to set your custom properties.","beacon.manage.data.sync.info":"This beacon is out of range. Some properties (in brackets) need to be synchronized. Mouse over the properties in brackets to see its current value.","beacon.manage.data.sync.tooltip":"Mouse over the properties in brackets to see the current value","beacon.manage.data.sync.currentVal":"Current value","beacon.manage.data.id.header":"Device ID","beacon.manage.data.profile_new.header":"Profile","beacon.manage.data.proximity.header":"UUID","beacon.manage.data.proximity.msg":"Enter valid UUID","beacon.manage.data.major.header":"Major","beacon.manage.data.major.msg":"Enter a number from 1 to 65535","beacon.manage.data.minor.header":"Minor","beacon.manage.data.minor.msg":"Enter a number from 1 to 65535","beacon.manage.data.txPower.header":"TX Power","beacon.manage.data.txPower.msg":"Enter a number from 1 to 7","beacon.manage.data.interval.header":"Interval","beacon.manage.data.interval.msg":"Enter a number from 20 to 10240","beacon.manage.data.name.header":"Name","beacon.manage.data.name.set":"Set name","beacon.manage.data.name.msg":"Name may contain from 1 up to 50 characters","beacon.manage.data.namespace.header":"Namespace","beacon.manage.data.namespace.set":"Set namespace","beacon.manage.data.namespace.msg":"Namespace should be a sequence of 20 characters: digits from 0 - 9 and letters from A to F","beacon.manage.data.instanceId.header":"InstanceId","beacon.manage.data.instanceId.set":"Set instanceId","beacon.manage.data.instanceId.msg":"InstanceID should be a sequence of 12 characters: digits from 0 -9 and letters from A to F","beacon.manage.data.url.header":"Url","beacon.manage.data.url.set":"Set url","beacon.manage.data.url.msg":"The URL should be a valid URL, not longer than 36 hex characters after encoding. Applicable only to Eddystone beacons.","beacon.manage.data.url.msgWithUrl":'The URL should be a valid URL, not longer than 36 hex characters after encoding. Applicable only to Eddystone beacons. <a href="https://github.com/google/eddystone/tree/master/eddystone-url" target="_blank">Learn More</a>.',"beacon.manage.data.url.info":"Learn more","beacon.manage.data.password.header":"Password","beacon.manage.data.mac.header":"MAC address","beacon.manage.data.battery.header":"Battery level","beacon.manage.data.notSynchronized":"Not synchronized","beacon.manage.data.model.header":"Device model","beacon.manage.data.firmware.header":"Firmware","beacon.manage.data.firmware.upgradeMessage1":"Upgrade to","beacon.manage.data.firmware.upgradeMessage2":"available!","beacon.manage.data.assign.header":"Assigned to","beacon.manage.data.assign.notAssigned1":"This device isn't assigned to any location.","beacon.manage.data.assign.notAssigned2":"Click here","beacon.manage.data.assign.notAssigned3":"to assign devices.","beacon.manage.data.lastEventTimestamp.header":"Last connection","beacon.manage.data.mixedDevicesType":null,"beacon.manage.action.header":"Actions","beacon.manage.action.add":"New action","beacon.manage.action.del":"delete","beacon.manage.action.header.type":"Action type","beacon.manage.action.header.content":"Content","beacon.manage.action.header.proximity":"Proximity trigger","beacon.manage.action.content.type":"Content action","beacon.manage.action.content.content":"Content type","beacon.manage.action.content.message.file":"Upload audio, video, gfx or data file","beacon.manage.action.url.type":"URL Request action","beacon.manage.action.url.content":"URL","beacon.manage.action.url.method":"Method","beacon.manage.action.browser.type":"Browser action","beacon.manage.action.browser.content":"URL","beacon.manage.status.deviceNotSynchronized":"This device is not synchronized.","beacon.manage.notes":"Notes:","beacon.manage.notes.placeholder":"Add notes","device.unassing.venue":"Remove from Location","device.unassign.venue.confirm":"Remove %d devices from location?","device.unassign.venue.notice":"None of the selected devices can be removed from location.","device.unassign.venue.success":"You have successfully removed devices from location","device.assign.venue.devices":"%d devices selected.","device.assign.manager":"Assign to Manager","device.assign.manager.title":"Assign selected devices to one of the following managers.","device.assign.manager.devices":"%d devices selected.","device.assign.manager.empty":"You have no managers to assign","device.assign.manager.success":'Device(s) assigned to <a href="%s">manager</a>',"device.assign.manager.confirm":"Assign devices to manager %s","device.assign.manager.device.access.exists":"Following devices are already shared with this manager: %s.","device.assign.manager.removed.notice":"According to access rules some devices were removed from selection: %s.","device.assign.manager.removed.notice.docs":'More information: <a target="_blank" href="http://developer.kontakt.io/rest-api/stable/overview/#shared-venues-and-devices-share-type">http://developer.kontakt.io/rest-api/stable/overview/#shared-venues-and-devices-share-type</a>',"device.bulk.manage":"Bulk edit","device.bulk.manage.deviceName":"Currently editing: %s devices","device.edit":"Edit device","device.edit.short":"Edit","device.remove.external":"Remove external device","device.show":"Show device","device.manage.CLOUD_BEACON.header":"Manage your cloud devices","device.manage.BEACON.header":"Manage your devices","device.manage.devices.header":"Manage your devices","device.manage.beacon.header":"Manage your devices","device.manage.cloud_beacon.header":"Manage your cloud devices","device.manage.data.beaconPropertiesHeader":"Beacon properties","device.manage.data.status":"Status","device.manage.data.wifiPropertiesHeader":"WiFi network properties","device.manage.data.header":"Cloud Beacon settings","device.manage.data.defaultSSIDName.header":"SSID name","device.manage.data.defaultSSIDName.msg":"SSID name may contain from 1 up to 31 characters","device.manage.data.defaultSSIDKey.header":"SSID key","device.manage.data.defaultSSIDKey.msg":"SSID key may contain from 1 up to 31 characters","device.manage.data.defaultSSIDAuth.header":"SSID auth","device.manage.data.defaultSSIDAuth.msg":"Auth: only NONE, WPA_PSK and WPA2_PSK values are allowed","device.manage.data.defaultSSIDCrypt.header":"SSID crypt","device.manage.data.defaultSSIDCrypt.msg":"Crypt: only NONE, TKIP and AES values are allowed","device.manage.data.wifiScanInterval.header":"WiFI scan interval","device.manage.data.wifiScanInterval.msg":"Enter a number from 1 to 30","device.manage.data.dataSe
48ndInterval.header":"Data send interval","device.manage.data.dataSendInterval.msg":"Enter a number from 2 to 60","device.manage.data.bleScanInterval.header":"BLE scan interval","device.manage.data.bleScanInterval.msg":"Enter a number from 0 to 86400","device.manage.data.bleScanDuration.header":"BLE scan duration","device.manage.data.bleScanDuration.msg":"Enter a number from 0 to 3600","device.manage.data.maintenance.header":"Maintenance window (UTC)","device.manage.data.maintenanceStart.header":"Maintenance start (UTC)","device.manage.data.maintenanceStart.msg":"Enter a valid maintenance start time (UTC - 24hour clock) in HH:mm format e.g 14:08","device.manage.data.maintenanceEnd.header":"Maintenance end (UTC)","device.manage.data.maintenanceEnd.msg":"Enter a valid maintenance end time (UTC - 24hour clock) in HH:mm format e.g 16:08","device.manage.data.maintenance.intervalMsg":"There should be at least 60 minutes between the maintenance start and maintenance end time","device.manage.data.maintenance.bothRequiredMsg":"Both maintenance start and maintenance end are required","device.manage.data.hashingPolicy.header":"Mac hashing","beacon.manage.data.hashingPolicy.msg":"Only NEVER and ALWAYS values are allowed","device.manage.data.maintenanceEnabled.header":"Enable maintenance","device.manage.data.maintenanceEnabled.msg":"Only true and false values are allowed","beacon.action.choose.header":"Choose action type","beacon.action.choose.select":"Select","beacon.action.choose.content.header":"Content","beacon.action.choose.content.content":"Upload audio, video, gfx or data files","beacon.action.choose.browser.header":"Browser","beacon.action.choose.browser.content":"Enter proper link","beacon.action.content.header":"Add content action","beacon.action.content.file.label":"File","beacon.action.content.proximity.label":"Proximity","beacon.action.url.header":"Add URL request action","beacon.action.url.url.label":"URL","beacon.action.url.method.label":"Request method","beacon.action.url.attributes.label":"Attributes","beacon.action.url.attributes.placeholder":"Separate arguments with","beacon.action.url.proximity.label":"Proximity","beacon.action.browser.header":"Add browser action","beacon.action.browser.url.label":"URL","beacon.action.browser.url.msg":"Enter valid URL","beacon.action.browser.proximity.label":"Proximity","beacon.action.delete.label":"Delete action","beacon.action.delete.header":"Delete the action?","beacon.action.delete.content":"Are you sure?","beacon.assign.header":"Assign devices","beacon.assign.assignTo":"Assign to a location","beacon.assign.noDevices":"You don't have any devices assigned yet","beacon.assign.noMoreDevices":"There are no more devices to assign","beacon.assign.noMoreBeacons":"There are no more Beacons to assign","beacon.assign.noMoreCloudBeacons":"There are no more Cloud Devices to assign","manager.list.header":"Managers supervised by","manager.list.devicesCount":"Devices","manager.list.button.add":"Add Manager","manager.list.button.delete":"Delete the manager","manager.list.button.edit":"Edit the manager","manager.list.name":"Manager name","manager.list.details.firstName":"First name","manager.list.details.lastName":"Last name","manager.list.details.role":"Role","manager.list.details.email":"Email","manager.list.details.amount":"Devices","manager.list.noManager":"You don't have any managers yet","manager.list.beacons.header":"devices managed by","manager.list.beacons.assign":"Assign to a manager","manager.add.header":"Add manager","manager.add.firstName.label":"First name","manager.add.firstName.msg":"It may contain from 2 up to 100 characters","manager.add.lastName.label":"Last name","manager.add.lastName.msg":"It may contain from 2 up to 100 characters","manager.add.email.label":"Email","manager.add.email.msg":"Enter valid email address","manager.add.role.label":"Role","manager.add.role.desc.admin":"ADMIN - can configure devices that have been assigned to them by SUPERUSER, they can also create new users with a role of OPERATOR. Your company can have multiple ADMIN managers.","manager.add.role.desc.operator":"OPERATOR - can configure devices that have been assigned to them. Your company can have multiple OPERATOR managers.","manager.edit.header":"Edit manager","manager.edit.firstName.label":"First Name","manager.edit.firstName.msg":"It may contain from 2 up to 100 characters","manager.edit.lastName.label":"Last Name","manager.edit.lastName.msg":"It may contain from 2 up to 100 characters","manager.edit.email.label":"Email","manager.edit.email.msg":"Enter valid email address","manager.edit.role.label":"Role","manager.edit.role.desc.admin":"ADMIN - can configure devices that have been assigned to them by SUPERUSER, they can also create new users with a role of OPERATOR. Your company can have multiple ADMIN managers.","manager.edit.role.desc.operator":"OPERATOR - can configure devices that have been assigned to them. Your company can have multiple OPERATOR managers.","manager.delete.header":"Delete the manager?","manager.delete.content":"Are you sure? If yes, all the locations and devices will be re-assigned to you.","account.header":"My account","account.password.oldLabel":"Old password","account.password.newLabel":"New password","account.password.saveButton":"Save","account.tabs.changePassword":"Change password","account.tabs.manageOrders":"Manage orders","devices.add":"Add devices","devices.add.description":"If you already bought devices, add them:","devices.buy":"Buy devices","devices.buy.description":"If you don't have any devices, buy some:","beacons.empty.account":"You don't have any beacons on your account","gateways.empty.account":"You don't have any gateways on your account","order.add.orderId":"Order ID:","order.add.enterOrderId":"Enter order ID","order.add.addDevices":"Add Devices","order.add.orderText":"Don't have order id yet? Buy devices","order.add":"Add order","order.add.summary":"Order summary","order.add.summary.success":"Devices have been added to your account.","order.add.devices.success":"%s has been added to your account.","order.add.summaryWithRegister.success":"Devices have been added to your account. You can now register them.","order.add.summary.details.label":"Order details:","order.add.count":"Devices in order:","order.add.seeDevices":"Go to devices","order.add.wrongOrderId":"Wrong order id","devices.add.success":'<p class="success"><strong>%d</strong> <a class="navigation-link" href="%s">devices</a> were successfully assigned to your account.</p>',"devices.add.error.400":'<p class="error">Enter correct order ID(s)</p>',"devices.add.error.422":'<p class="error">Enter correct order ID(s)</p>',"devices.add.error":'<p class="error">Something went wrong. This incident is logged and we are already notified about this problem.</p>',"remind.header":"Reset password","remind.username.label":"Email","remind.username.placeholder":"Email","remind.username.message":"Enter a valid email address","remind.contact.support":'No email? Contact our <a href="https://support.kontakt.io" target="_blank">Support Team</a>!',"remind.submit":"Reset","remind.back.to.signin.from":"Back to Sign in form","signin.header":"Sign in with email","signin.username.label":"Email","signin.username.placeholder":"Email","signin.username.message":"Enter a valid email address","signin.password.label":"Password","signin.password.placeholder":"Password","signin.password.submit":"Sign in","signin.password.remind":"Forgot password?","signin.password.message":"Password is required","signin.notRegistered":"Not registered?","signin.createAccount":"Create a free account.","signin.buttonText":"Sign in with","signin.legend.standard":"Standard sign-in","signin.legend.oauth":"Sign in with another account","register.header":"Create an account","register.firstName.label":"First name","register.firstName.placeholder":"First name","register.firstName.message":"First name is required","register.lastName.label":"Last name","register.lastName.placeholder":"Last name","register.lastName.message":"Last name is required","register.companyName.label":"Company name","register.companyName.placeholder":"Company name","register.companyName.message":"Company name may contain up to 200 characters","register.oin.label":"Order ID","register.oin.placeholder":"Order ID","register.oin.message":"Order ID has to be 6 characters long.","register.oin.help":"Order ID is the unique number that lets you add a device purchased from Kontakt.io to your account","register.email.label":"Email","register.email.placeholder":"Email","register.email.placeholderNotAvailable":"Email is not available","register.email.message":"Enter a valid email address","register.email.messageEmailNotAvailable":"We weren't able to retrieve your email address. Check your privacy settings.","register.password.label":"Password","register.password.placeholder":"Password","register.password.message":"Password is required","register.submit":"Create account","register.signIn":"Sign in.","register.alreadyRegistered":"Already have an account?","register.showPassword":"Show password","register.buttonText":"Register with","register.legend.standard":"Standard registration","register.legend.oauth":"Sign in/register with","modal.cloudBeaconWarning.title":"IMPORTANT","modal.cloudBeaconWarning.content1":"We've noticed that your Cloud Beacons are still running an older version of our firmware. Please update your device to version 2.0 so that it will automatically stay up to date and functional!","modal.cloudBeaconWarning.content2":"Read more on our blog!","modal.cloudBeaconWarning.OK":"OK","modal.cloudBeaconWarning.dontShowAgain":"Don't show it again","device.share.header":"Advanced sharing options","device.share.mac.label":"MAC address","device.share.access.label":"Access","device.share.access.helpWithLink":'<a href="http://developer.kontakt.io/rest-api/stable/overview/#shared-venues-and-devices-share-type" target="_blank">Learn more</a>',"device.share.access.help":'The managers you share with have only read access to the shared locations or devices and their actions. This is the only option available if you are sharing publicly. <
48a href="http://developer.kontakt.io/rest-api/stable/overview/#shared-venues-and-devices-share-type" target="_">Learn more</a>',"device.share.access.option.viewer.label":"Share with viewer permissions","device.share.access.option.editor.label":"Share with editor permissions","device.share.access.option.subordinate.label":"Change owner (Assign to subordinate)","device.share.access.option.owner.label":"Move to other company","device.share.managerMail.label":"Share with","device.share.managerMail.help":"?","device.share.expirationDate.label":"Expiration date","device.share.expirationDate.help":"?","device.share.expirationDate.forever.label":"Forever","device.share.list.label":"This device is shared with","device.share.list.managerMail.label":"Shared with","device.share.list.access.label":"Access level","device.share.unshare.label":"Unshare","device.share.reassignToMe.label":"Reassign to me","device.share.move.warning":"Once you've shared the device, you'll not be able to see it on your list of devices","device.devicesList.hide":"hide","device.devicesList.show":"show","device.devicesList.more":"more","device.presets.header":"Current configuration","device.presets.default.name":"Custom Settings","device.presets.default.description":"Manual setup (advanced mode)\nThis option allows you to set your custom properties.","device.properties.general.allowedValues":"from %d to %d","device.properties.header.basicPropertiesTabTitle":"Device Properties","device.properties.header.wifiPropertiesTabTitle":"WiFi Properties","device.properties.header.basicProperties":"Basic properties","device.properties.header.deviceCustomConfiguration":"Device Custom configuration","device.properties.header.additionalInformations":"Additional information","device.properties.header.wifiProperties":"Network properties","device.properties.header.ssidAuth":"SSID Auth","device.properties.header.ssidCrypt":"SSID Crypt","device.properties.header.maintenanceWindow.label":"Maintenance window","device.properties.header.maintenanceWindow.help":"Maintenance window specifies the time window when an OTA (Over The Air) firmware update can take place for the Cloud Beacon","device.properties.property.notes":"Alias:","device.properties.property.uniqueId.label":"Device ID","device.properties.property.uniqueId.help":"Device unique Id","device.properties.property.name.label":"Name","device.properties.property.name.help":"Name of your device","device.properties.property.tags.label":"Tags","device.properties.property.tags.help":"Your device tags","device.properties.property.proximity.label":"UUID","device.properties.property.proximity.help":"UUID of your device","device.properties.property.proximity.help.shuffled":"This cannot be configured because you have Kontakt.io Secure Shuffling turned on, which sets a default UUID or Namespace for you","device.properties.property.major.label":"Major","device.properties.property.major.allowedValues":"from 1 to 65535","device.properties.property.major.help":"Major of your device","device.properties.property.minor.label":"Minor","device.properties.property.minor.allowedValues":"from 1 to 65535","device.properties.property.minor.help":"Minor of your device","device.properties.property.preset.label":"Preset","device.properties.property.txPower.label":"TX Power","device.properties.property.txPower.allowedValues":"from 0 to 7","device.properties.property.txPower.help":"Transmission power","device.properties.property.interval.label":"Interval (ms)","device.properties.property.interval.allowedValues":"from 20 ms to 10240","device.properties.property.irBlinkInterval.label":"IR Blink Interval (ms)","device.properties.property.irBlinkInterval.allowedValues":"from 60 to 60000","device.properties.property.irRoomNumber.label":"Room Number","device.properties.property.irRoomNumber.allowedValues":"from 0 to 15","device.properties.property.occupancy-minInterval.label":"Min Probe Interval (s)","device.properties.property.occupancy-minInterval-dropdown.label":"Thermal sensor Occupancy taking Rate","device.properties.property.occupancy.minInterval.allowedValues":"from 1 to 65000","device.properties.property.occupancy-maxInterval.label":"Max Probe Interval (s)","device.properties.property.occupancy.maxInterval.allowedValues":"from 1 to 65000","device.properties.property.burstOn.label":"Advertising mode (sec)","device.properties.property.burstOn.allowedValues":"from 15 s to 65535","device.properties.property.burstOff.label":"Sleep mode (min)","device.properties.property.burstOff.allowedValues":"from 1 min to 10080","device.properties.property.interval.help":"Advertising interval","device.properties.property.model.label":"Product","device.properties.property.vendor.label":"Vendor","device.properties.property.battery.label":"Battery","device.properties.property.battery.19":"0 - 19%","device.properties.property.battery.39":"20 - 39%","device.properties.property.battery.59":"40 - 59%","device.properties.property.battery.79":"60 - 79%","device.properties.property.battery.100":"80 - 100%","device.properties.property.lastseen.24":"last 24h","device.properties.property.lastseen.1":"1-7 days","device.properties.property.lastseen.7":"7-14 days","device.properties.property.lastseen.14":"14-30 days","device.properties.property.lastseen.30":"30 days and more","device.properties.property.firmware.label":"Firmware","device.properties.property.firmware.upgrade.available.label":"Optional upgrade to <strong>%s</strong> available","device.properties.property.firmware.upgrade.pending.label":"Pending upgrade to <strong>%s</strong> available","device.properties.property.firmware.upgrade.warning1":'Kontakt.io Secure will protect your beacons from any malicious attacks, but upgrading your beacons will fundamentally change how configuring your beacons works. Make sure your app is ready for these changes before upgrading! <a href="http://kontakt.io/blog/beacon-security-tutorial/" target="_blank">Read more</a>.',"device.properties.property.firmware.upgrade.warning2":'Kontakt.io Secure is still a beta feature and you cannot disable Kontakt.io Secure once you enable it. <a href="http://kontakt.io/blog/beacon-security-tutorial/" target="_blank">Read more</a>. Are you sure you want to upgrade?',"device.properties.property.batteryLevel.label":"Battery Level","device.properties.property.batteryLevel.notSynchronized":"Not synchronized","device.properties.property.batteryLevel.help":"Lorem ipsum ...","device.properties.property.defaultSsidName.label":"SSID name","device.properties.property.defaultSSIDName.label":"SSID name","device.properties.property.defaultSsidName.help":"Network name","device.properties.property.defaultSSIDName.help":"Network name","device.properties.property.ssidKey.label":"SSID key","device.properties.property.defaultSSIDKey.label":"SSID key","device.properties.property.ssidKey.help":"Network password","device.properties.property.defaultSSIDKey.help":"Network password","device.properties.property.namespace.label":"Namespace","device.properties.property.namespace.help":"Namespace should be a sequence of 20 characters: digits from 0 - 9 and letters from A to F","device.properties.property.namespace.help.shuffled":"This cannot be configured because you have Kontakt.io Secure Shuffling turned on, which sets a default UUID or Namespace for you","device.properties.property.instanceId.label":"Instance Id","device.properties.property.instanceId.help":"InstanceID should be a sequence of 12 characters: digits from 0 -9 and letters from A to F","device.properties.property.url.label":"Url","device.properties.property.url.help":'The URL should be a valid URL, not longer than 36 hex characters after encoding. Applicable only to Eddystone beacons. <a href="https://github.com/google/eddystone/tree/master/eddystone-url" target="_blank">Learn More</a>.',"device.properties.property.url.error":"The URL should be a valid URL, not longer than 36 hex characters after encoding","device.properties.property.ssidAuth.none.label":"None","device.properties.property.ssidAuth.wpaPsk.label":"WPA PSK","device.properties.property.ssidAuth.wpa2Psk.label":"WPA2 PSK","device.properties.property.ssidCrypt.none.label":"None","device.properties.property.ssidCrypt.tkip.label":"TKIP","device.properties.property.ssidCrypt.aes.label":"AES","device.properties.property.wifiScanInterval.label":"WiFi scan interval (minutes)","device.properties.property.wifiScanInterval.allowedValues":"from from 1 to 30","device.properties.property.wifiScanInterval.help":"Interval between WiFi scans","device.properties.property.dataSendInterval.label":"Data send interval (minutes)","device.properties.property.dataSendInterval.allowedValues":"from from 1 to 30","device.properties.property.dataSendInterval.help":"Interval between Cloud Beacon to cloud updates","device.properties.property.bleScanInterval.label":"Bluetooth scan interval (s)","device.properties.property.bleScanInterval.allowedValues":"from from 1 to 30","device.properties.property.bleScanInterval.help":"Interval between devices scan","device.properties.property.bleScanDuration.label":"Bluetooth scan duration","device.properties.property.bleScanDuration.allowedValues":"","device.properties.property.bleScanDuration.help":"Duration of devices scan","device.properties.property.maintenanceStart.label":"From","device.properties.property.maintenanceStart.help":"Maintenance window start time hh:mm 24 hour clock default 23:00","device.properties.property.maintenanceEnd.label":"To","device.properties.property.maintenanceEnd.help":"Maintenance window end time hh:mm 24 hour clock default 00:00","device.properties.property.profile.label":"Profile","device.properties.property.profile.help":"iBeacon or Eddystone","device.properties.property.profile.values.eddystone.label":"Eddystone","device.properties.property.profile.values.ibeacon.label":"iBeacon","device.properties.property.powerSaver.values.off.label":"Off","device.properties.property.powerSaver.values.motion_detection.label":"On","device.properties.property.secureProximity.label":"Secure UUID","device.properties.property.secureNamespace.label":"Secure namespace","device.properties.property.rssi1m.label":"1m RSSI for txPower %d:","device.properties.property.disableButton.label":'Disable "power-off" function on long button press',"device.properties.property.applications.label":"Configuration","device.properties.property.applications.help":"Custom JSON","device.properties.property.wifiSsid.label":"Network name","device.properties.property.wifiSsid.help":"Network name","device.properties.property.wifiUserName.label":"Network Username","device.properties.property.wifiUserName.help":"Network Username","device.properties.property.wifiProtocol.label":"Network authentication","device.properties.property.wifiProtocol.help":"Network authentication","device.properties.property.wifiPassword.label":"Network password","device.properties.property.wifiPassword.help":"Network password","device.properties.property.type.GATEWAY":"Gateway GW16-2","device.properties.property.type.PORTAL_LIGHT":"Portal Light","device.properties.property.type.EXTERNAL":"External device","device.properties.property.type.CLOUD_BEACON":"Gateway GW14-1","device.powerSaving.header.tabTitle":"Power saving","device.powerSaving.header.setupPowerSaving":"Setup power saving mode","device.powerSaving.header.powerSaving":"Power saving mode","device.powerSaving.day.mon":"Monday","device.powerSaving.day.tue":"Tuesday","device.powerSaving.day.wed":"Wednesday","device.powerSaving.day.thu":"Thursday","device.powerSaving.day.fri":"Friday","device.powerSaving.day.sat":"Saturday","device.powerSaving.day.sun":"Sunday","device.powerSaving.energySaverFrom":"From","device.powerSaving.energySaverTo":"To","device.cloud.beacon.warning":"This feature requires a Cloud Beacon assigned to your account","device.security.header.securitySettings":"Security settings","device.security.header.hashingPolicy":"MAC hashing","device.security.header.futureIds":"Future IDs","device.security.header.advancedSettings":"Advanced properties","device.shuffling.header.tabTitle":"Security","device.shuffling.header.setupSecuritySettings":"Set up Kontakt.io Secure Shuffling","device.shuffling.header.securitySettings":"Kontakt.io Secure","device.shuffling.header.futureIds":"Future Beacon shuffled IDs","device.shuffling.header.advancedSettings":"Advanced properties","device.shuffling.futureIds.warning":"Itâs possible for your beaconâs shuffling algorithm to become desynchronized with the Cloud API. This will usually only occur if a beaconâs battery is not connected or has died. If this happens, the Cloud API will always resolve a beaconâs shuffled identifier into the original values. You may find that having the next value stored to a local cache it is not enough to be 100% sure that a shuffled beacon will be resolvable. If you wish to resynchronize your beaconâs shuffling with the Cloud API, you will need to disable shuffling, connect to the beacon to turn shuffling off, and then turn it back on.","device.shuffling.properties.minor":"Minor","device.shuffling.properties.major":"Major","device.shuffling.property.secureProximity.label":"Secure UUID for iBeacon devices","device.shuffling.property.secureNamespace.label":"Secure Namespace for Eddystone devices","device.shuffling.turn.on.note":"Once you turn this feature on and apply this config to a beacon, it will get a new UUID and will start broadcasting randomly generated Major and Minor values. Please make sure that your infrastru
48cture is ready for this before enabling this feature on your beacon.","device.sharing.header.tabTitle":"Sharing","device.sharing.header.advancedSharingOptions":"Advanced sharing options","device.sharing.header.assignDeviceToVenue":"Assign device to location","device.sharing.header.assignVenueToPerson":"Assign device to person","device.sharing.input.type.label":"Type","device.sharing.input.type.help":"Lorem ipsum ...","device.sharing.input.shareWith.label":"Share with","device.sharing.input.shareWith.help":"Manager's email address","device.sharing.input.expirationDate.label":"Expiration date","device.sharing.input.expirationDate.help":'The device will be "unshared" when the date is reached',"device.sharing.input.venue.label.assign":"Location","device.sharing.input.venue.label.reassign":"Reassign to a different location","device.sharing.input.venue.help":"Lorem ipsum ...","device.sharing.input.manager.label.assign":"Manager","device.sharing.input.manager.label.reassign":"Reassign to a different manager","device.sharing.input.manager.help":"Lorem ipsum ...","device.sharing.deviceIsAssignedTo":"This device is assigned to","device.sharing.deviceIsNotAssignedToAnyVenue":"This device is not assigned to any location.","device.sharing.chooseVenueFromList":"Choose a location from the list","device.sharing.deviceIsNotAssignedToAnyPerson":"This device is not assigned to any person.","device.sharing.choosePersonFromList":"Choose a person from the list","device.updated.message":"Device has been updated successfully","device.shared.message":"Device has been shared successfully","device.unshared.message":"Device has been unshared successfully","device.assigned.message":"Device has been assigned successfully","device.unassigned.message":"Device has been unassigned successfully","device.moved.message":"Device has been moved successfully","validation.range":"The %s should be number between %s and %s","validation.length.both":"The %s should be between %s and %s characters","validation.length.min":"The %s must be at least %s characters","validation.length.max":"The %s may not be greater than %s characters","validation.regexp":"The %s format is invalid","validation.required":"The %s field is required","validation.email":"The %s must be a valid email address","validation.greaterThan":"The %s should be greater than %s","validation.greaterThanOrEqual":"The %s should be greater than or equal %s","validation.lessThan":"The %s should be lower than %s","validation.lessThanOrEqual":"The %s should be lower than or equal %s","breadcrumb.home.label":"Kontakt.io","file.size.limit":"Maximum file size is %.1f MB","file.size.limit.exceeded":"File is too large","device.editor.cloudBeacon.noConfig":"Cloud Beacon configuration may be changed only via API.","device.editor.deviceInformationHeader":"Device information","device.editor.generalSettingsHeader":"General settings","device.editor.profilesHeader":"Device packets","device.editor.tabs.general":"General","device.editor.tabs.sensors":"Sensors","device.editor.tabs.commands":"Commands","device.editor.tabs.wifi":"Wifi properties","device.editor.tabs.power-saving":"Power saving","device.editor.tabs.card-power-saving":"Power saving","device.editor.tabs.beacon-pro-power-saving":"Power saving","device.editor.tabs.tag-beacon-power-saving":"Power saving","device.editor.tabs.security":"Security","device.editor.tabs.sharing":"Sharing","device.editor.tabs.shuffling":"Security","device.editor.tabs.edit-item":"Item","device.editor.tabs.create-item":"Item","device.editor.packets.KONTAKT.info":"Disabling Kontakt packet will make your device unable to be configured. If you want to apply configuration on your device after disabling Kontakt packet, press the button to temporarily enable it (for 60 seconds).","device.editor.packets.KONTAKT.infoDisabled":"Kontakt packet is always enabled.","device.editor.packets.TELEMETRY.info":"Turn on the Kontakt.io Telemetry Packet to transmit movement, double tap and free fall event data via the beacon. The packet can be transmitted in sequence with other profiles including iBeacon and/or Eddystone packets. Please remember that enabling the telemetry packet accelerates the speed of battery usage.","device.editor.packets.KONTAKT.switchLabel":"Kontakt packet","device.editor.packets.BUTTON.switchLabel":"iBeacon Button","device.editor.packets.TELEMETRY.switchLabel":"Telemetry","device.editor.packets.LOCATION.switchLabel":"Location","device.editor.packets.TT_FRAME.switchLabel":"TT Frame","device.editor.packets.IBEACON.switchLabel":"iBeacon","device.editor.packets.EDDYSTONE_UID.switchLabel":"Eddystone UID","device.editor.packets.EDDYSTONE_URL.switchLabel":"Eddystone URL","device.editor.packets.EDDYSTONE_TLM.switchLabel":"Eddystone TLM","device.editor.packets.EID.switchLabel":"Eddystone EID","device.editor.packets.ETLM.switchLabel":"Eddystone Encrypted TLM","device.editor.firmware.optionalUpdateScheduleLabel":"Update","device.editor.firmware.optionalUpdateUnscheduleLabel":"Abort","device.editor.mainHeader":"Currently editing:","device.validation.packets":"At least one packet is required","device.editor.shareAccess.
48VIEWER.label":"Shared with viewer permissions","device.editor.shareAccess.EDITOR.label":"Shared with editor permissions","device.editor.shareAccess.SUBORDINATE.label":"Assigned to subordinate","device.noDevicesToAssign":"It looks like all your devices are already assigned to other Location(s). In order to reassign them to this Location, either remove them from other Locations or add new devices to your account.","sidebar.title.launchpad":"Launchpad","sidebar.label.launchpad":"Launchpad","sidebar.title.dashboard":"Dashboard","sidebar.label.dashboard":"Dashboard","sidebar.title.smartLocationElement":"Smart Location","sidebar.label.smartLocationElement":"Smart Location","sidebar.title.locationsList":"Locations List","sidebar.label.locationsList":"Locations List","sidebar.title.zonesList":"Zones List","sidebar.label.zonesList":"Zones List","sidebar.title.policyFoundry":"Policy Foundry","sidebar.label.policyFoundry":"Policy Foundry","sidebar.title.policyFoundryList":"Policies","sidebar.label.policyFoundryList":"Policies","sidebar.title.policyFoundryLog":"Activity Log","sidebar.label.policyFoundryLog":"Activity Log","sidebar.title.notificationsSettings":"Templates","sidebar.label.notificationsSettings":"Templates","sidebar.title.notificationsSettingsStreams":"Streams","sidebar.label.notificationsSettingsStreams":"Streams","sidebar.title.notificationsSettingsEmails":"Emails","sidebar.label.notificationsSettingsEmails":"Emails","sidebar.title.notificationsSettingsTextMessages":"Text Messages","sidebar.label.notificationsSettingsTextMessages":"Text Messages","sidebar.title.locationElement":"Locations","sidebar.label.locationElement":"Locations","sidebar.title.recent":"Recently visited:","sidebar.label.recent":"Recently visited:","sidebar.title.locations":"Location list","sidebar.label.locations":"Location list","sidebar.title.beaconsElement":"Beacons","sidebar.label.beaconsElement":"Beacons","sidebar.title.monitoring":"Overview","sidebar.label.monitoring":"Overview","sidebar.title.beacons":"Beacons","sidebar.label.beacons":"Beacons","sidebar.title.items":"Item list","sidebar.label.items":"Item list","sidebar.title.alertsElement":"Alerts","sidebar.label.alertsElement":"Alerts","sidebar.title.alerts":"Alert settings","sidebar.label.alerts":"Alert settings","sidebar.title.notifications":"Notification list","sidebar.label.notifications":"Notification list","sidebar.title.gatewaysElement":"Gateways","sidebar.label.gatewaysElement":"Gateways","sidebar.title.externalProviders":"External providers","sidebar.label.externalProviders":"External providers","sidebar.title.gatewaysLocation":"Overview","sidebar.label.gatewaysLocation":"Overview","sidebar.title.gateways":"Gateways","sidebar.label.gateways":"Gateways","sidebar.title.triggersElement":"Triggers","sidebar.label.triggersElement":"Triggers","sidebar.title.triggers":"Your triggers list","sidebar.label.triggers":"Triggers","sidebar.title.actions":"Actions","sidebar.label.actions":"Actions","sidebar.title.account":"Account","sidebar.label.account":"Account","sidebar.title.users":"Users","sidebar.label.users":"Users","sidebar.title.account-overview":"Security","sidebar.label.account-overview":"Security","sidebar.title.account-billing":"Billing address","sidebar.label.account-billing":"Billing address","sidebar.title.subscriptions":"Subscriptions","sidebar.label.subscriptions":"Subscriptions","sidebar.title.devices":"Device Management","sidebar.label.devices":"Device Management","sidebar.title.addOrder":"Add Devices","sidebar.label.addOrder":"Add Devices","sidebar.title.ivPump":"Iv Pump","sidebar.label.ivPump":"Iv Pump","sidebar.title.par":"PAR","sidebar.label.par":"PAR","account.overview":"Your account","account.overview.tab.subscriptions":"Subscriptions","account.overview.tab.account":"Account","account.overview.tab.address":"Address","account.change.oldPassword":"Old password","account.change.newPassword":"New password","account.change.newPasswordRepeat":"New password repeat","account.change.password":"Change password","account.change.password.success":"Your password has been changed successfully!","users.list.editButton":"Edit","users.list.editButton.tooltip":"Edit user","users.list.deleteButton.tooltip":"Delete user","vendor.accessControllerAddress":"Access controller URL address","vendor.developerKey":"Developer key","vendor.developerSecret":"Developer secret","vendor.deviceMacAddress":"Add device MAC address","vendor.apiKey":"Api Key","vendor.validator":"Validator","vendor.secret":"Secret","gdpr.informationClause":'I hereby declare that I have familiarized myself with <a href="https://kontakt.io/privacy-policy/" target="_blank" class="link-button primary" style="display: inline">Kontakt.ioâs Privacy Policy</a> and <a href="%s" class="link-button primary" target="_blank">Kontakt.ioâs Information Clause</a>. I give consent to my personal data processing and storage by Kontakt.io for current and future purposes of creation of a new account and to be contacted by phone or email. I understand that I have the right to withdraw my consent at any time.',"gdpr.technicalUpdatesClause":'Yes, I agree to be notified about <a href="%s" class="link-button primary" target="_blank" style="display: inline">important updates</a> on products Iâm using, including bugs, hotfixes, subscription and feature updates, maintenance issues, and information related to product delivery. I understand I have the right to withdraw my consent at any time.',"gdpr.marketingPurposesClause":'Yes, I want to re
48ceive a <a href="%s" class="link-button primary" target="_blank" style="display: inline">monthly newsletter</a> and occasional emails about new products, special offers, and selected, personalized content. I understand I have the right to withdraw my consent completely or for specific types of emails at any time.',"kioApps.ivPump":"IV Pump Manager","kioApps.assetTracking":"Asset Tracker","kioApps.workspaceInsights":"Workspace Insights","kioApps.staffSafe":"Staff Safe Emergency Call","kioApps.handHygiene":"Hand Hygiene","kioApps.staffFlow":"Staff Workflow Analytics","kioApps.deviceManagement":"Device Management"};class I18n{get(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 n.length>0?sprintf_1(messages[e],...n):messages[e]}getGroup(e){return _$1.pick(messages,(t,n)=>startsWith(n,e))||{}}}const i18n=new I18n,state$6=()=>({urlPath:"",isMenuOpened:!1,isMenuHidenByUser:!1,isMenuIconHidden:!0,initials:"",route:"",currentLeftNavigation:[]}),getters$6={appName:e=>{const t=e.urlPath.split("/");if(t.length>0)switch(t[1]){case"policyFoundry":case"notificationsSettings":return i18n.get("sidebar.label.policyFoundry");case"order":case"beacons":case"gateways":return i18n.get("sidebar.label.devices");case"account":case"accounts":return i18n.get("sidebar.label.users");case"launchpad":return i18n.get("sidebar.label.launchpad");default:return""}}},actions$7={handleUrlPathChange(e,t){let{commit:n}=e;n("setUrlPath",t)},handleUserInitialsChange(e,t){let{commit:n}=e;n("setInitials",t)},setRoute(e,t){let{commit:n}=e;n("setRoute",t)},HandleLeftMenuState(e,t){let{commit:n}=e;n("setLeftMenuState",t)},HandleMenuIconState(e,t){let{commit:n}=e;n("setMenuIconState",t)},HandleMenuHidenByUser(e,t){let{commit:n}=e;n("setMenuHidenByUserState",t)},HandleCurrentLeftNavigation(e,t){let{commit:n}=e;n("setCurrentLeftNavigation",t)}},mutations$6={setUrlPath(e,t){e.urlPath=t},setInitials(e,t){e.initials=t||"?"},setRoute(e,t){e.route=t},setLeftMenuState(e,t){e.isMenuOpened=t},setMenuIconState(e,t){e.isMenuIconHidden=t},setMenuHidenByUserState(e,t){e.isMenuHidenByUser=t},setCurrentLeftNavigation(e,t){e.currentLeftNavigation=[...t]}};var globalOptions={namespaced:!0,state:state$6,actions:actions$7,mutations:mutations$6,getters:getters$6};Vue.use(index$2);var store=new index$2.Store({modules:{actions:actions$1,beacons:beacons,conditions:conditions,constants:constants,locations:locations,policies:policies,globalOptions:globalOptions}});class Logger{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"initial";"string"==typeof e?this.service=e:e&&(this.service=e.constructor.name),this.color=t}log(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i]}prefixed(e,t){t="[".concat(e,"]").concat(t);for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];this.log.apply(this,[t].concat(i))}}class PageTrackingService{constructor(){}start(){}pushView(e){}pathMapping(){return Promise.resolve()}sendEvent(){}sendBackendEvent(){}pushEvent(){}}const pageTrackingService=new PageTrackingService;var validator=createCommonjsModule((function(e){ 49/*! 50 * @@name 51 * @@author 52 * Version @@version - built @@timestamp 53 * @@license Licensed 54 * 55 */ 56!function(){var t={},n=function(e){this.__class__="Validator",this.__version__="@@version",this.options=e||{},this.bindingKey=this.options.bindingKey||"_validatorjsConstraint"};n.prototype={constructor:n,validate:function(e,t,n){if("string"!=typeof e&&"object"!=typeof e)throw new Error("You must validate an object or a string");return"string"==typeof e||s(e)?this._validateString(e,t,n):this.isBinded(e)?this._validateBindedObject(e,t):this._validateObject(e,t,n)}
56,bind:function(e,t){if("object"!=typeof e)throw new Error("Must bind a Constraint to an object");return e[this.bindingKey]=new i(t),this},unbind:function(e){return void 0===e._validatorjsConstraint||delete e[this.bindingKey],this},isBinded:function(e){return void 0!==e[this.bindingKey]},getBinded:function(e){return this.isBinded(e)?e[this.bindingKey]:null},_validateString:function(e,t,n){var i,r=[];s(t)||(t=[t]);for(var a=0;a<t.length;a++){if(!(t[a]instanceof o))throw new Error("You must give an Assert or an Asserts array to validate a string");!0!==(i=t[a].check(e,n))&&r.push(i)}return!r.length||r},_validateObject:function(e,t,n){if("object"!=typeof t)throw new Error("You must give a constraint to validate an object");return t instanceof o||t instanceof i?t.check(e,n):new i(t).check(e,n)},_validateBindedObject:function(e,t){return e[this.bindingKey].check(e,t)}},n.errorCode={must_be_a_string:"must_be_a_string",must_be_an_array:"must_be_an_array",must_be_a_number:"must_be_a_number",must_be_a_string_or_array:"must_be_a_string_or_array"};var i=function(e,t){if(this.__class__="Constraint",this.options=t||{},this.nodes={},e)try{this._bootstrap(e)}catch(t){throw new Error("Should give a valid mapping object to Constraint",t,e)}};i.prototype={constructor:i,isRequired:function(e,t,n){for(var r=this.get(e),o=s(r)?r:[r],a=o.length-1;a>=0;a--){if("Required"===(r=o[a]).__class__&&o[a].requiresValidation(t))return!0;if(n&&("Collection"===r.__class__&&(r=r.constraint),r instanceof i))for(var c in r.options.deepRequired=n,r.nodes)if(r.isRequired(c,t,n))return!0}return!1},check:function(e,t){var n,i={};for(var r in this.nodes){var c=this.isRequired(r,t,this.options.deepRequired);if(this.has(r,e)||this.options.strict||c)try{this.has(r,this.options.strict||c?e:void 0)||(new o).HaveProperty(r).validate(e),n=this._check(r,e[r],t),(s(n)&&n.length>0||!s(n)&&!a(n))&&(i[r]=n)}catch(e){i[r]=e}}return!!a(i)||i},add:function(e,t){if(t instanceof o||s(t)&&t[0]instanceof o)return this.nodes[e]=t,this;if("object"==typeof t&&!s(t))return this.nodes[e]=t instanceof i?t:new i(t,this.options),this;throw new Error("Should give an Assert, an Asserts array, a Constraint",t)},has:function(e,t){return void 0!==(t=void 0!==t?t:this.nodes)[e]},get:function(e,t){return this.has(e)?this.nodes[e]:t||null},remove:function(e){var t=[];for(var n in this.nodes)n!==e&&(t[n]=this.nodes[n]);return this.nodes=t,this},_bootstrap:function(e){if(e instanceof i)return this.nodes=e.nodes;for(var t in e)this.add(t,e[t])},_check:function(e,t,n){if(this.nodes[e]instanceof o)return this._checkAsserts(t,[this.nodes[e]],n);if(s(this.nodes[e]))return this._checkAsserts(t,this.nodes[e],n);if(this.nodes[e]instanceof i)return this.nodes[e].check(t,n);throw new Error("Invalid node",this.nodes[e])},_checkAsserts:function(e,t,n){for(var i,r=[],o=0;o<t.length;o++)void 0!==(i=t[o].check(e,n))&&!0!==i&&r.push(i);return r}};var r=function(e,t,n){if(this.__class__="Violation",!(e instanceof o))throw new Error("Should give an assertion implementing the Assert interface");this.assert=e,this.value=t,void 0!==n&&(this.violation=n)};r.prototype={show:function(){var e={assert:this.assert.__class__,value:this.value};return this.violation&&(e.violation=this.violation),e},__toString:function(){return void 0!==this.violation&&(this.violation='", '+this.getViolation().constraint+" expected was "+this.getViolation().expected),this.assert.__class__+' assert failed for "'+this.value+this.violation||""},getViolation:function(){var e,t;for(e in this.violation)t=this.violation[e];return{constraint:e,expected:t}}};var o=function(e){this.__class__="Assert",this.__parentClass__=this.__class__,this.groups=[],void 0!==e&&this.addGroup(e)};o.extend=function(e){if("object"!=typeof e)throw new Error("Invalid parameter: `asserts` should be an object");if(0===Object.keys(e).length)throw new Error("Invalid parameter: `asserts` should have at least one property");function t(){o.apply(this,arguments)}for(var n in t.prototype=Object.create(o.prototype),t.prototype.constructor=t,e){if("function"!=typeof e[n])throw new Error("The extension assert must be a function");t.prototype[n]=e[n]}return t},o.prototype={construct:o,requiresValidation:function(e){return!(e&&!this.hasGroup(e))&&!(!e&&this.hasGroups())},check:function(e,t){if(!this.requiresValidation(t))return!0;try{return this.validate(e,t)}catch(e){return e}},hasGroup:function(e){return s(e)?this.hasOneOf(e):"Any"===e||(this.hasGroups()?-1!==this.groups.indexOf(e):"Default"===e)},hasOneOf:function(e){for(var t=0;t<e.length;t++)if(this.hasGroup(e[t]))return!0;return!1},hasGroups:function(){return this.groups.length>0},addGroup:function(e){return s(e)?this.addGroups(e):(this.hasGroup(e)||this.groups.push(e),this)},removeGroup:function(e){for(var t=[],n=0;n<this.groups.length;n++)e!==this.groups[n]&&t.push(this.groups[n]);return this.groups=t,this},addGroups:function(e){for(var t=0;t<e.length;t++)this.addGroup(e[t]);return this},HaveProperty:function(e){return this.__class__="HaveProperty",this.node=e,this.validate=function(e){if(void 0===e[this.node])throw new r(this,e,{value:this.node});return!0},this},Blank:function(){return this.__class__="Blank",this.validate=function(e){if("string"!=typeof e)throw new r(this,e,{value:n.errorCode.must_be_a_string});if(""!==e.replace(/^\s+/g,"").replace(/\s+$/g,""))throw new r(this,e);return!0},this},Callback:function(e){if(this.__class__="Callback",this.arguments=Array.prototype.slice.call(arguments),1===this.arguments.length?this.arguments=[]:this.arguments.splice(0,1),"function"!=typeof e)throw new Error("Callback must be instanciated with a function");return this.fn=e,this.validate=function(e){var t;
56try{t=this.fn.apply(this,[e].concat(this.arguments))}catch(t){throw new r(this,e,{error:t})}if(!0!==t)throw new r(this,e,{result:t});return!0},this},Choice:function(e){if(this.__class__="Choice",!s(e)&&"function"!=typeof e)throw new Error("Choice must be instanciated with an array or a function");return this.list=e,this.validate=function(e){for(var t="function"==typeof this.list?this.list():this.list,n=0;n<t.length;n++)if(e===t[n])return!0;throw new r(this,e,{choices:t})},this},Collection:function(e){return this.__class__="Collection",this.constraint=void 0!==e&&(e instanceof o?e:new i(e)),this.validate=function(e,t){var i,o=new n,c=0,l={},d=this.groups.length?this.groups:t;if(!s(e))throw new r(this,e,{value:n.errorCode.must_be_an_array});for(var u=0;u<e.length;u++)i=this.constraint?o.validate(e[u],this.constraint,d):o.validate(e[u],d),a(i)||(l[c]=i),c++;return!!a(l)||l},this},Count:function(e){return this.__class__="Count",this.count=e,this.validate=function(e){if(!s(e))throw new r(this,e,{value:n.errorCode.must_be_an_array});var t="function"==typeof this.count?this.count(e):this.count;if(isNaN(Number(t)))throw new Error("Count must be a valid interger",t);if(t!==e.length)throw new r(this,e,{count:t});return!0},this},Email:function(){return this.__class__="Email",this.validate=function(e){if("string"!=typeof e)throw new r(this,e,{value:n.errorCode.must_be_a_string});if(!/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(e))throw new r(this,e);return!0},this},EqualTo:function(e){if(this.__class__="EqualTo",void 0===e)throw new Error("EqualTo must be instanciated with a value or a function");return this.reference=e,this.validate=function(e){var t="function"==typeof this.reference?this.reference(e):this.reference;if(t!==e)throw new r(this,e,{value:t});return!0},this},GreaterThan:function(e){if(this.__class__="GreaterThan",void 0===e)throw new Error("Should give a threshold value");return this.threshold=e,this.validate=function(e){if(""===e||isNaN(Number(e)))throw new r(this,e,{value:n.errorCode.must_be_a_number});if(this.threshold>=e)throw new r(this,e,{threshold:this.threshold});return!0},this},GreaterThanOrEqual:function(e){if(this.__class__="GreaterThanOrEqual",void 0===e)throw new Error("Should give a threshold value");return this.threshold=e,this.validate=function(e){if(""===e||isNaN(Number(e)))throw new r(this,e,{value:n.errorCode.must_be_a_number});if(this.threshold>e)throw new r(this,e,{threshold:this.threshold});return!0},this},InstanceOf:function(e){if(this.__class__="InstanceOf",void 0===e)throw new Error("InstanceOf must be instanciated with a value");return this.classRef=e,this.validate=function(e){if(!0!=e instanceof this.classRef)throw new r(this,e,{classRef:this.classRef});return!0},this},IsString:function(){return this.__class__="IsString",this.validate=function(e){if(!c(e))throw new r(this,e,{value:n.errorCode.must_be_a_string});return!0},this},Length:function(e){if(this.__class__="Length",!e.min&&!e.max)throw new Error("Length assert must be instanciated with a { min: x, max: y } object");return this.min=parseInt(e.min),this.max=parseInt(e.max),this.validate=function(e){if("string"!=typeof e&&!s(e))throw new r(this,e,{value:n.errorCode.must_be_a_string_or_array});if(void 0!==this.min&&this.min===this.max&&e.length!==this.min)throw new r(this,e,{min:this.min,max:this.max});if(void 0!==this.max&&e.length>this.max)throw new r(this,e,{max:this.max});if(void 0!==this.min&&e.length<this.min)throw new r(this,e,{min:this.min});return!0},this},LessThan:function(e){if(this.__class__="LessThan",void 0===e)throw new Error("Should give a threshold value");return this.threshold=e,this.validate=function(e){if(""===e||isNaN(Number(e)))throw new r(this,e,{value:n.errorCode.must_be_a_number});if(this.threshold<=e)throw new r(this,e,{threshold:this.threshold});return!0},this},LessThanOrEqual:function(e){if(this.__class__="LessThanOrEqual",void 0===e)throw new Error("Should give a threshold value");return this.threshold=e,this.validate=function(e){if(""===e||isNaN(Number(e)))throw new r(this,e,{value:n.errorCode.must_be_a_number});if(this.threshold<e)throw new r(this,e,{threshold:this.threshold});return!0},this},NotNull:function(){return this.__class__="NotNull",this.validate=function(e){if(null==e)throw new r(this,e);return!0},this},NotBlank:function(){return this.__class__="NotBlank",this.validate=function(e){if("string"!=typeof e)throw new r(this,e,{value:n.errorCode.must_be_a_string});if(""===e.replace(/^\s+/g,"").replace(/\s+$/g,""))throw new r(this,e);return!0},this},NotEqualTo:function(e){if(this.__class__="NotEqualTo",void 0===e)throw new Error("NotEqualTo must be instanciated with a value or a function");return this.reference=e,this.validate=function(e){var t="function"==typeof this.reference?this.reference(e):this.reference;if(t===e)throw new r(this,e,{value:t});return!0},this},Null:function(){return this.__class__="Null",this.validate=function(e){if(null!==e)throw new r(this,e);return!0},this},Range:function(e,t){if(this.__class__="Range",void 0===e||void 0===t)throw new Error("Range assert expects min and max values");return this.min=e,this.max=t,this.validate=function(e){try{return"string"==typeof e&&isNaN(Number(e))||s(e)?(new o).Length({min:this.min,max:this.max}).validate(e):(new o).GreaterThanOrEqual(this.min).validate(e)&&(new o).LessThanOrEqual(this.max).validate(e),!0}catch(t){throw new r(this,e,t.violation)}return!0},this},Regexp:function(e,t){if(this.__class__="Regexp",void 0===e)throw new Error("You must give a regexp");return this.regexp=e,this.flag=t,this.validate=function(e){if("string"!=typeof e)throw new r(this,e,{value:n.errorCode.must_be_a_string});if(!new RegExp(this.regexp,this.flag).test(e))throw new r(this,e,{regexp:this.regexp,flag:this.flag});return!0},this},Required:function(){return this.__class__="Required",this.validate=function(e){if(void 0===e)throw new r(this,e);
56try{"string"==typeof e?(new o).NotNull().validate(e)&&(new o).NotBlank().validate(e):!0===s(e)&&(new o).Length({min:1}).validate(e)}catch(t){throw new r(this,e)}return!0},this},Unique:function(e){return this.__class__="Unique","object"==typeof e&&(this.key=e.key),this.validate=function(e){var t,i=[];if(!s(e))throw new r(this,e,{value:n.errorCode.must_be_an_array});for(var o=0;o<e.length;o++)if(void 0!==(t="object"==typeof e[o]?e[o][this.key]:e[o])){if(-1!==i.indexOf(t))throw new r(this,e,{value:t});i.push(t)}return!0},this}},t.Assert=o,t.Validator=n,t.Violation=r,t.Constraint=i,Array.prototype.indexOf||(Array.prototype.indexOf=function(e){if(null===this)throw new TypeError;var t=Object(this),n=t.length>>>0;if(0===n)return-1;var i=0;if(arguments.length>1&&((i=Number(arguments[1]))!=i?i=0:0!==i&&i!=1/0&&i!=-1/0&&(i=(i>0||-1)*Math.floor(Math.abs(i)))),i>=n)return-1;for(var r=i>=0?i:Math.max(n-Math.abs(i),0);r<n;r++)if(r in t&&t[r]===e)return r;return-1});var a=function(e){for(var t in e)return!1;return!0},s=function(e){return"[object Array]"===Object.prototype.toString.call(e)},c=function(e){return"[object String]"===Object.prototype.toString.call(e)};e.exports?e.exports=t:window["undefined"!=typeof validatorjs_ns?validatorjs_ns:"Validator"]=t}()})),hookCallback,some$1;function hooks$1(){return hookCallback.apply(null,arguments)}function setHookCallback(e){hookCallback=e}function isArray$1(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function isObject$3(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function hasOwnProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function isObjectEmpty(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(hasOwnProp(e,t))return!1;return!0}function isUndefined$1(e){return void 0===e}function isNumber$1(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function isDate$1(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function map$2(e,t){var n,i=[],r=e.length;for(n=0;n<r;++n)i.push(t(e[n],n));return i}function extend$2(e,t){for(var n in t)hasOwnProp(t,n)&&(e[n]=t[n]);return hasOwnProp(t,"toString")&&(e.toString=t.toString),hasOwnProp(t,"valueOf")&&(e.valueOf=t.valueOf),e}function createUTC(e,t,n,i){return createLocalOrUTC(e,t,n,i,!0).utc()}function defaultParsingFlags(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function getParsingFlags(e){return null==e._pf&&(e._pf=defaultParsingFlags()),e._pf}function isValid(e){if(null==e._isValid){var t=getParsingFlags(e),n=some$1.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function createInvalid(e){var t=createUTC(NaN);return null!=e?extend$2(getParsingFlags(t),e):getParsingFlags(t).userInvalidated=!0,t}some$1=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var momentProperties=hooks$1.momentProperties=[],updateInProgress=!1;function copyConfig(e,t){var n,i,r,o=momentProperties.length;if(isUndefined$1(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),isUndefined$1(t._i)||(e._i=t._i),isUndefined$1(t._f)||(e._f=t._f),isUndefined$1(t._l)||(e._l=t._l),isUndefined$1(t._strict)||(e._strict=t._strict),isUndefined$1(t._tzm)||(e._tzm=t._tzm),isUndefined$1(t._isUTC)||(e._isUTC=t._isUTC),isUndefined$1(t._offset)||(e._offset=t._offset),isUndefined$1(t._pf)||(e._pf=getParsingFlags(t)),isUndefined$1(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)isUndefined$1(r=t[i=momentProperties[n]])||(e[i]=r);return e}function Moment(e){copyConfig(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===updateInProgress&&(updateInProgress=!0,hooks$1.updateOffset(this),updateInProgress=!1)}function isMoment(e){return e instanceof Moment||null!=e&&null!=e._isAMomentObject}function warn$1(e){!1===hooks$1.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function deprecate$1(e,t){var n=!0;return extend$2((function(){if(null!=hooks$1.deprecationHandler&&hooks$1.deprecationHandler(null,e),n){var i,r,o,a=[],s=arguments.length;for(r=0;r<s;r++){if(i="","object"==typeof arguments[r]){for(o in i+="\n["+r+"] ",arguments[0])hasOwnProp(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[r];a.push(i)}warn$1(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var deprecations={},keys$1;function deprecateSimple(e,t){null!=hooks$1.deprecationHandler&&hooks$1.deprecationHandler(e,t),deprecations[e]||(warn$1(t),deprecations[e]=!0)}function isFunction$2(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function set$1(e){var t,n;for(n in e)hasOwnProp(e,n)&&(isFunction$2(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)}function mergeConfigs(e,t){var n,i=extend$2({},e);
vendor: 2,816 bytes, line 56
56for(n in t)hasOwnProp(t,n)&&(isObject$3(e[n])&&isObject$3(t[n])?(i[n]={},extend$2(i[n],e[n]),extend$2(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)hasOwnProp(e,n)&&!hasOwnProp(t,n)&&isObject$3(e[n])&&(i[n]=extend$2({},i[n]));return i}function Locale(e){null!=e&&this.set(e)}hooks$1.suppressDeprecationWarnings=!1,hooks$1.deprecationHandler=null,keys$1=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)hasOwnProp(e,t)&&n.push(t);return n};var defaultCalendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function calendar(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return isFunction$2(i)?i.call(t,n):i}function zeroFill(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 formattingTokens=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,localFormattingTokens=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,formatFunctions={},formatTokenFunctions={};function addFormatToken(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(formatTokenFunctions[e]=r),t&&(formatTokenFunctions[t[0]]=function(){return zeroFill(r.apply(this,arguments),t[1],t[2])}),n&&(formatTokenFunctions[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function removeFormattingTokens(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function makeFormatFunction(e){var t,n,i=e.match(formattingTokens);for(t=0,n=i.length;t<n;t++)formatTokenFunctions[i[t]]?i[t]=formatTokenFunctions[i[t]]:i[t]=removeFormattingTokens(i[t]);return function(t){var r,o="";for(r=0;r<n;r++)o+=isFunction$2(i[r])?i[r].call(t,e):i[r];return o}}function formatMoment(e,t){return e.isValid()?(t=expandFormat(t,e.localeData()),formatFunctions[t]=formatFunctions[t]||makeFormatFunction(t),formatFunctions[t](e)):e.localeData().invalidDate()}function expandFormat(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(localFormattingTokens.lastIndex=0;n>=0&&localFormattingTokens.test(e);)e=e.replace(localFormattingTokens,i),localFormattingTokens.lastIndex=0,n-=1;return e}var defaultLongDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function longDateFormat(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(formattingTokens).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var defaultInvalidDate="Invalid date";
56function invalidDate(){return this._invalidDate}var defaultOrdinal="%d",defaultDayOfMonthOrdinalParse=/\d{1,2}/;function ordinal(e){return this._ordinal.replace("%d",e)}var defaultRelativeTime={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function relativeTime(e,t,n,i){var r=this._relativeTime[n];return isFunction$2(r)?r(e,t,n,i):r.replace(/%d/i,e)}function pastFuture(e,t){var n=this._relativeTime[e>0?"future":"past"];return isFunction$2(n)?n(t):n.replace(/%s/i,t)}var aliases={};function addUnitAlias(e,t){var n=e.toLowerCase();aliases[n]=aliases[n+"s"]=aliases[t]=e}function normalizeUnits(e){return"string"==typeof e?aliases[e]||aliases[e.toLowerCase()]:void 0}function normalizeObjectUnits(e){var t,n,i={};for(n in e)hasOwnProp(e,n)&&(t=normalizeUnits(n))&&(i[t]=e[n]);return i}var priorities={};function addUnitPriority(e,t){priorities[e]=t}function getPrioritizedUnits(e){var t,n=[];for(t in e)hasOwnProp(e,t)&&n.push({unit:t,priority:priorities[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function isLeapYear(e){return e%4==0&&e%100!=0||e%400==0}function absFloor(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function toInt(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=absFloor(t)),n}function makeGetSet(e,t){return function(n){return null!=n?(set$2(this,e,n),hooks$1.updateOffset(this,t),this):get$1(this,e)}}function get$1(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function set$2(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&isLeapYear(e.year())&&1===e.month()&&29===e.date()?(n=toInt(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),daysInMonth(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function stringGet(e){return isFunction$2(this[e=normalizeUnits(e)])?this[e]():this}function stringSet(e,t){if("object"==typeof e){var n,i=getPrioritizedUnits(e=normalizeObjectUnits(e)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](e[i[n].unit])}else if(isFunction$2(this[e=normalizeUnits(e)]))return this[e](t);return this}var match1=/\d/,match2=/\d\d/,match3=/\d{3}/,match4=/\d{4}/,match6=/[+-]?\d{6}/,match1to2=/\d\d?/,match3to4=/\d\d\d\d?/,match5to6=/\d\d\d\d\d\d?/,match1to3=/\d{1,3}/,match1to4=/\d{1,4}/,match1to6=/[+-]?\d{1,6}/,matchUnsigned=/\d+/,matchSigned=/[+-]?\d+/,matchOffset=/Z|[+-]\d\d:?\d\d/gi,matchShortOffset=/Z|[+-]\d\d(?::?\d\d)?/gi,matchTimestamp=/[+-]?\d+(\.\d{1,3})?/,matchWord=/[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,regexes;function addRegexToken(e,t,n){regexes[e]=isFunction$2(t)?t:function(e,i){return e&&n?n:t}}function getParseRegexForToken(e,t){return hasOwnProp(regexes,e)?regexes[e](t._strict,t._locale):new RegExp(unescapeFormat(e))}function unescapeFormat(e){return regexEscape(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r})))}function regexEscape(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}regexes={};var tokens={};function addParseToken(e,t){var n,i,r=t;for("string"==typeof e&&(e=[e]),isNumber$1(t)&&(r=function(e,n){
vendor: 5,346 bytes, line 56
56n[t]=toInt(e)}),i=e.length,n=0;n<i;n++)tokens[e[n]]=r}function addWeekParseToken(e,t){addParseToken(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function addTimeToArrayFromToken(e,t,n){null!=t&&hasOwnProp(tokens,e)&&tokens[e](t,n._a,n,e)}var YEAR=0,MONTH=1,DATE=2,HOUR=3,MINUTE=4,SECOND=5,MILLISECOND=6,WEEK=7,WEEKDAY=8,indexOf$1;function mod(e,t){return(e%t+t)%t}function daysInMonth(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=mod(t,12);return e+=(t-n)/12,1===n?isLeapYear(e)?29:28:31-n%7%2}indexOf$1=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},addFormatToken("M",["MM",2],"Mo",(function(){return this.month()+1})),addFormatToken("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),addFormatToken("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),addUnitAlias("month","M"),addUnitPriority("month",8),addRegexToken("M",match1to2),addRegexToken("MM",match1to2,match2),addRegexToken("MMM",(function(e,t){return t.monthsShortRegex(e)})),addRegexToken("MMMM",(function(e,t){return t.monthsRegex(e)})),addParseToken(["M","MM"],(function(e,t){t[MONTH]=toInt(e)-1})),addParseToken(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[MONTH]=r:getParsingFlags(n).invalidMonth=e}));var defaultLocaleMonths="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),defaultLocaleMonthsShort="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),MONTHS_IN_FORMAT=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,defaultMonthsShortRegex=matchWord,defaultMonthsRegex=matchWord;function localeMonths(e,t){return e?isArray$1(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||MONTHS_IN_FORMAT).test(t)?"format":"standalone"][e.month()]:isArray$1(this._months)?this._months:this._months.standalone}function localeMonthsShort(e,t){return e?isArray$1(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[MONTHS_IN_FORMAT.test(t)?"format":"standalone"][e.month()]:isArray$1(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function handleStrictParse(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=createUTC([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=indexOf$1.call(this._shortMonthsParse,a))?r:null:-1!==(r=indexOf$1.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=indexOf$1.call(this._shortMonthsParse,a))||-1!==(r=indexOf$1.call(this._longMonthsParse,a))?r:null:-1!==(r=indexOf$1.call(this._longMonthsParse,a))||-1!==(r=indexOf$1.call(this._shortMonthsParse,a))?r:null}function localeMonthsParse(e,t,n){var i,r,o;if(this._monthsParseExact)return handleStrictParse.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=createUTC([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}}function setMonth(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=toInt(t);else if(!isNumber$1(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),daysInMonth(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function getSetMonth(e){return null!=e?(setMonth(this,e),hooks$1.updateOffset(this,!0),this):get$1(this,"Month")}function getDaysInMonth(){return daysInMonth(this.year(),this.month())}function monthsShortRegex(e){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(hasOwnProp(this,"_monthsShortRegex")||(this._monthsShortRegex=defaultMonthsShortRegex),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function monthsRegex(e){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),e?this._monthsStrictRegex:this._monthsRegex):(hasOwnProp(this,"_monthsRegex")||(this._monthsRegex=defaultMonthsRegex),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function computeMonthsParse(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=createUTC([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]=regexEscape(i[t]),r[t]=regexEscape(r[t]);for(t=0;t<24;t++)o[t]=regexEscape(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 daysInYear(e){return isLeapYear(e)?366:365}
56addFormatToken("Y",0,0,(function(){var e=this.year();return e<=9999?zeroFill(e,4):"+"+e})),addFormatToken(0,["YY",2],0,(function(){return this.year()%100})),addFormatToken(0,["YYYY",4],0,"year"),addFormatToken(0,["YYYYY",5],0,"year"),addFormatToken(0,["YYYYYY",6,!0],0,"year"),addUnitAlias("year","y"),addUnitPriority("year",1),addRegexToken("Y",matchSigned),addRegexToken("YY",match1to2,match2),addRegexToken("YYYY",match1to4,match4),addRegexToken("YYYYY",match1to6,match6),addRegexToken("YYYYYY",match1to6,match6),addParseToken(["YYYYY","YYYYYY"],YEAR),addParseToken("YYYY",(function(e,t){t[YEAR]=2===e.length?hooks$1.parseTwoDigitYear(e):toInt(e)})),addParseToken("YY",(function(e,t){t[YEAR]=hooks$1.parseTwoDigitYear(e)})),addParseToken("Y",(function(e,t){t[YEAR]=parseInt(e,10)})),hooks$1.parseTwoDigitYear=function(e){return toInt(e)+(toInt(e)>68?1900:2e3)};var getSetYear=makeGetSet("FullYear",!0);function getIsLeapYear(){return isLeapYear(this.year())}function createDate(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}function createUTCDate(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function firstWeekOffset(e,t,n){var i=7+t-n;return-((7+createUTCDate(e,0,i).getUTCDay()-t)%7)+i-1}function dayOfYearFromWeeks(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+firstWeekOffset(e,i,r);return s<=0?a=daysInYear(o=e-1)+s:s>daysInYear(e)?(o=e+1,a=s-daysInYear(e)):(o=e,a=s),{year:o,dayOfYear:a}}function weekOfYear(e,t,n){var i,r,o=firstWeekOffset(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+weeksInYear(r=e.year()-1,t,n):a>weeksInYear(e.year(),t,n)?(i=a-weeksInYear(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function weeksInYear(e,t,n){var i=firstWeekOffset(e,t,n),r=firstWeekOffset(e+1,t,n);return(daysInYear(e)-i+r)/7}function localeWeek(e){return weekOfYear(e,this._week.dow,this._week.doy).week}addFormatToken("w",["ww",2],"wo","week"),addFormatToken("W",["WW",2],"Wo","isoWeek"),addUnitAlias("week","w"),addUnitAlias("isoWeek","W"),addUnitPriority("week",5),addUnitPriority("isoWeek",5),addRegexToken("w",match1to2),addRegexToken("ww",match1to2,match2),addRegexToken("W",match1to2),addRegexToken("WW",match1to2,match2),addWeekParseToken(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=toInt(e)}));var defaultLocaleWeek={dow:0,doy:6};function localeFirstDayOfWeek(){return this._week.dow}function localeFirstDayOfYear(){return this._week.doy}function getSetWeek(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function getSetISOWeek(e){var t=weekOfYear(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function parseWeekday(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function parseIsoWeekday(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function shiftWeekdays(e,t){return e.slice(t,7).concat(e.slice(0,t))}addFormatToken("d",0,"do","day"),addFormatToken("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),addFormatToken("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),addFormatToken("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),addFormatToken("e",0,0,"weekday"),addFormatToken("E",0,0,"isoWeekday"),addUnitAlias("day","d"),addUnitAlias("weekday","e"),addUnitAlias("isoWeekday","E"),addUnitPriority("day",11),addUnitPriority("weekday",11),addUnitPriority("isoWeekday",11),addRegexToken("d",match1to2),addRegexToken("e",match1to2),addRegexToken("E",match1to2),addRegexToken("dd",(function(e,t){return t.weekdaysMinRegex(e)})),addRegexToken("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),addRegexToken("dddd",(function(e,t){return t.weekdaysRegex(e)})),addWeekParseToken(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:getParsingFlags(n).invalidWeekday=e}
vendor: 19,152 bytes, line 56
56)),addWeekParseToken(["d","e","E"],(function(e,t,n,i){t[i]=toInt(e)}));var defaultLocaleWeekdays="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),defaultLocaleWeekdaysShort="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),defaultLocaleWeekdaysMin="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),defaultWeekdaysRegex=matchWord,defaultWeekdaysShortRegex=matchWord,defaultWeekdaysMinRegex=matchWord;function localeWeekdays(e,t){var n=isArray$1(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?shiftWeekdays(n,this._week.dow):e?n[e.day()]:n}function localeWeekdaysShort(e){return!0===e?shiftWeekdays(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function localeWeekdaysMin(e){return!0===e?shiftWeekdays(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function handleStrictParse$1(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=createUTC([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=indexOf$1.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=indexOf$1.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=indexOf$1.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=indexOf$1.call(this._weekdaysParse,a))||-1!==(r=indexOf$1.call(this._shortWeekdaysParse,a))||-1!==(r=indexOf$1.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=indexOf$1.call(this._shortWeekdaysParse,a))||-1!==(r=indexOf$1.call(this._weekdaysParse,a))||-1!==(r=indexOf$1.call(this._minWeekdaysParse,a))?r:null:-1!==(r=indexOf$1.call(this._minWeekdaysParse,a))||-1!==(r=indexOf$1.call(this._weekdaysParse,a))||-1!==(r=indexOf$1.call(this._shortWeekdaysParse,a))?r:null}function localeWeekdaysParse(e,t,n){var i,r,o;if(this._weekdaysParseExact)return handleStrictParse$1.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=createUTC([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}}function getSetDayOfWeek(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=parseWeekday(e,this.localeData()),this.add(e-t,"d")):t}function getSetLocaleDayOfWeek(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function getSetISODayOfWeek(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=parseIsoWeekday(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function weekdaysRegex(e){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(hasOwnProp(this,"_weekdaysRegex")||(this._weekdaysRegex=defaultWeekdaysRegex),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function weekdaysShortRegex(e){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(hasOwnProp(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=defaultWeekdaysShortRegex),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function weekdaysMinRegex(e){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(hasOwnProp(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=defaultWeekdaysMinRegex),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function computeWeekdaysParse(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=createUTC([2e3,1]).day(t),i=regexEscape(this.weekdaysMin(n,"")),r=regexEscape(this.weekdaysShort(n,"")),o=regexEscape(this.weekdays(n,"")),a.push(i),s.push(r),c.push(o),l.push(i),l.push(r),l.push(o);a.sort(e),s.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function hFormat(){return this.hours()%12||12}function kFormat(){return this.hours()||24}function meridiem(e,t){addFormatToken(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function matchMeridiem(e,t){return t._meridiemParse}function localeIsPM(e){return"p"===(e+"").toLowerCase().charAt(0)}addFormatToken("H",["HH",2],0,"hour"),addFormatToken("h",["hh",2],0,hFormat),addFormatToken("k",["kk",2],0,kFormat),addFormatToken("hmm",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)})),addFormatToken("hmmss",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)})),addFormatToken("Hmm",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)})),addFormatToken("Hmmss",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)})),meridiem("a",!0),meridiem("A",!1),addUnitAlias("hour","h"),addUnitPriority("hour",13),addRegexToken("a",matchMeridiem),addRegexToken("A",matchMeridiem),addRegexToken("H",match1to2),addRegexToken("h",match1to2),addRegexToken("k",match1to2),addRegexToken("HH",match1to2,match2),addRegexToken("hh",match1to2,match2),addRegexToken("kk",match1to2,match2),addRegexToken("hmm",match3to4),addRegexToken("hmmss",match5to6),addRegexToken("Hmm",match3to4),addRegexToken("Hmmss",match5to6),addParseToken(["H","HH"],HOUR),addParseToken(["k","kk"],(function(e,t,n){var i=toInt(e);t[HOUR]=24===i?0:i})),addParseToken(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),addParseToken(["h","hh"],(function(e,t,n){t[HOUR]=toInt(e),getParsingFlags(n).bigHour=!0})),addParseToken("hmm",(function(e,t,n){var i=e.length-2;t[HOUR]=toInt(e.substr(0,i)),t[MINUTE]=toInt(e.substr(i)),getParsingFlags(n).bigHour=!0})),addParseToken("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[HOUR]=toInt(e.substr(0,i)),t[MINUTE]=toInt(e.substr(i,2)),t[SECOND]=toInt(e.substr(r)),getParsingFlags(n).bigHour=!0})),addParseToken("Hmm",(function(e,t,n){var i=e.length-2;t[HOUR]=toInt(e.substr(0,i)),t[MINUTE]=toInt(e.substr(i))})),addParseToken("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[HOUR]=toInt(e.substr(0,i)),t[MINUTE]=toInt(e.substr(i,2)),t[SECOND]=toInt(e.substr(r))}));var defaultLocaleMeridiemParse=/[ap]\.?m?\.?/i,getSetHour=makeGetSet("Hours",!0);function localeMeridiem(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var baseConfig={calendar:defaultCalendar,longDateFormat:defaultLongDateFormat,invalidDate:defaultInvalidDate,ordinal:defaultOrdinal,dayOfMonthOrdinalParse:defaultDayOfMonthOrdinalParse,relativeTime:defaultRelativeTime,months:defaultLocaleMonths,monthsShort:defaultLocaleMonthsShort,week:defaultLocaleWeek,weekdays:defaultLocaleWeekdays,weekdaysMin:defaultLocaleWeekdaysMin,weekdaysShort:defaultLocaleWeekdaysShort,meridiemParse:defaultLocaleMeridiemParse},locales={},localeFamilies={},globalLocale;function commonPrefix(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function normalizeLocale(e){return e?e.toLowerCase().replace("_","-"):e}function chooseLocale(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=normalizeLocale(e[o]).split("-")).length,n=(n=normalizeLocale(e[o+1]))?n.split("-"):null;t>0;){if(i=loadLocale(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&commonPrefix(r,n)>=t-1)break;t--}o++}return globalLocale}function isLocaleNameSane(e){return null!=e.match("^[^/\\\\]*$")}function loadLocale(e){var t=null;if(void 0===locales[e]&&"undefined"!=typeof module&&module&&module.exports&&isLocaleNameSane(e))try{t=globalLocale._abbr,require("./locale/"+e),getSetGlobalLocale(t)}catch(t){locales[e]=null}return locales[e]}function getSetGlobalLocale(e,t){var n;return e&&((n=isUndefined$1(t)?getLocale(e):defineLocale(e,t))?globalLocale=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),globalLocale._abbr}function defineLocale(e,t){if(null!==t){var n,i=baseConfig;if(t.abbr=e,null!=locales[e])deprecateSimple("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=locales[e]._config;else if(null!=t.parentLocale)if(null!=locales[t.parentLocale])i=locales[t.parentLocale]._config;else{if(null==(n=loadLocale(t.parentLocale)))return localeFamilies[t.parentLocale]||(localeFamilies[t.parentLocale]=[]),localeFamilies[t.parentLocale].push({name:e,config:t}),null;i=n._config}return locales[e]=new Locale(mergeConfigs(i,t)),localeFamilies[e]&&localeFamilies[e].forEach((function(e){defineLocale(e.name,e.config)})),getSetGlobalLocale(e),locales[e]}return delete locales[e],null}function updateLocale(e,t){if(null!=t){var n,i,r=baseConfig;null!=locales[e]&&null!=locales[e].parentLocale?locales[e].set(mergeConfigs(locales[e]._config,t)):(null!=(i=loadLocale(e))&&(r=i._config),t=mergeConfigs(r,t),null==i&&(t.abbr=e),(n=new Locale(t)).parentLocale=locales[e],locales[e]=n),getSetGlobalLocale(e)}else null!=locales[e]&&(null!=locales[e].parentLocale?(locales[e]=locales[e].parentLocale,e===getSetGlobalLocale()&&getSetGlobalLocale(e)):null!=locales[e]&&delete locales[e]);return locales[e]}function getLocale(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return globalLocale;if(!isArray$1(e)){if(t=loadLocale(e))return t;e=[e]}return chooseLocale(e)}function listLocales(){return keys$1(locales)}function checkOverflow(e){var t,n=e._a;return n&&-2===getParsingFlags(e).overflow&&(t=n[MONTH]<0||n[MONTH]>11?MONTH:n[DATE]<1||n[DATE]>daysInMonth(n[YEAR],n[MONTH])?DATE:n[HOUR]<0||n[HOUR]>24||24===n[HOUR]&&(0!==n[MINUTE]||0!==n[SECOND]||0!==n[MILLISECOND])?HOUR:n[MINUTE]<0||n[MINUTE]>59?MINUTE:n[SECOND]<0||n[SECOND]>59?SECOND:n[MILLISECOND]<0||n[MILLISECOND]>999?MILLISECOND:-1,getParsingFlags(e)._overflowDayOfYear&&(t<YEAR||t>DATE)&&(t=DATE),getParsingFlags(e)._overflowWeeks&&-1===t&&(t=WEEK),getParsingFlags(e)._overflowWeekday&&-1===t&&(t=WEEKDAY),getParsingFlags(e).overflow=t),e}var extendedIsoRegex=/^\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)?)?$/,basicIsoRegex=/^\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)?)?$/,tzRegex=/Z|[+-]\d\d(?::?\d\d)?/,isoDates=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],isoTimes=[["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/]],aspNetJsonRegex=/^\/?Date\((-?\d+)/i,rfc2822=/^(?:(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}))$/,obsOffsets={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function configFromISO(e){var t,n,i,r,o,a,s=e._i,c=extendedIsoRegex.exec(s)||basicIsoRegex.exec(s),l=isoDates.length,d=isoTimes.length;if(c){for(getParsingFlags(e).iso=!0,t=0,n=l;t<n;t++)if(isoDates[t][1].exec(c[1])){r=isoDates[t][0],i=!1!==isoDates[t][2];break}if(null==r)return void(e._isValid=!1);if(c[3]){for(t=0,n=d;t<n;t++)if(isoTimes[t][1].exec(c[3])){o=(c[2]||" ")+isoTimes[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(c[4]){if(!tzRegex.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),configFromStringAndFormat(e)}else e._isValid=!1}function extractFromRFC2822Strings(e,t,n,i,r,o){var a=[untruncateYear(e),defaultLocaleMonthsShort.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&a.push(parseInt(o,10)),a}function untruncateYear(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function preprocessRFC2822(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function checkWeekday(e,t,n){if(e&&defaultLocaleWeekdaysShort.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return getParsingFlags(n).weekdayMismatch=!0,n._isValid=!1,!1;return!0}function calculateOffset(e,t,n){if(e)return obsOffsets[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return 60*((i-r)/100)+r}function configFromRFC2822(e){var t,n=rfc2822.exec(preprocessRFC2822(e._i));if(n){if(t=extractFromRFC2822Strings(n[4],n[3],n[2],n[5],n[6],n[7]),!checkWeekday(n[1],t,e))return;e._a=t,e._tzm=calculateOffset(n[8],n[9],n[10]),e._d=createUTCDate.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),getParsingFlags(e).rfc2822=!0}else e._isValid=!1}function configFromString(e){var t=aspNetJsonRegex.exec(e._i);null===t?(configFromISO(e),!1===e._isValid&&(delete e._isValid,configFromRFC2822(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:hooks$1.createFromInputFallback(e)))):e._d=new Date(+t[1])}function defaults$1(e,t,n){return null!=e?e:null!=t?t:n}function currentDateArray(e){var t=new Date(hooks$1.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function configFromArray(e){var t,n,i,r,o,a=[];if(!e._d){for(i=currentDateArray(e),e._w&&null==e._a[DATE]&&null==e._a[MONTH]&&dayOfYearFromWeekInfo(e),null!=e._dayOfYear&&(o=defaults$1(e._a[YEAR],i[YEAR]),(e._dayOfYear>daysInYear(o)||0===e._dayOfYear)&&(getParsingFlags(e)._overflowDayOfYear=!0),n=createUTCDate(o,0,e._dayOfYear),e._a[MONTH]=n.getUTCMonth(),e._a[DATE]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[HOUR]&&0===e._a[MINUTE]&&0===e._a[SECOND]&&0===e._a[MILLISECOND]&&(e._nextDay=!0,e._a[HOUR]=0),e._d=(e._useUTC?createUTCDate:createDate).apply(null,a),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[HOUR]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(getParsingFlags(e).weekdayMismatch=!0)}}function dayOfYearFromWeekInfo(e){var t,n,i,r,o,a,s,c,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=defaults$1(t.GG,e._a[YEAR],weekOfYear(createLocal(),1,4).year),i=defaults$1(t.W,1),((r=defaults$1(t.E,1))<1||r>7)&&(c=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=weekOfYear(createLocal(),o,a),n=defaults$1(t.gg,e._a[YEAR],l.year),i=defaults$1(t.w,l.week),null!=t.d?((r=t.d)<0||r>6)&&(c=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(c=!0)):r=o),i<1||i>weeksInYear(n,o,a)?getParsingFlags(e)._overflowWeeks=!0:null!=c?getParsingFlags(e)._overflowWeekday=!0:(s=dayOfYearFromWeeks(n,i,r,o,a),e._a[YEAR]=s.year,e._dayOfYear=s.dayOfYear)}function configFromStringAndFormat(e){if(e._f!==hooks$1.ISO_8601)if(e._f!==hooks$1.RFC_2822){e._a=[],getParsingFlags(e).empty=!0;var t,n,i,r,o,a,s,c=""+e._i,l=c.length,d=0;for(s=(i=expandFormat(e._f,e._locale).match(formattingTokens)||[]).length,t=0;t<s;t++)r=i[t],(n=(c.match(getParseRegexForToken(r,e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&getParsingFlags(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),d+=n.length),formatTokenFunctions[r]?(n?getParsingFlags(e).empty=!1:getParsingFlags(e).unusedTokens.push(r),addTimeToArrayFromToken(r,n,e)):e._strict&&!n&&getParsingFlags(e).unusedTokens.push(r);getParsingFlags(e).charsLeftOver=l-d,c.length>0&&getParsingFlags(e).unusedInput.push(c),e._a[HOUR]<=12&&!0===getParsingFlags(e).bigHour&&e._a[HOUR]>0&&(getParsingFlags(e).bigHour=void 0),getParsingFlags(e).parsedDateParts=e._a.slice(0),getParsingFlags(e).meridiem=e._meridiem,e._a[HOUR]=meridiemFixWrap(e._locale,e._a[HOUR],e._meridiem),null!==(a=getParsingFlags(e).era)&&(e._a[YEAR]=e._locale.erasConvertYear(a,e._a[YEAR])),configFromArray(e),checkOverflow(e)}else configFromRFC2822(e);else configFromISO(e)}function meridiemFixWrap(e,t,n){var i;return null==n?t: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}function configFromStringAndArray(e){var t,n,i,r,o,a,s=!1,c=e._f.length;if(0===c)return getParsingFlags(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<c;r++)o=0,a=!1,t=copyConfig({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],configFromStringAndFormat(t),isValid(t)&&(a=!0),o+=getParsingFlags(t).charsLeftOver,o+=10*getParsingFlags(t).unusedTokens.length,getParsingFlags(t).score=o,s?o<i&&(i=o,n=t):(null==i||o<i||a)&&(i=o,n=t,a&&(s=!0));extend$2(e,n||t)}function configFromObject(e){if(!e._d){var t=normalizeObjectUnits(e._i),n=void 0===t.day?t.date:t.day;e._a=map$2([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),configFromArray(e)}}function createFromConfig(e){var t=new Moment(checkOverflow(prepareConfig(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function prepareConfig(e){var t=e._i,n=e._f;return e._locale=e._locale||getLocale(e._l),null===t||void 0===n&&""===t?createInvalid({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),isMoment(t)?new Moment(checkOverflow(t)):(isDate$1(t)?e._d=t:isArray$1(n)?configFromStringAndArray(e):n?configFromStringAndFormat(e):configFromInput(e),isValid(e)||(e._d=null),e))}function configFromInput(e){var t=e._i;isUndefined$1(t)?e._d=new Date(hooks$1.now()):isDate$1(t)?e._d=new Date(t.valueOf()):"string"==typeof t?configFromString(e):isArray$1(t)?(e._a=map$2(t.
vendor: 8,039 bytes, line 56
56slice(0),(function(e){return parseInt(e,10)})),configFromArray(e)):isObject$3(t)?configFromObject(e):isNumber$1(t)?e._d=new Date(t):hooks$1.createFromInputFallback(e)}function createLocalOrUTC(e,t,n,i,r){var o={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(isObject$3(e)&&isObjectEmpty(e)||isArray$1(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=i,createFromConfig(o)}function createLocal(e,t,n,i){return createLocalOrUTC(e,t,n,i,!1)}hooks$1.createFromInputFallback=deprecate$1("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),hooks$1.ISO_8601=function(){},hooks$1.RFC_2822=function(){};var prototypeMin=deprecate$1("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=createLocal.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:createInvalid()})),prototypeMax=deprecate$1("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=createLocal.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:createInvalid()}));function pickBy(e,t){var n,i;if(1===t.length&&isArray$1(t[0])&&(t=t[0]),!t.length)return createLocal();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function min$1(){var e=[].slice.call(arguments,0);return pickBy("isBefore",e)}function max$1(){var e=[].slice.call(arguments,0);return pickBy("isAfter",e)}var now$1=function(){return Date.now?Date.now():+new Date},ordering=["year","quarter","month","week","day","hour","minute","second","millisecond"];function isDurationValid(e){var t,n,i=!1,r=ordering.length;for(t in e)if(hasOwnProp(e,t)&&(-1===indexOf$1.call(ordering,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[ordering[n]]){if(i)return!1;parseFloat(e[ordering[n]])!==toInt(e[ordering[n]])&&(i=!0)}return!0}function isValid$1(){return this._isValid}function createInvalid$1(){return createDuration(NaN)}function Duration(e){var t=normalizeObjectUnits(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,c=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=isDurationValid(t),this._milliseconds=+d+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=getLocale(),this._bubble()}function isDuration(e){return e instanceof Duration}function absRound(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function compareArrays(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&&toInt(e[i])!==toInt(t[i]))&&a++;return a+o}function offset(e,t){addFormatToken(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+zeroFill(~~(e/60),2)+t+zeroFill(~~e%60,2)}))}offset("Z",":"),offset("ZZ",""),addRegexToken("Z",matchShortOffset),addRegexToken("ZZ",matchShortOffset),addParseToken(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=offsetFromString(matchShortOffset,e)}));var chunkOffset=/([\+\-]|\d\d)/gi;function offsetFromString(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(chunkOffset)||["-",0,0])[1]+toInt(n[2]))?0:"+"===n[0]?i:-i}function cloneWithOffset(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(isMoment(e)||isDate$1(e)?e.valueOf():createLocal(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),hooks$1.updateOffset(n,!1),n):createLocal(e).local()}function getDateOffset(e){return-Math.round(e._d.getTimezoneOffset())}function getSetOffset(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=offsetFromString(matchShortOffset,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=getDateOffset(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?addSubtract(this,createDuration(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,hooks$1.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:getDateOffset(this)}function getSetZone(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function setOffsetToUTC(e){return this.utcOffset(0,e)}function setOffsetToLocal(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(getDateOffset(this),"m")),this}function setOffsetToParsedOffset(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=offsetFromString(matchOffset,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function hasAlignedHourOffset(e){return!!this.isValid()&&(e=e?createLocal(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function isDaylightSavingTime(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function isDaylightSavingTimeShifted(){if(!isUndefined$1(this._isDSTShifted))return this._isDSTShifted;var e,t={};return copyConfig(t,this),(t=prepareConfig(t))._a?(e=t._isUTC?createUTC(t._a):createLocal(t._a),this._isDSTShifted=this.isValid()&&compareArrays(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function isLocal(){return!!this.isValid()&&!this._isUTC}function isUtcOffset(){return!!this.isValid()&&this._isUTC}function isUtc(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}hooks$1.updateOffset=function(){};var aspNetRegex=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,isoRegex=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(e,t){var n,i,r,o=e,a=null;return isDuration(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:isNumber$1(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=aspNetRegex.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:toInt(a[DATE])*n,h:toInt(a[HOUR])*n,m:toInt(a[MINUTE])*n,s:toInt(a[SECOND])*n,ms:toInt(absRound(1e3*a[MILLISECOND]))*n}):(a=isoRegex.exec(e))?(n="-"===a[1]?-1:1,o={y:parseIso(a[2],n),M:parseIso(a[3],n),w:parseIso(a[4],n),d:parseIso(a[5],n),h:parseIso(a[6],n),m:parseIso(a[7],n),s:parseIso(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=momentsDifference(createLocal(o.from),createLocal(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),i=new Duration(o),isDuration(e)&&hasOwnProp(e,"_locale")&&(i._locale=e._locale),isDuration(e)&&hasOwnProp(e,"_isValid")&&(i._isValid=e._isValid),i}function parseIso(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function positiveMomentsDifference(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 momentsDifference(e,t){var n;return e.isValid()&&t.isValid()?(t=cloneWithOffset(t,e),e.isBefore(t)?n=positiveMomentsDifference(e,t):((n=positiveMomentsDifference(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function createAdder(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(deprecateSimple(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),addSubtract(this,createDuration(n,i),e),this}}function addSubtract(e,t,n,i){var r=t._milliseconds,o=absRound(t._days),a=absRound(t._months);e.isValid()&&(i=null==i||i,a&&setMonth(e,get$1(e,"Month")+a*n),o&&set$2(e,"Date",get$1(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&hooks$1.updateOffset(e,o||a))}createDuration.fn=Duration.prototype,createDuration.invalid=createInvalid$
vendor: 30,305 bytes, lines 56-58
561;var add$2=createAdder(1,"add"),subtract=createAdder(-1,"subtract");function isString$1(e){return"string"==typeof e||e instanceof String}function isMomentInput(e){return isMoment(e)||isDate$1(e)||isString$1(e)||isNumber$1(e)||isNumberOrStringArray(e)||isMomentInputObject(e)||null==e}function isMomentInputObject(e){var t,n=isObject$3(e)&&!isObjectEmpty(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=r.length;for(t=0;t<o;t+=1)i=i||hasOwnProp(e,r[t]);return n&&i}function isNumberOrStringArray(e){var t=isArray$1(e),n=!1;return t&&(n=0===e.filter((function(t){return!isNumber$1(t)&&isString$1(e)})).length),t&&n}function isCalendarSpec(e){var t,n=isObject$3(e)&&!isObjectEmpty(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)i=i||hasOwnProp(e,r[t]);return n&&i}function getCalendarFormat(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function calendar$1(e,t){1===arguments.length&&(arguments[0]?isMomentInput(arguments[0])?(e=arguments[0],t=void 0):isCalendarSpec(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||createLocal(),i=cloneWithOffset(n,this).startOf("day"),r=hooks$1.calendarFormat(this,i)||"sameElse",o=t&&(isFunction$2(t[r])?t[r].call(this,n):t[r]);return this.format(o||this.localeData().calendar(r,this,createLocal(n)))}function clone$1(){return new Moment(this)}function isAfter(e,t){var n=isMoment(e)?e:createLocal(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=normalizeUnits(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function isBefore(e,t){var n=isMoment(e)?e:createLocal(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=normalizeUnits(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function isBetween(e,t,n,i){var r=isMoment(e)?e:createLocal(e),o=isMoment(t)?t:createLocal(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)))}function isSame(e,t){var n,i=isMoment(e)?e:createLocal(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=normalizeUnits(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function isSameOrAfter(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function isSameOrBefore(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function diff(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=cloneWithOffset(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=normalizeUnits(t)){case"year":o=monthDiff(this,i)/12;break;case"month":o=monthDiff(this,i);break;case"quarter":o=monthDiff(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:absFloor(o)}function monthDiff(e,t){if(e.date()<t.date())return-monthDiff(t,e);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 toString$2(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function toISOString(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?formatMoment(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):isFunction$2(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",formatMoment(n,"Z")):formatMoment(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function inspect(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)}function format(e){e||(e=this.isUtc()?hooks$1.defaultFormatUtc:hooks$1.defaultFormat);var t=formatMoment(this,e);return this.localeData().postformat(t)}function from$1(e,t){return this.isValid()&&(isMoment(e)&&e.isValid()||createLocal(e).isValid())?createDuration({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function fromNow(e){return this.from(createLocal(),e)}function to$1(e,t){return this.isValid()&&(isMoment(e)&&e.isValid()||createLocal(e).isValid())?createDuration({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function toNow(e){return this.to(createLocal(),e)}function locale(e){var t;return void 0===e?this._locale._abbr:(null!=(t=getLocale(e))&&(this._locale=t),this)}hooks$1.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",hooks$1.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lang=deprecate$1("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 localeData(){return this._locale}var MS_PER_SECOND=1e3,MS_PER_MINUTE=60*MS_PER_SECOND,MS_PER_HOUR=60*MS_PER_MINUTE,MS_PER_400_YEARS=3506328*MS_PER_HOUR;function mod$1(e,t){return(e%t+t)%t}function localStartOfDate(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-MS_PER_400_YEARS:new Date(e,t,n).valueOf()}function utcStartOfDate(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-MS_PER_400_YEARS:Date.UTC(e,t,n)}function startOf(e){var t,n;if(void 0===(e=normalizeUnits(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?utcStartOfDate:localStartOfDate,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-=mod$1(t+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR);break;case"minute":t=this._d.valueOf(),t-=mod$1(t,MS_PER_MINUTE);break;case"second":t=this._d.valueOf(),t-=mod$1(t,MS_PER_SECOND)}return this._d.setTime(t),hooks$1.updateOffset(this,!0),this}function endOf(e){var t,n;if(void 0===(e=normalizeUnits(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?utcStartOfDate:localStartOfDate,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+=MS_PER_HOUR-mod$1(t+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR)-1;break;case"minute":t=this._d.valueOf(),t+=MS_PER_MINUTE-mod$1(t,MS_PER_MINUTE)-1;break;case"second":t=this._d.valueOf(),t+=MS_PER_SECOND-mod$1(t,MS_PER_SECOND)-1}return this._d.setTime(t),hooks$1.updateOffset(this,!0),this}function valueOf(){return this._d.valueOf()-6e4*(this._offset||0)}function unix(){return Math.floor(this.valueOf()/1e3)}function toDate(){return new Date(this.valueOf())}function toArray$2(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function toObject$1(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function toJSON(){return this.isValid()?this.toISOString():null}function isValid$2(){return isValid(this)}function parsingFlags(){return extend$2({},getParsingFlags(this))}function invalidAt(){return getParsingFlags(this).overflow}function creationData(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function localeEras(e,t){var n,i,r,o=this._eras||getLocale("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":r=hooks$1(o[n].since).startOf("day"),o[n].since=r.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=hooks$1(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf()}}return o}function localeErasParse(e,t,n){var i,r,o,a,s,c=this.eras();for(e=e.toUpperCase(),i=0,r=c.length;i<r;++i)if(o=c[i].name.toUpperCase(),a=c[i].abbr.toUpperCase(),s=c[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return c[i];break;case"NNNN":if(o===e)return c[i];break;case"NNNNN":if(s===e)return c[i]}else if([o,a,s].indexOf(e)>=0)return c[i]}function localeErasConvertYear(e,t){var n=e.since<=e.until?1:-1;return void 0===t?hooks$1(e.since).year():hooks$1(e.since).year()+(t-e.offset)*n}function getEraName(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""}function getEraNarrow(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""}function getEraAbbr(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""}function getEraYear(){var e,t,n,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=r[e].since<=r[e].until?1:-1,i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return(this.year()-hooks$1(r[e].since).year())*n+r[e].offset;return this.year()}function erasNameRegex(e){return hasOwnProp(this,"_erasNameRegex")||computeErasParse.call(this),e?this._erasNameRegex:this._erasRegex}function erasAbbrRegex(e){return hasOwnProp(this,"_erasAbbrRegex")||computeErasParse.call(this),e?this._erasAbbrRegex:this._erasRegex}function erasNarrowRegex(e){return hasOwnProp(this,"_erasNarrowRegex")||computeErasParse.call(this),e?this._erasNarrowRegex:this._erasRegex}function matchEraAbbr(e,t){return t.erasAbbrRegex(e)}function matchEraName(e,t){return t.erasNameRegex(e)}function matchEraNarrow(e,t){return t.erasNarrowRegex(e)}function matchEraYearOrdinal(e,t){return t._eraYearOrdinalRegex||matchUnsigned}function computeErasParse(){var e,t,n=[],i=[],r=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)i.push(regexEscape(a[e].name)),n.push(regexEscape(a[e].abbr)),r.push(regexEscape(a[e].narrow)),o.push(regexEscape(a[e].name)),o.push(regexEscape(a[e].abbr)),o.push(regexEscape(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function addWeekYearFormatToken(e,t){addFormatToken(0,[e,e.length],0,t)}function getSetWeekYear(e){return getSetWeekYearHelper.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function getSetISOWeekYear(e){return getSetWeekYearHelper.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function getISOWeeksInYear(){return weeksInYear(this.year(),1,4)}function getISOWeeksInISOWeekYear(){return weeksInYear(this.isoWeekYear(),1,4)}function getWeeksInYear(){var e=this.localeData()._week;return weeksInYear(this.year(),e.dow,e.doy)}function getWeeksInWeekYear(){var e=this.localeData()._week;return weeksInYear(this.weekYear(),e.dow,e.doy)}function getSetWeekYearHelper(e,t,n,i,r){var o;return null==e?weekOfYear(this,i,r).year:(t>(o=weeksInYear(e,i,r))&&(t=o),setWeekAll.call(this,e,t,n,i,r))}function setWeekAll(e,t,n,i,r){var o=dayOfYearFromWeeks(e,t,n,i,r),a=createUTCDate(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function getSetQuarter(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}addFormatToken("N",0,0,"eraAbbr"),addFormatToken("NN",0,0,"eraAbbr"),addFormatToken("NNN",0,0,"eraAbbr"),addFormatToken("NNNN",0,0,"eraName"),addFormatToken("NNNNN",0,0,"eraNarrow"),addFormatToken("y",["y",1],"yo","eraYear"),addFormatToken("y",["yy",2],0,"eraYear"),addFormatToken("y",["yyy",3],0,"eraYear"),addFormatToken("y",["yyyy",4],0,"eraYear"),addRegexToken("N",matchEraAbbr),addRegexToken("NN",matchEraAbbr),addRegexToken("NNN",matchEraAbbr),addRegexToken("NNNN",matchEraName),addRegexToken("NNNNN",matchEraNarrow),addParseToken(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?getParsingFlags(n).era=r:getParsingFlags(n).invalidEra=e})),addRegexToken("y",matchUnsigned),addRegexToken("yy",matchUnsigned),addRegexToken("yyy",matchUnsigned),addRegexToken("yyyy",matchUnsigned),addRegexToken("yo",matchEraYearOrdinal),addParseToken(["y","yy","yyy","yyyy"],YEAR),addParseToken(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[YEAR]=n._locale.eraYearOrdinalParse(e,r):t[YEAR]=parseInt(e,10)})),addFormatToken(0,["gg",2],0,(function(){return this.weekYear()%100})),addFormatToken(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),addWeekYearFormatToken("gggg","weekYear"),addWeekYearFormatToken("ggggg","weekYear"),addWeekYearFormatToken("GGGG","isoWeekYear"),addWeekYearFormatToken("GGGGG","isoWeekYear"),addUnitAlias("weekYear","gg"),addUnitAlias("isoWeekYear","GG"),addUnitPriority("weekYear",1),addUnitPriority("isoWeekYear",1),addRegexToken("G",matchSigned),addRegexToken("g",matchSigned),addRegexToken("GG",match1to2,match2),addRegexToken("gg",match1to2,match2),addRegexToken("GGGG",match1to4,match4),addRegexToken("gggg",match1to4,match4),addRegexToken("GGGGG",match1to6,match6),addRegexToken("ggggg",match1to6,match6),addWeekParseToken(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=toInt(e)})),addWeekParseToken(["gg","GG"],(function(e,t,n,i){t[i]=hooks$1.parseTwoDigitYear(e)})),addFormatToken("Q",0,"Qo","quarter"),addUnitAlias("quarter","Q"),addUnitPriority("quarter",7),addRegexToken("Q",match1),addParseToken("Q",(function(e,t){t[MONTH]=3*(toInt(e)-1)})),addFormatToken("D",["DD",2],"Do","date"),addUnitAlias("date","D"),addUnitPriority("date",9),addRegexToken("D",match1to2),addRegexToken("DD",match1to2,match2),addRegexToken("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),addParseToken(["D","DD"],DATE),addParseToken("Do",(function(e,t){t[DATE]=toInt(e.match(match1to2)[0])}));var getSetDayOfMonth=makeGetSet("Date",!0);function getSetDayOfYear(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}addFormatToken("DDD",["DDDD",3],"DDDo","dayOfYear"),addUnitAlias("dayOfYear","DDD"),addUnitPriority("dayOfYear",4),addRegexToken("DDD",match1to3),addRegexToken("DDDD",match3),addParseToken(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=toInt(e)})),addFormatToken("m",["mm",2],0,"minute"),addUnitAlias("minute","m"),addUnitPriority("minute",14),addRegexToken("m",match1to2),addRegexToken("mm",match1to2,match2),addParseToken(["m","mm"],MINUTE);var getSetMinute=makeGetSet("Minutes",!1);addFormatToken("s",["ss",2],0,"second"),addUnitAlias("second","s"),addUnitPriority("second",15),addRegexToken("s",match1to2),addRegexToken("ss",match1to2,match2),addParseToken(["s","ss"],SECOND);var getSetSecond=makeGetSet("Seconds",!1),token,getSetMillisecond;for(addFormatToken("S",0,0,(function(){return~~(this.millisecond()/100)})),addFormatToken(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),addFormatToken(0,["SSS",3],0,"millisecond"),addFormatToken(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),addFormatToken(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),addFormatToken(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),addFormatToken(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),addFormatToken(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),addFormatToken(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),addUnitAlias("millisecond","ms"),addUnitPriority("millisecond",16),addRegexToken("S",match1to3,match1),addRegexToken("SS",match1to3,match2),addRegexToken("SSS",match1to3,match3),token="SSSS";token.length<=9;token+="S")addRegexToken(token,matchUnsigned);function parseMs(e,t){t[MILLISECOND]=toInt(1e3*("0."+e))}for(token="S";token.length<=9;token+="S")addParseToken(token,parseMs);function getZoneAbbr(){return this._isUTC?"UTC":""}function getZoneName(){return this._isUTC?"Coordinated Universal Time":""}getSetMillisecond=makeGetSet("Milliseconds",!1),addFormatToken("z",0,0,"zoneAbbr"),addFormatToken("zz",0,0,"zoneName");var proto=Moment.prototype;function createUnix(e){return createLocal(1e3*e)}function createInZone(){return createLocal.apply(null,arguments).parseZone()}function preParsePostFormat(e){return e}proto.add=add$2,proto.calendar=calendar$1,proto.clone=clone$1,proto.diff=diff,proto.endOf=endOf,proto.format=format,proto.from=from$1,proto.fromNow=fromNow,proto.to=to$1,proto.toNow=toNow,proto.get=stringGet,proto.invalidAt=invalidAt,proto.isAfter=isAfter,proto.isBefore=isBefore,proto.isBetween=isBetween,proto.isSame=isSame,proto.isSameOrAfter=isSameOrAfter,proto.isSameOrBefore=isSameOrBefore,proto.isValid=isValid$2,proto.lang=lang,proto.locale=locale,proto.localeData=localeData,proto.max=prototypeMax,proto.min=prototypeMin,proto.parsingFlags=parsingFlags,proto.set=stringSet,proto.startOf=startOf,proto.subtract=subtract,proto.toArray=toArray$2,proto.toObject=toObject$1,proto.toDate=toDate,proto.toISOString=toISOString,proto.inspect=inspect,"undefined"!=typeof Symbol&&null!=Symbol.for&&(proto[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),proto.toJSON=toJSON,proto.toString=toString$2,proto.unix=unix,proto.valueOf=valueOf,proto.creationData=creationData,proto.eraName=getEraName,proto.eraNarrow=getEraNarrow,proto.eraAbbr=getEraAbbr,proto.eraYear=getEraYear,proto.year=getSetYear,proto.isLeapYear=getIsLeapYear,proto.weekYear=getSetWeekYear,proto.isoWeekYear=getSetISOWeekYear,proto.quarter=proto.quarters=getSetQuarter,proto.month=getSetMonth,proto.daysInMonth=getDaysInMonth,proto.week=proto.weeks=getSetWeek,proto.isoWeek=proto.isoWeeks=getSetISOWeek,proto.weeksInYear=getWeeksInYear,proto.weeksInWeekYear=getWeeksInWeekYear,proto.isoWeeksInYear=getISOWeeksInYear,proto.isoWeeksInISOWeekYear=getISOWeeksInISOWeekYear,proto.date=getSetDayOfMonth,proto.day=proto.days=getSetDayOfWeek,proto.weekday=getSetLocaleDayOfWeek,proto.isoWeekday=getSetISODayOfWeek,proto.dayOfYear=getSetDayOfYear,proto.hour=proto.hours=getSetHour,proto.minute=proto.minutes=getSetMinute,proto.second=proto.seconds=getSetSecond,proto.millisecond=proto.milliseconds=getSetMillisecond,proto.utcOffset=getSetOffset,proto.utc=setOffsetToUTC,proto.local=setOffsetToLocal,proto.parseZone=setOffsetToParsedOffset,proto.hasAlignedHourOffset=hasAlignedHourOffset,proto.isDST=isDaylightSavingTime,proto.isLocal=isLocal,proto.isUtcOffset=isUtcOffset,proto.isUtc=isUtc,proto.isUTC=isUtc,proto.zoneAbbr=getZoneAbbr,proto.zoneName=getZoneName,proto.dates=deprecate$1("dates accessor is deprecated. Use date instead.",getSetDayOfMonth),proto.months=deprecate$1("months accessor is deprecated. Use month instead",getSetMonth),proto.years=deprecate$1("years accessor is deprecated. Use year instead",getSetYear),proto.zone=deprecate$1("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",getSetZone),proto.isDSTShifted=deprecate$1("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",isDaylightSavingTimeShifted);var proto$1=Locale.prototype;function get$2(e,t,n,i){var r=getLocale(),o=createUTC().set(i,t);return r[n](o,e)}function listMonthsImpl(e,t,n){if(isNumber$1(e)&&(t=e,e=void 0),e=e||"",null!=t)return get$2(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=get$2(e,i,n,"month");return r}function listWeekdaysImpl(e,t,n,i){"boolean"==typeof e?(isNumber$1(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,isNumber$1(t)&&(n=t,t=void 0),t=t||"");var r,o=getLocale(),a=e?o._week.dow:0,s=[];if(null!=n)return get$2(t,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=get$2(t,(r+a)%7,i,"day");return s}function listMonths(e,t){return listMonthsImpl(e,t,"months")}function listMonthsShort(e,t){return listMonthsImpl(e,t,"monthsShort")}function listWeekdays(e,t,n){return listWeekdaysImpl(e,t,n,"weekdays")}function listWeekdaysShort(e,t,n){return listWeekdaysImpl(e,t,n,"weekdaysShort")}function listWeekdaysMin(e,t,n){return listWeekdaysImpl(e,t,n,"weekdaysMin")}proto$1.calendar=calendar,proto$1.longDateFormat=longDateFormat,proto$1.invalidDate=invalidDate,proto$1.ordinal=ordinal,proto$1.preparse=preParsePostFormat,proto$1.postformat=preParsePostFormat,proto$1.relativeTime=relativeTime,proto$1.pastFuture=pastFuture,proto$1.set=set$1,proto$1.eras=localeEras,proto$1.erasParse=localeErasParse,proto$1.erasConvertYear=localeErasConvertYear,proto$1.erasAbbrRegex=erasAbbrRegex,proto$1.erasNameRegex=erasNameRegex,proto$1.erasNarrowRegex=erasNarrowRegex,proto$1.months=localeMonths,proto$1.monthsShort=localeMonthsShort,proto$1.monthsParse=localeMonthsParse,proto$1.monthsRegex=monthsRegex,proto$1.monthsShortRegex=monthsShortRegex,proto$1.week=localeWeek,proto$1.firstDayOfYear=localeFirstDayOfYear,proto$1.firstDayOfWeek=localeFirstDayOfWeek,proto$1.weekdays=localeWeekdays,proto$1.weekdaysMin=localeWeekdaysMin,proto$1.weekdaysShort=localeWeekdaysShort,proto$1.weekdaysParse=localeWeekdaysParse,proto$1.weekdaysRegex=weekdaysRegex,proto$1.weekdaysShortRegex=weekdaysShortRegex,proto$1.weekdaysMinRegex=weekdaysMinRegex,proto$1.isPM=localeIsPM,proto$1.meridiem=localeMeridiem,getSetGlobalLocale("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===toInt(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),hooks$1.lang=deprecate$1("moment.lang is deprecated. Use moment.locale instead.",getSetGlobalLocale),hooks$1.langData=deprecate$1("moment.langData is deprecated. Use moment.localeData instead.",getLocale);var mathAbs=Math.abs;function abs(){var e=this._data;return this._milliseconds=mathAbs(this._milliseconds),this._days=mathAbs(this._days),this._months=mathAbs(this._months),e.milliseconds=mathAbs(e.milliseconds),e.seconds=mathAbs(e.seconds),e.minutes=mathAbs(e.minutes),e.hours=mathAbs(e.hours),e.months=mathAbs(e.months),e.years=mathAbs(e.years),this}function addSubtract$1(e,t,n,i){var r=createDuration(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function add$3(e,t){return addSubtract$1(this,e,t,1)}function subtract$1(e,t){return addSubtract$1(this,e,t,-1)}function absCeil(e){return e<0?Math.floor(e):Math.ceil(e)}function bubble(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*absCeil(monthsToDays(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=absFloor(o/1e3),c.seconds=e%60,t=absFloor(e/60),c.minutes=t%60,n=absFloor(t/60),c.hours=n%24,a+=absFloor(n/24),s+=r=absFloor(daysToMonths(a)),a-=absCeil(monthsToDays(r)),i=absFloor(s/12),s%=12,c.days=a,c.months=s,c.years=i,this}function daysToMonths(e){return 4800*e/146097}function monthsToDays(e){return 146097*e/4800}function as(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=normalizeUnits(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+daysToMonths(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(monthsToDays(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)}}function valueOf$1(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*toInt(this._months/12):NaN}function makeAs(e){return function(){return this.as(e)}}var asMilliseconds=makeAs("ms"),asSeconds=makeAs("s"),asMinutes=makeAs("m"),asHours=makeAs("h"),asDays=makeAs("d"),asWeeks=makeAs("w"),asMonths=makeAs("M"),asQuarters=makeAs("Q"),asYears=makeAs("y");function clone$2(){return createDuration(this)}function get$3(e){return e=normalizeUnits(e),this.isValid()?this[e+"s"]():NaN}function makeGetter(e){return function(){return this.isValid()?this._data[e]:NaN}}var milliseconds=makeGetter("milliseconds"),seconds=makeGetter("seconds"),minutes=makeGetter("minutes"),hours=makeGetter("hours"),days=makeGetter("days"),months=makeGetter("months"),years=makeGetter("years");function weeks(){return absFloor(this.days()/7)}var round=Math.round,thresholds={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function substituteTimeAgo(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function relativeTime$1(e,t,n,i){var r=createDuration(e).abs(),o=round(r.as("s")),a=round(r.as("m")),s=round(r.as("h")),c=round(r.as("d")),l=round(r.as("M")),d=round(r.as("w")),u=round(r.as("y")),p=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||c<=1&&["d"]||c<n.d&&["dd",c];return null!=n.w&&(p=p||d<=1&&["w"]||d<n.w&&["ww",d]),(p=p||l<=1&&["M"]||l<n.M&&["MM",l]||u<=1&&["y"]||["yy",u])[2]=t,p[3]=+e>0,p[4]=i,substituteTimeAgo.apply(null,p)}function getSetRelativeTimeRounding(e){return void 0===e?round:"function"==typeof e&&(round=e,!0)}function getSetRelativeTimeThreshold(e,t){return void 0!==thresholds[e]&&(void 0===t?thresholds[e]:(thresholds[e]=t,"s"===e&&(thresholds.ss=t-1),!0))}function humanize$1(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=thresholds;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},thresholds,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),i=relativeTime$1(this,!r,o,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var abs$1=Math.abs;function sign(e){return(e>0)-(e<0)||+e}function toISOString$1(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,a,s,c=abs$1(this._milliseconds)/1e3,l=abs$1(this._days),d=abs$1(this._months),u=this.asSeconds();return u?(e=absFloor(c/60),t=absFloor(e/60),c%=60,e%=60,n=absFloor(d/12),d%=12,i=c?c.toFixed(3).replace(/\.?0+$/,""):"",r=u<0?"-":"",o=sign(this._months)!==sign(u)?"-":"",a=sign(this._days)!==sign(u)?"-":"",s=sign(this._milliseconds)!==sign(u)?"-":"",r+"P"+(n?o+n+"Y":"")+(d?o+d+"M":"")+(l?a+l+"D":"")+(t||e||c?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(c?s+i+"S":"")):"P0D"}var proto$2=Duration.prototype;proto$2.isValid=isValid$1,proto$2.abs=abs,proto$2.add=add$3,proto$2.subtract=subtract$1,proto$2.as=as,proto$2.asMilliseconds=asMilliseconds,proto$2.asSeconds=asSeconds,proto$2.asMinutes=asMinutes,proto$2.asHours=asHours,proto$2.asDays=asDays,proto$2.asWeeks=asWeeks,proto$2.asMonths=asMonths,proto$2.asQuarters=asQuarters,proto$2.asYears=asYears,proto$2.valueOf=valueOf$1,proto$2._bubble=bubble,proto$2.clone=clone$2,proto$2.get=get$3,proto$2.milliseconds=milliseconds,proto$2.seconds=seconds,proto$2.minutes=minutes,proto$2.hours=hours,proto$2.days=days,proto$2.weeks=weeks,proto$2.months=months,proto$2.years=years,proto$2.humanize=humanize$1,proto$2.toISOString=toISOString$1,proto$2.toString=toISOString$1,proto$2.toJSON=toISOString$1,proto$2.locale=locale,proto$2.localeData=localeData,proto$2.toIsoString=deprecate$1("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",toISOString$1),proto$2.lang=lang,addFormatToken("X",0,0,"unix"),addFormatToken("x",0,0,"valueOf"),addRegexToken("x",matchSigned),addRegexToken("X",matchTimestamp),addParseToken("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),addParseToken("x",(function(e,t,n){n._d=new Date(toInt(e))})), 57//! moment.js 58hooks$1.version="2.29.4",setHookCallback(createLocal),hooks$1.fn=proto,hooks$1.min=min$1,hooks$1.max=max$1,hooks$1.now=now$1,hooks$1.utc=createUTC,hooks$1.unix=createUnix,hooks$1.months=listMonths,hooks$1.isDate=isDate$1,hooks$1.locale=getSetGlobalLocale,hooks$1.invalid=createInvalid,hooks$1.duration=createDuration,hooks$1.isMoment=isMoment,hooks$1.weekdays=listWeekdays,hooks$1.parseZone=createInZone,hooks$1.localeData=getLocale,hooks$1.isDuration=isDuration,hooks$1.monthsShort=listMonthsShort,hooks$1.weekdaysMin=listWeekdaysMin,hooks$1.defineLocale=defineLocale,hooks$1.updateLocale=updateLocale,hooks$1.locales=listLocales,hooks$1.weekdaysShort=listWeekdaysShort,hooks$1.normalizeUnits=normalizeUnits,hooks$1.relativeTimeRounding=getSetRelativeTimeRounding,hooks$1.relativeTimeThreshold=getSetRelativeTimeThreshold,hooks$1.calendarFormat=getCalendarFormat,hooks$1.prototype=proto,hooks$1.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"};const SCHEME_CODES={0:"http://www.",1:"https://www.",2:"http://",3:"https://"},TLD_CODES={0:".com/",1:".org/",2:".edu/",3:".net/",4:".info/",5:".biz/",6:".gov/",7:".com",8:".org",9:".edu",10:".net",11:".info",12:".biz",13:".gov"},ASCII_SET_START=33,ASCII_SET_END=126,SCHEME_PREFIX_FLAGS_MASK=15;class EddystoneUtil{static encode(e){const t=[];
58EddystoneUtil.encodeSchemePrefix(e,t);const n=EddystoneUtil.trimScheme(e);let i=0;const r=n.length;for(;i<r;i++){if(EddystoneUtil.startsWithTld(n.substring(i))){const e=EddystoneUtil.extractTld(n.substring(i));i+=TLD_CODES[parseInt(e,16)].length,t.push(e)}if(i===n.length)break;const e=n.charCodeAt(i);Array.prototype.push.apply(t,EddystoneUtil.extractBytes(e))}return t.map(e=>e.length<2?"0".concat(e):e).join("")}static decode(e){e=e.match(/.{1,2}/g).map(e=>parseInt(e,16));let t="";t+=EddystoneUtil.decodeSchemePrefix(e[0]);let n=1;const i=e.length;for(;n<i;n++){const i=e[n];if(i>=ASCII_SET_START&&i<=ASCII_SET_END)t+=String.fromCharCode(i);else{if(!TLD_CODES.hasOwnProperty(i))throw new Error("Decoding failed - not ASCII character nor TLD byte");t+=TLD_CODES[i]}}return decodeURIComponent(t)}static startsWithTld(e){let t;for(t in TLD_CODES){if(!TLD_CODES.hasOwnProperty(t))continue;const n=TLD_CODES[t];if(startsWith(e,n))return!0}return!1}static extractBytes(e){if(e>=ASCII_SET_START&&e<=ASCII_SET_END)return[e.toString(16)];const t=encodeURIComponent(String.fromCharCode(e));let n=0;const i=[],r=t.length;for(;n<r;n++)i.push(t.charCodeAt(n).toString(16));return i}static encodeSchemePrefix(e,t){let n;for(n in SCHEME_CODES)if(SCHEME_CODES.hasOwnProperty(n)&&startsWith(e,SCHEME_CODES[n]))return void t.push(parseInt(n).toString(16));throw new Error("Encoding failed - invalid scheme")}static extractTld(e){let t;for(t in TLD_CODES){if(!TLD_CODES.hasOwnProperty(t))continue;const n=TLD_CODES[t];if(startsWith(e,n))return parseInt(t).toString(16)}throw new Error("Encoding failed - TLD not found at the beginning of substring")}static trimScheme(e){let t;for(t in SCHEME_CODES){if(!SCHEME_CODES.hasOwnProperty(t))continue;const n=SCHEME_CODES[t];if(startsWith(e,n))return e.substring(n.length)}throw new Error("Encoding failed - invalid scheme")}static decodeSchemePrefix(e){const t=SCHEME_CODES[e&SCHEME_PREFIX_FLAGS_MASK];if(void 0===t)throw new Error("Decoding failed - invalid scheme byte");return t}}const Assert=validator.Assert,DEVICE_PROPERTY_MAJOR_MIN=0,DEVICE_PROPERTY_MAJOR_MAX=65535,DEVICE_PROPERTY_MINOR_MIN=0,DEVICE_PROPERTY_MINOR_MAX=65535,DEVICE_PROPERTY_TX_POWER_MIN=0,DEVICE_PROPERTY_TX_POWER_MAX=7,DEVICE_PROPERTY_INTERVAL_MIN=100,DEVICE_PROPERTY_INTERVAL_MAX=10240,DEVICE_PROPERTY_BURSTON_MIN=15,DEVICE_PROPERTY_BURSTON_MAX=65535,DEVICE_PROPERTY_BURSTOFF_MIN=1,DEVICE_PROPERTY_BURSTOFF_MAX=10080,DEVICE_PROPERTY_NAME_MIN=1,DEVICE_PROPERTY_NAME_MAX=15,DEVICE_PROPERTY_ALIAS_MIN=1,DEVICE_PROPERTY_ALIAS_MAX=1024,DEVICE_PROPERTY_TAGS_MAX=20,DEVICE_PROPERTY_TAG_MAX_LENGTH=32,DEVICE_PROPERTY_PROXIMITY_REGEXP=/[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/i,DEVICE_PROPERTY_DEFAULT_SSID_NAME_MIN=1,DEVICE_PROPERTY_DEFAULT_SSID_NAME_MAX=31,DEVICE_PROPERTY_DEFAULT_SSID_KEY_MIN=1,DEVICE_PROPERTY_DEFAULT_SSID_KEY_MAX=31,DEVICE_PROPERTY_DATA_SEND_INTERVAL_MIN=2,DEVICE_PROPERTY_DATA_SEND_INTERVAL_MAX=60,DEVICE_PROPERTY_WIFI_SCAN_INTERVAL_MIN=1,DEVICE_PROPERTY_WIFI_SCAN_INTERVAL_MAX=30,DEVICE_PROPERTY_BLE_SCAN_INTERVAL_MIN=0,DEVICE_PROPERTY_BLE_SCAN_INTERVAL_MAX=86400,DEVICE_PROPERTY_INSTANCE_ID_REGEXP=/^[0-9A-F]{12}$/i,DEVICE_PROPERTY_NAMESPACE_REGEXP=/^[0-9A-F]{20}$/i,DEVICE_PROPERTY_URL_MAX=36,DEVICE_PROPERTY_IR_BLINK_INTERVAL_MIN=60,DEVICE_PROPERTY_IR_BLINK_INTERVAL_MAX=6e4,DEVICE_PROPERTY_IR_ROOM_NUMBER_MIN=-1,DEVICE_PROPERTY_IR_ROOM_NUMBER_MAX=15,URL_REGEXP=/^((https?:\/\/)?([\da-zA-Z\.-]+)\.([a-zA-Z\.]{2,6})([\/\w \.-]*)*\/?)((?:\/[\+~%\/\.\w\-]*)?\??(?:[\-\+=&;%@\.\w]*)#?(?:[\.!\/\\\w]*))?$/,PASSWORD_REGEXP=/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])[a-zA-Z0-9!#$%&()*+,\-./:;<=>?@\[\]_`{|}~\\^]*$/,DeviceAccess={Viewer:"VIEWER",Editor:"EDITOR",Supervisor:"SUPERVISOR",Subordinate:"SUBORDINATE",Owner:"OWNER"},DeviceType={Beacon:"BEACON",CloudBeacon:"CLOUD_BEACON",Gateway:"GATEWAY",External:"EXTERNAL"},DeviceModel={Gateway:"GATEWAY",External:"EXTERNAL",PortalLight:"PORTAL_LIGHT"},ExternalRole$1={Source:"SOURCE",Sensor:"SENSOR"},BeaconModel={SmartBeacon:"SMART_BEACON",SmartBeaconThree:"SMART_BEACON_3",UsbBeacon:"USB_BEACON",SensorBeacon:"SENSOR_BEACON",CardBeacon:"CARD_BEACON",CardBeaconTwo:"CARD_BEACON_2",BeaconPro:"BEACON_PRO",ToughBeacon:"TOUGH_BEACON",TagBeacon:"TAG_BEACON",HeavyDutyBeacon:"HEAVY_DUTY_BEACON",BraceletTag:"BRACELET_TAG",BraceletTagTwo:"BRACELET_TAG_2",UniversalTag:"UNIVERSAL_TAG",ToughBeaconTwo:"TOUGH_BEACON_2",TTBeacon:"TT_BEACON",NanoTag:"NANO_TAG",PuckTag:"PUCK_TAG",LanyardTag:"LANYARD_TAG",PortalBeam:"PORTAL_BEAM",SmartBadge:"SMART_BADGE",MinewS1:"MINEW_S1",MinewI7:"MINEW_I7",MinewI3:"MINEW_I3",NanoSeries:"NANO_SERIES",AssetTag2:"ASSET_TAG_2",AnchorBeacon2:"ANCHOR_BEACON_2",DispenserBeacon:"DISPENSER_BEACON",BeamMini:"BEAM_MINI",PortalBeamIr:"PORTAL_BEAM_IR",PartnerDevice:"PARTNER_DEVICE"},BeaconProducts={[BeaconModel.TagBeacon]:"Asset Tag",[BeaconModel.BeaconPro]:"Beacon Pro BP16-3",[BeaconModel.BraceletTag]:"Bracelet Tag BT18-3",[BeaconModel.BraceletTagTwo]:"Bracelet Tag BT19-4",[BeaconModel.CardBeacon]:"Card Tag CT16-2",[BeaconModel.CardBeaconTwo]:"Card Tag",[BeaconModel.HeavyDutyBeacon]:"Heavy Duty Beacon",[BeaconModel.SmartBadge]:"Smart Badge",[BeaconModel.SensorBeacon]:"Smart Beacon SB13-1",[BeaconModel.SmartBeacon]:"Smart Beacon SB16-2",[BeaconModel.SmartBeaconThree]:"Smart Beacon SB18-3",[BeaconModel.ToughBeacon]:"Tough Beacon TB15-1",[BeaconModel.ToughBeaconTwo]:"Tough Beacon",[BeaconModel.UniversalTag]:"Universal Tag UT19-1",[BeaconModel.UsbBeacon]:"USB Beacon UB16-2",[BeaconModel.TTBeacon]:"Custom Beacon TT20-1",[BeaconModel.NanoTag]:"Nano Wristband Tag",[BeaconModel.PuckTag]:"Puck Beacon",[BeaconModel.LanyardTag]:"Lanyard Tag",[BeaconModel.PortalBeam]:"Portal Beam",[BeaconModel.NanoSeries]:"Nano Series",[BeaconModel.AssetTag2]:"Asset Tag 2",[BeaconModel.AnchorBeacon2]:"Anchor Beacon 2",[BeaconModel.DispenserBeacon]:"Dispenser Beacon",[BeaconModel.BeamMini]:"Mini Beam",[BeaconModel.PortalBeamIr]:"Portal Beam IR"},DeviceModelLabels={[BeaconModel.SmartBeacon]:"Smart Beacon SB16-2",[BeaconModel.UsbBeacon]:"USB Beacon UB16-2",[BeaconModel.SensorBeacon]:"Sensor Beacon",[BeaconModel.CardBeacon]:"Card Tag CT16-2",[BeaconModel.BeaconPro]:"Beacon Pro BP16-3",[BeaconModel.ToughBeacon]:"Tough Beacon TB15-1",[BeaconModel.HeavyDutyBeacon]:"Heavy Duty Beacon",[BeaconModel.SmartBadge]:"Smart Badge",[BeaconModel.CardBeaconTwo]:"Card Tag",[BeaconModel.TagBeacon]:"Asset Tag",[BeaconModel.SmartBeaconThree]:"Smart Beacon SB18-3",[BeaconModel.BraceletTag]:"Bracelet Tag BT18-3",[BeaconModel.BraceletTagTwo]:"Bracelet Tag BT19-4",[BeaconModel.UniversalTag]:"Universal Tag UT19-1",[BeaconModel.ToughBeaconTwo]:"Tough Beacon",[BeaconModel.TTBeacon]:"Custom Beacon TT20-1",[BeaconModel.NanoTag]:"Nano Wristband Tag",[BeaconModel.PuckTag]:"Puck Beacon",[BeaconModel.LanyardTag]:"Lanyard Tag",TOUGH:"Tough Beacon TB15-1",CLOUD_BEACON:"Gateway GW14-1",GATEWAY:"Gateway GW16-2",EXTERNAL:"Exter
58nal",[BeaconModel.NanoSeries]:"Nano Series",[BeaconModel.AssetTag2]:"Asset Tag 2",[BeaconModel.AnchorBeacon2]:"Anchor Beacon 2"},Model=_$1.extend({CloudBeacon:"CLOUD_BEACON"},BeaconModel),Profile={IBeacon:"IBEACON",Eddystone:"EDDYSTONE"},TIME_REGEXP=/^([01][0-9]|2[0-3]):[0-5][0-9]$/i,HashingPolicy={On:"ALWAYS",Off:"NEVER"},Packet={IBeacon:"IBEACON",EddystoneTLM:"EDDYSTONE_TLM",EddystoneURL:"EDDYSTONE_URL",EddystoneUID:"EDDYSTONE_UID",EID:"EDDYSTONE_EID",ETLM:"EDDYSTONE_ETLM",Telemetry:"KONTAKT_TLM",Location:"KONTAKT_LOCATION",ButtoniBeacon:"BUTTON_IBEACON",Kontakt:"KONTAKT",TT_FRAME:"TT_FRAME"},ButtonFeatures={LongPressOff:"LONG_PRESS_OFF",ClickOff:"CLICK_OFF"},Specification={Tough:"TOUGH",Standard:"STANDARD"},IMAGE_LARGE="338",DeviceValidationConstraints={minor:[(new Assert).Regexp(/^[0-9]*$/),(new Assert).Range(DEVICE_PROPERTY_MAJOR_MIN,DEVICE_PROPERTY_MAJOR_MAX)],major:[(new Assert).Regexp(/^[0-9]*$/),(new Assert).Range(DEVICE_PROPERTY_MINOR_MIN,DEVICE_PROPERTY_MINOR_MAX)],txPower:[(new Assert).Regexp(/^[0-9]*$/),(new Assert).Range(DEVICE_PROPERTY_TX_POWER_MIN,DEVICE_PROPERTY_TX_POWER_MAX)],interval:[(new Assert).Regexp(/^[0-9]*$/),(new Assert).Range(DEVICE_PROPERTY_INTERVAL_MIN,DEVICE_PROPERTY_INTERVAL_MAX)],name:(new Assert).Length({min:DEVICE_PROPERTY_NAME_MIN,max:DEVICE_PROPERTY_NAME_MAX}),alias:(new Assert).Length({min:DEVICE_PROPERTY_ALIAS_MIN,max:DEVICE_PROPERTY_ALIAS_MAX}),proximity:[(new Assert).Regexp(DEVICE_PROPERTY_PROXIMITY_REGEXP)],defaultSSIDName:(new Assert).Length({min:DEVICE_PROPERTY_DEFAULT_SSID_NAME_MIN,max:DEVICE_PROPERTY_DEFAULT_SSID_NAME_MAX}),defaultSSIDKey:(new Assert).Length({min:DEVICE_PROPERTY_DEFAULT_SSID_KEY_MIN,max:DEVICE_PROPERTY_DEFAULT_SSID_KEY_MAX}),dataSendInterval:[(new Assert).Regexp(/^[0-9]*$/),(new Assert).Range(DEVICE_PROPERTY_DATA_SEND_INTERVAL_MIN,DEVICE_PROPERTY_DATA_SEND_INTERVAL_MAX)],wifiScanInterval:[(new Assert).Regexp(/^[0-9]*$/),(new Assert).Range(DEVICE_PROPERTY_WIFI_SCAN_INTERVAL_MIN,DEVICE_PROPERTY_WIFI_SCAN_INTERVAL_MAX)],bleScanInterval:[(new Assert).Regexp(/^[0-9]*$/),(new Assert).Range(DEVICE_PROPERTY_BLE_SCAN_INTERVAL_MIN,DEVICE_PROPERTY_BLE_SCAN_INTERVAL_MAX)],instanceId:[(new Assert).Regexp(DEVICE_PROPERTY_INSTANCE_ID_REGEXP)],namespace:[(new Assert).Regexp(DEVICE_PROPERTY_NAMESPACE_REGEXP)],url:[(new Assert).Regexp(URL_REGEXP),(new Assert).Callback(e=>{try{return EddystoneUtil.encode(e).length<=36}catch(e){return!1}})],maintenanceStart:[(new Assert).Regexp(TIME_REGEXP)],maintenanceEnd:[(new Assert).Regexp(TIME_REGEXP)]},DEVICE_PROPERTIES_VIRTUAL=["alias","hashingPolicy","lat","lng","deployedLat","deployedLng","tags","metadata"],DEVICE_PROPERTIES_PHYSICAL=["minor","major","txPower","interval","proximity","defaultSSIDName","defaultSSIDKey","defaultSSIDAuth","defaultSSIDCrypt","wifiScanInterval","dataSendInterval","bleScanInterval","bleScanDuration","wifiScanCount","workingMode","maintenanceStart","maintenanceEnd","profiles","buttonFeatures","packets","name","namespace","instanceId","url","shuffled","powerSaver","rssi1m","moveSuspendTimeout","irRoomNumber","irBlinkInterval","airQualityInterval","lightSensorSamplingInterval","occupancy.minInterval","occupancy.maxInterval","occupancy.sensitivity","occupancy.model","telemetryFields"],DeviceConstants={VALIDATION_RULES:{minor:{type:"integer",min:DEVICE_PROPERTY_MINOR_MIN,max:DEVICE_PROPERTY_MINOR_MAX},major:{type:"integer",min:DEVICE_PROPERTY_MAJOR_MIN,max:DEVICE_PROPERTY_MAJOR_MAX},txPower:{type:"integer",min:DEVICE_PROPERTY_TX_POWER_MIN,max:DEVICE_PROPERTY_TX_POWER_MAX},interval:{type:"integer",min:DEVICE_PROPERTY_INTERVAL_MIN,max:DEVICE_PROPERTY_INTERVAL_MAX},burstOn:{type:"integer",min:DEVICE_PROPERTY_BURSTON_MIN,max:DEVICE_PROPERTY_BURSTON_MAX},burstOff:{type:"integer",min:DEVICE_PROPERTY_BURSTOFF_MIN,max:DEVICE_PROPERTY_BURSTOFF_MAX},name:{minlength:DEVICE_PROPERTY_NAME_MIN,maxlength:DEVICE_PROPERTY_NAME_MAX},alias:{minlength:DEVICE_PROPERTY_ALIAS_MIN,maxlength:DEVICE_PROPERTY_ALIAS_MAX},proximity:{pattern:DEVICE_PROPERTY_PROXIMITY_REGEXP},defaultSSIDName:{minlength:DEVICE_PROPERTY_DEFAULT_SSID_NAME_MIN,maxlength:DEVICE_PROPERTY_DEFAULT_SSID_NAME_MAX},defaultSSIDKey:{minlength:DEVICE_PROPERTY_DEFAULT_SSID_KEY_MIN,maxlength:DEVICE_PROPERTY_DEFAULT_SSID_KEY_MAX},defaultSSIDAuth:{}
58,dataSendInterval:{type:"integer",min:DEVICE_PROPERTY_DATA_SEND_INTERVAL_MIN,max:DEVICE_PROPERTY_DATA_SEND_INTERVAL_MAX},wifiScanInterval:{type:"integer",min:DEVICE_PROPERTY_WIFI_SCAN_INTERVAL_MIN,max:DEVICE_PROPERTY_WIFI_SCAN_INTERVAL_MAX},bleScanInterval:{type:"integer",min:DEVICE_PROPERTY_BLE_SCAN_INTERVAL_MIN,max:DEVICE_PROPERTY_BLE_SCAN_INTERVAL_MAX},maintenanceStart:{pattern:TIME_REGEXP},maintenanceEnd:{pattern:TIME_REGEXP},instanceId:{pattern:/^[0-9A-F]{12}$/i,minlength:12,maxlength:12},namespace:{pattern:DEVICE_PROPERTY_NAMESPACE_REGEXP,minlength:20,maxlength:20},url:{eddystone:""},"sharing.managerMail":{group:"sharing",type:"email",required:!0},"sharing.expirationDate":{group:"sharing",required:!0,"date-is-after":hooks$1().format()}}},ManagerRole={Superuser:"SUPERUSER",Admin:"ADMIN",Operator:"OPERATOR"},ContentTypes={FormUrlencoded:"application/x-www-form-urlencoded",Json:"application/json; charset=utf-8"},PowerSavingFeatures={Off:"OFF",MotionDetection:"MOTION_DETECTION",BurstMode:"BURST_MODE",LightSensor:"LIGHT_SENSOR",Rtc:"RTC"},QueryType={Normal:"NORMAL",Counted:"COUNTED",SearchMeta:"SEARCH_META"},MediaType={Image:{All:"image/*",Png:"image/png",Jpg:"image/jpeg",Gif:"image/gif"}},WifiProtocol={Eap:"WPA_EAP",Psk:"WPA_PSK",OpenWifi:"OPEN"},NON_ALPHANUMERIC_REGEXP=/[^0-9\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
58D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g,Vendor={Meraki:"MERAKI"},Subscription={FreeTierDevices:50,DefaultBillingCycle:12,PlanType:{Legacy:"LEGACY",NotApplicable:"NOT_APPLICABLE",Free:"FREE",NoPlan:"NONE",Management:"MANAGEMENT",LocationEngine:"LOCATION_ENGINE",FleetManagement:"FLEET_MANAGEMENT"},RenewalType:{Recurring:"RECURRING",SinglePayment:"SINGLE_PAYMENT"},Status:{New:"NEW",Active:"ACTIVE",PastDue:"PAST_DUE",CancelPending:"CANCEL_PENDING",Canceled:"CANCELED"}};function compare(e,t){if(!isString$2(e))return!1;if(!isString$2(t))return!1;const n=e.split("."),i=t.split(".");let r=0;const o=Math.max(n.length,i.length);for(;r<o;r++){if(n[r]&&!i[r]&&parseInt(n[r])>0||parseInt(n[r])>parseInt(i[r]))return 1;if(i[r]&&!n[r]&&parseInt(i[r])>0||parseInt(n[r])<parseInt(i[r]))return-1}return 0}function isString$2(e){return"[object String]"===Object.prototype.toString.call(e)}function and(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){const n=[];return t.forEach(t=>{n.push(t(e))}),_$1.every(n)}}function or(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){const n=[];return t.forEach(t=>{n.push(t(e))}),_$1.some(n)}}function not(e){return function(t){return!e(t)}}function is(e,t){return function(n){return n instanceof backbone.Model?!!n.has(e)&&n.get(e)===t:!(!_$1.isObject(n)||!n.hasOwnProperty(e))&&n[e]===t}}function isNot(e,t){return function(n){return!is(e,t)(n)}}function oneOf(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 function(t){return t instanceof backbone.Model?!!t.has(e)&&n.indexOf(t.get(e))>-1:!(!_$1.isObject(t)||!t.hasOwnProperty(e))&&n.indexOf(t[e])>-1}}function isDefined(e){return function(t){let n=null;return t instanceof backbone.Model?t.has(e)&&(n=t.get(e)):_$1.isObject(t)&&t.hasOwnProperty(e)&&(n=t[e]),!_$1.isNull(n)&&!_$1.isUndefined(n)&&!_$1.isEmpty(n)}}function versionGreater(e,t){return versionCompareFunction(e,t,[1])}function versionGreaterOrEqual(e,t){return versionCompareFunction(e,t,[0,1])}function versionLesserThan(e,t){return versionCompareFunction(e,t,[-1])}function versionCompareFunction(e,t,n){return function(i){let r;if(r=i instanceof backbone.Model?i.get(e):i[e],void 0===r)return!1;const o=compare(r,t);return-1!==n.indexOf(o)}}const STILL_PENDING_TOKEN="still pending";class Loader{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=_$1.defaults(e,{interval:200}),this.promises=[],this.logger=new Logger("Loader","coral"),this.logger.log=()=>{},this.initSpinnerView()}initSpinnerView(){this.spinnerView=new Spinner,this.spinnerView.render().hide(),this.spinnerView.$el.appendTo(jquery("body"))}pushPromise(e){const t=(_$1.isArray(e)?e:[e]).filter(this.isValidPromise).map(this.wrapDeferred);return t.length>0&&(this.promises.push(...t),this.runResolver()),e}isValidPromise(e){return _$1.isObject(e)&&_$1.isFunction(e.then)}wrapDeferred(e){return _$1.isFunction(e.state)?new Promise((t,n)=>{e.then(t,n)}):e}runResolver(){this.interval&&this.clearCurrentInterval(),this.show(),this.interval=window.setInterval(()=>{this.logger.log("Test state of %d promises.",this.promises.length);const e=Promise.all(this.promises);window.setTimeout(()=>{"Legacy"===window.FeatureSet&&e.then(()=>{}),Promise.race([e,Promise.resolve(STILL_PENDING_TOKEN)]).then(e=>{this.logger.log("Test state resolve to: %o",e),e!==STILL_PENDING_TOKEN&&this.resolve()},()=>this.resolve())})},this.options.interval)}resolve(){this.clearCurrentInterval(),this.promises=[],this.hide()}clearCurrentInterval(){this.logger.log("Clearing the resolver interval %d",this.interval),window.clearInterval(this.interval),this.interval=void 0}show(){this.logger.log("Showing the loader"),this.spinnerView.show()}hide(){this.logger.log("Hiding the loader"),this.spinnerView.hide()}}class Spinner extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{className:"loader-container",text:i18n.get("general.loading")}),super(e),this.loadingText=e.text}render(){return this.$el.html('<div class="loader-position-helper"><div class="loader">'.concat(this.loadingText,"</div></div>")),this}show(){this.$el.show()}hide(){this.$el.hide()}}const l=new Loader,loader=l;class Modal extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!_$1.has(e,"template"))throw new Error("Template must be passed when initializing a Modal");if(_$1.has(e,"tabs")&&!_$1.isArray(e.tabs))throw new Error("Tabs must be an array of Backbone.Views");_$1.has(e,"model")||(e.model=new DummyModel),super(e),this.template=e.template,this.callbacks={},this.callbacks.onOpen=e.onOpen,this.callbacks.onClose=e.onClose,this.callbacks.onChange=e.onChange,this.tabs=e.tabs||!1;const t=e.popupOptions||{},n=this.model.fetch().then(()=>{jquery.magnificPopup.open(_$1.defaults(t,{alignTop:!0,fixedBgPos:!0,fixedContentPos:!0,closeOnBgClick:!0,enableEscapeKey:!0,showCloseBtn:!0,items:{src:this.template(this.viewModel()),type:"inline"},callbacks:{open:this.onOpen.bind(this),close:this.onClose.bind(this),change:this.onChange.bind(this),beforeOpen:()=>jquery("html").addClass("mfp-helper"),beforeClose:()=>jquery("html").removeClass("mfp-helper")}}))});l.pushPromise(n)}onOpen(){this.unstickit(),this.setElement(jquery.magnificPopup.instance.content),this.tabs&&this.initTabs(),this.render(),this.stickit(),_$1.isFunction(this.callbacks.onOpen)&&this.callbacks.onOpen()}onChange(){this.onOpen(),_$1.isFunction(this.callbacks.onChange)&&this.callbacks.onChange()}onClose(){this.remove(),_$1.isFunction(this.callbacks.onClose)&&this.callbacks.onClose()}initTabs(){let e=0;const t=this.tabs.length;for(;e<t;e++){new(0,this.tabs[e])({model:this.model}).render()}}close(){jquery.magnificPopup.instance.close()}viewModel(){return this.model}}class DummyModel extends backbone.Model{fetch(){return jquery.Deferred().resolve({}).promise()}}var utils=createCommonjsModule((function(e,t){t.__esModule=!0,t.extend=a,t.indexOf=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!r.test(e))return e;return e.replace(i,o)},t.isEmpty=function(e){return!e&&0!==e||!(!l(e)||0!==e.length)},t.createFrame=function(e){var t=a({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},i=/[&<>"'`=]/g,r=/[&<>"'`=]/;function o(e){return n[e]}function a(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var s=Object.prototype.toString;t.toString=s;var c=function(e){return"function"==typeof e};
vendor: 5,086 bytes, line 58
58c(/x/)&&(t.isFunction=c=function(e){return"function"==typeof e&&"[object Function]"===s.call(e)}),t.isFunction=c;var l=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===s.call(e)};t.isArray=l}));unwrapExports(utils);var utils_1=utils.extend,utils_2=utils.indexOf,utils_3=utils.escapeExpression,utils_4=utils.isEmpty,utils_5=utils.createFrame,utils_6=utils.blockParams,utils_7=utils.appendContextPath,utils_8=utils.isFunction,utils_9=utils.isArray,exception=createCommonjsModule((function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function i(e,t){var r=t&&t.loc,o=void 0,a=void 0,s=void 0,c=void 0;r&&(o=r.start.line,a=r.end.line,s=r.start.column,c=r.end.column,e+=" - "+o+":"+s);for(var l=Error.prototype.constructor.call(this,e),d=0;d<n.length;d++)this[n[d]]=l[n[d]];Error.captureStackTrace&&Error.captureStackTrace(this,i);try{r&&(this.lineNumber=o,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:c,enumerable:!0})):(this.column=s,this.endColumn=c))}catch(e){}}i.prototype=new Error,t.default=i,e.exports=t.default}));unwrapExports(exception);var blockHelperMissing=createCommonjsModule((function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var i=n.inverse,r=n.fn;if(!0===t)return r(this);if(!1===t||null==t)return i(this);if(utils.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var o=utils.createFrame(n.data);o.contextPath=utils.appendContextPath(n.data.contextPath,n.name),n={data:o}}return r(t,n)}))},e.exports=t.default}));unwrapExports(blockHelperMissing);var each$1=createCommonjsModule((function(e,t){t.__esModule=!0;var n,i=(n=exception)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new i.default("Must pass iterator to #each");var n,r=t.fn,o=t.inverse,a=0,s="",c=void 0,l=void 0;function d(t,n,i){c&&(c.key=t,c.index=n,c.first=0===n,c.last=!!i,l&&(c.contextPath=l+t)),s+=r(e[t],{data:c,blockParams:utils.blockParams([e[t],t],[l+t,null])})}if(t.data&&t.ids&&(l=utils.appendContextPath(t.data.contextPath,t.ids[0])+"."),utils.isFunction(e)&&(e=e.call(this)),t.data&&(c=utils.createFrame(t.data)),e&&"object"==typeof e)if(utils.isArray(e))for(var u=e.length;a<u;a++)a in e&&d(a,a,a===e.length-1);else if(commonjsGlobal.Symbol&&e[commonjsGlobal.Symbol.iterator]){for(var p=[],h=e[commonjsGlobal.Symbol.iterator](),f=h.next();!f.done;f=h.next())p.push(f.value);for(u=(e=p).length;a<u;a++)d(a,a,a===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&d(n,a-1),n=e,a++})),void 0!==n&&d(n,a-1,!0);return 0===a&&(s=o(this)),s}))},e.exports=t.default}));unwrapExports(each$1);var helperMissing=createCommonjsModule((function(e,t){t.__esModule=!0;var n,i=(n=exception)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default}));unwrapExports(helperMissing);var _if=createCommonjsModule((function(e,t){t.__esModule=!0;var n,i=(n=exception)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new i.default("#if requires exactly one argument");return utils.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||utils.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new i.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default}));unwrapExports(_if);var log=createCommonjsModule((function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],i=0;i<arguments.length-1;i++)t.push(arguments[i]);var r=1;null!=n.hash.level?r=n.hash.level:n.data&&null!=n.data.level&&(r=n.data.level),t[0]=r,e.log.apply(e,t)}))},e.exports=t.default}));unwrapExports(log);var lookup=createCommonjsModule((function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default}));unwrapExports(lookup);var _with=createCommonjsModule((function(e,t){t.__esModule=!0;var n,i=(n=exception)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new i.default("#with requires exactly one argument");utils.isFunction(e)&&(e=e.call(this));var n=t.fn;if(utils.isEmpty(e))return t.inverse(this);var r=t.data;return t.data&&t.ids&&((r=utils.createFrame(t.data)).contextPath=utils.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:r,blockParams:utils.blockParams([e],[r&&r.contextPath])})}))},e.exports=t.default}));unwrapExports(_with);var helpers=createCommonjsModule((function(e,t){function n(e){return e&&e.__esMo
58dule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){i.default(e),r.default(e),o.default(e),a.default(e),s.default(e),c.default(e),l.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var i=n(blockHelperMissing),r=n(each$1),o=n(helperMissing),a=n(_if),s=n(log),c=n(lookup),l=n(_with)}));unwrapExports(helpers);var helpers_1=helpers.registerDefaultHelpers,helpers_2=helpers.moveHelperToHooks,inline=createCommonjsModule((function(e,t){t.__esModule=!0,t.default=function(e){e.registerDecorator("inline",(function(e,t,n,i){var r=e;return t.partials||(t.partials={},r=function(i,r){var o=n.partials;n.partials=utils.extend({},o,t.partials);var a=e(i,r);return n.partials=o,a}),t.partials[i.args[0]]=i.fn,r}))},e.exports=t.default}));unwrapExports(inline);var decorators=createCommonjsModule((function(e,t){t.__esModule=!0,t.registerDefaultDecorators=function(e){i.default(e)};var n,i=(n=inline)&&n.__esModule?n:{default:n}}));unwrapExports(decorators);var decorators_1=decorators.registerDefaultDecorators,logger_1=createCommonjsModule((function(e,t){t.__esModule=!0;var n={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=utils.indexOf(n.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=n.lookupLevel(e),"undefined"!=typeof console&&n.lookupLevel(n.level)<=e){var t=n.methodMap[e];console[t]||(t="log");for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];console[t].apply(console,r)}}};t.default=n,e.exports=t.default}));unwrapExports(logger_1);var createNewLookupObject_1=createCommonjsModule((function(e,t){t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return utils.extend.apply(void 0,[Object.create(null)].concat(t))}}));unwrapExports(createNewLookupObject_1);var createNewLookupObject_2=createNewLookupObject_1.createNewLookupObject,protoAccess=createCommonjsModule((function(e,t){t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:createNewLookupObject_1.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:createNewLookupObject_1.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return r("function"==typeof e?t.methods:t.properties,n)}
vendor: 6,189 bytes, line 58
58,t.resetLoggedProperties=function(){Object.keys(i).forEach((function(e){delete i[e]}))};var n=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}(logger_1),i=Object.create(null);function r(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==i[e]&&(i[e]=!0,n.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}}));unwrapExports(protoAccess);var protoAccess_1=protoAccess.createProtoAccessControl,protoAccess_2=protoAccess.resultIsAllowed,protoAccess_3=protoAccess.resetLoggedProperties,base=createCommonjsModule((function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=o;var i=n(exception),r=n(logger_1);t.VERSION="4.7.7";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};function o(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},helpers.registerDefaultHelpers(this),decorators.registerDefaultDecorators(this)}o.prototype={constructor:o,logger:r.default,log:r.default.log,registerHelper:function(e,t){if("[object Object]"===utils.toString.call(e)){if(t)throw new i.default("Arg not supported with multiple helpers");utils.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===utils.toString.call(e))utils.extend(this.partials,e);else{if(void 0===t)throw new i.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if("[object Object]"===utils.toString.call(e)){if(t)throw new i.default("Arg not supported with multiple decorators");utils.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){protoAccess.resetLoggedProperties()}};var a=r.default.log;t.log=a,t.createFrame=utils.createFrame,t.logger=r.default}));unwrapExports(base);var base_1=base.HandlebarsEnvironment,base_2=base.VERSION,base_3=base.COMPILER_REVISION,base_4=base.LAST_COMPATIBLE_COMPILER_REVISION,base_5=base.REVISION_CHANGES,base_6=base.log,base_7=base.createFrame,base_8=base.logger,safeString=createCommonjsModule((function(e,t){function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default}));unwrapExports(safeString);var wrapHelper_1=createCommonjsModule((function(e,t){t.__esModule=!0,t.wrapHelper=function(e,t){if("function"!=typeof e)return e;return function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=t(n),e.apply(this,arguments)}}}));unwrapExports(wrapHelper_1);var wrapHelper_2=wrapHelper_1.wrapHelper,runtime=createCommonjsModule((function(e,t){t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=base.COMPILER_REVISION;if(t>=base.LAST_COMPATIBLE_COMPILER_REVISION&&t<=base.COMPILER_REVISION)return;if(t<base.LAST_COMPATIBLE_COMPILER_REVISION){var i=base.REVISION_CHANGES[n],o=base.REVISION_CHANGES[t];throw new r.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+i+") or downgrade your runtime to an older version ("+o+").")}throw new r.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")},t.template=function(e,t){if(!t)throw new r.default("No environment passed to template");if(!e||!e.main)throw new r.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0];var a={strict:function(e,t,n){if(!e||!(t in e))throw new r.default('"'+t+'" not defined in '+e,{loc:n});return a.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||protoAccess.resultIsAllowed(n,a.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,i=0;i<n;i++){if(null!=(e[i]&&a.lookupProperty(e[i],t)))return e[i][t]}},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:i.escapeExpression,invokePartial:function(n,o,a){a.hash&&(o=i.extend({},o,a.hash),a.ids&&(a.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,o,a);var s=i.extend({},a,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),c=t.VM.invokePartial.call(this,n,o,s);if(null==c&&t.compile&&(a.partials[a.name]=t.compile(n,e.compilerOptions,t),c=a.partials[a.name](o,s)),null!=c){if(a.indent){for(var l=c.split("\n"),d=0,u=l.length;d<u&&(l[d]||d+1!==u);d++)l[d]=a.indent+l[d];c=l.join("\n")}return c}throw new r.default("The partial "+a.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,i,r){var a=this.programs[e],s=this.fn(e);return t||r||i||n?a=o(this,e,s,t,n,i,r):a||(a=this.programs[e]=o(this,e,s)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=i.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function l(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=n.data;l._setup(n),!n.partial&&e.useData&&(i=s(t,i));var r=void 0,o=e.useBlockParams?[]:void 0;function d(t){return""+e.main(a,t,a.helpers,a.partials,i,o,r)}return e.useDepths&&(r=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(d=c(e.main,d,a,n.depths||[],i,o))(t,n)}return l.isTop=!0,l._setup=function(r){if(r.partial)a.protoAccessControl
58=r.protoAccessControl,a.helpers=r.helpers,a.partials=r.partials,a.decorators=r.decorators,a.hooks=r.hooks;else{var o=i.extend({},t.helpers,r.helpers);!function(e,t){Object.keys(e).forEach((function(n){var r=e[n];e[n]=function(e,t){var n=t.lookupProperty;return wrapHelper_1.wrapHelper(e,(function(e){return i.extend({lookupProperty:n},e)}))}(r,t)}))}(o,a),a.helpers=o,e.usePartial&&(a.partials=a.mergeIfNeeded(r.partials,t.partials)),(e.usePartial||e.useDecorators)&&(a.decorators=i.extend({},t.decorators,r.decorators)),a.hooks={},a.protoAccessControl=protoAccess.createProtoAccessControl(r);var s=r.allowCallsToHelperMissing||n;helpers.moveHelperToHooks(a,"helperMissing",s),helpers.moveHelperToHooks(a,"blockHelperMissing",s)}},l._child=function(t,n,i,s){if(e.useBlockParams&&!i)throw new r.default("must pass block params");if(e.useDepths&&!s)throw new r.default("must pass parent depths");return o(a,t,e[t],n,0,i,s)},l},t.wrapProgram=o,t.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},t.invokePartial=function(e,t,n){var o=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var s=void 0;n.fn&&n.fn!==a&&function(){n.data=base.createFrame(n.data);var e=n.fn;s=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=base.createFrame(n.data),n.data["partial-block"]=o,e(t,n)},e.partials&&(n.partials=i.extend({},n.partials,e.partials))}();void 0===e&&s&&(e=s);if(void 0===e)throw new r.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=a;var n,i=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}(utils),r=(n=exception)&&n.__esModule?n:{default:n};function o(e,t,n,i,r,o,a){function s(t){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(s=[t].concat(a)),n(e,t,e.helpers,e.partials,r.data||i,o&&[r.blockParams].concat(o),s)}return(s=c(n,s,e,a,i,o)).program=t,s.depth=a?a.length:0,s.blockParams=r||0,s}function a(){return""}function s(e,t){return t&&"root"in t||((t=t?base.createFrame(t):{}).root=e),t}function c(e,t,n,r,o,a){if(e.decorator){var s={};t=e.decorator(t,s,n,r&&r[0],o,a,r),i.extend(t,s)}return t}}));unwrapExports(runtime);var runtime_1=runtime.checkRevision,runtime_2=runtime.template,runtime_3=runtime.wrapProgram,runtime_4=runtime.resolvePartial,runtime_5=runtime.invokePartial,runtime_6=runtime.noop,noConflict=createCommonjsModule((function(e,t){t.__esModule=!0,t.default=function(e){var t=void 0!==commonjsGlobal?commonjsGlobal:window,n=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=n),e}},e.exports=t.default}));unwrapExports(noConflict);var handlebars_runtime=createCommonjsModule((function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}function i(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}t.__esModule=!0;var r=i(base),o=n(safeString),a=n(exception),s=i(utils),c=i(runtime),l=n(noConflict);function d(){var e=new r.HandlebarsEnvironment;return s.extend(e,r),e.SafeString=o.default,e.Exception=a.default,e.Utils=s,e.escapeExpression=s.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var u=d();u.create=d,l.default(u),u.default=u,t.default=u,e.exports=t.default})),Handlebars=unwrapExports(handlebars_runtime),Template=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="authentication-error-modal modal standard">\n <h2 class="header">Your session has expired</h2>\n <div class="buttons center">\n <a class="button primary js-signin">Back to signin</a>\n </div>\n</div>\n'},useData:!0});function authenticationErrorTemplate(e,t,n){const i=Template(e,t);return n||"undefined"==typeof $?i:$(i)}class AuthenticationErrorModal extends Modal{constructor(){super({name:"AuthenticationErrorModal",template:authenticationErrorTemplate,events:{"click .js-signin":"backToSignin"},popupOptions:{closeOnBgClick:!1,enableEscapeKey:!1,showCloseBtn:!1}})}backToSignin(){window.location.href="".concat(applicationService.authApiUrl,"/logout")}}const AuthenticationErrorCodes={CredentialsProviderException:"CredentialsProviderException",InactiveCredentialsException:"InactiveCredentialsException",CredentialsException:"CredentialsException",UnavailableCredentialsException:"UnavailableCredentialsException"},hasValidSubscription=()=>!0,withValidSubscription=e=>and(hasValidSubscription,oneOf("access",...e)),modernModels=oneOf("model",Model.AssetTag2,Model.AnchorBeacon2,Model.DispenserBeacon,Model.BeamMini,Model.PortalBeamIr,Model.PortalBeam,Model.SmartBadge),oldNRF52=oneOf("model",Model.BeaconPro,Model.BraceletTag,Model.BraceletTagTwo,Model.CardBeaconTwo,Model.HeavyDutyBeacon,Model.LanyardTag,Model.NanoTag,Model.PuckTag,Model.SmartBeaconThree,Model.TagBeacon,Model.ToughBeaconTwo,Model.UniversalTag,Model.TTBeacon),upgradedModels=and(versionGreaterOrEqual("firmware","2.0"),oldNRF52),stdModels=or(modernModels,upgradedModels,oneOf("model",Model.MinewS1,Model.MinewI7,Model.MinewI3)),partnerDevice=is("model",Model.PartnerDevice),managedModel=and(isNot("deviceType",DeviceType.External),not(oneOf("model",Model.NanoSeries)),not(oneOf("product","EDRPB-CS","EMDCB-CS","EMSIB-CS","ESRPB-CS"))),modelsWithProfileChange=and(oneOf("model",Model.UsbBeacon,Model.SmartBeacon,Model.CardBeacon),versionGreaterOrEqual("firmware","3.0")),shufflingSupport=and(or(and(versionGreaterOrEqual("firmware","4.0"),is("deviceType",DeviceType.Beacon)),oldNRF52,stdModels),not(oneOf("model",Model.NanoTag,Model.LanyardTag))),interleavingSupport=or(and(versionGreaterOrEqual("firmware","4.1"),is("deviceType",DeviceType.Beacon)),oldNRF52,stdModels,partnerDevice),powerSavingSupport=and(or(oldNRF52,stdModels),not(oneOf("model",Model.NanoTag,Model.LanyardTag))),eddystoneSupport=and(or(modelsWithProfileChange,oldNRF52,stdModels,partnerDevice),not(oneOf("model",Model.NanoTag,Model.LanyardTag)),not(oneOf("product","acnRANGE Tag"))),ibeaconSupport=and(or(modelsWithProfileChange,oldNRF52,stdModels,partnerDevice),not(oneOf("product","acnRANGE Tag"))),telemetrySupport=and(or(and(versionGreaterOrEqual("firmware","1.10"),oldNRF52),stdModels,partnerDevice),not(oneOf("model",Model.NanoTag,Model.LanyardTag))),locationSupport=and(or(and(versionGreaterOrEqual("firmware","1.21"),oldNRF52),stdModels),not(oneOf("model",Model.NanoTag,Model.LanyardTag))),editPackets=and(interleavingSupport),DeviceAction={CreateAction:"CreateAction",DeleteAction:"DeleteAction",EditAnyProperties:"EditAnyProperties",EditVirtualProperties:"EditVirtualProperties",EditPhysicalProperties:"EditPhysicalProperties",EditPropertyNamespace:"EditPropertyNamespace",EditPropertyInstanceId:"EditPropertyInstanceId",EditPropertyUrl:"EditPropertyUrl",EditPropertyProximity:"EditPropertyProximity",EditPropertyMajor:"EditPropertyMajor",EditPropertyMinor:"EditPropertyMinor",EditPropertyProfiles:"EditPropertyProfiles",EditPropertyShuffle:"EditPropertyShuffle",EditPropertyPackets:"EditPropertyPackets",EditRssiCalibration:"EditRssiCalibration",EditRtcPowerSaving:"EditRtcPowerSaving",EditBrightnessPowerSaving:"EditBrightnessPowerSaving",EditMotionDetectionPowerSaving:"EditMotionDetectionPowerSaving",EditBurstModePowerSaving:"EditBurstModePowerSaving",CancelConfig:"CancelConfig",ViewActionsTab:"ViewActionsTab",ViewNextGenerationPowerSavingTab:"ViewNextGenerationPowerSavingTab",ViewShufflingTab:"ViewShufflingTab",ViewSharingTab:"ViewSharingTab",ViewSensorsTab:"ViewSensorsTab",ViewCommandsTab:"ViewCommandsTab",HasSecureFirmware:"HasSecureFirmware",Move:"Move",
58Share:"Share",IsSharedWithMe:"IsSharedWithMe",ManagerAssign:"ManagerAssign",VenueAssign:"VenueAssign",RemoveDeviceFromVenue:"RemoveDeviceFromVenue",PerformListBulkAction:"PerformListBulkAction",ShowDevicePassword:"ShowDevicePassword",ScheduleFirmwareUpdate:"ScheduleFirmwareUpdate",SeePackets:"SeePackets",FetchConfig:"FetchConfig",FetchFirmware:"FetchFirmware",EditTelemetry:"EditTelemetry",EditTTFrame:"EditTTFrame",EditLocation:"EditLocation",ButtoniBeacon:"ButtoniBeacon",ButtonFeatures:"ButtonFeatures",KontaktPacket:"KontaktPacket",KontaktPacketDisabled:"KontaktPacketDisabled",EddystoneSupportDisabled:"EddystoneSupportDisabled",IbeaconSupportDisabled:"IbeaconSupportDisabled"},VenueAction={VenueEdit:"VenueEdit"},DeviceAccessPredicates={[DeviceAction.ViewActionsTab]:withValidSubscription([DeviceAccess.Owner,DeviceAccess.Editor,DeviceAccess.Viewer]),[DeviceAction.CreateAction]:withValidSubscription([DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.DeleteAction]:withValidSubscription([DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditAnyProperties]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditVirtualProperties]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPhysicalProperties]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPropertyNamespace]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPropertyInstanceId]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPropertyUrl]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPropertyProximity]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPropertyMajor]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPropertyMinor]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPropertyProfiles]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.EditPropertyShuffle]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.ViewNextGenerationPowerSavingTab]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.ViewShufflingTab]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.ViewSharingTab]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.Share]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner]),[DeviceAction.CancelConfig]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.ManagerAssign]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner]),[DeviceAction.VenueAssign]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.RemoveDeviceFromVenue]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.Move]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner]),[DeviceAction.PerformListBulkAction]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.IsSharedWithMe]:oneOf("access",DeviceAccess.Editor,DeviceAccess.Viewer),[DeviceAction.ShowDevicePassword]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.ScheduleFirmwareUpdate]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner]),[DeviceAction.EditPropertyPackets]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.FetchConfig]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor]),[DeviceAction.FetchFirmware]:withValidSubscription([DeviceAccess.Supervisor,DeviceAccess.Owner,DeviceAccess.Editor])},DeviceConfigurationPredicates={[DeviceAction.EditPhysicalProperties]:managedModel,[DeviceAction.ViewActionsTab]:oneOf("deviceType",DeviceType.Beacon,DeviceType.CloudBeacon),[DeviceAction.EditPropertyNamespace]:and(eddystoneSupport,is("shuffled",!1)),[DeviceAction.EditPropertyInstanceId]:eddystoneSupport,[DeviceAction.EditPropertyUrl]:eddystoneSupport,[DeviceAction.EditPropertyProximity]:and(ibeaconSupport,is("shuffled",!1)),[DeviceAction.EditPropertyMajor]:ibeaconSupport,[DeviceAction.EditPropertyMinor]:ibeaconSupport,[DeviceAction.EditPropertyProfiles]:modelsWithProfileChange,[DeviceAction.EditPropertyShuffle]:shufflingSupport,[DeviceAction.ViewNextGenerationPowerSavingTab]:powerSavingSupport,[DeviceAction.ViewShufflingTab]:shufflingSupport,[DeviceAction.ViewSharingTab]:or(is("deviceType",DeviceType.Beacon),and(is("deviceType",DeviceType.External),is("role",ExternalRole$1.Sensor))),[DeviceAction.ViewSensorsTab]:and(oneOf("model",Model.PortalBeam,Model.PortalBeamIr)),[DeviceAction.ViewCommandsTab]:and(oneOf("model",Model.PortalBeam,Model.PortalBeamIr)),[DeviceAction.HasSecureFirmware]:shufflingSupport,[DeviceAction.RemoveDeviceFromVenue]:isDefined("venue"),[DeviceAction.Move]:is("shuffled",!1),[DeviceAction.SeePackets]:interleavingSupport,[DeviceAction.EditPropertyPackets]:editPackets,[DeviceAction.FetchConfig]:oneOf("deviceType",DeviceType.Beacon,DeviceType.CloudBeacon,DeviceType.Gateway,DeviceType.External),[DeviceAction.EditRtcPowerSaving]:powerSavingSupport,[DeviceAction.EditBrightnessPowerSaving]:is("model",Model.BeaconPro),[DeviceAction.EditMotionDetectionPowerSaving]:or(is("model",Model.CardBeacon),is("model",Model.PuckTag),is("model",Model.SmartBadge),is("model",Model.AssetTag2),and(is("model",Model.TagBeacon),versionGreaterOrEqual("firmware","1.6")),and(is("model",Model.CardBeaconTwo),versionGreaterOrEqual("firmware","1.5")),and(is("model",Model.BraceletTag),versionGreaterOrEqual("firmware","1.1")),and(is("model",Model.BraceletTagTwo),versionGreaterOrEqual("firmware","1.20")),and(is("model",Model.SmartBeaconThree),versionGreaterOrEqual("firmware","1.3")),and(is("model",Model.MinewS1),versionGreaterOrEqual("firmware","2.0")),and(is("model",Model.MinewI3),versionGreaterOrEqual("firmware","2.0")),and(is("model",Model.MinewI7),versionGreaterOrEqual("firmware","2.0")),and(is("model",Model.HeavyDutyBeacon),versionGreaterOrEqual("firmware","1.3")),and(is("model",Model.BeaconPro),versionGreaterOrEqual("firmware","1.14")),and(is("model",Model.ToughBeaconTwo),versionGreaterOrEqual("firmware","1.1")),and(is("model",Model.UniversalTag),versionGreaterOrEqual("firmware","1.20"))),[DeviceAction.EditBurstModePowerSaving]:or(is("model",Model.CardBeaconTwo),is("model",Model.SmartBeaconThree),is("model",Model.MinewS1),is("model",Model.MinewI3),is("model",Model.MinewI7),is("model",Model.ToughBeaconTwo),is("model",Model.BraceletTag),is("model",Model.BraceletTagTwo),is("model",Model.UniversalTag),is("model",Model.SmartBadge),is("model",Model.AnchorBeacon2),is("model",Model.AssetTag2),is("model",Model.PortalBeam),is("model",Model.PortalBeamIr),is("model",Model.BeamMini),and(is("model",Model.TagBeacon),versionGreaterOrEqual("firmware","1.3.3")),and(is("model",Model.HeavyDutyBeacon),versionGreaterOrEqual("firmware","1.2")),and(is("model",Model.BeaconPro),versionGreaterOrEqual("firmware","1.12.4"))),[DeviceAction.EditRssiCalibration]:ibeaconSupport,[DeviceAction.EditTelemetry]:telemetrySupport,[DeviceAction.EditTTFrame]:is("model",Model.TTBeacon,Model.PuckTag),[DeviceAction.EditLocation]:locationSupport,[DeviceAction.ButtoniBeacon]:oneOf("model",Model.TagBeacon,Model.CardBeaconTwo,Model.BraceletTag,Model.BraceletTagTwo,Model.UniversalTag,Model.SmartBadge,Model.AssetTag2),[DeviceAction.ButtonFeatures]:or(and(is("model",Model.TagBeacon),versionGreater("firmware","1.5")),and(is("model",Model.CardBeaconTwo),versionGreater("firmware","1.4")),and(is("model",Model.BraceletTag),versionGreater("firmware","1.0")),and(is("model",Model.UniversalTag),versionGreaterOrEqual("firmware","1.20")),and(is("model",Model.BraceletTagTwo),versionGreaterOrEqual("firmware","1.20")),oneOf("model",Model.SmartBadge,Model.AssetTag2)),[DeviceAction.KontaktPacket]:or(and(is("model",Model.TagBeacon),versionGreater("firmware","1.5")),and(is("model",Model.CardBeaconTwo),versionGreater("firmware","1.4")),and(is("model",Model.BraceletTag),versionGreater("firmware","1.0")),and(is("model",Model.UniversalTag),versionGreaterOrEqual("firmware","1.20")),and(is("model",Model.BraceletTagTwo),versionGreaterOrEqual("firmware","1.20")),stdModels),[DeviceAction.KontaktPacketDisabled]:or(oldNRF52,partnerDevice),[DeviceAction.EddystoneSupportDisabled]:not(eddystoneSupport),[DeviceAction.IbeaconSupportDisabled]:not(ibeaconSupport)},VenueAccessPredicates={[VenueAction.VenueEdit]:oneOf("access",DeviceAccess.Supervisor,DeviceAccess.Owner)},ManagerAction={ListSubscriptions:"listSubscriptions",AssignRoleSUPERUSER:"assignRoleSUPERUSER",AssignRoleADMIN:"assignRoleADMIN",AssignRoleOPERATOR:"assignRoleOPERATOR",CreateUser:"createUser"},ManagerAccessPredicates={[ManagerAction.ListSubscriptions]:is("role",ManagerRole.Superuser),[ManagerAction.AssignRoleSUPERUSER]:()=>!1,[ManagerAction.AssignRoleADMIN]:is("role",ManagerRole.Superuser),[ManagerAction.AssignRoleOPERATOR]:oneOf("role",ManagerRole.Superuser,ManagerRole.Admin),[ManagerAction.CreateUser]:oneOf("role",ManagerRole.Superuser,ManagerRole.Admin)};class SecurityService{allowOnDevice(e,t){return[DeviceConfigurationPredicates,DeviceAccessPredicates].filter(t=>t.hasOwnProperty(e)).every(n=>n[e](t))}allowOnManager(e,t){return ManagerAccessPredicates[e](t)}allowOnVenue(e,t){return VenueAccessPredicates[e](t)}disabledAttributeBinding(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{name:"disabled",observe:"access",onGet:()=>!this[e].apply(this,n)}}disabledClassBinding(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{disabled:{observe:"access",onGet:()=>!this[e].apply(this,n)}}}visibleClassBinding(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{hidden:{observe:"access",onGet:()=>!this[e].apply(this,n)}}}hiddenClassBinding(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{hidden:{observe:"access",onGet:()=>this[e].apply(this,n)}}}handleAuthError(e){e===AuthenticationErrorCodes.CredentialsException&&new AuthenticationErrorModal}}const securityService=new SecurityService;class ApiUrlDecorator{constructor(e){this.apiPath=e.apiPath}prepare(e){let t=e.startsWith("http")?this.getPathname(e):e;return t="".concat(t.split("/").filter(e=>e).join("/")),"".concat(applicationService.deviceMgmtApiUrl,"/").concat(t)}getPathname(e){const t=document.createElement("a");return t.href=e,t.pathname}}class AppsApiUrlDecorator{prepare(e){return"".concat(applicationService.kioCloudApiUrl,"/").concat(e)}}class IvPumpApiUrlDecorator{prepare(e){return"".concat(applicationService.ivPumpApiUrl,"/").concat(e)}}class EntityManagementApiUrlDecorator{prepare(e){return"".concat(applicationService.entityMgmtApiUrl,"/").concat(e)}}function hasAllKeys(e,t){if(!isObject$4(e))throw Error("Invalid argument exception: `object` must be an object.");if(!_$1.isArray(t))throw Error("Invalid argument exception: `requiredProperties` must be an array.");let n=0;const i=t.length;for(;n<i;n++){const i=t[n];if(!_$1.has(e,i))return!1}return!0}function isObject$4(e){return null!==e&&"object"==typeof e}const UUID_REGEXP=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,HEX_REGEXP=/^[a-fA-F0-9]+$/,ANY_STRING_REGEXP=/^.+$/,MAJOR_MINOR_REGEXP=/^[0-9]{1,5}$/,BATTERY_REGEXP=/^[0-9][0-9]?$|^100$/,AND_OPERATOR="&",OR_OPERATOR="|",Mode={QuickSearch:"QuickSearch",Advanced:"Advanced"},FieldType={Input:"INPUT",Dropdown:"DROPDOWN"};class FieldQuery{constructor(e,t){this.testPattern=t,this.field=e}use(e){return this.testPattern.test(e)}}class LikeQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(e){return"".concat(this.field,"~=").concat(e)}}class ContainsQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(e){return"".concat(this.field,"?=").concat(e)}}class NotContainsQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(e){return"".concat(this.field,"^=").concat(e)}}class EqualQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(e){return"".concat(this.field,"==").concat(e)}}class RangeGreaterQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(e){return"".concat(this.field,">=").concat(e)}}class RangeLessQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(e){return"".concat(this.field,"<=").concat(e)}}class RangeLessAndGreaterQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(e){return"(".concat(this.field,">=").concat(e[0]," ").concat(AND_OPERATOR," ").concat(this.field,"<=").concat(e[1],")")}}class NotEqualQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(e){return"".concat(this.field,"!=").concat(e)}}class IsNullQuery extends FieldQuery{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:ANY_STRING_REGEXP)}build(){return"".concat(this.field,"!~")}}class Or extends FieldQuery{constructor(){super(null,ANY_STRING_REGEXP);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.fieldQueries=t}build(e){return"(".concat(this.fieldQueries.map(t=>t.build(e)).join(OR_OPERATOR),")")}}class AndList extends FieldQuery{constructor(e,t){super(e,ANY_STRING_REGEXP),this.FieldQueryClass=t}build(e){const t=e.map(e=>{const t=new this.FieldQueryClass(this.field),n=e instanceof backbone.Model?e.get(this.field):e;return t.build(n)}).join(this.joinOperator());return t?"(".concat(t,")"):""}joinOperator(){return AND_OPERATOR}}class OrList extends AndList{joinOperator(){return OR_OPERATOR}}class InputFieldModel extends backbone.Model{constructor(e){super(e)}defaults(){return{name:null,type:FieldType.Input,value:null}}isSet(){return!!this.value()}unsetValue(){return this.set("value",null)}name(){return this.get("name")}value(){return this.get("value")}}class InputArrayFieldModel extends InputFieldModel{isSet(){const e=this.value();return!!e&&e.length>0}unsetValue(){return this.set("value",[])}}class SelectFieldModel extends backbone.Model{constructor(e){super(e),this.collection=this.get("collection")}defaults(){return{name:null,type:FieldType.Dropdown,value:[],collection:[],selectOptions:{collection:"this.model.collection",labelPath:"name",valuePath:"id"}}}isSet(){return!!this.value()&&!!this.value().length}unsetValue(){return this.set("value",[])}name(){return this.get("name")}value(){const e=this.get("value");return!e||Array.isArray(e)?e:[e]}selectOptions(){return this.get("selectOptions")}label(){const e=this.get("selectOptions"),t=this.get("collection");return t instanceof backbone.Collection?this.labelFromBackboneCollection(e,t):this.value().map(n=>t.filter(t=>t[e.valuePath]===n)[0]).map(t=>t[e.labelPath]).join(", ")}labelFromBackboneCollection(e,t){return this.value().map(n=>t.get(n).get(e.labelPath)).join(", ")}}class SearchModel extends backbone.Model{constructor(e,t){return super(e),this.fieldQueries=t,this}defaults(){return{query:null,apiQuery:"",fields:[],bindFields:{},advancedFields:[],quickFields:[],mode:Mode.QuickSearch,filtered:!1,customQuery:""}}toggleMode(){this.get("mode")===Mode.QuickSearch?this.advancedMode():this.quickSearchMode()}quickSearchMode(){this.set("mode",Mode.QuickSearch)}advancedMode(){this.set("mode",Mode.Advanced)}advancedField(e){return this.get("advancedFields").filter(t=>t.get("name")===e)[0]}q
58uickField(e){return this.get("quickFields").filter(t=>t.get("name")===e)[0]}clearFilter(){const e=this.get("query");_$1.isArray(e)?this.set("query",[]):this.set("query",null)}clearAdvancedFilters(){this.clearFilter(),this.get("advancedFields").forEach(e=>e.unsetValue())}buildQuery(){const e=this.toJSON(),t=[],n=this.get("customQuery");n&&t.push("(".concat(n,")")),_$1.mapObject(e.bindFields,(e,n)=>{const i=this.fieldQueries[n].build(e);i&&t.push(i)});const i=e.quickFields.some(e=>e.isSet());this.set("filtered",i||(_$1.isArray(e.query)?e.query.length>0:e.query)),e.quickFields.filter(e=>e.isSet()).filter(e=>this.fieldQueries[e.name()].use(e.value())).forEach(e=>t.push(this.fieldQueries[e.name()].build(e.value())));const r=[];if(e.mode===Mode.QuickSearch){if(e.query){const n=_$1.isFunction(e.query.trim)?e.query.trim():e.query;e.fields.filter(e=>this.fieldQueries[e].use(n)).forEach(e=>r.push(this.fieldQueries[e].build(n))),r.length>0&&t.push("(".concat(r.join(OR_OPERATOR),")"))}}else e.mode===Mode.Advanced&&(e.advancedFields.filter(e=>e.isSet()).filter(e=>this.fieldQueries[e.name()].use(e.value())).forEach(e=>r.push(this.fieldQueries[e.name()].build(e.value()))),r.length>0&&t.push("(".concat(r.join(AND_OPERATOR),")")));return this.set("apiQuery",t.join(AND_OPERATOR)),this.get("apiQuery")}bindField(e,t){return this.get("bindFields")[e]=t,this}removeField(e){return delete this.get("bindFields")[e],this}changeLabel(e,t,n){const i=this.get("fields");let r="";r=0===i.length?n.get("search.fields.none"):i.length<e?this.createText(n):n.get("search.fields.default"),t.text(r)}createText(e){const t=[];return _$1.mapObject(this.get("fields"),n=>{t.push(e.get("search.fields.".concat(n)))}),t.toString()}toString(){return this.buildQuery()}}const Firmwares={Beacon1x:{label:"1.x",versions:["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","1.10","1.11","1.12","1.13","1.14"]},SmartBeacon2x:{label:"2.x",versions:["2.5","2.6","2.7","2.9"]},SmartBeacon3x:{label:"3.x",versions:["3.0","3.1","3.2"]},SmartBeacon4x:{label:"4.x",versions:["4.0","4.1","4.2","4.3"]}};class FirmwaresFieldModel extends SelectFieldModel{constructor(e){e.collection=[{id:Firmwares.Beacon1x.versions,name:Firmwares.Beacon1x.label},{id:Firmwares.SmartBeacon2x.versions,name:Firmwares.SmartBeacon2x.label},{id:Firmwares.SmartBeacon3x.versions,name:Firmwares.SmartBeacon3x.label},{id:Firmwares.SmartBeacon4x.versions,name:Firmwares.SmartBeacon4x.label}],super(e)}value(){const e=this.get("value");return[].concat(...e)}setValue(e){this.set("value",e)}clear(){this.set("value",[],{clear:!0})}}class ManagerFieldModel extends SelectFieldModel{constructor(e){e.collection=_$1.toArray(applicationService.managers),e.selectOptions={collection:e.collection,labelPath:"fullName",valuePath:"id"},super(e)}}class ProfilesFieldModel extends SelectFieldModel{constructor(e){e.collection=[{id:Profile.IBeacon,name:"iBeacon"},{id:Profile.Eddystone,name:"Eddystone"}],super(e)}}class BeaconModelFieldModel extends SelectFieldModel{constructor(e){e.collection=Object.values(BeaconProducts),super(e)}setValue(e){this.set("value",e)}clear(){this.set("value",[],{clear:!0})}}class BatteryFieldModel extends SelectFieldModel{constructor(e){e.collection=[{id:"0-19",name:i18n.get("device.properties.property.battery.19")},{id:"20-39",name:i18n.get("device.properties.property.battery.39")},{id:"40-59",name:i18n.get("device.properties.property.battery.59")},{id:"60-79",name:i18n.get("device.properties.property.battery.79")},{id:"80-100",name:i18n.get("device.properties.property.battery.100")}],super(e)}value(){const e=this.get("value");return e.length?e.map(e=>e.split("-")):e}setValue(e){this.set("value",e)}clear(){this.set("value",[],{clear:!0})}}class LastSeenFieldModel extends SelectFieldModel{constructor(e){e.collection=[{id:"0-1",name:i18n.get("device.properties.property.lastseen.24")},{id:"1-7",name:i18n.get("device.properties.property.lastseen.1")},{id:"7-14",name:i18n.get("device.properties.property.lastseen.7")},{id:"14-30",name:i18n.get("device.properties.property.lastseen.14")},{id:"30-x",name:i18n.get("device.properties.property.lastseen.30")}],super(e)}value(){let e=this.get("value");
58const t=hooks$1.utc().format("X");return e=e.map(e=>((e=e.split("-").map(e=>t-("x"!==e?86400*parseInt(e):t)).reverse())[0]+=1,e)),e}setValue(e){this.set("value",e)}clear(){this.set("value",[],{clear:!0})}}const AND="&",OR="|",EQUALS="==",LIKE="~=",CONTAINS="?=",NOT_CONTAINS="^=",NOT_EQUALS="!=",MORE_THAN=">=",LESS_THAN="<=",IN="IN",NOT_IN="NOT_IN";class FieldGroup{constructor(e,t){this.query=e,this.fields=[[t,""]],this.operator=null,this.value=null}and(e){return this.fields.push([e,AND]),this}or(e){return this.fields.push([e,OR]),this}equals(e){return this.setValue(EQUALS,e)}notEquals(e){return this.setValue(NOT_EQUALS,e)}like(e){return this.setValue(LIKE,e)}contains(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.setValue(CONTAINS,t)}notContains(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.setValue(NOT_CONTAINS,t)}moreThan(e){return this.setValue(MORE_THAN,e)}lessThan(e){return this.setValue(LESS_THAN,e)}oneOf(e){return this.setValue(IN,e)}notOneOf(e){return this.setValue(NOT_IN,e)}setValue(e,t){if(this.operator)throw new Error("This field group value is already defined");return this.operator=e,this.value=t,this.query}buildQuery(){return this.operator===IN?this.buildMultiValueQuery(OR,EQUALS):this.operator===NOT_IN?this.buildMultiValueQuery(AND,NOT_EQUALS):this.operator===CONTAINS?this.buildMultiValueQuery(OR,CONTAINS):this.operator===NOT_CONTAINS?this.buildMultiValueQuery(AND,NOT_CONTAINS):this.buildRegularQuery()}buildMultiValueQuery(e,t){let n="";return this.fields.forEach(i=>{let[r]=i;this.value.forEach((i,o)=>{0!==o&&(n+=e),n+="".concat(r).concat(t).concat(i)})}),n}buildRegularQuery(){let e="";return this.fields.forEach((t,n)=>{let[i,r]=t;0!==n&&(e+=r),e+="".concat(i).concat(this.operator).concat(this.value)}),e}toString(){return this.buildQuery()}}class Bql{constructor(){this.fieldGroups=[]}static search(){return new Bql}buildQuery(){let e="";return this.fieldGroups.forEach((t,n)=>{let[i,r]=t;0!==n&&(e+=r),e+="(".concat(i.buildQuery(),")")}),e}toString(){return this.buildQuery()}q(){return this.buildQuery()}where(e){const t=new FieldGroup(this,e);return this.fieldGroups.push([t,AND]),t}orWhere(e){const t=new FieldGroup(this,e);return this.fieldGroups.push([t,OR]),t}andWhere(e){return this.where(e)}}class BeaconModelEqualQuery extends EqualQuery{constructor(e){super(e)}build(e){return e===BeaconModel.ToughBeacon?"(".concat(super.build(BeaconModel.SmartBeacon),"&specification==").concat(Specification.Tough,")"):e===BeaconModel.SmartBeacon?"(".concat(super.build(BeaconModel.SmartBeacon),"&specification==").concat(Specification.Standard,")"):super.build(e)}}class DeviceSearchModel extends SearchModel{constructor(e){return super(_$1.extend({fields:["name","uniqueId","venue","major","minor","instanceId","orderId","tag","manager","batteryLevel","mac"],quickFields:[new FirmwaresFieldModel({name:"firmwares"}),new ProfilesFieldModel({name:"profiles"}),new BeaconModelFieldModel({name:"models"}),new BatteryFieldModel({name:"batteryLevel"}),new LastSeenFieldModel({name:"lastSeen"})],advancedFields:[new InputFieldModel({name:"name"}),new InputFieldModel({name:"uniqueId"}),new InputFieldModel({name:"mac"}),new InputFieldModel({name:"instanceId"}),new InputFieldModel({name:"firmware"}),new InputFieldModel({name:"proximity"}),new InputFieldModel({name:"orderId"}),new InputArrayFieldModel({name:"tags",value:[]}),new InputFieldModel({name:"majorFrom"}),new InputFieldModel({name:"majorTo"}),new InputFieldModel({name:"minorFrom"}),new InputFieldModel({name:"minorTo"}),new SelectFieldModel({name:"venuesIds"}),new ManagerFieldModel({name:"managersIds"}),new InputFieldModel({name:"batteryLevelFrom"}),new InputFieldModel({name:"batteryLevelTo"})],deviceType:[DeviceType.Beacon,DeviceType.CloudBeacon,DeviceType.External],specification:[Specification.Tough,Specification.Standard]},e),{name:new LikeQuery("name"),uniqueId:new LikeQuery("uniqueId"),mac:new EqualQuery("mac"),uniqueIds:new OrList("uniqueId",LikeQuery),"except.uniqueIds":new AndList("uniqueId",NotEqualQuery),venue:new LikeQuery("venue.name"),proximity:new EqualQuery("proximity",UUID_REGEXP),major:new EqualQuery("major",MAJOR_MINOR_REGEXP),minor:new EqualQuery("minor",MAJOR_MINOR_REGEXP),namespace:new EqualQuery("namespace",HEX_REGEXP),instanceId:new EqualQuery("instanceId",HEX_REGEXP),manager:new Or(new LikeQuery("manager.firstName"),new LikeQuery("manager.lastName")),"manager.id":new EqualQuery("manager.id"),"venue.id":new EqualQuery("venue.id"),"not.venue.id":new NotEqualQuery("venue.id"),"no.venue":new IsNullQuery("venue.id"),"except.venue":new Or(new IsNullQuery("venue.id"),new NotEqualQuery("venue.id")),"except.deviceTypes":ne
58w AndList("deviceType",NotEqualQuery),"where.deviceTypes":new OrList("deviceType",EqualQuery),"where.specification":new OrList("specification",EqualQuery),orderId:new EqualQuery("orderId"),subscriptionPlan:new ContainsQuery("subscriptionPlans"),subscriptionPlans:new OrList("subscriptionPlans",ContainsQuery),"metadata.floorId":new EqualQuery("metadata.floorId"),"metadata.anyFloorId":new ContainsQuery("metadata"),"no.metadata":new Or(new IsNullQuery("metadata"),new IsNullQuery("metadata.floorId")),batteryLevel:new OrList("batteryLevel",RangeLessAndGreaterQuery),lastSeen:new OrList("lastSeen",RangeLessAndGreaterQuery),batteryLevelTo:new RangeLessQuery("batteryLevel",BATTERY_REGEXP),batteryLevelFrom:new RangeGreaterQuery("batteryLevel",BATTERY_REGEXP),majorFrom:new RangeGreaterQuery("major",MAJOR_MINOR_REGEXP),majorTo:new RangeLessQuery("major",MAJOR_MINOR_REGEXP),minorFrom:new RangeGreaterQuery("minor",MAJOR_MINOR_REGEXP),minorTo:new RangeLessQuery("minor",MAJOR_MINOR_REGEXP),managersIds:new OrList("manager.id",EqualQuery),venuesIds:new OrList("venue.id",EqualQuery),tags:new OrList("tags",ContainsQuery),tag:new ContainsQuery("tags"),profiles:new OrList("profile",EqualQuery),models:new OrList("product",BeaconModelEqualQuery),firmware:new EqualQuery("firmware"),firmwares:new OrList("firmware",EqualQuery),"where.role":new EqualQuery("role")}),this}bindToManager(e){return super.bindField("manager.id",e)}bindToVenue(e){return super.bindField("venue.id",e)}bindToFloorId(e){return super.bindField("metadata.floorId",e)}removeFloorId(){return super.removeField("metadata.floorId")}bindToAnyFloorId(){return super.bindField("metadata.anyFloorId","floorId")}bindToNoFloors(){return super.bindField("no.metadata")}removeNoMetadata(){return super.removeField("no.metadata")}exceptVenue(e){return super.bindField("except.venue",e)}
58exceptUniqueIds(e){return super.bindField("except.uniqueIds",e)}exceptDeviceTypes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.bindField("except.deviceTypes",e)}whereDeviceTypes(e){return super.bindField("where.deviceTypes",e)}removeDeviceTypes(){return super.removeField("where.deviceTypes")}whereSpecification(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.bindField("where.specification",e)}whereOrderId(e){return super.bindField("orderId",e)}whereSubscriptionPlans(e){return super.bindField("subscriptionPlans",e)}changeField(e){this.set("fields",e)}toString(){return super.buildQuery()}noVenue(){return super.bindField("no.venue")}whereBatteryLevel(e){e?this.quickField("batteryLevel").setValue(e):this.quickField("batteryLevel").clear()}whereModel(e){e?this.quickField("models").setValue(e):this.quickField("models").clear()}whereFirmware(e){e?this.quickField("firmwares").setValue(e):this.quickField("firmwares").clear()}whereLastSeen(e){e?this.quickField("lastSeen").setValue(e):this.quickField("lastSeen").clear()}whereRole(e){return super.bindField("where.role",e)}beaconQuery(){return Bql.search().where("deviceType").equals(DeviceType.Beacon).orWhere("role").equals(ExternalRole$1.Sensor).buildQuery()}gatewayQuery(){return Bql.search().where("deviceType").oneOf([DeviceType.Gateway,DeviceType.External]).andWhere("role").equals(ExternalRole$1.Source).buildQuery()}setBeaconQuery(){this.setCustomQuery(this.beaconQuery()),this.whereDeviceTypes([DeviceType.Beacon,DeviceType.External])}setGatewayQuery(){this.setCustomQuery(this.gatewayQuery()),this.whereDeviceTypes([DeviceType.Gateway,DeviceType.External])}setCustomQuery(e){this.set("customQuery",e)}}var Bacon=createCommonjsModule((function(e,t){e.exports=function(){function e(){}function t(e){return e}function n(e,t){if(!t)throw new Error(e)}function i(e){if((null!=e?e._isObservable:void 0)&&!(null!=e?e._isProperty:void 0))throw new Error("Observable is not a Property : "+e)}function r(e){return n("not a function : "+e,f.isFunction(e))}var o=Array.isArray||function(e){return e instanceof Array},a=function(e){return e&&e._isObservable};function s(e){return n("no arguments supported",0===e.length)}function c(e){for(var t=arguments.length,n=1;1<t?n<t:n>t;1<t?n++:n--)for(var i in arguments[n])e[i]=arguments[n][i];return e}function l(e,t){var n={}.hasOwnProperty;function i(){}for(var r in i.prototype=t.prototype,e.prototype=new i,t)n.call(t,r)&&(e[r]=t[r]);return e}function d(e){return"undefined"!=typeof Symbol&&Symbol[e]?Symbol[e]:"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol[e]=Symbol.for(e):"@@"+e}function u(e){this.value=e}c(u.prototype,{_isSome:!0,getOrElse:function(){return this.value},get:function(){return this.value},filter:function(e){return e(this.value)?new u(this.value):p},map:function(e){return new u(e(this.value))},forEach:function(e){return e(this.value)},isDefined:!0,toArray:function(){return[this.value]},inspect:function(){return"Some("+this.value+")"},toString:function(){return this.inspect()}});var p={_isNone:!0,getOrElse:function(e){return e},filter:function(){return p},map:function(){return p},forEach:function(){},isDefined:!1,toArray:function(){return[]},inspect:function(){return"None"},toString:function(){return this.inspect()}},h=function(e){return e&&(e._isSome||e.isNone)?e:new u(e)},f={indexOf:Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1},indexWhere:function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},head:function(e){return e[0]},always:function(e){return function(){return e}},negate:function(e){return function(t){return!e(t)}},empty:function(e){return 0===e.length},tail:function(e){return e.slice(1,e.length)},filter:function(e,t){for(var n,i=[],r=0;r<t.length;r++)e(n=t[r])&&i.push(n);return i},map:function(e,t){return function(){for(var n,i=[],r=0;r<t.length;r++)n=t[r],i.push(e(n));return i}()},each:function(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])},toArray:function(e){return o(e)?e:[e]},contains:function(e,t){return-1!==f.indexOf(e,t)},id:function(e){return e},last:function(e){return e[e.length-1]},all:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.id,n=0;n<e.length;
58n++)if(!t(e[n]))return!1;return!0},any:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.id,n=0;n<e.length;n++)if(t(e[n]))return!0;return!1},without:function(e,t){return f.filter((function(t){return t!==e}),t)},remove:function(e,t){var n=f.indexOf(t,e);if(n>=0)return t.splice(n,1)},fold:function(e,t,n){for(var i=0;i<e.length;i++)t=n(t,e[i]);return t},flatMap:function(e,t){return f.fold(t,[],(function(t,n){return t.concat(e(n))}))},cached:function(e){var t=p;return function(){return(null!=t?t._isNone:void 0)&&(t=e(),e=void 0),t}},bind:function(e,t){return function(){return e.apply(t,arguments)}},isFunction:function(e){return"function"==typeof e},toString:function(e){var t,n,i={}.hasOwnProperty;try{return m++,null==e?"undefined":f.isFunction(e)?"function":o(e)?m>5?"[..]":"["+f.map(f.toString,e).toString()+"]":null!=(null!=e?e.toString:void 0)&&e.toString!==Object.prototype.toString?e.toString():"object"==typeof e?m>5?"{..}":"{"+function(){var r=[];for(t in e)i.call(e,t)&&(n=function(){try{return e[t]}catch(e){return e}}(),r.push(f.toString(t)+":"+f.toString(n)));return r}()+"}":e}finally{m--}}},m=0,v=0;function g(){this.id=++v}function b(e){if(!(this instanceof b))return new b(e);g.call(this),this.value=e}function y(e){if(!(this instanceof y))return new y(e);b.call(this,e)}function A(){if(!(this instanceof A))return new A;g.call(this)}function _(e){if(!(this instanceof _))return new _(e);this.error=e,g.call(this)}function w(e){return new y(e)}function M(e){return new b(e)}function k(){return new A}function C(e){return e&&e._isEvent?e:M(e)}g.prototype._isEvent=!0,g.prototype.isEvent=!0,g.prototype.isEnd=!1,g.prototype.isInitial=!1,g.prototype.isNext=!1,g.prototype.isError=!1,g.prototype.hasValue=!1,g.prototype.filter=function(){return!0},g.prototype.inspect=function(){return this.toString()},g.prototype.log=function(){return this.toString()},g.prototype.toNext=function(){return this},l(b,g),b.prototype.isNext=!0,b.prototype.hasValue=!0,b.prototype.fmap=function(e){return this.apply(e(this.value))},b.prototype.apply=function(e){return new b(e)},b.prototype.filter=function(e){return e(this.value)},b.prototype.toString=function(){return f.toString(this.value)},b.prototype.log=function(){return this.value},b.prototype._isNext=!0,l(y,b),y.prototype._isInitial=!0,y.prototype.isInitial=!0,y.prototype.isNext=!1,y.prototype.apply=function(e){return new y(e)},y.prototype.toNext=function(){return new b(this.value)},l(A,g),A.prototype.isEnd=!0,A.prototype.fmap=function(){return this},A.prototype.apply=function(){return this},A.prototype.toString=function(){return"<end>"},l(_,g),_.prototype.isError=!0,_.prototype.fmap=function(){return this},_.prototype.apply=function(){return this},_.prototype.toString=function(){return"<error> "+f.toString(this.error)};var S="<no-more>",E="<more>",x=[];function O(e){if(x.length&&!O.running)try{O.running=!0,x.forEach((function(t){t(e)}))}finally{delete O.running}}function T(e,t,n){this.context=e,this.method=t,this.args=n}function D(e,t){var n=e||t;if(n&&n._isDesc)return e||t;for(var i=arguments.length,r=Array(i>2?i-2:0),o=2;o<i;o++)r[o-2]=arguments[o];return new T(e,t,r)}function $(e,t){return t.desc=e,t}function P(e){return o(e)?f.flatMap(P,e):a(e)?[e]:(null!=e?e._isSource:void 0)?[e.obs]:[]}c(T.prototype,{_isDesc:!0,deps:function(){return this.cached||(this.cached=P([this.context].concat(this.args))),this.cached},toString:function(){var e=f.map(f.toString,this.args);return f.toString(this.context)+"."+f.toString(this.method)+"("+e+")"}});var N={setTimeout:function(e,t){return setTimeout(e,t)},setInterval:function(e,t){return setInterval(e,t)},clearInterval:function(e){return clearInterval(e)},clearTimeout:function(e){return clearTimeout(e)},now:function(){return(new Date).getTime()}},L=function(){var e=null,t=[],n={},i=[],o=0,a={},s=!1;function c(e){e<=o||(i[e-1]||(i[e-1]=[[],0]),o=e)}function l(t,n){if(!e&&!s)return n();c(1);for(var r=0;r<o-1&&!d(t,i[r][0]);)r++;i[r][0].push([t,n]),e||u()}function d(e,t){for(var n=0;n<t.length;n++)if(t[n][0].id==e.id)return!0;return!1}function u(){var e=o;if(e){var t=!s;s=!0;try{for(;o>=e;){var n=i[o-1];if(!n)throw new Error("Unexpected stack top: "+n);var r=n[0],a=n[1];if(!(a<r.length)){n[0]=[],n[1]=0;break}var l=r[a][1];n[1]++,c(o+1);var d=!1;try{for(l(),d=!0;o>e&&0==i[o-1][0].length;)o--}finally{d||(i=[],o=0)}}}finally{t&&(s=!1)}}}function p(i,r){if(e){var o=n[i.id];return null==o?(o=n[i.id]=[r],t.push(i)):o.push(r)}return r()}function h(e,i){var r=t[e],o=r.id,s=n[o];t.splice(e,1),delete n[o],i&&t.length>0&&function e(i){if(!a[i.id]){for(var r,o=i.internalDeps(),s=0;s<o.length;s++)r=o[s],e(r),n[r.id]&&h(f.indexOf(t,r),!1);a[i.id]=!0}}(r);for(var c=0;c<s.length;c++)(0,s[c])()}return{toString:function(){return f.toString({rootEvent:e,processingAfters:s,waiterObs:t,waiters:n,aftersStack:i,aftersStackHeight:o,flushed:a})},whenDoneWith:p,hasWaiters:function(){return t.length>0},inTransaction:function(n,i,r,o){if(e)return r.apply(i,o);e=n;try{var s=r.apply(i,o);!function(){for(;t.length>0;)h(0,!0);a={}}()}finally{e=null,u()}return s},currentEventId:function(){return e?e.id:void 0},wrappedSubscribe:function(e,t){r(t);var n=!1,i=!1,o=function(){return i=!0};function a(){return n=!0,o()}return o=e.dispatcher.subscribe((function(i){return l(e,(function(){if(!n&&t(i)===S)return a()}))})),i&&o(),a},afterTransaction:l,soonButNotYet:function(t,n){e?p(t,n):re.scheduler.setTimeout(n,0)},isInTransaction:function(){return null!==e}}}();function z(e,t){this._subscribe=e,this._handleEvent=t,this.subscribe=f.bind(this.subscribe,this),this.handleEvent=f.bind(this.handleEvent,this),this.pushing=!1,this.ended=!1,this.prevError=void 0,this.unsubSrc=void 0,this.subscriptions=[],this.queue=[]}function I(e){return function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if("object"==typeof t&&i.length){var o=t,a=i[0];t=function(){return o[a].apply(o,arguments)},i=i.slice(1)}return e.apply(void 0,[t].concat(i))}}function R(e){return e=Array.prototype.slice.call(e),F.apply(void 0,e)}function B(e,t){return function(){for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];return e.apply(void 0,t.concat(i))}}function j(e,t){var n=e.slice(1).split("."),i=f.map(function(e){return function(t){return function(n){if(null!=n){var i=n[t];return f.isFunction(i)?i.apply(n,e):i}}}}(t),n);return function(e){for(var t=0;t<i.length;t++)e=(0,i[t])(e);return e}}function q(e){return"string"==typeof e&&e.length>1&&"."===e.charAt(0)}z.prototype.hasSubscribers=function(){return this.subscriptions.length>0},z.prototype.removeSub=function(e){return this.subscriptions=f.without(e,this.subscriptions),this.subscriptions},z.prototype.push=function(e){return e.isEnd&&(this.ended=!0),L.inTransaction(e,this,this.pushIt,[e])},z.prototype.pushToSubscriptions=function(e){try{for(var t=this.subscriptions,n=t.length,i=0;i<n;i++){var r=t[i];(r.sink(e)===S||e.isEnd)&&this.removeSub(r)}return!0}catch(e){throw this.pushing=!1,this.queue=[],e}},z.prototype.pushIt=function(e){if(this.pushing)return this.queue.push(e),E;if(e!==this.prevError){for(e.isError&&(this.prevError=e),this.pushing=!0,this.pushToSubscriptions(e),this.pushing=!1;this.queue.length;)e=this.queue.shift(),this.push(e);return this.hasSubscribers()?E:(this.unsubscribeFromSource(),S)}},z.prototype.handleEvent=function(e){return this._handleEvent?this._handleEvent(e):this.push(e)},z.prototype.unsubscribeFromSource=function(){this.unsubSrc&&this.unsubSrc(),this.unsubSrc=void 0},z.prototype.subscribe=function(t){var n,i;return this.ended?(t(k()),e):(r(t),n={sink:t},this.subscriptions.push(n),1===this.subscriptions.length&&(this.unsubSrc=this._subscribe(this.handleEvent),r(this.unsubSrc)),i=this,function(){if(i.removeSub(n),!i.hasSubscribers())return i.unsubscribeFromSource()})};var F=I((function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return f.isFunction(e)?n.length?B(e,n):e:q(e)?j(e,n):f.always(e)}));function V(e,t){return F.apply(void 0,[e].concat(t))}function W(e,t,n,i){if(t&&t._isProperty){var r=t.sampledBy(e,(function(e,t){return[e,t]}));return i.call(r,(function(e){return e[0]})).map((function(e){return e[1]}))}return t=V(t,n),i.call(e,t)}function H(e){if(f.isFunction(e))return e;if(q(e)){var t=function(e){return e.slice(1)}(e);return function(e,n){return e[t](n)}}throw new Error("not a function or a field key: "+e)}var U=0;function X(e){n("desc missing",e),this.desc=e,this.id=++U,this.initialDesc=this.desc}function Y(e,t,n){z.call(this,t,n),this.property=e,this.subscribe=f.bind(this.subscribe,this),this.current=p,this.currentValueRootId=void 0,this.propertyEnded=!1}
58function G(e,t){return r(t),new K(e,ee(p,t))}function K(e,t,n){X.call(this,e),r(t),this.dispatcher=new Y(this,t,n),O(this)}c(X.prototype,{_isObservable:!0,subscribe:function(e){return L.wrappedSubscribe(this,e)},subscribeInternal:function(e){return this.dispatcher.subscribe(e)},onValue:function(){var e=R(arguments);return this.subscribe((function(t){if(t.hasValue)return e(t.value)}))},onValues:function(e){return this.onValue((function(t){return e.apply(void 0,t)}))},onError:function(){var e=R(arguments);return this.subscribe((function(t){if(t.isError)return e(t.error)}))},onEnd:function(){var e=R(arguments);return this.subscribe((function(t){if(t.isEnd)return e()}))},name:function(e){return this._name=e,this},withDescription:function(){return this.desc=D.apply(void 0,arguments),this},toString:function(){return this._name?this._name:this.desc.toString()},deps:function(){return this.desc.deps()},internalDeps:function(){return this.initialDesc.deps()}}),X.prototype.assign=X.prototype.onValue,X.prototype.forEach=X.prototype.onValue,X.prototype.inspect=X.prototype.toString,l(Y,z),c(Y.prototype,{push:function(e){return e.isEnd&&(this.propertyEnded=!0),e.hasValue&&(this.current=new u(e),this.currentValueRootId=L.currentEventId()),z.prototype.push.call(this,e)},maybeSubSource:function(t,n){return n===re.noMore?e:this.propertyEnded?(t(k()),e):z.prototype.subscribe.call(this,t)},subscribe:function(e){var t=this,n=re.more;if(this.current.isDefined&&(this.hasSubscribers()||this.propertyEnded)){var i=L.currentEventId(),r=this.currentValueRootId;return!this.propertyEnded&&r&&i&&i!==r?(L.whenDoneWith(this.property,(function(){if(t.currentValueRootId===r)return e(w(t.current.get().value))})),this.maybeSubSource(e,n)):(L.inTransaction(void 0,this,(function(){return n=e(w(this.current.get().value))}),[]),this.maybeSubSource(e,n))}return this.maybeSubSource(e,n)}}),l(K,X),c(K.prototype,{_isProperty:!0,changes:function(){var e=this;return new Z(new T(this,"changes",[]),(function(t){return e.dispatcher.subscribe((function(e){if(!e.isInitial)return t(e)}))}))},withHandler:function(e){return new K(new T(this,"withHandler",[e]),this.dispatcher.subscribe,e)},toProperty:function(){return s(arguments),this}});var Q={forceAsync:!1},J=D("Bacon","new EventStream",[]);function Z(e,t,n,i){if(!(this instanceof Z))return new Z(e,t,n);f.isFunction(e)&&(n=t,t=e,e=J),i!==Q&&(t=function(e,t){var n=!1;return function(i){var r,o=L.isInTransaction();function a(){var e=r;r=null;for(var t=0;t<e.length;t++){var n=e[t];i(n)}}n=!0;try{return t((function(t){if(!n&&!r)return i(t);r?r.push(t):(r=[t],o?L.soonButNotYet(e,a):re.scheduler.setTimeout(a,0))}))}finally{n=!1}}}(this,t)),X.call(this,e),this.dispatcher=new z(t,n),O(this)}function ee(t,n){return function(i){var r=!1,o=!1,a=e,s=E,c=function(){if(!r)return t.forEach((function(t){if(r=!0,(s=i(new y(t)))===S)return a(),a=e,e}))};return a=n((function(e){return e.hasValue?e.isInitial&&!o?(t=new u(e.value),E):(e.isInitial||c(),r=!0,t=new u(e.value),i(e)):(e.isEnd&&(s=c()),s!==S?i(e):void 0)})),o=!0,c(),a}}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.unsubscribe=f.bind(this.unsubscribe,this),this.unsubscribed=!1,this.subscriptions=[],this.starting=[];for(var t,n=0;n<e.length;n++)t=e[n],this.add(t)}function ne(){return new Z(D(re,"never"),(function(t){return t(k()),e}))}function ie(t){return new K(new T(re,"constant",[t]),(function(n){return n(w(t)),n(k()),e}))}l(Z,X),c(Z.prototype,{_isEventStream:!0,toProperty:function(e){var t=0===arguments.length?p:h(e),n=this.dispatcher,i=new T(this,"toProperty",[e]),r=function(e){return n.subscribe(e)};return new K(i,ee(t,r))},toEventStream:function(){return this},withHandler:function(e){return new Z(new T(this,"withHandler",[e]),this.dispatcher.subscribe,e,Q)}}),c(te.prototype,{add:function(t){var n=this;if(!this.unsubscribed){var i=!1,r=e;return this.starting.push(t),r=t(this.unsubscribe,(function(){if(!n.unsubscribed)return i=!0,n.remove(r),f.remove(t,n.starting)})),this.unsubscribed||i?r():this.subscriptions.push(r),f.remove(t,this.starting),r}},remove:function(e){if(!this.unsubscribed)return void 0!==f.remove(e,this.subscriptions)?e():void 0},unsubscribe:function(){if(!this.unsubscribed){this.unsubscribed=!0;for(var e=this.subscriptions,t=0;t<e.length;t++)e[t]();return this.subscriptions=[],this.starting=[],[]}},count:function(){return this.unsubscribed?0:this.subscriptions.length+this.starting.length},empty:function(){return 0===this.count()}});var re={toString:function(){return"Bacon"},_:f,Event:g,Next:b,Initial:y,Error:_,End:A,noMore:S,more:E,Desc:T,spy:function(e){return x.push(e)},UpdateBarrier:L,scheduler:N,Dispatcher:z,Observable:X,EventStream:Z,Property:K,CompositeUnsubscribe:te,never:ne,constant:ie,version:"2.0.7"};function oe(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return W(this,e,n,(function(e){return $(new T(this,"map",[e]),this.withHandler((function(t){return this.push(t.fmap(e))})))}))}re.Bacon=re,X.prototype.map=oe,X.prototype.withStateMachine=function(e,t){var n=e;return $(new T(this,"withStateMachine",[e,t]),this.withHandler((function(e){var i=t(n,e),r=i[0],o=i[1];n=r;for(var a,s=E,c=0;c<o.length;c++)if(a=o[c],(s=this.push(a))===S)return s;return s})))};var ae=function(e,t){return e===t},se=function(e){return null!=e&&e._isNone};function ce(e,t){this.obs=e,this.sync=t,this.queue=[]}function le(){ce.apply(this,arguments)}function de(e){ce.call(this,e,!0)}function ue(){return he(Z,arguments)}function pe(){return he(G,arguments)}function he(e,t){if(0===t.length)return ne();var i=function(e){for(var t=e.length,i=[],r=[],o=0,a=[];o<t;){a[o]=e[o],a[o+1]=e[o+1];for(var s,c=f.toArray(e[o]),l={f:fe(e[o+1]),ixs:[]},d=!1,u=0;u<c.length;u++){s=c[u];var p=f.indexOf(i,s);d||(d=ce.isTrigger(s)),p<0&&(i.push(s),p=i.length-1);for(var h,m=0;m<l.ixs.length;m++)(h=l.ixs[m]).index===p&&h.count++;l.ixs.push({index:p,count:1})}n("At least one EventStream required",d||!c.length),c.length>0&&r.push(l),o+=2}
58return n("when: expecting arguments in the form (Observable+,function)+",t%2==0),[i,r,a]}(t),r=i[0],o=i[1],a=i[2];if(!r.length)return ne();r=f.map(ce.fromObservable,r);var s=f.any(r,(function(e){return e.flatten}))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];function n(e){if(f.contains(t,e))return!0;var i=e.internalDeps();return i.length?(t.push(e),f.any(i,n)):(t.push(e),!1)}return f.any(e,n)}(f.map((function(e){return e.obs}),r)),c=e(new T(re,"when",a),(function(e){var t=[],n=!1;function i(e){for(var t=0;t<e.ixs.length;t++){var n=e.ixs[t];if(!r[n.index].hasAtLeast(n.count))return!1}return!0}function a(e){for(var t=0;t<e.ixs.length;t++){var n=e.ixs[t];if(!r[n.index].mayHave(n.count))return!0}}function l(e){return!e.source.flatten}function d(d){return function(u){function p(){return L.whenDoneWith(c,h)}function h(){var s=function n(){if(!(t.length>0))return E;for(var a,s=E,c=t.pop(),d=0;d<o.length;d++)if(i(a=o[d])){for(var u=[],p=0;p<a.ixs.length;p++){var h=r[a.ixs[p].index].consume();u.push(h.value)}var m=a.f.apply(null,u);return s=e(c.e.apply(m)),t.length&&(t=f.filter(l,t)),s===S?s:n()}}();return n&&(f.all(r,me)||f.all(o,a))&&(s=S,e(k())),s===S&&u(),s}return d.subscribe((function(i){if(i.isEnd)n=!0,d.markEnded(),p();else if(i.isError)var r=e(i);else d.push(i),d.sync&&(t.push({source:d,e:i}),s||L.hasWaiters()?p():h());return r===S&&u(),r||E}))}}return new te(function(){for(var e,t=[],n=0;n<r.length;n++)e=r[n],t.push(d(e));return t}()).unsubscribe}));return c}function fe(e){return f.isFunction(e)?e:f.always(e)}function me(e){return!e.sync||e.ended}function ve(e,t){1===e.length&&o(e[0])&&(e=e[0]);var n=function(){for(var t=[],n=0;n<e.length;n++)t.push(new de(e[n]));return t}();return $(new T(re,"groupSimultaneous",e),he((function(e,n){return new Z(e,n,null,t)}),[n,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t}]))}function ge(e){return o(e[0])?e[0]:Array.prototype.slice.call(e)}function be(e){return f.isFunction(e[0])?[ge(Array.prototype.slice.call(e,1)),e[0]]:[ge(Array.prototype.slice.call(e,0,e.length-1)),f.last(e)]}function ye(t){var n=new Z(new T(re,"once",[t]),(function(i){return L.soonButNotYet(n,(function(){i(C(t)),i(k())})),e}));return n}X.prototype.skipDuplicates=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae,t=new T(this,"skipDuplicates",[]);return $(t,this.withStateMachine(p,(function(t,n){return n.hasValue?n.isInitial||se(t)||!e(t.get(),n.value)?[new u(n.value),[n]]:[t,[]]:[t,[n]]})))},c(ce.prototype,{_isSource:!0,subscribe:function(e){return this.obs.dispatcher.subscribe(e)},toString:function(){return this.obs.toString()},markEnded:function(){return this.ended=!0,!0},consume:function(){return this.queue[0]},push:function(e){this.queue=[e]},mayHave:function(){return!0},hasAtLeast:function(){return this.queue.length},flatten:!0}),l(le,ce),c(le.prototype,{consume:function(){return this.queue.shift()},push:function(e){return this.queue.push(e)},mayHave:function(e){return!this.ended||this.queue.length>=e},hasAtLeast:function(e){return this.queue.length>=e},flatten:!1}),l(de,ce),c(de.prototype,{consume:function(){var e=this.queue;return this.queue=[],{value:e}},push:function(e){return this.queue.push(e.value)},hasAtLeast:function(){return!0}}),ce.isTrigger=function(e){return null!=e&&(e._isSource?e.sync:e._isEventStream)},ce.fromObservable=function(e){return null!=e&&e._isSource?e:null!=e&&e._isProperty?new ce(e,!1):new le(e,!0)},re.when=ue,re.groupSimultaneous=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return ve(t)},X.prototype.awaiting=function(e){return $(new T(this,"awaiting",[e]),ve([this,e],Q).map((function(e){return 0===e[1].length})).toProperty(!1).skipDuplicates())},re.combineAsArray=function(){var e=ge(arguments);if(e.length){for(var t=[],n=0;n<e.length;n++){var i=a(e[n])?e[n]:re.constant(e[n]);t.push(new ce(i,!0))}return $(new re.Desc(re,"combineAsArray",e),pe(t,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t})))}return ie([])},re.onValues=function(){return re.combineAsArray(Array.prototype.slice.call(arguments,0,arguments.length-1)).onValues(arguments[arguments.length-1])},re.combineWith=function(){var e=be(arguments),t=e[0],n=e[1],i=new T(re,"combineWith",[n].concat(t));return $(i,re.combineAsArray(t).map((function(e){return n.apply(void 0,e)})))},X.prototype.combine=function(e,t){var n=H(t);return $(new T(this,"combine",[e,t]),re.combineAsArray(this,e).map((function(e){return n(e[0],e[1])})))},X.prototype.not=function(){return $(new T(this,"not",[]),this.map((function(e){return!e})))},K.prototype.and=function(e){return $(new T(this,"and",[e]),this.combine(e,(function(e,t){return e&&t})))},K.prototype.or=function(e){return $(new T(this,"or",[e]),this.combine(e,(function(e,t){return e||t})))},Z.prototype.bufferWithTime=function(e){return $(new T(this,"bufferWithTime",[e]),this.bufferWithTimeOrCount(e,Number.MAX_VALUE))},Z.prototype.bufferWithCount=function(e){return $(new T(this,"bufferWithCount",[e]),this.bufferWithTimeOrCount(void 0,e))},Z.prototype.bufferWithTimeOrCount=function(e,t){var n=function(n){return n.values.length===t?n.flush():void 0!==e?n.schedule():void 0};return $(new T(this,"bufferWithTimeOrCount",[e,t]),this.buffer(e,n,n))},Z.prototype.buffer=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r={scheduled:null,end:void 0,values:[],flush:function(){if(this.scheduled&&(re.scheduler.clearTimeout(this.scheduled),this.scheduled=null),this.values.length>0){var e=this.values;this.values=[];var t=this.push(M(e));if(null!=this.end)return this.push(this.end);if(t!==S)return i(this)}else if(null!=this.end)return this.push(this.end)},schedule:function(){var e=this;if(!this.scheduled)return this.scheduled=t((function(){return e.flush()}))}},o=E;if(!f.isFunction(t)){var a=t;t=function(e){return re.scheduler.setTimeout(e,a)}}return $(new T(this,"buffer",[]),this.withHandler((function(e){var t=this;return r.push=function(e){return t.push(e)},e.isError?o=this.push(e):e.isEnd?(r.end=e,r.scheduled||r.flush()):(r.values.push(e.value),n(r)),o})))},X.prototype.filter=function(e){i(e);for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return W(this,e,n,(function(e){return $(new T(this,"filter",[e]),this.withHandler((function(t){return t.filter(e)?this.push(t):E})))}
58))},re.once=ye,X.prototype.flatMap_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this,i=[n],r=[],o=this._isProperty,a=o?G:Z,s=!1,c=a(t.desc||new T(this,"flatMap_",arguments),(function(i){var a=new te,c=[],l=function(t){if(o&&t.isInitial){if(s)return E;s=!0}var n=we(e(t));return r.push(n),a.add((function(e,t){return n.dispatcher.subscribe((function(o){if(o.isEnd)return f.remove(n,r),d(),u(t),S;o=o.toNext();var a=i(o);return a===S&&e(),a}))}))},d=function(){var e=c.shift();if(e)return l(e)},u=function(e){if(e(),a.empty())return i(k())};return a.add((function(e,r){return n.dispatcher.subscribe((function(e){return e.isEnd?u(r):e.isError&&!t.mapError?i(e):t.firstOnly&&a.count()>1?E:a.unsubscribed?S:t.limit&&a.count()>t.limit?c.push(e):l(e)}))})),a.unsubscribe}));return c.internalDeps=function(){return r.length?i.concat(r):i},c};var Ae=function(e){return function(t){return e(t.value)}};function _e(e){return 1===e.length&&a(e[0])?f.always(e[0]):R(e)}function we(e){return a(e)?e:ye(e)}function Me(e,t){var n=new Z(D(e,"justInitValue"),(function(t){var i=void 0,r=e.dispatcher.subscribe((function(e){return e.isEnd||(i=e),S}));return L.whenDoneWith(n,(function(){return null!=i&&t(i),t(k())})),r}),null,Q);return n.concat(t,Q).toProperty()}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.id,n=new T(re,"fromBinder",[e,t]);return new Z(n,(function(n){var i=!1,r=!1,a=function(){if(!i)return null!=s?(s(),i=!0):r=!0},s=e((function(){for(var e,i=arguments.length,r=Array(i),s=0;s<i;s++)r[s]=arguments[s];var c=t.apply(this,r);o(c)&&(null!=(e=f.last(c))?e._isEvent:void 0)||(c=[c]);for(var l,d=re.more,u=0;u<c.length;u++)if(l=c[u],(d=n(l=C(l)))===re.noMore||l.isEnd)return a(),d;return d}));return r&&a(),a}))}function Ce(e,t){return $(new T(re,"later",[e,t]),ke((function(n){var i=re.scheduler.setTimeout((function(){return n([t,k()])}),e);return function(){return re.scheduler.clearTimeout(i)}})))}function Se(){if(!(this instanceof Se))return new Se;this.unsubAll=f.bind(this.unsubAll,this),this.subscribeAll=f.bind(this.subscribeAll,this),this.guardedSink=f.bind(this.guardedSink,this),this.sink=void 0,this.subscriptions=[],this.ended=!1,Z.call(this,new T(re,"Bus",[]),this.subscribeAll)}X.prototype.flatMapWithConcurrencyLimit=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return this.flatMap_(Ae(_e(n)),{limit:e,desc:new T(this,"flatMapWithConcurrencyLimit",[e].concat(n))})},X.prototype.flatMapConcat=function(){var e=new T(this,"flatMapConcat",Array.prototype.slice.call(arguments,0));return $(e,this.flatMapWithConcurrencyLimit.apply(this,[1].concat(Array.prototype.slice.call(arguments))))},Z.prototype.concat=function(t,n){var i=this;return new Z(new T(i,"concat",[t]),(function(n){var r=e,o=i.dispatcher.subscribe((function(e){return e.isEnd?r=t.toEventStream().dispatcher.subscribe(n):n(e)}));return function(){return o(),r()}}),null,n)},K.prototype.concat=function(e){return Me(this,this.changes().concat(e))},re.concatAll=function(){var e=ge(arguments);return e.length?$(new T(re,"concatAll",e),f.fold(f.tail(e),f.head(e).toEventStream(),(function(e,t){return e.concat(t)}))):ne()},re.fromBinder=ke,re.later=Ce,X.prototype.bufferingThrottle=function(e){return $(new T(this,"bufferingThrottle",[e]),this.flatMapConcat((function(t){return ye(t).concat(Ce(e).filter(!1))})))},K.prototype.bufferingThrottle=function(){return X.prototype.bufferingThrottle.apply(this,arguments).toProperty()},l(Se,Z),c(Se.prototype,{unsubAll:function(){for(var e,t=this.subscriptions,n=0;n<t.length;n++)"function"==typeof(e=t[n]).unsub&&e.unsub()},subscribeAll:function(e){if(this.ended)e(k());else{this.sink=e;for(var t,n=this.subscriptions.slice(0),i=0;i<n.length;i++)t=n[i],this.subscribeInput(t)}return this.unsubAll},guardedSink:function(e){var t=this;return function(n){return n.isEnd?(t.unsubscribeInput(e),re.noMore):t.sink(n)}},subscribeInput:function(e){return e.unsub=e.input.dispatcher.subscribe(this.guardedSink(e.input)),e.unsub},unsubscribeInput:function(e){for(var t,n=this.subscriptions,i=0;i<n.length;i++)if((t=n[i]).input===e)return"function"==typeof t.unsub&&t.unsub(),void this.subscriptions.splice(i,1)},plug:function(e){var t=this;if(function(e){if(!(null!=e?e._isObservable:void 0))throw new Error("not an Observable : "+e)}
58(e),!this.ended){var n={input:e};return this.subscriptions.push(n),void 0!==this.sink&&this.subscribeInput(n),function(){return t.unsubscribeInput(e)}}},end:function(){if(this.ended=!0,this.unsubAll(),"function"==typeof this.sink)return this.sink(k())},push:function(e){if(!this.ended&&"function"==typeof this.sink){var t=!this.pushing;if(!t)return this.pushQueue||(this.pushQueue=[]),void this.pushQueue.push(e);this.pushing=!0;try{return this.sink(M(e))}finally{if(t&&this.pushQueue){for(var n=0;n<this.pushQueue.length;){var i=this.pushQueue[n];this.sink(M(i)),n++}this.pushQueue=null}this.pushing=!1}}},error:function(e){if("function"==typeof this.sink)return this.sink(new _(e))}}),re.Bus=Se,X.prototype.flatMap=function(){return this.flatMap_(Ae(_e(arguments)),{desc:new T(this,"flatMap",arguments)})};var Ee=function(e,t){return I((function(n){for(var i=B(t,[function(e,t){return n.apply(void 0,e.concat([t]))}]),r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return $(new T(re,e,[n].concat(o)),re.combineAsArray(o).flatMap(i).changes())}))};function xe(e){function t(e,t,n){return(function(e){return e[e.length-1]}(e))[t]=n,n}function n(e){return o(e)?[]:{}}function i(e){if(a(e))return!0;if(e&&(e.constructor==Object||e.constructor==Array))for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&i(e[t]))return!0}function r(e,r){a(r)?(l.push(r),c.push(function(e,n){return function(i,r){t(i,e,r[n])}}(e,l.length-1))):i(r)?(c.push(function(e,i){return function(r){var o=n(i);t(r,e,o),r.push(o)}}(e,r)),s(r),c.push((function(e){e.pop()}))):c.push(function(e,n){return function(i){t(i,e,n)}}(e,r))}function s(e){f.each(e,r)}var c=[],l=[],d=i(e)?(s(e),re.combineAsArray(l).map((function(t){for(var i=n(e),r=[i],o=0;o<c.length;o++)(0,c[o])(r,t);return i}))):re.constant(e);return $(new T(re,"combineTemplate",[e]),d)}function Oe(e){this.observable=e}re.fromCallback=Ee("fromCallback",(function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return ke((function(n){return V(t,i)(n),e}),(function(e){return[e,k()]}))})),re.fromNodeCallback=Ee("fromNodeCallback",(function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return ke((function(n){return V(t,i)(n),e}),(function(e,t){return e?[new _(e),k()]:[t,k()]}))})),re.combineTemplate=xe,X.prototype.mapEnd=function(){var e=R(arguments);return $(new T(this,"mapEnd",[e]),this.withHandler((function(t){return t.isEnd?(this.push(M(e(t))),this.push(k()),S):this.push(t)})))},X.prototype.skipErrors=function(){return $(new T(this,"skipErrors",[]),this.withHandler((function(e){return e.isError?E:this.push(e)})))},X.prototype.takeUntil=function(e){var t={},n=ve([this.mapEnd(t),e.skipErrors()],Q);this instanceof K&&(n=n.toProperty());var i=n.withHandler((function(e){if(e.hasValue){var n=e.value,i=n[0];if(n[1].length)return this.push(k());for(var r,o=E,a=0;a<i.length;a++)o=(r=i[a])===t?this.push(k()):this.push(M(r));return o}return this.push(e)}));return $(new T(this,"takeUntil",[e]),i)},X.prototype.flatMapLatest=function(){var e=_e(arguments),t=this._isProperty?this.toEventStream(Q):this,n=t.flatMap((function(n){return we(e(n)).takeUntil(t)}));return this._isProperty&&(n=n.toProperty()),$(new T(this,"flatMapLatest",[e]),n)},K.prototype.delayChanges=function(e,t){return $(e,Me(this,t(this.changes())))},Z.prototype.delayChanges=function(e,t){return $(e,t(this))},X.prototype.delay=function(e){return this.delayChanges(new T(this,"delay",[e]),(function(t){return t.flatMap((function(t){return Ce(e,t)}))}))},re.Observable.prototype.debounce=function(e){return this.delayChanges(new T(this,"debounce",[e]),(function(t){return t.flatMapLatest((function(t){return re.later(e,t)}))}))},re.Observable.prototype.debounceImmediate=function(e){return this.delayChanges(new T(this,"debounceImmediate",[e]),(function(t){return t.flatMapFirst((function(t){return re.once(t).concat(re.later(e).filter(!1))}))}))},X.prototype.decode=function(e){return $(new T(this,"decode",[e]),this.combine(xe(e),(function(e,t){return t[e]})))},X.prototype.scan=function(t,n){var i,r=this;n=H(n);var o=t,a=!1;return i=new K(new T(this,"scan",[t,n]),(function(t){var s=!1,c=e,l=E,d=function(){s||(s=a=!0,(l=t(new y(o)))===S&&(c(),c=e))};return c=r.dispatcher.subscribe((function(e){if(e.hasValue){if(a&&e.isInitial)return E;e.isInitial||d(),s=a=!0;var i=n(o,e.value);return o=i,t(e.apply(i))}if(e.isEnd&&(l=d()),l!==S)return t(e)})),L.whenDoneWith(i,d),c}))},X.prototype.diff=function(e,t){return $(new T(this,"diff",[e,t=H(t)]),this.scan([e],(function(e,n){return[n,t(e[0],n)]})).filter((function(e){return 2===e.length})).map((function(e){return e[1]})))},X.prototype.doAction=function(){var e=R(arguments);return $(new T(this,"doAction",[e]),this.withHandler((function(t){return t.hasValue&&e(t.value),this.push(t)})))},X.prototype.doEnd=function(){var e=R(arguments);return $(new T(this,"doEnd",[e]),this.withHandler((function(t){return t.isEnd&&e(),this.push(t)})))},X.prototype.doError=function(){var e=R(arguments);return $(new T(this,"doError",[e]),this.withHandler((function(t){return t.isError&&e(t.error),this.push(t)})))},X.prototype.doLog=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return $(new T(this,"doLog",t),this.withHandler((function(e){var n;return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log&&(n=console).log.a
58pply(n,t.concat([e.log()])),this.push(e)})))},X.prototype.endOnError=function(e){null==e&&(e=!0);for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return W(this,e,n,(function(e){return $(new T(this,"endOnError",[]),this.withHandler((function(t){return t.isError&&e(t.error)?(this.push(t),this.push(k())):this.push(t)})))}))},X.prototype.errors=function(){return $(new T(this,"errors",[]),this.filter((function(){return!1})))},Oe.prototype.subscribe=function(e,t,n){var i="function"==typeof e?{next:e,error:t,complete:n}:e,r={closed:!1,unsubscribe:function(){r.closed=!0,o()}},o=this.observable.subscribe((function(e){e.isError?(i.error&&i.error(e.error),r.unsubscribe()):e.isEnd?(r.closed=!0,i.complete&&i.complete()):i.next&&i.next(e.value)}));return r},Oe.prototype[d("observable")]=function(){return this},X.prototype.toESObservable=function(){return new Oe(this)},X.prototype[d("observable")]=X.prototype.toESObservable,X.prototype.take=function(e){return e<=0?ne():$(new T(this,"take",[e]),this.withHandler((function(t){return t.hasValue?--e>0?this.push(t):(0===e&&this.push(t),this.push(k()),S):this.push(t)})))},X.prototype.first=function(){return $(new T(this,"first",[]),this.take(1))},X.prototype.flatMapEvent=function(){return this.flatMap_(_e(arguments),{mapError:!0,desc:new T(this,"flatMapEvent",arguments)})},X.prototype.flatMapFirst=function(){return this.flatMap_(Ae(_e(arguments)),{firstOnly:!0,desc:new T(this,"flatMapFirst",arguments)})},X.prototype.mapError=function(){var e=R(arguments);return $(new T(this,"mapError",[e]),this.withHandler((function(t){return t.isError?this.push(M(e(t.error))):this.push(t)})))},X.prototype.flatMapError=function(e){return this.flatMap_((function(t){return t instanceof _?e(t.error):t}),{mapError:!0,desc:new T(this,"flatMapError",[e])})},X.prototype.flatScan=function(e,t){var n=e;return this.flatMapConcat((function(e){return we(t(n,e)).doAction((function(e){return n=e}))})).toProperty(e)},Z.prototype.sampledBy=function(e,t){return $(new T(this,"sampledBy",[e,t]),this.toProperty().sampledBy(e,t))},K.prototype.sampledBy=function(e,t){t=null!=t?H(t):re._.id;var n=new ce(this,!1),i=new ce(e,!0),r=(e._isProperty?pe:ue)([n,i],t);return $(new T(this,"sampledBy",[e,t]),r)},K.prototype.sample=function(e){return $(new T(this,"sample",[e]),this.sampledBy(re.interval(e,{})))},X.prototype.map=function(e){return e&&e._isProperty?e.sampledBy(this,t):oe.apply(this,arguments)},X.prototype.fold=function(e,t){return $(new T(this,"fold",[e,t]),this.scan(e,t).sampledBy(this.filter(!1).mapEnd().toProperty()))},X.prototype.reduce=X.prototype.fold,re.fromArray=function(e){if(function(e){if(!o(e))throw new Error("not an array : "+e)}(e),e.length){var t=0,n=new Z(new T(re,"fromArray",[e]),(function(i){var r=!1,o=E,a=!1,s=!1;return L.soonButNotYet(n,(function c(){if(s=!0,!a){for(a=!0;s;)if(s=!1,o!==S&&!r){var l=e[t++];(o=i(C(l)))!==S&&(t===e.length?i(k()):L.afterTransaction(n,c))}return a=!1}})),function(){return r=!0}}));return n}return $(new T(re,"fromArray",e),ne())},re.fromESObservable=function(e){var t;return t=e[d("observable")]?e[d("observable")]():e,new Z(new T(re,"fromESObservable",[t]),(function(e){var n=t.subscribe({error:function(){e(new re.Error),e(new re.End)},next:function(t){e(new re.Next(t,!0))},complete:function(){e(new re.End)}});return n.unsubscribe?function(){n.unsubscribe()}:n}))};var Te=[["addEventListener","removeEventListener"],["addListener","removeListener"],["on","off"],["bind","unbind"]];function De(e,t){return $(new T(re,"fromPoll",[e,t]),ke((function(t){var n=re.scheduler.setInterval(t,e);return function(){return re.scheduler.clearInterval(n)}}),t))}function $e(e){return[e,k()]}function Pe(){var e=ge(arguments);return e.length?new Z(new T(re,"mergeAll",e),(function(t){var n=0;return new te(f.map((function(i){return function(r){return i.dispatcher.subscribe((function(i){if(i.isEnd)return++n===e.length?t(k()):E;var o=t(i);return o===S&&r(),o}))}}),e)).unsubscribe})):ne()}return re.fromEvent=re.fromEventTarget=function(e,t,n){var i=function(e){for(var t,n=0;n<Te.length;n++){var i=[e[(t=Te[n])[0]],e[t[1]]];if(i[0]&&i[1])return i}for(var r=0;r<Te.length;r++){var o=e[(t=Te[r])[0]];if(o)return[o,function(){}]}throw new Error("No suitable event methods in "+e)}(e),r=i[0],o=i[1];return $(new T(re,"fromEvent",[e,t]),ke((function(n){return f.isFunction(t)?(t(r.bind(e),n),function(){return t(o.bind(e),n)}):(r.call(e,t,n),function(){return o.call(e,t,n)})}),n))},re.fromPoll=De,re.fromPromise=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$e;return $(new T(re,"fromPromise",[e]),ke((function(n){var i=e.then(n,(function(e){return n(new _(e))}));return i&&"function"==typeof i.done&&i.done(),t?function(){if("function"==typeof e.abort)return e.abort()}:function(){}}),n))},X.prototype.groupBy=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.id,n={},i=this;return i.filter((function(t){return!n[e(t)]})).map((function(r){var o=e(r),a=i.filter((function(t){return e(t)===o})),s=ye(r).concat(a),c=t(s,r).withHandler((function(e){if(this.push(e),e.isEnd)return delete n[o]}));return n[o]=c,c}))},Z.prototype.holdWhen=function(e){var t=!1,n=[],i=this,r=!1;return new Z(new T(this,"holdWhen",[e]),(function(o){var a=new te,s=!1,c=function(e){if("function"==typeof e&&e(),a.empty()&&s)return o(k())};return a.add((function(i,a){return e.subscribeInternal((function(e){if(!e.hasValue)return e.isEnd?c(a):o(e);if(!(t=e.value)){var i=n;return n=[],function(){for(var e,t=[],n=0;n<i.length;n++)e=i[n],t.push(o(M(e)));return r&&(t.push(o(k())),a()),t}()}}))})),a.add((function(e,a){return i.subscribeInternal((function(e){return t&&e.hasValue?n.push(e.value):e.isEnd&&n.length?(r=!0,c(a)):o(e)}))})),s=!0,c(),a.unsubscribe}))},re.interval=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return $(new T(re,"interval",[e,t]),De(e,(function(){return M(t)})))},re.$={},re.$.asEventStream=function(e,t,n){var i=this;return f.isFunction(t)&&(n=t,t=void 0),$(new T(this.selector||this,"asEventStream",[e]),ke((function(n){return i.on(e,t,n),function(){return i.off(e,t,n)}}),n))},"undefined"!=typeof jQuery&&jQuery&&(jQuery.fn.asEventStream=re.$.asEventStream),"undefined"!=typeof Zepto&&Zepto&&(Zepto.fn.asEventStream=re.$.asEventStream),X.prototype.last=function(){var e;return $(new T(this,"last",[]),this.withHandler((function(t){if(t.isEnd)return e&&this.push(e),this.push(k()),S;e=t})))},X.prototype.log=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.subscribe((function(e){var n;"undefined"!=typeof console&&"function"==typeof console.log&&(n=console).log.a
58pply(n,t.concat([e.log()]))})),this},Z.prototype.merge=function(e){return function(e){if(!(null!=e?e._isEventStream:void 0))throw new Error("not an EventStream : "+e)}(e),$(new T(this,"merge",[e]),Pe(this,e))},re.mergeAll=Pe,re.repeatedly=function(e,t){var n=0;return $(new T(re,"repeatedly",[e,t]),De(e,(function(){return t[n++%t.length]})))},re.repeat=function(e){var t=0;return ke((function(n){var i=!1,r=E,o=function(){};function a(e){return e.isEnd?i?s():i=!0:r=n(e)}function s(){var s;for(i=!0;i&&r!==S;)s=e(t++),i=!1,s?o=s.subscribeInternal(a):n(k());return i=!0}return s(),function(){return o()}}))},re.retry=function(e){if(!f.isFunction(e.source))throw new Error("'source' option has to be a function");var t=e.source,n=e.retries||0,i=0,r=e.delay||function(){return 0},o=e.isRetryable||function(){return!0},a=!1,s=null;return $(new T(re,"retry",[e]),re.repeat((function(e){function c(){return t(e).endOnError().withHandler((function(e){return e.isError?o((s=e).error)&&(0===n||i<n)?void 0:(a=!0,this.push(e)):(e.hasValue&&(s=null,a=!0),this.push(e))}))}if(a)return null;if(s){var l={error:s.error,retriesDone:i},d=Ce(r(l)).filter(!1);return i++,d.concat(re.once().flatMap(c))}return c()})))},re.sequentially=function(e,t){var n=0;return $(new T(re,"sequentially",[e,t]),De(e,(function(){var e=t[n++];return n<t.length?e:n===t.length?[e,k()]:k()})))},X.prototype.skip=function(e){return $(new T(this,"skip",[e]),this.withHandler((function(t){return t.hasValue&&e>0?(e--,E):this.push(t)})))},Z.prototype.skipUntil=function(e){var t=e.take(1).map(!0).toProperty(!1);return $(new T(this,"skipUntil",[e]),this.filter(t))},Z.prototype.skipWhile=function(e){i(e);for(var t=!1,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return W(this,e,r,(function(e){return $(new T(this,"skipWhile",[e]),this.withHandler((function(n){return!t&&n.hasValue&&e(n.value)?E:(n.hasValue&&(t=!0),this.push(n))})))}))},K.prototype.startWith=function(e){return $(new T(this,"startWith",[e]),this.scan(e,(function(e,t){return t})))},Z.prototype.startWith=function(e){return $(new T(this,"startWith",[e]),ye(e).concat(this))},X.prototype.slidingWindow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return $(new T(this,"slidingWindow",[e,t]),this.scan([],(function(t,n){return t.concat([n]).slice(-e)})).filter((function(e){return e.length>=t})))},X.prototype.takeWhile=function(e){i(e);for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return W(this,e,n,(function(e){return $(new T(this,"takeWhile",[e]),this.withHandler((function(t){return t.filter(e)?this.push(t):(this.push(k()),S)})))}))},X.prototype.throttle=function(e){return this.delayChanges(new T(this,"throttle",[e]),(function(t){return t.bufferWithTime(e).map((function(e){return e[e.length-1]}))}))},K.prototype.toEventStream=function(e){var t=this;return new Z(new T(this,"toEventStream",[]),(function(e){return t.dispatcher.subscribe((function(t){return e(t.toNext())}))}),null,e)},X.prototype.firstToPromise=function(e){var t=this;if("function"!=typeof e){if("function"!=typeof Promise)throw new Error("There isn't default Promise, use shim or parameter");e=Promise}return new e((function(e,n){return t.subscribe((function(t){return t.hasValue&&e(t.value),t.isError&&n(t.error),S}))}))},X.prototype.toPromise=function(e){return this.last().firstToPromise(e)},re.try=function(e){return function(t){try{return ye(e(t))}catch(e){return new _(e)}}},re.update=function(e){function t(e){return function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return function(t){return e.apply(void 0,[t].concat(n))}}}for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(var o=i.length-1;o>0;)i[o]instanceof Function||(i[o]=f.always(i[o])),i[o]=t(i[o]),o-=2;return $(new T(re,"update",[e].concat(i)),ue.apply(void 0,i).scan(e,(function(e,t){return t(e)})))},re.zipAsArray=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=ge(t);return $(new T(re,"zipAsArray",i),re.zipWith(i,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t})))},re.zipWith=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=be(t),r=i[0],o=i[1];return r=f.map((function(e){return e.toEventStream()}),r),$(new T(re,"zipWith",[o].concat(r)),re.when(r,o))},X.prototype.zip=function(e,t){return $(new T(this,"zip",[e]),re.zipWith([this,e],t||Array))},re}()}));const Channels={Subscription:"Subscription",Configuration:"Configuration",Venue:"Venue",VenueView:"VenueView",VenueEdit:"VenueEdit",VenueDelete:"VenueDelete",OrderId:"OrderId",ExternalDelete:"ExternalDelete",ExternalAdd:"Exter
58nalAdd"};class ApplicationEventBus{constructor(){this.bus=Object.keys(Channels).reduce((e,t)=>(e[t]=new Bacon.Bus,e),{}),this.logger=new Logger(this)}subscribe(e,t){return this.logger.log("Channel %s subscription.",e),this.bus[e].subscribe(t)}channel(e){return this.bus[e]}push(e,t){return this.logger.log("Channel %s event:",e,t),this.channel(e).push(t)}onSubscription(e){return this.subscribe(Channels.Subscription,e)}pushSubscription(e){this.push(Channels.Subscription,e)}onConfiguration(e){return this.subscribe(Channels.Configuration,e)}pushConfiguration(e){this.push(Channels.Configuration,e)}onAddVenue(e){return this.subscribe(Channels.Venue,e)}pushAddVenue(e){this.push(Channels.Venue,e)}onEditVenue(e){return this.subscribe(Channels.VenueEdit,e)}pushEditVenue(e){this.push(Channels.VenueEdit,e)}onViewVenue(e){return this.subscribe(Channels.VenueView,e)}pushViewVenue(e){this.push(Channels.VenueView,e)}onDeleteVenue(e){return this.subscribe(Channels.VenueDelete,e)}pushDeleteVenue(e){this.push(Channels.VenueDelete,e)}onOrderId(e){return this.subscribe(Channels.OrderId,e)}pushOrderId(e){this.push(Channels.OrderId,e)}pushRemoveExternal(e){return this.push(Channels.ExternalDelete,e)}onRemoveExternal(e){return this.subscribe(Channels.ExternalDelete,e)}pushAddExternal(e){return this.push(Channels.ExternalAdd,e)}onAddExternal(e){return this.subscribe(Channels.ExternalAdd,e)}}const applicationEventBus=new ApplicationEventBus;class DeviceService{find(e){return apiCaller.get("/device",{q:Bql.search().where("uniqueId").equals(e).buildQuery()}).then(e=>{let{devices:t}=e;return t[0]})}findAll(){return apiCaller.get("/device")}findAllWithoutSubscriptionPlan(){return apiCaller.getAll("devices","/device",{q:Bql.search().where("subscriptionPlans").contains(Subscription.PlanType.NoPlan).where("deviceType").equals(DeviceType.Beacon).buildQuery(),selector:"uniqueId",access:DeviceAccess.Owner,maxResults:500}).then(e=>e.map(e=>e.uniqueId))}findByQuery(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{order:"ASC",orderBy:"created",startIndex:0,maxResult:50,q:void 0,queryType:QueryType.Normal};return apiCaller.get("/device",e)}findAllByQuery(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{order:"ASC",orderBy:"created",startIndex:0,maxResult:50,q:void 0,queryType:QueryType.Normal};return apiCaller.getAll("devices","device",e)}count(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return apiCaller.get("/device",_$1.extend(e,{startIndex:0,maxResult:1,queryType:QueryType.SearchMeta})).then(e=>{let{searchMeta:t}=e;return t.count})}findByUniqueIdsAndDeviceType(e,t){return _$1.isArray(e)||(e=[e]),e.length?fetchApiCaller.getAllFragments("devices","/device","uniqueId",{q:Bql.search().where("deviceType").oneOf(t).buildQuery(),uniqueId:e,maxResult:e.length}):jquery.Deferred().resolve([]).promise()}findByDeviceType(e){return apiCaller.getAll("devices","/device",{q:Bql.search().where("deviceType").oneOf(e).buildQuery()})}findBeaconsByUniqueIds(e){return this.findByUniqueIdsAndDeviceType(e,[DeviceType.Beacon])}findAllDevicesByUniqueIds(e){return this.findByUniqueIdsAndDeviceType(e,[DeviceType.Beacon,DeviceType.Gateway,DeviceType.CloudBeacon,DeviceType.External])}findAllByUniqueIds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _$1.isArray(e)||(e=[e]),e.length?apiCaller.getAll("devices","device",_$1.defaults(t,{uniqueId:e.join(","),maxResult:200})):Promise.resolve([])}findAllLatLng(e){return this.findAllByUniqueIds(e,{selector:"lat,lng",q:Bql.search().where("lng").moreThan(-181).andWhere("lng").lessThan(181).andWhere("lat").moreThan(-91).andWhere("lat").lessThan(91).q()})}removeExternal(e){return apiCaller.post("/device/delete",{uniqueId:e}).then(e=>(applicationEventBus.pushRemoveExternal(e),e))}share(e){return hasAllKeys(e,["uniqueId","managerMail"])?(e=_$1.pick(e,["uniqueId","managerMail","access","expirationDate","withMetadata"]),_$1.isArray(e.uniqueId)||(e.uniqueId=[e.uniqueId]),e.uniqueId.length?(e.expirationDate||delete e.expirationDate,e.uniqueId=e.uniqueId.join(","),apiCaller.post("/device/share",e)):jquery.Deferred().reject().promise()):jquery.Deferred().reject().promise()}unshare(e){return hasAllKeys(e,["uniqueId","managerMail"])?(e=_$1.pick(e,["uniqueId","managerMail"]),_$1.isArray(e.uniqueId)||(e.uniqueId=[e.uniqueId]),e.uniqueId.length?(e.uniqueId=e.uniqueId.join(","),apiCaller.post("/device/unshare",e)):jquery.Deferred().reject().promise()):jquery.Deferred().reject().promise()}update(e){return hasAllKeys(e,["uniqueId","deviceType"])?(e.metadata&&(e.metadata=JSON.stringify(e.metadata)),apiCaller.post("/device/update",e)):Promise.reject()}assignToManager(){return assign(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],"managerId",arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}assignToVenue(){return assign(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],"venueId",arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}setFloor(e,t){return t&&(e.floorId=t),e}clearMetadata(e){return delete e.floorId,delete e.lat,delete e.lng,e}clearMetadataIfEmpty(e){return 0===Object.keys(e).length&&(e=""),e}removeMetadataByUniqueIds(e){const t=e.map(e=>{let t=e.metadata||{};t=this.clearMetadataIfEmpty(this.clearMetadata(t));const n=e.uniqueId?e.uniqueId:e.get("uniqueId"),i=e.deviceType?e.deviceType:e.get("deviceType");this.update({uniqueId:n,deviceType:i,metadata:t})});return Promise.all(t)}
58removeMetadata(e){return this.findByQuery({q:Bql.search().where("venue.id").equals(e).buildQuery()}).then(e=>0===e.devices.length?Promise.resolve():this.removeMetadataByUniqueIds(e.devices))}move(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return _$1.isArray(e)||(e=[e]),e.length&&t.length?apiCaller.post("/device/move",{uniqueId:e.join(","),managerEmail:t}):jquery.Deferred().reject().promise()}credentials(e){return apiCaller.get("/device/".concat(e,"/credentials"))}hasDevice(e){_$1.isArray(e)||(e=[e]);const t=new DeviceSearchModel,n={order:"ASC",orderBy:"created",startIndex:0,maxResult:1,queryType:QueryType.SearchMeta,q:t.whereDeviceTypes(e).buildQuery()};return apiCaller.get("/device",n).then(e=>{let{searchMeta:t}=e;return t.count>0})}countDevice(e){const t={order:"ASC",orderBy:"created",startIndex:0,maxResult:1,queryType:QueryType.SearchMeta,q:e};return apiCaller.get("/device",t).then(e=>{let{searchMeta:t}=e;return t.count})}parseMetadata(e){if(_$1.isString(e)){const t={};return _$1.each(e.split(";"),e=>{const n=e.substr(0,e.indexOf(":"));t[n]=e.substr(e.indexOf(":")+1)}),t}if(_$1.isObject(e)&&!_$1.isNull(e)){let t="";return _$1.each(e,(e,n)=>{t+="".concat(n,":").concat(e,";")}),t=t.replace(/;\s*$/,""),t}return null}}function assign(){let 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 _$1.isArray(e)||(e=[e]),e.length&&n.length&&-1!==["venueId","managerId"].indexOf(t)?apiCaller.post("/device/assign",{deviceId:e.join(","),[t]:n}):jquery.Deferred().reject("No devices passed for assign to ".concat(t," - ").concat(n)).promise()}const deviceService=new DeviceService;for(var byteLength_1=byteLength,toByteArray_1=toByteArray,fromByteArray_1=fromByteArray,lookup$1=[],revLookup=[],Arr="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i$1=0,len$1=code.length;i$1<len$1;++i$1)lookup$1[i$1]=code[i$1],revLookup[code.charCodeAt(i$1)]=i$1;function getLens(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 byteLength(e){var t=getLens(e),n=t[0],i=t[1];return 3*(n+i)/4-i}function _byteLength(e,t,n){return 3*(t+n)/4-n}function toByteArray(e){var t,n,i=getLens(e),r=i[0],o=i[1],a=new Arr(_byteLength(e,r,o)),s=0,c=o>0?r-4:r;for(n=0;n<c;n+=4)t=revLookup[e.charCodeAt(n)]<<18|revLookup[e.charCodeAt(n+1)]<<12|revLookup[e.charCodeAt(n+2)]<<6|revLookup[e.charCodeAt(n+3)],a[s++]=t>>16&255,a[s++]=t>>8&255,a[s++]=255&t;return 2===o&&(t=revLookup[e.charCodeAt(n)]<<2|revLookup[e.charCodeAt(n+1)]>>4,a[s++]=255&t),1===o&&(t=revLookup[e.charCodeAt(n)]<<10|revLookup[e.charCodeAt(n+1)]<<4|revLookup[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t),a}function tripletToBase64(e){return lookup$1[e>>18&63]+lookup$1[e>>12&63]+lookup$1[e>>6&63]+lookup$1[63&e]}function encodeChunk(e,t,n){for(var i,r=[],o=t;o<n;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),r.push(tripletToBase64(i));return r.join("")}function fromByteArray(e){for(var t,n=e.length,i=n%3,r=[],o=0,a=n-i;o<a;o+=16383)r.push(encodeChunk(e,o,o+16383>a?a:o+16383));return 1===i?(t=e[n-1],r.push(lookup$1[t>>2]+lookup$1[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],r.push(lookup$1[t>>10]+lookup$1[t>>4&63]+lookup$1[t<<2&63]+"=")),r.join("")}revLookup["-".charCodeAt(0)]=62,revLookup["_".charCodeAt(0)]=63;var base64Js={byteLength:byteLength_1,toByteArray:toByteArray_1,fromByteArray:fromByteArray_1};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}var cachedSetTimeout=defaultSetTimout,cachedClearTimeout=defaultClearTimeout;function runTimeout(e){if(cachedSetTimeout===setTimeout)return setTimeout(e,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(e,0);try{return cachedSetTimeout(e,0)}catch(t){try{return cachedSetTimeout.call(null,e,0)}catch(t){return cachedSetTimeout.call(this,e,0)}}}function runClearTimeout(e){if(cachedClearTimeout===clearTimeout)return clearTimeout(e);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(e);try{return cachedClearTimeout(e)}catch(t){try{return cachedClearTimeout.call(null,e)}catch(t){return cachedClearTimeout.call(this,e)}}}"function"==typeof global$1.setTimeout&&(cachedSetTimeout=setTimeout),"function"==typeof global$1.clearTimeout&&(cachedClearTimeout=clearTimeout);
58var queue$1=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue$1=currentQueue.concat(queue$1):queueIndex=-1,queue$1.length&&drainQueue())}function drainQueue(){if(!draining){var e=runTimeout(cleanUpNextTick);draining=!0;for(var t=queue$1.length;t;){for(currentQueue=queue$1,queue$1=[];++queueIndex<t;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,t=queue$1.length}currentQueue=null,draining=!1,runClearTimeout(e)}}function nextTick$1(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];queue$1.push(new Item(e,t)),1!==queue$1.length||draining||runTimeout(drainQueue)}function Item(e,t){this.fun=e,this.array=t}Item.prototype.run=function(){this.fun.apply(null,this.array)};var title="browser",platform="browser",browser$1=!0,env={},argv=[],version="",versions={},release={},config$2={};function noop$2(){}var on$1=noop$2,addListener=noop$2,once$2=noop$2,off=noop$2,removeListener=noop$2,removeAllListeners=noop$2,emit=noop$2;function binding(e){throw new Error("process.binding is not supported")}function cwd(){return"/"}function chdir(e){throw new Error("process.chdir is not supported")}function umask(){return 0}var performance$2=global$1.performance||{},performanceNow=performance$2.now||performance$2.mozNow||performance$2.msNow||performance$2.oNow||performance$2.webkitNow||function(){return(new Date).getTime()};function hrtime(e){var t=.001*performanceNow.call(performance$2),n=Math.floor(t),i=Math.floor(t%1*1e9);return e&&(n-=e[0],(i-=e[1])<0&&(n--,i+=1e9)),[n,i]}var startTime=new Date;function uptime(){return(new Date-startTime)/1e3}var process={nextTick:nextTick$1,title:title,browser:browser$1,env:env,argv:argv,version:version,versions:versions,on:on$1,addListener:addListener,once:once$2,off:off,removeListener:removeListener,removeAllListeners:removeAllListeners,emit:emit,binding:binding,cwd:cwd,chdir:chdir,umask:umask,hrtime:hrtime,platform:platform,release:release,config:config$2,uptime:uptime},sha256=createCommonjsModule((function(module){ 59/** 60 * [js-sha256]{@link https://github.com/emn178/js-sha256} 61 * 62 * @version 0.9.0 63 * @author Chen, Yi-Cyuan [[email protected]] 64 * @copyright Chen, Yi-Cyuan 2014-2017 65 * @license MIT 66 */ 67!function(){var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=commonjsGlobal:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(n){return new Sha256(t,!0).update(n)[e]()}},createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<OUTPUT_TYPES.length;++n){var i=OUTPUT_TYPES[n];t[i]=createOutputMethod(i,e)}return t},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(e){if("string"==typeof e)return crypto.createHash(algorithm).update(e,"utf8").digest("hex");
67if(null==e)throw new Error(ERROR);return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod},createHmacOutputMethod=function(e,t){return function(n,i){return new HmacSha256(n,t,!0).update(i)[e]()}},createHmacMethod=function(e){var t=createHmacOutputMethod("hex",e);t.create=function(t){return new HmacSha256(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var i=OUTPUT_TYPES[n];t[i]=createHmacOutputMethod(i,e)}return t};function Sha256(e,t){t?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function HmacSha256(e,t,n){var i,r=typeof e;if("string"===r){var o,a=[],s=e.length,c=0;for(i=0;i<s;++i)(o=e.charCodeAt(i))<128?a[c++]=o:o<2048?(a[c++]=192|o>>6,a[c++]=128|63&o):o<55296||o>=57344?(a[c++]=224|o>>12,a[c++]=128|o>>6&63,a[c++]=128|63&o):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++i)),a[c++]=240|o>>18,a[c++]=128|o>>12&63,a[c++]=128|o>>6&63,a[c++]=128|63&o);e=a}else{if("object"!==r)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR)}e.length>64&&(e=new Sha256(t,!0).update(e).array());var l=[],d=[];for(i=0;i<64;++i){var u=e[i]||0;l[i]=92^u,d[i]=54^u}Sha256.call(this,t,n),this.update(d),this.oKeyPad=l,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR);t=!0}for(var i,r,o=0,a=e.length,s=this.blocks;o<a;){if(this.hashed&&(this.hashed=!1,s[0]=this.block,s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),t)for(r=this.start;o<a&&r<64;++o)s[r>>2]|=e[o]<<SHIFT[3&r++];else for(r=this.start;o<a&&r<64;++o)(i=e.charCodeAt(o))<128?s[r>>2]|=i<<SHIFT[3&r++]:i<2048?(s[r>>2]|=(192|i>>6)<<SHIFT[3&r++],s[r>>2]|=(128|63&i)<<SHIFT[3&r++]):i<55296||i>=57344?(s[r>>2]|=(224|i>>12)<<SHIFT[3&r++],s[r>>2]|=(128|i>>6&63)<<SHIFT[3&r++],s[r>>2]|=(128|63&i)<<SHIFT[3&r++]):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++o)),s[r>>2]|=(240|i>>18)<<SHIFT[3&r++],s[r>>2]|=(128|i>>12&63)<<SHIFT[3&r++],s[r>>2]|=(128|i>>6&63)<<SHIFT[3&r++],s[r>>2]|=(128|63&i)<<SHIFT[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.block=s[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,n,i,r,o,a,s,c,l=this.h0,d=this.h1,u=this.h2,p=this.h3,h=this.h4,f=this.h5,m=this.h6,v=this.h7,g=this.blocks;for(e=16;e<64;++e)t=((r=g[e-15])>>>7|r<<25)^(r>>>18|r<<14)^r>>>3,n=((r=g[e-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10,g[e]=g[e-16]+t+g[e-7]+n<<0;for(c=d&u,e=0;e<64;e+=4)this.first?(this.is224?(o=300032,v=(r=g[0]-1413257819)-150054599<<0,p=r+24177077<<0):(o=704751109,v=(r=g[0]-210244248)-1521486534<<0,p=r+143694565<<0),this.first=!1):(t=(l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10),i=(o=l&d)^l&u^c,v=p+(r=v+(n=(h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&f^~h&m)+K[e]+g[e])<<0,p=r+(t+i)<<0),t=(p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10),i=(a=p&l)^p&d^o,m=u+(r=m+(n=(v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&h^~v&f)+K[e+1]+g[e+1])<<0,t=((u=r+(t+i)<<0)>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10),i=(s=u&p)^u&l^a,f=d+(r=f+(n=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&v^~m&h)+K[e+2]+g[e+2])<<0,t=((d=r+(t+i)<<0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),i=(c=d&u)^d&p^s,h=l+(r=h+(n=(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&m^~f&v)+K[e+3]+g[e+3])<<0,l=r+(t+i)<<0;this.h0=this.h0+l<<0,this.h1=this.h1+d<<0,this.h2=this.h2+u<<0,this.h3=this.h3+p<<0,this.h4=this.h4+h<<0,this.h5=this.h5+f<<0,this.h6=this.h6+m<<0,this.h7=this.h7+v<<0},Sha256.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4,o=this.h5,a=this.h6,s=this.h7,c=HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a];return this.is224||(c+=HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4,o=this.h5,a=this.h6,s=this.h7,c=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o,a>>24&255,a>>16&255,a>>8&255,255&a];return this.is224||c.push(s>>24&255,s>>16&255,s>>8&255,255&s),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224)}()}));
67class InvalidTokenError extends Error{}function b64DecodeUnicode(e){return decodeURIComponent(atob(e).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function base64UrlDecode(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return b64DecodeUnicode(t)}catch(e){return atob(t)}}function jwtDecode(e,t){if("string"!=typeof e)throw new InvalidTokenError("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,i=e.split(".")[n];if("string"!=typeof i)throw new InvalidTokenError("Invalid token specified: missing part #"+(n+1));let r;try{r=base64UrlDecode(i)}catch(e){throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(r)}catch(e){throw new InvalidTokenError(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}if(InvalidTokenError.prototype.name="InvalidTokenError","undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");function Keycloak(e){if(!(this instanceof Keycloak))throw new Error("The 'Keycloak' constructor must be invoked with 'new'.");for(var t,n,i=this,r=[],o={enable:!0,callbackList:[],interval:5},a=document.getElementsByTagName("script"),s=0;s<a.length;s++)-1===a[s].src.indexOf("keycloak.js")&&-1===a[s].src.indexOf("keycloak.min.js")||-1===a[s].src.indexOf("version=")||(i.iframeVersion=a[s].src.substring(a[s].src.indexOf("version=")+8).split("&")[0]);var c=!0,l=E(console.info),d=E(console.warn);function u(e,t){for(var n=function(e){var t=null,n=window.crypto||window.msCrypto;if(n&&n.getRandomValues&&window.Uint8Array)return t=new Uint8Array(e),n.getRandomValues(t),t;t=new Array(e);for(var i=0;i<t.length;i++)t[i]=Math.floor(256*Math.random());return t}(e),i=new Array(e),r=0;r<e;r++)i[r]=t.charCodeAt(n[r]%t.length);return String.fromCharCode.apply(null,i)}function p(){return void 0!==i.authServerUrl?"/"==i.authServerUrl.charAt(i.authServerUrl.length-1)?i.authServerUrl+"realms/"+encodeURIComponent(i.realm):i.authServerUrl+"/realms/"+encodeURIComponent(i.realm):void 0}function h(e,t){var n=e.code,r=e.error,o=e.prompt,a=(new Date).getTime();if(e.kc_action_status&&i.onActionUpdate&&i.onActionUpdate(e.kc_action_status),r)if("none"!=o){var s={error:r,error_description:e.error_description};i.onAuthError&&i.onAuthError(s),t&&t.setError(s)}else t&&t.setSuccess();else if("standard"!=i.flow&&(e.access_token||e.id_token)&&h(e.access_token,null,e.id_token,!0),"implicit"!=i.flow&&n){var d="code="+n+"&grant_type=authorization_code",u=i.endpoints.token(),p=new XMLHttpRequest;p.open("POST",u,!0),p.setRequestHeader("Content-type","application/x-www-form-urlencoded"),d+="&client_id="+encodeURIComponent(i.clientId),d+="&redirect_uri="+e.redirectUri,e.pkceCodeVerifier&&(d+="&code_verifier="+e.pkceCodeVerifier),p.withCredentials=!0,p.onreadystatechange=function(){if(4==p.readyState)if(200==p.status){var e=JSON.parse(p.responseText);h(e.access_token,e.refresh_token,e.id_token,"standard"===i.flow),_()}else i.onAuthError&&i.onAuthError(),t&&t.setError()},p.send(d)}function h(n,r,o,s){m(n,r,o,a=(a+(new Date).getTime())/2),c&&(i.tokenParsed&&i.tokenParsed.nonce!=e.storedNonce||i.refreshTokenParsed&&i.refreshTokenParsed.nonce!=e.storedNonce||i.idTokenParsed&&i.idTokenParsed.nonce!=e.storedNonce)?(l("[KEYCLOAK] Invalid nonce, clearing token"),i.clearToken(),t&&t.setError()):s&&(i.onAuthSuccess&&i.onAuthSuccess(),t&&t.setSuccess())}}function f(e){return 0==e.status&&e.responseText&&e.responseURL.startsWith("file:")}function m(e,t,n,r){if(i.tokenTimeoutHandle&&(clearTimeout(i.tokenTimeoutHandle),i.tokenTimeoutHandle=null),t?(i.refreshToken=t,i.refreshTokenParsed=jwtDecode(t)):(delete i.refreshToken,delete i.refreshTokenParsed),n?(i.idToken=n,i.idTokenParsed=jwtDecode(n)):(delete i.idToken,delete i.idTokenParsed),e){if(i.token=e,i.tokenParsed=jwtDecode(e),i.sessionId=i.tokenParsed.session_state,i.authenticated=!0,i.subject=i.tokenParsed.sub,i.realmAcce
67ss=i.tokenParsed.realm_access,i.resourceAccess=i.tokenParsed.resource_access,r&&(i.timeSkew=Math.floor(r/1e3)-i.tokenParsed.iat),null!=i.timeSkew&&(l("[KEYCLOAK] Estimated time difference between browser and server is "+i.timeSkew+" seconds"),i.onTokenExpired)){var o=1e3*(i.tokenParsed.exp-(new Date).getTime()/1e3+i.timeSkew);l("[KEYCLOAK] Token expires in "+Math.round(o/1e3)+" s"),o<=0?i.onTokenExpired():i.tokenTimeoutHandle=setTimeout(i.onTokenExpired,o)}}else delete i.token,delete i.tokenParsed,delete i.subject,delete i.realmAccess,delete i.resourceAccess,i.authenticated=!1}function v(){var e=u(36,"0123456789abcdef").split("");return e[14]="4",e[19]="0123456789abcdef".substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}function g(e){var t=function(e){var t;switch(i.flow){case"standard":t=["code","state","session_state","kc_action_status","iss"];break;case"implicit":t=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","iss"];break;case"hybrid":t=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","iss"]}t.push("error"),t.push("error_description"),t.push("error_uri");var n,r,o=e.indexOf("?"),a=e.indexOf("#");"query"===i.responseMode&&-1!==o?(n=e.substring(0,o),""!==(r=b(e.substring(o+1,-1!==a?a:e.length),t)).paramsString&&(n+="?"+r.paramsString),-1!==a&&(n+=e.substring(a))):"fragment"===i.responseMode&&-1!==a&&(n=e.substring(0,a),""!==(r=b(e.substring(a+1),t)).paramsString&&(n+="#"+r.paramsString));if(r&&r.oauthParams)if("standard"===i.flow||"hybrid"===i.flow){if((r.oauthParams.code||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=n,r.oauthParams}else if("implicit"===i.flow&&(r.oauthParams.access_token||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=n,r.oauthParams}(e);if(t){var r=n.get(t.state);return r&&(t.valid=!0,t.redirectUri=r.redirectUri,t.storedNonce=r.nonce,t.prompt=r.prompt,t.pkceCodeVerifier=r.pkceCodeVerifier),t}}function b(e,t){for(var n=e.split("&"),i={paramsString:"",oauthParams:{}},r=0;r<n.length;r++){var o=n[r].indexOf("="),a=n[r].slice(0,o);-1!==t.indexOf(a)?i.oauthParams[a]=n[r].slice(o+1):(""!==i.paramsString&&(i.paramsString+="&"),i.paramsString+=n[r])}return i}function y(){var e={setSuccess:function(t){e.resolve(t)},setError:function(t){e.reject(t)}};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}function A(){var e=y();if(!o.enable)return e.setSuccess(),e.promise;if(o.iframe)return e.setSuccess(),e.promise;var t=document.createElement("iframe");o.iframe=t,t.onload=function(){var t=i.endpoints.authorize();"/"===t.charAt(0)?o.iframeOrigin=window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):o.iframeOrigin=t.substring(0,t.indexOf("/",8)),e.setSuccess()};var n=i.endpoints.checkSessionIframe();t.setAttribute("src",n),t.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),t.setAttribute("title","keycloak-session-iframe"),t.style.display="none",document.body.appendChild(t);return window.addEventListener("message",(function(e){if(e.origin===o.iframeOrigin&&o.iframe.contentWindow===e.source&&("unchanged"==e.data||"changed"==e.data||"error"==e.data)){"unchanged"!=e.data&&i.clearToken();for(var t=o.callbackList.splice(0,o.callbackList.length),n=t.length-1;n>=0;--n){var r=t[n];"error"==e.data?r.setError():r.setSuccess("unchanged"==e.data)}}}),!1),e.promise}function _(){o.enable&&i.token&&setTimeout((function(){w().then((function(e){e&&_()}))}),1e3*o.interval)}function w(){var e=y();if(o.iframe&&o.iframeOrigin){var t=i.clientId+" "+(i.sessionId?i.sessionId:"");o.callbackList.push(e);var n=o.iframeOrigin;1==o.callbackList.length&&o.iframe.contentWindow.postMessage(t,n)}else e.setSuccess();return e.promise}function M(){var e=y();if(o.enable||i.silentCheckSsoRedirectUri){var t=document.createElement("iframe");t.setAttribute("src",i.endpoints.thirdPartyCookiesIframe()),t.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),t.setAttribute("title","keycloak-3p-check-iframe"),t.style.display="none",document.body.appendChild(t);var n=function(r){t.contentWindow===r.source&&("supported"!==r.data&&"unsupported"!==r.data||("unsupported"===r.data&&(d("[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:\n\n - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).\n - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).\n\nFor more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers"),o.enable=!1,i.silentCheckSsoFallback&&(i.silentCheckSsoRedirectUri=!1)),document.body.removeChild(t),window.removeEventListener("message",n),e.setSuccess()))};window.addEventListener("message",n,!1)}else e.setSuccess();return function(e,t,n){var i=null,r=new Promise((function(e,r){i=setTimeout((function(){r({error:n||"Promise is not settled within timeout of "+t+"ms"})}),t)}));return Promise.race([e,r]).finally((function(){clearTimeout(i)}))}(e.promise,i.messageReceiveTimeout,"Timeout when waiting for 3rd party check iframe message.")}function k(e){if(!e||"default"==e)return{login:function(e){return window.location.assign(i.createLoginUrl(e)),y().promise},logout:function(e){return window.location.replace(i.createLogoutUrl(e)),y().promise},register:function(e){return window.location.assign(i.createRegisterUrl(e)),y().promise},accountManagement:function(){var e=i.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";return window.location.href=e,y().promise},redirectUri:function(e,t){return e&&e.redirectUri?e.redirectUri:i.redirectUri?i.redirectUri:location.href}};if("cordova"==e){o.enable=!1;var t=function(e,t,n){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(e,t,n):window.open(e,t,n)},n=function(e){var t=function(e){return e&&e.cordovaOptions?Object.keys(e.cordovaOptions).reduce((function(t,n){return t[n]=e.cordovaOptions[n],t}),{}):{}}(e);return t.location="no",e&&"none"==e.prompt&&(t.hidden="yes"),function(e){return Object.keys(e).reduce((function(t,n){return t.push(n+"="+e[n]),t}),[]).join(",")}(t)},r=function(){return i.redirectUri||"http://localhost"};return{login:function(e){var o=y(),a=n(e),s=i.createLoginUrl(e),c=t(s,"_blank",a),l=!1,d=!1,u=function(){d=!0,c.close()};return c.addEventListener("loadstart",(function(e){0==e.url.indexOf(r())&&(h(g(e.url),o),u(),l=!0)})),c.addEventListener("loaderror",(function(e){l||(0==e.url.indexOf(r())?(h(g(e.url),o),u(),l=!0):(o.setError(),u()))}
67)),c.addEventListener("exit",(function(e){d||o.setError({reason:"closed_by_user"})})),o.promise},logout:function(e){var n,o=y(),a=i.createLogoutUrl(e),s=t(a,"_blank","location=no,hidden=yes,clearcache=yes");return s.addEventListener("loadstart",(function(e){0==e.url.indexOf(r())&&s.close()})),s.addEventListener("loaderror",(function(e){0==e.url.indexOf(r())||(n=!0),s.close()})),s.addEventListener("exit",(function(e){n?o.setError():(i.clearToken(),o.setSuccess())})),o.promise},register:function(e){var o=y(),a=i.createRegisterUrl(),s=n(e),c=t(a,"_blank",s);return c.addEventListener("loadstart",(function(e){0==e.url.indexOf(r())&&(c.close(),h(g(e.url),o))})),o.promise},accountManagement:function(){var e=i.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";var n=t(e,"_blank","location=no");n.addEventListener("loadstart",(function(e){0==e.url.indexOf(r())&&n.close()}))},redirectUri:function(e){return r()}}}if("cordova-native"==e)return o.enable=!1,{login:function(e){var t=y(),n=i.createLoginUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),h(g(e.url),t)})),window.cordova.plugins.browsertab.openUrl(n),t.promise},logout:function(e){var t=y(),n=i.createLogoutUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),i.clearToken(),t.setSuccess()})),window.cordova.plugins.browsertab.openUrl(n),t.promise},register:function(e){var t=y(),n=i.createRegisterUrl(e);return universalLinks.subscribe("keycloak",(function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),h(g(e.url),t)})),window.cordova.plugins.browsertab.openUrl(n),t.promise},accountManagement:function(){var e=i.createAccountUrl();if(void 0===e)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(e)},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:i.redirectUri?i.redirectUri:"http://localhost"}};throw"invalid adapter type: "+e}i.init=function(r){if(i.didInitialize)throw new Error("A 'Keycloak' instance can only be initialized once.");i.didInitialize=!0,i.authenticated=!1,n=function(){try{return new C}catch(e){}return new S}();if(t=r&&["default","cordova","cordova-native"].indexOf(r.adapter)>-1?k(r.adapter):r&&"object"==typeof r.adapter?r.adapter:window.Cordova||window.cordova?k("cordova"):k(),r){if(void 0!==r.useNonce&&(c=r.useNonce),void 0!==r.checkLoginIframe&&(o.enable=r.checkLoginIframe),r.checkLoginIframeInterval&&(o.interval=r.checkLoginIframeInterval),"login-required"===r.onLoad&&(i.loginRequired=!0),r.responseMode){if("query"!==r.responseMode&&"fragment"!==r.responseMode)throw"Invalid value for responseMode";i.responseMode=r.responseMode}if(r.flow){switch(r.flow){case"standard":i.responseType="code";break;case"implicit":i.responseType="id_token token";break;case"hybrid":i.responseType="code id_token token";break;default:throw"Invalid value for flow"}i.flow=r.flow}if(null!=r.timeSkew&&(i.timeSkew=r.timeSkew),r.redirectUri&&(i.redirectUri=r.redirectUri),r.silentCheckSsoRedirectUri&&(i.silentCheckSsoRedirectUri=r.silentCheckSsoRedirectUri),"boolean"==typeof r.silentCheckSsoFallback?i.silentCheckSsoFallback=r.silentCheckSsoFallback:i.silentCheckSsoFallback=!0,r.pkceMethod){if("S256"!==r.pkceMethod)throw"Invalid value for pkceMethod";i.pkceMethod=r.pkceMethod}"boolean"==typeof r.enableLogging?i.enableLogging=r.enableLogging:i.enableLogging=!1,"string"==typeof r.scope&&(i.scope=r.scope),"string"==typeof r.acrValues&&(i.acrValues=r.acrValues),"number"==typeof r.messageReceiveTimeout&&r.messageReceiveTimeout>0?i.messageReceiveTimeout=r.messageReceiveTimeout:i.messageReceiveTimeout=1e4}i.responseMode||(i.responseMode="fragment"),i.responseType||(i.responseType="code",i.flow="standard");var a=y(),s=y();s.promise.then((function(){i.onReady&&i.onReady(i.authenticated),a.setSuccess(i.authenticated)})).catch((function(e){a.setError(e)}));var l=function(t){var n,r=y();e?"string"==typeof e&&(n=e):n="keycloak.json";function o(e){i.endpoints=e?{authorize:function(){return e.authorization_endpoint},token:function(){return e.token_endpoint},logout:function(){if(!e.end_session_endpoint)throw"Not supported by the OIDC server";return e.end_session_endpoint},checkSessionIframe:function(){if(!e.check_session_iframe)throw"Not supported by the OIDC server";return e.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!e.userinfo_endpoint)throw"Not supported by the OIDC server";return e.userinfo_endpoint}}:{authorize:function(){return p()+"/protocol/openid-connect/auth"},token:function(){return p()+"/protocol/openid-connect/token"},logout:function(){return p()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var e=p()+"/protocol/openid-connect/login-status-iframe.html";return i.iframeVersion&&(e=e+"?version="+i.iframeVersion),e},thirdPartyCookiesIframe:function(){var e=p()+"/protocol/openid-connect/3p-cookies/step1.html";return i.iframeVersion&&(e=e+"?version="+i.iframeVersion),e},register:function(){return p()+"/protocol/openid-connect/registrations"},userinfo:function(){return p()+"/protocol/openid-connect/userinfo"}}}if(n){(c=new XMLHttpRequest).open("GET",n,!0),c.setRequestHeader("Accept","application/json"),c.onreadystatechange=function(){if(4==c.readyState)if(200==c.status||f(c)){var e=JSON.parse(c.responseText);i.authServerUrl=e["auth-server-url"],i.realm=e.realm,i.clientId=e.resource,o(null),r.setSuccess()}else r.setError()},c.send()}else{if(!e.clientId)throw"clientId missing";i.clientId=e.clientId;var a=e.oidcProvider;if(a){var s,c;if("string"==typeof a)s="/"==a.charAt(a.length-1)?a+".well-known/openid-configuration":a+"/.well-known/openid-configuration",(c=new XMLHttpRequest).open("GET",s,!0),c.setRequestHeader("Accept","application/json"),c.onreadystatechange=function(){4==c.readyState&&(200==c.status||f(c)?(o(JSON.parse(c.responseText)),r.setSuccess()):r.setError())},c.send();else o(a),r.setSuccess()}else{if(!e.url)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++)if(l[d].src.match(/.*keycloak\.js/)){e.url=l[d].src.substr(0,l[d].src.indexOf("/js/keycloak.js"));break}if(!e.realm)throw"realm missing";i.authServerUrl=e.url,i.realm=e.realm,o(null),r.setSuccess()}}return r.promise}();function d(){var e=function(e){e||(n.prompt="none"),r&&r.locale&&(n.locale=r.locale),i.login(n).then((function(){s.setSuccess()})).catch((function(e){s.setError(e)}))},t=function(){var e=document.createElement("iframe"),t=i.createLoginUrl({prompt:"none",redirectUri:i.silentCheckSsoRedirectUri});e.setAttribute("src",t),e.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),e.setAttribute("title","keycloak-silent-check-sso"),e.style.display="none",document.body.appendChild(e);var n=function(t){t.origin===window.location.origin&&e.contentWindow===t.source&&(h(g(t.data),s),document.body.removeChild(e),window.removeEventListener("message",n))};window.addEventListener("message",n)},n={};switch(r.onLoad){case"check-sso":o.enable?A().then((function(){w().then((function(n){n?s.setSuccess():i.silentCheckSsoRedirectUri?t():e(!1)})).catch((function(e){s.setError(e)}))})):i.silentCheckSsoRedirectUri?t():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}function u(){var e=g(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return A().then((function(){h(e,s)})).catch((function(e){s.setError(e)}));r?r.token&&r.refreshToken?(m(r.token,r.refreshToken,r.idToken),o.enable?A().then((function(){w().then((function(e){e?(i.onAuthSuccess&&i.onAuthSuccess(),s.setSuccess(),_()):s.setSuccess()})).catch((function(e){s.setError(e)}))})):i.updateToken(-1).then((function(){i.onAuthSuccess&&i.onAuthSuccess(),s.setSuccess()})).catch((function(e){i.onAuthError&&i.onAuthError(),r.onLoad?d():s.setError(e)}))):r.onLoad?d():s.setSuccess():s.setSuccess()}return l.then((function(){(function(){var e=y(),t=function(){"interactive"!==document.readyState&&"complete"!==document.readyState||(document.removeEventListener("readystatechange",t),e.setSuccess())};return document.addEventListener("readystatechange",t),t(),e.promise})().then(M).then(u).catch((function(e){a.setError(e)}))})),l.catch((function(e){a.setError(e)})),a.promise},i.login=function(e){return t.login(e)},i.createLoginUrl=function(e){var r,o=v(),a=v(),s=t.redirectUri(e),l={state:o,nonce:a,redirectUri:encodeURIComponent(s)};e&&e.prompt&&(l.prompt=e.prompt),r=e&&"register"==e.action?i.endpoints.register():i.endpoints.authorize();var d=e&&e.scope||i.scope;d?-1===d.indexOf("openid")&&(d="openid "+d):d="openid";var p,h,f=r+"?client_id="+encodeURIComponent(i.clientId)+"&redirect_uri="+encodeURIComponent(s)+"&state="+encodeURIComponent(o)+"&response_mode="+encodeURIComponent(i.responseMode)+"&response_type="+encodeURIComponent(i.responseType)+"&scope="+encodeURIComponent(d);if(c&&(f=f+"&nonce="+encodeURIComponent(a)),e&&e.prompt&&(f+="&prompt="+encodeURIComponent(e.prompt)),e&&e.maxAge&&(f+="&max_age="+encodeURIComponent(e.maxAge)),e&&e.loginHint&&(f+="&login_hint="+encodeURIComponent(e.loginHint)),e&&e.idpHint&&(f+="&kc_idp_hint="+encodeURIComponent(e.idpHint)),e&&e.action&&"register"!=e.action&&(f+="&kc_action="+encodeURIComponent(e.action)),e&&e.locale&&(f+="&ui_locales="+encodeURIComponent(e.locale)),e&&e.acr){var m=(p=e.acr,h={id_token:{acr:p}},JSON.stringify(h));f+="&claims="+encodeURIComponent(m)}if((e&&e.acrValues||i.acrValues)&&(f+="&acr_values="+encodeURIComponent(e.acrValues||i.acrValues)),i.pkceMethod){var g=function(e){return u(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}(96);l.pkceCodeVerifier=g,f+="&code_challenge="+function(e,t){switch(e){case"S256":var n=new Uint8Array(sha256.arrayBuffer(t));return base64Js.fromByteArray(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"");default:throw"Invalid value for pkceMethod"}}(i.pkceMethod,g),f+="&code_challenge_method="+i.pkceMethod}return n.add(l),f},i.logout=function(e){return t.logout(e)},i.createLogoutUrl=function(e){var n=i.endpoints.logout()+"?client_id="+encodeURIComponent(i.clientId)+"&post_logout_redirect_uri="+encodeURIComponent(t.redirectUri(e,!1));return i.idToken&&(n+="&id_token_hint="+encodeURIComponent(i.idToken)),n},i.register=function(e){return t.register(e)},i.createRegisterUrl=function(e){return e||(e={}),e.action="register",i.createLoginUrl(e)},i.createAccountUrl=function(e){var n=p(),r=void 0;return void 0!==n&&(r=n+"/account?referrer="+encodeURIComponent(i.clientId)+"&referrer_uri="+encodeURIComponent(t.redirectUri(e))),r},i.accountManagement=function(){return t.accountManagement()}
67,i.hasRealmRole=function(e){var t=i.realmAccess;return!!t&&t.roles.indexOf(e)>=0},i.hasResourceRole=function(e,t){if(!i.resourceAccess)return!1;var n=i.resourceAccess[t||i.clientId];return!!n&&n.roles.indexOf(e)>=0},i.loadUserProfile=function(){var e=p()+"/account",t=new XMLHttpRequest;t.open("GET",e,!0),t.setRequestHeader("Accept","application/json"),t.setRequestHeader("Authorization","bearer "+i.token);var n=y();return t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(i.profile=JSON.parse(t.responseText),n.setSuccess(i.profile)):n.setError())},t.send(),n.promise},i.loadUserInfo=function(){var e=i.endpoints.userinfo(),t=new XMLHttpRequest;t.open("GET",e,!0),t.setRequestHeader("Accept","application/json"),t.setRequestHeader("Authorization","bearer "+i.token);var n=y();return t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(i.userInfo=JSON.parse(t.responseText),n.setSuccess(i.userInfo)):n.setError())},t.send(),n.promise},i.isTokenExpired=function(e){if(!i.tokenParsed||!i.refreshToken&&"implicit"!=i.flow)throw"Not authenticated";if(null==i.timeSkew)return l("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var t=i.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+i.timeSkew;if(e){if(isNaN(e))throw"Invalid minValidity";t-=e}return t<0},i.updateToken=function(e){var t=y();if(!i.refreshToken)return t.setError(),t.promise;e=e||5;var n=function(){var n=!1;if(-1==e?(n=!0,l("[KEYCLOAK] Refreshing token: forced refresh")):i.tokenParsed&&!i.isTokenExpired(e)||(n=!0,l("[KEYCLOAK] Refreshing token: token expired")),n){var o="grant_type=refresh_token&refresh_token="+i.refreshToken,a=i.endpoints.token();if(r.push(t),1==r.length){var s=new XMLHttpRequest;s.open("POST",a,!0),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s.withCredentials=!0,o+="&client_id="+encodeURIComponent(i.clientId);var c=(new Date).getTime();s.onreadystatechange=function(){if(4==s.readyState)if(200==s.status){l("[KEYCLOAK] Token refreshed"),c=(c+(new Date).getTime())/2;var e=JSON.parse(s.responseText);m(e.access_token,e.refresh_token,e.id_token,c),i.onAuthRefreshSuccess&&i.onAuthRefreshSuccess();for(var t=r.pop();null!=t;t=r.pop())t.setSuccess(!0)}else{d("[KEYCLOAK] Failed to refresh token"),400==s.status&&i.clearToken(),i.onAuthRefreshError&&i.onAuthRefreshError();for(t=r.pop();null!=t;t=r.pop())t.setError(!0)}},s.send(o)}}else t.setSuccess(!1)};o.enable?w().then((function(){n()})).catch((function(e){t.setError(e)})):n();return t.promise},i.clearToken=function(){i.token&&(m(null,null,null),i.onAuthLogout&&i.onAuthLogout(),i.loginRequired&&i.login())};
67var C=function(){if(!(this instanceof C))return new C;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");function e(){for(var e=(new Date).getTime(),t=0;t<localStorage.length;t++){var n=localStorage.key(t);if(n&&0==n.indexOf("kc-callback-")){var i=localStorage.getItem(n);if(i)try{var r=JSON.parse(i).expires;(!r||r<e)&&localStorage.removeItem(n)}catch(e){localStorage.removeItem(n)}}}}this.get=function(t){if(t){var n="kc-callback-"+t,i=localStorage.getItem(n);return i&&(localStorage.removeItem(n),i=JSON.parse(i)),e(),i}},this.add=function(t){e();var n="kc-callback-"+t.state;t.expires=(new Date).getTime()+36e5,localStorage.setItem(n,JSON.stringify(t))}},S=function(){if(!(this instanceof S))return new S;this.get=function(i){if(i){var r=t("kc-callback-"+i);return n("kc-callback-"+i,"",e(-100)),r?JSON.parse(r):void 0}},this.add=function(t){n("kc-callback-"+t.state,JSON.stringify(t),e(60))},this.removeItem=function(t){n(t,"",e(-100))};var e=function(e){var t=new Date;return t.setTime(t.getTime()+60*e*1e3),t},t=function(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var r=n[i];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return""},n=function(e,t,n){var i=e+"="+t+"; expires="+n.toUTCString()+"; ";document.cookie=i}};function E(e){return function(){i.enableLogging&&e.apply(console,Array.prototype.slice.call(arguments))}}}function throwAuthError(){const e=new Error("Your session has expired.");e.code=AuthenticationErrorCodes.CredentialsException,securityService.handleAuthError(e.code);const t=new Event("session:expired");throw document.dispatchEvent(t),e}const KEYCLOAK_APPS_MAP={"asset-tracking-ui":"ASSET_TRACKING","staff-safe-ui":"STAFF_SAFE","hand-hygiene-ui":"HAND_HYGIENE","iv-pump-ui":"IV_PUMP","staff-flow-ui":"STAFF_FLOW","workspace-insights-ui":"WORKSPACE_INSIGHTS","device-management-ui":"DEVICE_MANAGEMENT"},KEYCLOAK_CLIENT_ID="device-management-legacy-ui";let KEYCLOAK_INSTANCE=null;function getKeycloakInstance(e){const t=getKeycloakRealm();return t?KEYCLOAK_INSTANCE||(KEYCLOAK_INSTANCE=new Keycloak({url:e,realm:t,clientId:KEYCLOAK_CLIENT_ID})):KEYCLOAK_INSTANCE=null,KEYCLOAK_INSTANCE}function getApiKey(e){if(getKeycloakRealm())try{const t=getKeycloakInstance(e.keycloakUrl);return t.init({onLoad:"login-required",silentCheckSsoRedirectUri:"".concat(window.location.origin,"/silent-check-sso.html")}).then(()=>({apiKey:t.idTokenParsed["api-key"]})).catch(e=>{console.error(e),location.href="/app/auth-init-error.html"})}catch(e){console.error(e),location.href="/app/auth-init-error.html"}const t=new URLSearchParams(document.location.search).get("apiKey");return t?Promise.resolve({apiKey:t}):fetch("".concat(e.authApiUrl,"/manager/token"),{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.json(),()=>{throwAuthError()})}function getKeycloakRealm(){const e=window.location.hostname.split(".");return e.length>1&&("app"===e[1]||"app-rc"===e[1])?e[0]:null}class ManagerService{findSubordinates(e){return apiCaller.getAll("managers","/manager/".concat(applicationService.manager.id,"/subordinate"),e)}queryManagers(e){return apiCaller.get("/manager",e)}querySubordinates(e){return apiCaller.get("/manager/".concat(applicationService.manager.id,"/subordinate"),e)}findOne(e){return apiCaller.get("/manager/".concat(e))}assignDevices(e,t){return deviceService.assignToManager(t,e)}changePassword(e){const t=applicationService.manager.id;return apiCaller.post("/manager/password/".concat(t),_$1.pick(e.toJSON(),"oldPassword","newPassword"))}count(){return apiCaller.get("/manager",{queryType:QueryType.SearchMeta})}countSubordinates(){const e=applicationService.manager.id;return apiCaller.get("/manager/".concat(e,"/subordinate"),{startIndex:0,maxResult:1}).then(e=>(e.searchMeta.count=e.managers.length,e))}create(e){return apiCaller.post("/manager/create",e)}update(e,t){return apiCaller.post("/manager/update",_$1.extend(t,{managerId:e}))}remove(e){return apiCaller.post("/manager/delete",{managerId:e})}getApiKey(){return applicationService.apiKey?Promise.resolve({apiKey:applicationService.apiKey}):getApiKey(applicationService)}}const managerService=new ManagerService;function getCsrfToken(){return document.cookie.split(";").map(e=>e.trim()).filter(e=>/^pac4jCsrfToken.*/.test(e)).map(e=>e.split("=")[1]).pop()}class JqueryApiCaller{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=e.logger||new Logger("ApiCaller","blue"),this.contentType=e.contentType||ContentTypes.FormUrlencoded,this.urlDecorator=e.urlDecorator||new ApiUrlDecorator({apiPath:""}),this.headers=e.headers||{}}get(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.call(e,"GET",t,n)}post(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.call(e,"POST",t,n)}postMutlipart(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.post(e,t,_$1.extend(n,{processData:!1,contentType:!1,dataType:!1,mimeType:"multipart/form-data"}))}put(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.call(e,"PUT",t,n)}delete(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.call(e,"DELETE",t,n)}async requestOptions(e,t,n,i){const{apiKey:r}=await managerService.getApiKey(),o=Object.assign(this.headers,{"Api-Key":r});return _$1.extend({url:this.adjustUrl(e),type:t,contentType:this.contentType,data:n,headers:o},i)}adjustUrl(e){return this.urlDecorator.prepare(e)}async call(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const r=_$1.uniqueId("call#"),o=jquery.Deferred(),a=await this.requestOptions(e,t,n,i);i.noTracking||pageTrackingService.sendBackendEvent(t,e,this.logger.service),this.logger.prefixed(r,"Calling endpoint [%s] %s %o",a.type,a.url,a.data);return jquery.ajax(a).then(e=>{try{_$1.isString(e)&&e.length&&(e=JSON.parse(e))}catch(e){if(this.contentType===ContentTypes.Json)return o.reject({message:"Invalid server response.",status:415}).promise()}return this.logger.prefixed(r,"Success %o",e),o.resolve(e).promise()},(e,t,n)=>{let i=void 0;if(_$1.isObject(e)&&_$1.has(e,"responseText")){if(403===e.status||401===e.status)return securityService.handleAuthError(AuthenticationErrorCodes.CredentialsException),o.reject({message:"Your session has expired.",status:e.status,code:AuthenticationErrorCodes.CredentialsException}).promise();try{i=JSON.parse(e.responseText)}catch(e){}}return void 0===i&&(i=n.length?n:_$1.isNumber(e.status)?{status:e.status}:"Unknown error"),this.logger.prefixed(r,"Fail %o",i),o.reject(i).promise()}),o.promise()}getAll(e,t){var n=this;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return new Promise((a,s)=>{!function c(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;n.get(t,_$1.extend(i,{startIndex:l}),o).then(t=>_$1.has(t,e)?(r instanceof backbone.Collection?r.add(t[e]):Array.prototype.push.apply(r,t[e]),""!==t.searchMeta.nextResults&&t[e].length?c(l+t.searchMeta.maxResult):a(r)):s(new Error('Unable to find resource "'.concat(e,'" in response object (available properties: ').concat(_$1.keys(t).join(","),")"))),s)}()})}}class FetchApiCaller{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=e.logger||new Logger("FetchApiCaller","blue"),this.contentType=e.contentType||ContentTypes.FormUrlencoded,this.urlDecorator=e.urlDecorator||new ApiUrlDecorator({apiPath:""}),this.credentials=e.credentials||"include",this.sendRaw=e.sendRaw||!1,this.acceptHeader=e.acceptHeader,this.ignoreAuthErrors=e.ignoreAuthErrors}get(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.call(e,"GET",t,n)}delete(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.call(e,"DELETE",t,n)}post(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.addCsrfTokenHeader(n),this.call(e,"POST",t,n)}put(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.addCsrfTokenHeader(n),this.call(e,"PUT",t,n)}patch(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.addCsrfTokenHeader(n),this.call(e,"PATCH",t,n)}postMutlipart(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.addCsrfTokenHeader(n),this.post(e,t,_$1.extend(n,{"Content-Type":"multipart/form-data"}))}addCsrfTokenHeader(e){e.pac4jCsrfToken=getCsrfToken()}async createRequest(e,t,n,i){if("GET"===t){let r="";return n&&(r="?".concat(jquery.param(n))),new window.Request("".concat(this.adjustUrl(e)).concat(r),{method:t,headers:await this.createHeaders(i)})}{const r={method:t,headers:await this.createHeaders(i)};return n&&(r.body=n instanceof FormData||this.sendRaw?n:jquery.param(n)),new window.Request(this.adjustUrl(e),r)}}async createHeaders(e){const{apiKey:t}=await managerService.getApiKey(),n=new window.Headers;this.contentType&&n.append("Content-Type",this.contentType),this.acceptHeader&&n.append("Accept",this.acceptHeader),t&&n.append("Api-Key",t);for(const t in e)if(e.hasOwnProperty(t)){const i=e[t];n.has(t)?n.set(t,i):n.append(t,i)}return"multipart/form-data"===n.get("Content-Type")&&n.delete("Content-Type"),n}adjustUrl(e){return this.urlDecorator.prepare(e)}async call(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const r=_$1.uniqueId("call#"),o=await this.createRequest(e,t,n,i);return pageTrackingService.sendBackendEvent(t,e,this.logger.service),window.fetch(o).then(e=>{if(this.logger.prefixed(r,"Calling endpoint [%s] %s %o",o.method,o.url,o.body),!e.ok){const t=new Error(e.statusText);if(t.status=e.status,!this.ignoreAuthErrors&&(403===e.status||401===e.status)){t.code=AuthenticationErrorCodes.CredentialsException,securityService.handleAuthError(t.code);const e=new Event("session:expired");document.dispatchEvent(e)}if(422===e.status)throw new Error("422 - Unprocessable Entity");throw t}e.url.endsWith("/signin")&&throwAuthError();const t=e.headers.get("content-type");return t&&(t.includes("application/json")||t.includes("application/vnd.com.kontakt+json"))?e.json():t&&t.includes("text/plain")?e.text():Promise.resolve(null)})}async getAll(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=0,a=!1;do{const s=await this.get(t,_$1.extend(n,{startIndex:o}),r);if(s){const t=s[e];i instanceof backbone.Collection?i.add(t):Array.prototype.push.apply(i,t),a=t.length>0&&s.searchMeta.nextResults,this.logger.log("Get all has next page %s: ?",a),o+=s.searchMeta.maxResult}}while(a);return i}async getAllFragments(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=0,a=0;const s=[],c=i[n],l=c.length,d=c[0].length+3,u=i;
67delete u[n],a+=n.length+2,Object.keys(u).forEach(e=>{a+=e.length+2,u[e].constructor===Array?a+=3*u[e].length+u[e].toString().length:a+=u[e].toString().length});const p=Math.floor((3800-a)/d);do{u[n]=c.slice(o,o+p).join(","),this.logger.log("Get records by %s, elements: %s - %s",n,o,o+p);const i=(await this.get(t,u,r))[e];Array.prototype.push.apply(s,i),o+=p}while(o<l);return s}}const apiCaller=new JqueryApiCaller({apiPath:"",headers:{accept:"application/vnd.com.kontakt+json;version=10","x-kontakt-agent":"web-panel-apps"}}),fetchApiCaller=new FetchApiCaller({apiPath:"",acceptHeader:"application/vnd.com.kontakt+json;version=10"}),ofmCaller=new JqueryApiCaller({logger:new Logger("OfmCaller","#707D82"),contentType:ContentTypes.Json,urlDecorator:new ApiUrlDecorator({apiPath:"ofm-call"})}),appsApiCaller=new FetchApiCaller({logger:new Logger("AppsApiCaller","#e534eb"),contentType:ContentTypes.Json,urlDecorator:new AppsApiUrlDecorator,credentials:"omit",sendRaw:!0}),ivPumpApiCaller=new FetchApiCaller({logger:new Logger("AppsApiCaller","#3462eb"),contentType:ContentTypes.Json,urlDecorator:new IvPumpApiUrlDecorator,credentials:"omit",sendRaw:!0}),entityManagementApiCaller=new FetchApiCaller({logger:new Logger("AppsApiCaller","#CFD5E8FF"),contentType:ContentTypes.Json,urlDecorator:new EntityManagementApiUrlDecorator,credentials:"omit",sendRaw:!0,ignoreAuthErrors:!0});class ManagerModel extends backbone.Model{constructor(e,t){super(e,t)}defaults(){return{id:null,companyId:null,companyName:null,lastName:null,email:null,password:null,role:null,firstName:null,counters:{devices:{private:0,public:0,shared:0,sharedWithMe:0},venues:{private:0,public:0,shared:0,sharedWithMe:0}},uniqueId:null,token:null,provider:null,informationClause:!1,technicalUpdates:!1,marketingPurposes:!1,captcha:null}}validation(){return{firstName:{required:!0,maxLength:100},lastName:{required:!0,maxLength:100},email:{required:!0,maxLength:50,pattern:"email"},role:{required:!0},informationClause:{acceptance:!0},companyName:{required:!1,maxLength:255},password:{required:!0,rangeLength:[8,50],pattern:PASSWORD_REGEXP,msg:"Password must have at least 8 characters including upper case letter and number."}}}validationRegister(){return["firstName","lastName","email","companyName","password","informationClause"]}validationRegisterOauth(){return["firstName","lastName","companyName","informationClause"]}validationEditor(){return["firstName","lastName","email","role"]}accountDeviceCount(){return this.get("counters").devices.private}save(){return this.isNew()?this.create():this.update()}fetch(){return managerService.findOne(this.id).then(e=>(this.set(e,{parse:!0}),this))}create(){return managerService.create(this.toJSON()).then(e=>(this.set(e,{parse:!0}),this))}update(){return managerService.update(this.id,this.toJSON()).then(()=>this)}remove(){return managerService.remove(this.id).then(()=>{this.stopListening(),this.trigger("destroy",this,this.collection)})}}const logger=new Logger("ApplicationService");class ApplicationService{constructor(){this.initialized=!1,window.ENV&&(this.authApiUrl=window.ENV.authApiUrl,this.kioCloudApiUrl=window.ENV.kioCloudApiUrl,this.deviceMgmtApiUrl=window.ENV.deviceMgmtApiUrl,this.requestedUrl=window.ENV.appRequestedUrl||"/launchpad/",this.ivPumpApiUrl=window.ENV.ivPumpApiUrl,this.entityMgmtApiUrl=window.ENV.entityMgmtApiUrl,this.keycloakUrl=window.ENV.keycloakUrl,this.version=window.ENV.appVersion),this.managerModel=new ManagerModel,this.settings={enabledApps:[],appcues:{enabled:!0,id:85923},dashboard:{knowledgeBaseLink:"https://support.kontakt.io/hc/en-gb/",apiDeviceManagementLink:"https://developer.kontakt.io/",apiLocationServicesLink:"https://developer.kontakt.io/"},merakiUrl:"https://meraki.cloud.us.kontakt.io/data/",merakiHelpUrl:"https://support.kontakt.io/hc/en-gb/articles/4413227255442-Meraki-integration-setup",kioCloudApiUrl:"https://apps-api.kontakt.io",apiUrl:"https://api.kontakt.io"}}refresh(e){return managerService.getApiKey().then(e=>{this.apiKey=e.apiKey}).then(()=>this.fetchKioAppConfiguration()).then(()=>this.refreshManager(!0).then(e),this.settingsFetchError())}refreshManager(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.fetchManager().then(this.parseManager());return e?t.then(e=>{if(e)return this.fetchSubordinates(e).then(this.parseSubordinates(),this.subordinatesFetchError()).then(this.mapSubordinates());throw logger.log("Error fetching manager. Manager: ".concat(e)),new Error("Error fetching manager.")}).then(this.updateManagerModel()):t.then(this.updateManagerModel())}fetchKioAppConfiguration(){const e=getKeycloakInstance(this.keycloakUrl);if(e){const t=e.resourceAccess||{};return this.settings.enabledApps=Object.keys(KEYCLOAK_APPS_MAP).filter(e=>!!t[e]).map(e=>KEYCLOAK_APPS_MAP[e]),Promise.resolve()}return entityManagementApiCaller.get("v1/app",null,this.apiKey).then(e=>{Array.isArray(e.apps)&&(this.settings.enabledApps=e.apps.map(e=>e.appType))},()=>(logger.log("Couldn't fetch App Config. Assuming no apps..."),Promise.resolve()))}parseSettings(){return e=>{try{_$1.isString(e)&&(e=JSON.parse(e)),this.settings=_$1.extend(this.settings,e)}catch(e){logger.debug(e)}return Promise.resolve()}}settingsFetchError(){return e=>(logger.log("Error fetching application settings.",e),Promise.resolve())}fetchManager(){return apiCaller.get("/manager/me")}parseManager(){return e=>{if(_$1.isObject(e)&&_$1.has(e,"id")){this.manager=e,this.manager.fullName="".concat(this.manager.firstName," ").concat(this.manager.lastName),this.manager.companyId=e.companyId;const t=this.manager.firstName.charAt(0)+this.manager.lastName.charAt(0);return store.dispatch("globalOptions/handleUserInitialsChange",t),jquery.Deferred().resolve(this.manager.id).promise()}return jquery.Deferred().reject().promise()}}fetchSubordinates(e){return apiCaller.getAll("managers","/manager/".concat(e,"/subordinate"),{maxResult:500})}parseSubordinates(){return e=>{const t=jquery.Deferred();return _$1.isArray(e)&&e.length>0?t.resolve(_$1.chain(e).map(e=>(e.fullName="".concat(e.firstName," ").concat(e.lastName),e)).indexBy("id").value()):t.resolve({}),t}}subordinatesFetchError(){return e=>{logger.log("Error fetching manager subordinates.",e)}}mapSubordinates(){return e=>(this.initialized=!0,this.subordinates=e,this.managers=_$1.extend({},this.subordinates,{[this.manager.id]:this.manager}),jquery.Deferred().resolve(this).promise())}updateManagerModel(){return()=>this.managerModel.set(this.manager)}ready(e){this.initialized?e(this):this.refresh(e)}contextUiModel(){return{version:this.version,copyright:i18n.get("global.footer.help.copyrights",(new Date).getFullYear()),requestedUrl:this.requestedUrl,csrfToken:getCsrfToken()}}}const applicationService=new ApplicationService,ROUTE_MAP={"home.entryPoints":{route:"/launchpad",listenRoutes:["_=_","(/)"]},home:{route:"/launchpad",listenRoutes:["launchpad(/)"]},404:{route:"/404.html"},"policyFoundry.policies":{route:"/policyFoundry/policies",listenRoutes:["/policyFoundry/policies(/)"]},"policyFoundry.log":{route:"/policyFoundry/log",listenRoutes:["/policyFoundry/log(/)"]},"policyFoundry.policy.edit":{route:"/policyFoundry/policy/:policyId",listenRoutes:["/policyFoundry/policy/:policyId(/)"]},"policyFoundry.policy.new":{route:"/policyFoundry/policy/new",listenRoutes:["/policyFoundry/policy/new(/)"]},"notificationsSettings.streams":{route:"/notificationsSettings/streams",listenRoutes:["/notificationsSettings/streams(/)"]},"notificationsSettings.stream.edit":{route:"/notificationsSettings/stream/:streamId",listenRoutes:["/notificationsSettings/stream/:streamId(/)"]},"notificationsSettings.stream.new":{route:"/notificationsSettings/stream/new",listenRoutes:["/notificationsSettings/stream/new(/)"]},"notificationsSettings.emails":{route:"/notificationsSettings/emails",listenRoutes:["/notificationsSettings/emails(/)"]},"notificationsSettings.email.edit":{route:"/notificationsSettings/email/:emailId",listenRoutes:["/notificationsSettings/email/:emailId(/)"]},"notificationsSettings.email.new":{route:"/notificationsSettings/email/new",listenRoutes:["/notificationsSettings/email/new(/)"]},"notificationsSettings.textMessages":{route:"/notificationsSettings/textMessages",listenRoutes:["/notificationsSettings/textMessages(/)"]},"notificationsSettings.textMessage.edit":{route:"/notificationsSettings/textMessage/:textMessageId",listenRoutes:["/notificationsSettings/textMessage/:textMessageId(/)"]},"notificationsSettings.textMessage.new":{route:"/notificationsSettings/textMessage/new",listenRoutes:["/notificationsSettings/textMessage/new(/)"]},"device.list":{route:"/beacons",listenRoutes:["beacons(/)","configuration/export(/)"]},"device.manage":{route:"/beacon/:uniqueId/:tabId",listenRoutes:["beacon/:uniqueId(/:tab)"]},"device.bulkManage":{route:"/beacons/:uniqueIds/:tabId",listenRoutes:["beacons/:uniqueIds(/)","beacons/:uniqueIds/:tab(/)"]},"gateway.list":{route:"/gateways",listenRoutes:["gateways(/)"]},"gateway.manage":{route:"/gateway/:uniqueId/:tabId",listenRoutes:["gateway/:uniqueId(/:tab)"]}
67,"gateway.bulkManage":{route:"/gateways/:uniqueIds/:tabId",listenRoutes:["gateways/:uniqueIds(/)","gateways/:uniqueIds/:tab(/)"]},"gateway.stream":{route:"/gateways/overview",listenRoutes:["gateways/overview(/)"]},"gateway.external":{route:"/gateways/external",listenRoutes:["gateways/external(/)"]},"gateway.meraki":{route:"/gateways/integration/meraki",listenRoutes:["gateways/integration/meraki(/)"]},"manager.list":{route:"/manager",listenRoutes:[]},"order.add":{route:"/order/add",listenRoutes:["order/add(/)"]},"account.overview":{route:"/account/settings",listenRoutes:["account/settings"]},"accounts.users":{route:"/accounts/users",listenRoutes:["accounts(/)","accounts/users"]},"accounts.users.add":{route:"/accounts/user/new",listenRoutes:["accounts/user/new"]},"accounts.users.edit":{route:"/accounts/user/:userId",listenRoutes:["accounts/user/:userId"]},"batchConfiguration.import":{route:"/configuration/import",listenRoutes:["configuration/import(/)","configuration/import-result(/)"]},"batchConfiguration.export":{route:"/configuration/export",listenRoutes:[]},"batchConfiguration.import.result":{route:"/configuration/import-result",listenRoutes:[]},message:{route:"/message/:messageId",listenRoutes:["message(/:messageId)"]}};class NavigationService{constructor(){this.logger=new Logger("NavigationService","green")}reload(){location.href="/"}refresh(){const e=backbone.history.fragment;this.execute("/unassigned",{trigger:!0,replace:!0}),this.execute(e,{trigger:!0,replace:!0})}goTo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const i=this.getLink(e,t);""!==i&&this.execute(i,n)}go2(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.execute(this.getLinkToRoute(e,t),n)}getLinkToRoute(e,t){return this.fillUrlWithParams(this.getRoute(e),t)}load(e,t){const n=this.getLink(e,t);location.assign(n)}loadRoute(e,t){const n=this.getLinkToRoute(e,t);location.assign(n)}back(){window.history.back()}execute(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=_$1.defaults(t,{trigger:!0,replace:!1}),this.logger.log("Navigating to: %s with options: %o",e,t),backbone.history.navigate(e,t),store.dispatch("globalOptions/handleUrlPathChange",e)}getLink(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!_$1.has(ROUTE_MAP,e))return this.logger.log("%c[navigationService]%c Route %s not found","color: #60bb46","color:inherit",e),"";let n=this.getRoute(e);return _$1.isArray(t)||(t=[t]),t=t.filter(e=>_$1.isString(e)||_$1.isNumber(e)&&!_$1.isNaN(e)),t.length&&(n+="/".concat(t.join("/"))),n}fillUrlWithParams(e,t){return"/".concat(e.split("/").map(e=>{if(0===e.indexOf(":")){const n=e.replace(/[:()]/g,"");return t[n]}return e}).filter(e=>!!e).join("/").split("/").map(e=>encodeURIComponent(e)).join("/"))}goToDeviceEditor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.execute(this.getDeviceEditorLink(e,t),n)}goToGatewayEditor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.execute(this.getGatewayEditorLink(e,t),n)}goToDeviceBulkManage(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.execute(this.getDeviceLegacyBulkEditorLink(e,t),n)}goToGatewayBulkManage(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.execute(this.getGatewayLegacyBulkEditorLink(e,t),n)}getDeviceEditorLink(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"general";return this.getLinkToRoute("device.manage",{uniqueId:e,tabId:t})}getGatewayEditorLink(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"general";return this.getLinkToRoute("gateway.manage",{uniqueId:e,tabId:t})}getDeviceLegacyBulkEditorLink(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"device-properties";return this.getLinkToRoute("device.bulkManage",{uniqueIds:e,tabId:t})}getGatewayLegacyBulkEditorLink(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"device-properties";return this.getLinkToRoute("gateway.bulkManage",{uniqueIds:e,tabId:t})}goToDevicesList(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.execute(this.getDevicesListLink(),e)}goToDashboard(e){return this.execute(this.getDashboardLink(),e)}goToLaunchpad(e){return this.execute(this.getLaunchpadLink(),e)}getDashboardLink(){return this.getLinkToRoute("dashboard")}
67getLaunchpadLink(){return this.getLinkToRoute("home")}goToPolicyFoundryList(e){return this.execute(this.getPolicyFoundryListLink(),e)}getPolicyFoundryListLink(){return this.getLinkToRoute("policyFoundry.policies")}getPolicyFoundryLogLink(){return this.getLinkToRoute("policyFoundry.log")}getPolicyFoundryPolicyEditLink(e){return this.getLinkToRoute("policyFoundry.policy.edit",{policyId:e})}getPolicyFoundryPolicyNewLink(){return this.getLinkToRoute("policyFoundry.policy.new",{policyId:"new"})}getNotificationsSettingsStreamsLink(){return this.getLinkToRoute("notificationsSettings.streams")}getNotificationsSettingsStreamEditLink(e){return this.getLinkToRoute("notificationsSettings.stream.edit",{streamId:e})}getNotificationsSettingsStreamNewLink(){return this.getLinkToRoute("notificationsSettings.stream.new",{streamId:"new"})}getNotificationsSettingsEmailsLink(){return this.getLinkToRoute("notificationsSettings.emails")}getNotificationsSettingsEmailEditLink(e){return this.getLinkToRoute("notificationsSettings.email.edit",{emailId:e})}getNotificationsSettingsEmailNewLink(){return this.getLinkToRoute("notificationsSettings.email.new",{emailId:"new"})}getNotificationsSettingsTextMessagesLink(){return this.getLinkToRoute("notificationsSettings.textMessages")}getNotificationsSettingsTextMessageEditLink(e){return this.getLinkToRoute("notificationsSettings.textMessage.edit",{textMessageId:e})}getNotificationsSettingsTextMessageNewLink(){return this.getLinkToRoute("notificationsSettings.textMessage.new",{textMessageId:"new"})}getDevicesListLink(){return this.getLinkToRoute("device.list")}getGatewaysListLink(){return this.getLinkToRoute("gateway.list")}getGatewaysExternalLink(){return this.getLinkToRoute("gateway.external")}getGatewaysStartMerakiIntegrationLink(){return this.getLinkToRoute("gateway.meraki")}goToGatewayExternal(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.execute(this.getGatewaysExternalLink(),e)}goToGatewaysList(e){return this.execute(this.getGatewaysListLink(),e)}getLinkToAccountSettings(){return this.getLinkToRoute("account.overview")}pageNotFound(){return this.load("404")}getUsersLink(){return this.getLinkToRoute("accounts.users")}goToUserCreator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.execute(this.getUserCreatorLink(),e)}getUserCreatorLink(){return this.getLinkToRoute("accounts.users.add")}goToUserEditor(e,t){return this.execute(this.getUsersLink(e),t)}getUserEditorLink(e){return this.getLinkToRoute("accounts.users.edit",{userId:e})}goToBatchConfigurationImport(e){return this.execute(this.getBatchConfigurationImportLink(),e)}goToBatchConfigurationImportResult(e){return this.execute(this.getBatchConfigurationImportResultLink(),e)}goToBatchConfigurationExport(e){return this.execute(this.getBatchConfigurationExportLink(),e)}getBatchConfigurationImportLink(){return this.getLinkToRoute("batchConfiguration.import")}getBatchConfigurationImportResultLink(){return this.getLinkToRoute("batchConfiguration.import.result")}getBatchConfigurationExportLink(){return this.getLinkToRoute("batchConfiguration.export")}getAddOrderLink(){return this.getLinkToRoute("order.add")}getRoute(e){return ROUTE_MAP[e].route}registerRoutes(e,t,n){const i=ROUTE_MAP[e];let r=[];i.listenRoutes&&i.listenRoutes.length?r=i.listenRoutes:r.push(i.route),r.forEach(e=>{e.startsWith("/")&&(e=e.substr(1)),t.route(e,n)})}}const navigationService=new NavigationService;function nl2br(e){return"".concat(e).replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1".concat("<br />","$2"))}var Template$1=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"inputId"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:22,column:11}}}))?o:""},2:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="filter-input '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"reverse"):t,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:33},end:{line:3,column:76}}}))?o:"")+" "+(null!=(o=d(n,"unless").call(s,null!=t?d(t,"withoutSearchIcon"):t,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:77},end:{line:3,column:147}}}))?o:"")+" "+(null!=(o=d(n,"unless").call(s,null!=t?d(t,"withoutClearIcon"):t,{name:"unless",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:148},end:{line:3,column:216}}}))?o:"")+" "+(null!=(o=d(n,"if").call(s,null!=t?d(t,"small"):t,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:217},end:{line:3,column:256}}}))?o:"")+'">\n <div class="filter-input__container">\n <input id="'+l("function"==typeof(a=null!=(a=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?a:c)?a.call(s,{name:"inputId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:27},end:{line:5,column:38}}}):a)+'"\n name="'+l("function"==typeof(a=null!=(a=d(n,"name")||(null!=t?d(t,"name"):t))?a:c)?a.call(s,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:29},end:{line:6,column:37}}}):a)+'"\n type="text"\n class="filter-input__input form-input '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"autocomplete"):t,{name:"if",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:61},end:{line:8,column:100}}}))?o:"")+'"\n placeholder="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"placeholder"):t,{name:"if",hash:{},fn:e.program(13,r,0),inverse:e.program(15,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:36},end:{line:9,column:94}}}))?o:"")+'">\n'+(null!=(o=d(n,"unless").call(s,null!=t?d(t,"withoutSearchIcon"):t,{name:"unless",hash:{},fn:e.program(17,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:16},end:{line:14,column:27}}}))?o:"")+(null!=(o=d(n,"unless").call(s,null!=t?d(t,"withoutClearIcon"):t,{name:"unless",hash:{},fn:e.program(19,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:16},end:{line:19,column:27}}}))?o:"")+" </div>\n </div>\n"},3:function(e,t,n,i,r){return"filter-input--reverse"},5:function(e,t,n,i,r){return"filter-input--with-search-icon"},7:function(e,t,n,i,r){return"filter-input--with-clear-icon"},9:function(e,t,n,i,r){return"filter-input--small"},11:function(e,t,n,i,r){return"autocomplete"},13:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"placeholder")||(null!=t?a(t,"placeholder"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"placeholder",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:55},end:{line:9,column:70}}}):o)},15:function(e,t,n,i,r){return"Search..."},17:function(e,t,n,i,r){return' <a class="filter-input__search-icon js-search">\n <i class="icon icon-search" data-tooltip-content="Start searching"></i>\n </a>\n'},19:function(e,t,n,i,r){return' <a class="filter-input__clear-icon js-clear">\n <i class="icon icon-close" data-tooltip-content="Reset search"></i>\n </a>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"name"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:23,column:7}}}))?o:""},useData:!0}
67);Handlebars.registerPartial("filter-input-partial",Template$1);var Template$2=Handlebars.template({1:function(e,t,n,i,r){return"disabled"},3:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"filter-input-partial"),t,{name:"filter-input-partial",hash:{withoutSearchIcon:!0,inputId:(a(n,"concat")||t&&a(t,"concat")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"dropdown-",null!=t?a(t,"cid"):t,"-query",{name:"concat",hash:{},data:r,loc:{start:{line:13,column:58},end:{line:13,column:91}}}),name:"query"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},5:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"@partial-block"),t,{name:"@partial-block",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d="function",u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return l((u(n,"defaultValue")||t&&u(t,"defaultValue")||c).call(s,t,"cid",(u(n,"uniqId")||t&&u(t,"uniqId")||c).call(s,"template-",{name:"uniqId",hash:{},data:r,loc:{start:{line:1,column:26},end:{line:1,column:46}}}),{name:"defaultValue",hash:{},data:r,loc:{start:{line:1,column:0},end:{line:1,column:48}}}))+"\n"+l((u(n,"defaultValue")||t&&u(t,"defaultValue")||c).call(s,t,"dropdownClass","default",{name:"defaultValue",hash:{},data:r,loc:{start:{line:2,column:0},end:{line:2,column:47}}}))+"\n"+l((u(n,"defaultValue")||t&&u(t,"defaultValue")||c).call(s,t,"buttonClass","default",{name:"defaultValue",hash:{},data:r,loc:{start:{line:3,column:0},end:{line:3,column:45}}}))+"\n"+l((u(n,"defaultValue")||t&&u(t,"defaultValue")||c).call(s,t,"dataEvent","none",{name:"defaultValue",hash:{},data:r,loc:{start:{line:4,column:0},end:{line:4,column:40}}}))+'\n\n<div class="dropdown-menu-wrap">\n <input type="checkbox" class="hidden dropdown-trigger" id="dropdown-'+l(typeof(a=null!=(a=u(n,"cid")||(null!=t?u(t,"cid"):t))?a:c)===d?a.call(s,{name:"cid",hash:{},data:r,loc:{start:{line:7,column:72},end:{line:7,column:79}}}):a)+'"/>\n <label for="dropdown-'+l(typeof(a=null!=(a=u(n,"cid")||(null!=t?u(t,"cid"):t))?a:c)===d?a.call(s,{name:"cid",hash:{},data:r,loc:{start:{line:8,column:25},end:{line:8,column:32}}}):a)+'" class="button block '+l(typeof(a=null!=(a=u(n,"buttonClass")||(null!=t?u(t,"buttonClass"):t))?a:c)===d?a.call(s,{name:"buttonClass",hash:{},data:r,loc:{start:{line:8,column:54},end:{line:8,column:69}}}):a)+" "+(null!=(o=u(n,"if").call(s,null!=t?u(t,"disabled"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:8,column:70},end:{line:8,column:101}}}))?o:"")+' dropdown-label"\n id="dropdown-'+l(typeof(a=null!=(a=u(n,"cid")||(null!=t?u(t,"cid"):t))?a:c)===d?a.call(s,{name:"cid",hash:{},data:r,loc:{start:{line:9,column:24},end:{line:9,column:31}}}):a)+'-label" data-event="'+l(typeof(a=null!=(a=u(n,"dataEvent")||(null!=t?u(t,"dataEvent"):t))?a:c)===d?a.call(s,{name:"dataEvent",hash:{},data:r,loc:{start:{line:9,column:51},end:{line:9,column:64}}}):a)+'">'+l(typeof(a=null!=(a=u(n,"dropdownLabel")||(null!=t?u(t,"dropdownLabel"):t))?a:c)===d?a.call(s,{name:"dropdownLabel",hash:{},data:r,loc:{start:{line:9,column:66},end:{line:9,column:83}}}):a)+'</label>\n <label for="dropdown-'+l(typeof(a=null!=(a=u(n,"cid")||(null!=t?u(t,"cid"):t))?a:c)===d?a.call(s,{name:"cid",hash:{},data:r,loc:{start:{line:10,column:25},end:{line:10,column:32}}}):a)+'" class="dropdown-menu-mask"></label>\n <div class="dropdown-menu '+l(typeof(a=null!=(a=u(n,"dropdownClass")||(null!=t?u(t,"dropdownClass"):t))?a:c)===d?a.call(s,{name:"dropdownClass",hash:{},data:r,loc:{start:{line:11,column:30},end:{line:11,column:47}}}):a)+'">\n'+(null!=(o=u(n,"if").call(s,null!=t?u(t,"withSearch"):t,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:12,column:8},end:{line:14,column:15}}}))?o:"")+' <ul id="dropdown-'+l(typeof(a=null!=(a=u(n,"cid")||(null!=t?u(t,"cid"):t))?a:c)===d?a.call(s,{name:"cid",hash:{},data:r,loc:{start:{line:15,column:25},end:{line:15,column:32}}}):a)+'-menu">\n'+(null!=(o=u(n,"if").call(s,r&&u(r,"partial-block"),{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{start:{line:16,column:12},end:{line:18,column:19}}}))?o:"")+" </ul>\n </div>\n</div>"},usePartial:!0,useData:!0}
67);function dropdownTemplate(e,t,n){const i=Template$2(e,t);return n||"undefined"==typeof $?i:$(i)}class Dropdown extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!_$1.has(e,"$select"))throw Error("You have to pass $select as options when creating dropdown");if(!_$1.has(e,"observe"))throw Error("You have to pass observe as options when creating dropdown");if(!_$1.has(e,"model"))throw Error("You have to pass observe as model when creating dropdown");delete e.$el,super(_$1.defaults(e,{className:"dropdown-js-wrap"})),this.template=dropdownTemplate,this.options=e.options||{},this.$select=e.$select,this.$select.on("focus",this.blurAndOpenDropdown.bind(this)),this.$select.addClass("sr-only"),this.isMultiple=this.$select.prop("multiple"),this.observe=e.observe,this.buttonClass=this.options.buttonClass||"default",this.dropdownClass=this.options.dropdownClass||"default",this.withSearch=this.options.withSearch||!1,this.dataEvent=this.$select.data("event")?this.$select.data("event"):"none",this.searchModel=window._sm=new backbone.Model({query:""}),this.listenTo(this.model,"change:".concat(this.observe),this.onModelChange.bind(this)),this.listenTo(this.searchModel,"change:query",this.onChangeQuery.bind(this)),this.buildCollection(),this.render().append(),this.updateLabel()}events(){return{["change #dropdown-".concat(this.cid)]:"onChangeState",["click .dropdown-".concat(this.cid,"-option")]:"onClickOption","click .filter-input__clear-icon":"resetQuery"}}bindings(){const e={};return _$1.has(this.options,"classes")&&(e[":el"]={classes:this.options.classes},e["#dropdown-".concat(this.cid,"-label")]={classes:this.options.classes},e["#dropdown-".concat(this.cid,"-menu")]={classes:this.options.classes}),_$1.has(this.options,"attributes")&&(e[":el"]={attributes:this.options.attributes},e["#dropdown-".concat(this.cid,"-label")]={attributes:this.options.attributes},e["#dropdown-".concat(this.cid,"-menu")]={attributes:this.options.attributes}),e}searchBindings(){return{["#dropdown-".concat(this.cid,"-query")]:"query"}}render(){return this.unstickit(),this.$el.html(this.template({cid:this.cid,disabled:this.$select.prop("disabled"),buttonClass:this.buttonClass,dropdownClass:this.dropdownClass,withSearch:this.withSearch,dataEvent:this.dataEvent})),this.appendCollection(),this.stickit(),this.withSearch&&this.stickit(this.searchModel,this.searchBindings()),this}appendCollection(){const e=this.$("#dropdown-".concat(this.cid,"-menu")).empty();this.collection.forEach(t=>{e.append(t.get("$li"))})}append(){this.$select.parent().append(this.el)}updateLabel(){this.isMultiple?this.updateMultipleLabel():this.updateSingleLabel()}buildCollection(){this.collection=new backbone.Collection,this.$select.find("> option").each((e,t)=>{const n=document.createElement("a");n.textContent=t.textContent,t.disabled&&(n.className="disabled");const i=document.createElement("li"),r=this.collection.push({$option:t,$li:i,$a:n});if(this.isMultiple){const e=document.createElement("input");e.type="checkbox",e.id="option-".concat(r.cid),t.disabled&&(e.disabled="disabled"),r.set("$input",e);const n=document.createElement("label");n.htmlFor="option-".concat(r.cid),n.className="dropdown-element".concat(underscore_string.dasherize(t.textContent)),n.textContent=t.textContent;const o=document.createElement("span");o.appendChild(e),o.appendChild(n),e.addEventListener("change",this.onChangeCheckbox.bind(this)),i.appendChild(o)}else n.addEventListener("click",this.onClickLink.bind(this)),i.appendChild(n)}),this.originalCollection=new backbone.Collection(this.collection.models)}onClickLink(e){const t=this.collection.find(t=>t.get("$a")===e.target);t&&this.model.set(this.observe,this.getOptionValue(t),this.options.setOptions)}onChangeCheckbox(e){const t=this.collection.find(t=>t.get("$input")===e.target);if(t){const n=_$1.clone(this.model.get(this.observe)),i=this.getOptionValue(t),r=-1!==n.indexOf(i);e.target.checked&&!r?n.push(i):!e.target.checked&&r&&n.splice(n.indexOf(i),1),this.model.set(this.observe,n,this.options.setOptions)}}onModelChange(){this.updateLabel(),this.resetQuery(),this.isMultiple||this.closeDropdown()}closeDropdown(){this.$el.find("#dropdown-".concat(this.cid)).prop("checked",!1).trigger("change")}openDropdown(){this.$el.find("#dropdown-".concat(this.cid)).prop("checked",!0).trigger("change")}blurAndOpenDropdown(){this.$select.blur(),this.openDropdown()}
67updateSingleLabel(){this.collection.forEach(e=>e.get("$a").classList.remove("active"));const e=this.getCurrentOption();let t=i18n.get("general.selectOption");e&&(e.get("$a").classList.add("active"),t=e.get("$option").textContent),this.$("#dropdown-".concat(this.cid,"-label")).text(t)}getCurrentOption(){return this.collection.find(e=>this.getOptionValue(e)===this.model.get(this.observe))}updateMultipleLabel(){this.collection.forEach(e=>e.get("$input").checked=!1);const e=this.collection.filter(e=>-1!==this.model.get(this.observe).indexOf(this.getOptionValue(e))),t=[];_$1.each(e,e=>{e.get("$input").checked=!0,t.push(e.get("$option").textContent)});let n=i18n.get("general.selectOption");t.length&&(n=t.join(", ")),this.$("#dropdown-".concat(this.cid,"-label")).text(n)}onDelete(){this.collection=null,delete this.collection,this.$select.off("focus",this.openDropdown.bind(this)),this.remove()}getOptionValue(e){return jquery.data(e.get("$option"),"stickit-bind-val")}getOptionLabel(e){return jquery.text(e.attributes.$option)}onChangeQuery(){const e=this.searchModel.get("query").toLowerCase();this.collection=e?new backbone.Collection(this.originalCollection.filter(t=>-1!==this.getOptionLabel(t).toLowerCase().indexOf(e))):new backbone.Collection(this.originalCollection.models),this.appendCollection()}resetQuery(){this.searchModel.set({query:""})}isOpened(){return this.$el.find("#dropdown-".concat(this.cid)).prop("checked")}onChangeState(){if(this.isOpened()){const e=this.getCurrentOption();if(e){const t=e.get("$li"),n=this.$el.find("#dropdown-".concat(this.cid,"-menu")),i=n.offset().top,r=this.$el.find(t).offset().top,o=n.scrollTop();n.scrollTop(Math.max(0,Math.floor(o+(r-i))))}}if(this.withSearch){const e=this.$el.find(".filter-input__input");this.isOpened()?e.focus():e.blur()}}}const selectHandler=_$1.findWhere(backbone_stickit._handlers,{selector:"select"});class SelectDropdownHandler{constructor(){this.selector="select.dropdown",this.events=["change"],this.initialize=this._initialize,this.update=this._update,this.getVal=this._getVal,this.destroy=this._destroy}_initialize(e,t,n){n._dropdown=new Dropdown({$select:e,model:t,observe:n.observe,options:n})}_destroy(e,t,n){n._dropdown.onDelete(),n._dropdown=null,delete n._dropdown}_update(e,t,n,i){e.data("initialized")?e.val(t):(selectHandler.update.call(this,e,t,n,i),e.data("initialized",!0))}_getVal(e){return selectHandler.getVal.call(this,e)}}var nouislider=createCommonjsModule((function(e,t){ 68/*! nouislider - 10.0.0 - 2017-05-28 14:52:48 */ 69e.exports=function(){var e="10.0.0";function t(e){e.preventDefault()}function n(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function i(e,t,n){n>0&&(a(e,t),setTimeout((function(){s(e,t)}),n))}function r(e){return Array.isArray(e)?e:[e]}function o(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function a(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function s(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function c(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function l(e,t){return 100/(t-e)}function d(e,t){return 100*t/(e[1]-e[0])}function u(e,t){for(var n=1;e>=t[n];)n+=1;return n}function p(e,t,n){if(n>=e.slice(-1)[0])return 100;var i,r,o,a,s=u(n,e);return i=e[s-1],r=e[s],o=t[s-1],a=t[s],o+function(e,t){return d(e,e[0]<0?t+Math.abs(e[0]):t-e[0])}([i,r],n)/l(o,a)}function h(e,t,n,i){if(100===i)return i;var r,o,a=u(i,e);return n?i-(r=e[a-1])>((o=e[a])-r)/2?o:r:t[a-1]?e[a-1]+function(e,t){return Math.round(e/t)*t}(i-e[a-1],t[a-1]):i}function f(e,t,i){var r;if("number"==typeof t&&(t=[t]),"[object Array]"!==Object.prototype.toString.call(t))throw new Error("noUiSlider (10.0.0): 'range' contains invalid value.");if(!n(r="min"===e?0:"max"===e?100:parseFloat(e))||!n(t[0]))throw new Error("noUiSlider (10.0.0): 'range' value isn't numeric.");
69i.xPct.push(r),i.xVal.push(t[0]),r?i.xSteps.push(!isNaN(t[1])&&t[1]):isNaN(t[1])||(i.xSteps[0]=t[1]),i.xHighestCompleteStep.push(0)}function m(e,t,n){if(!t)return!0;n.xSteps[e]=d([n.xVal[e],n.xVal[e+1]],t)/l(n.xPct[e],n.xPct[e+1]);var i=(n.xVal[e+1]-n.xVal[e])/n.xNumSteps[e],r=Math.ceil(Number(i.toFixed(3))-1),o=n.xVal[e]+n.xNumSteps[e]*r;n.xHighestCompleteStep[e]=o}function v(e,t,n){this.xPct=[],this.xVal=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=t;var i,r=[];for(i in e)e.hasOwnProperty(i)&&r.push([e[i],i]);for(r.length&&"object"==typeof r[0][0]?r.sort((function(e,t){return e[0][0]-t[0][0]})):r.sort((function(e,t){return e[0]-t[0]})),i=0;i<r.length;i++)f(r[i][1],r[i][0],this);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)m(i,this.xNumSteps[i],this)}v.prototype.getMargin=function(e){var t=this.xNumSteps[0];if(t&&e/t%1!=0)throw new Error("noUiSlider (10.0.0): 'limit', 'margin' and 'padding' must be divisible by step.");return 2===this.xPct.length&&d(this.xVal,e)},v.prototype.toStepping=function(e){return e=p(this.xVal,this.xPct,e)},v.prototype.fromStepping=function(e){return function(e,t,n){if(n>=100)return e.slice(-1)[0];var i,r=u(n,t);return function(e,t){return t*(e[1]-e[0])/100+e[0]}([e[r-1],e[r]],(n-(i=t[r-1]))*l(i,t[r]))}(this.xVal,this.xPct,e)},v.prototype.getStep=function(e){return e=h(this.xPct,this.xSteps,this.snap,e)},v.prototype.getNearbySteps=function(e){var t=u(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t-0],step:this.xNumSteps[t-0],highestStep:this.xHighestCompleteStep[t-0]}}},v.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(o);return Math.max.apply(null,e)},v.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var g={to:function(e){return void 0!==e&&e.toFixed(2)},from:Number};function b(e){if(function(e){return"object"==typeof e&&"function"==typeof e.to&&"function"==typeof e.from}(e))return!0;throw new Error("noUiSlider (10.0.0): 'format' requires 'to' and 'from' methods.")}function y(e,t){if(!n(t))throw new Error("noUiSlider (10.0.0): 'step' is not numeric.");e.singleStep=t}function A(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider (10.0.0): 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider (10.0.0): Missing 'min' or 'max' in 'range'.");if(t.min===t.max)throw new Error("noUiSlider (10.0.0): 'range' 'min' and 'max' cannot be equal.");e.spectrum=new v(t,e.snap,e.singleStep)}function _(e,t){if(t=r(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider (10.0.0): 'start' option is incorrect.");e.handles=t.length,e.start=t}function w(e,t){if(e.snap=t,"boolean"!=typeof t)throw new Error("noUiSlider (10.0.0): 'snap' option must be a boolean.")}function M(e,t){if(e.animate=t,"boolean"!=typeof t)throw new Error("noUiSlider (10.0.0): 'animate' option must be a boolean.")}function k(e,t){if(e.animationDuration=t,"number"!=typeof t)throw new Error("noUiSlider (10.0.0): 'animationDuration' option must be a number.")}function C(e,t){var n,i=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider (10.0.0): 'connect' option doesn't match handle count.");i=t}e.connect=i}function S(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider (10.0.0): 'orientation' option is invalid.")}}function E(e,t){if(!n(t))throw new Error("noUiSlider (10.0.0): 'margin' option must be numeric.");if(0!==t&&(e.margin=e.spectrum.getMargin(t),!e.margin))throw new Error("noUiSlider (10.0.0): 'margin' option is only supported on linear sliders.")}function x(e,t){if(!n(t))throw new Error("noUiSlider (10.0.0): 'limit' option must be numeric.");if(e.limit=e.spectrum.getMargin(t),!e.limit||e.handles<2)throw new Error("noUiSlider (10.0.0): 'limit' option is only supported on linear sliders with 2 or more handles.")}function O(e,t){if(!n(t))throw new Error("noUiSlider (10.0.0): 'padding' option must be numeric.");if(0!==t){if(e.padding=e.spectrum.getMargin(t),!e.padding)throw new Error("noUiSlider (10.0.0): 'padding' option is only supported on linear sliders.");if(e.padding<0)throw new Error("noUiSlider (10.0.0): 'padding' option must be a positive number.");if(e.padding>=50)throw new Error("noUiSlider (10.0.0): 'padding' option must be less than half the range.")}}function T(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider (10.0.0): 'direction' option was not recognized.")}}function D(e,t){if("string"!=typeof t)throw new Error("noUiSlider (10.0.0): 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,r=t.indexOf("fixed")>=0,o=t.indexOf("snap")>=0,a=t.indexOf("hover")>=0;if(r){if(2!==e.handles)throw new Error("noUiSlider (10.0.0): 'fixed' behaviour must be used with 2 handles");E(e,e.start[1]-e.start[0])}e.events={tap:n||o,drag:i,fixed:r,snap:o,hover:a}}function $(e,t){if(!1!==t)if(!0===t){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(!0)}else{if(e.tooltips=r(t),e.tooltips.length!==e.handles)throw new Error("noUiSlider (10.0.0): must pass a formatter for all handles.");e.tooltips.forEach((function(e){if("boolean"!=typeof e&&("object"!=typeof e||"function"!=typeof e.to))throw new Error("noUiSlider (10.0.0): 'tooltips' must be passed a formatter or 'false'.")}))}}function P(e,t){e.ariaFormat=t,b(t)}function N(e,t){e.format=t,b(t)}function L(e,t){if(void 0!==t&&"string"!=typeof t&&!1!==t)throw new Error("noUiSlider (10.0.0): 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function z(e,t){if(void 0!==t&&"object"!=typeof t)throw new Error("noUiSlider (10.0.0): 'cssClasse
69s' must be an object.");if("string"==typeof e.cssPrefix)for(var n in e.cssClasses={},t)t.hasOwnProperty(n)&&(e.cssClasses[n]=e.cssPrefix+t[n]);else e.cssClasses=t}function I(e,t){if(!0!==t&&!1!==t)throw new Error("noUiSlider (10.0.0): 'useRequestAnimationFrame' option should be true (default) or false.");e.useRequestAnimationFrame=t}function R(e){var t={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:g,format:g},n={step:{r:!1,t:y},start:{r:!0,t:_},connect:{r:!0,t:C},direction:{r:!0,t:T},snap:{r:!1,t:w},animate:{r:!1,t:M},animationDuration:{r:!1,t:k},range:{r:!0,t:A},orientation:{r:!1,t:S},margin:{r:!1,t:E},limit:{r:!1,t:x},padding:{r:!1,t:O},behaviour:{r:!0,t:D},ariaFormat:{r:!1,t:P},format:{r:!1,t:N},tooltips:{r:!1,t:$},cssPrefix:{r:!1,t:L},cssClasses:{r:!1,t:z},useRequestAnimationFrame:{r:!1,t:I}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",ltr:"ltr",rtl:"rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},useRequestAnimationFrame:!0};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach((function(r){if(void 0===e[r]&&void 0===i[r]){if(n[r].r)throw new Error("noUiSlider (10.0.0): '"+r+"' is required.");return!0}n[r].t(t,void 0===e[r]?i[r]:e[r])})),t.pips=e.pips;var r=[["left","top"],["right","bottom"]];return t.style=r[t.dir][t.ort],t.styleOposite=r[t.dir?0:1][t.ort],t}function B(e,n,o){var l,d,u,p,h,f,m,v=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},g=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),b=e,y=[],A=[],_=!1,w=n.spectrum,M=[],k={},C=null,S=e.ownerDocument,E=S.documentElement,x=S.body;function O(e,t){var n=S.createElement("div");return t&&a(n,t),e.appendChild(n),n}function T(e,t){var i=O(e,n.cssClasses.origin),r=O(i,n.cssClasse
69s.handle);return r.setAttribute("data-handle",t),r.setAttribute("tabindex","0"),r.setAttribute("role","slider"),r.setAttribute("aria-orientation",n.ort?"vertical":"horizontal"),0===t?a(r,n.cssClasses.handleLower):t===n.handles-1&&a(r,n.cssClasses.handleUpper),i}function D(e,t){return!!t&&O(e,n.cssClasses.connect)}function $(e,t){return!!n.tooltips[t]&&O(e.firstChild,n.cssClasses.tooltip)}function P(e,t,i){var r=S.createElement("div"),o=[n.cssClasses.valueNormal,n.cssClasses.valueLarge,n.cssClasses.valueSub],s=[n.cssClasses.markerNormal,n.cssClasses.markerLarge,n.cssClasses.markerSub],c=[n.cssClasses.valueHorizontal,n.cssClasses.valueVertical],l=[n.cssClasses.markerHorizontal,n.cssClasses.markerVertical];function d(e,t){var i=t===n.cssClasses.value,r=i?o:s;return t+" "+(i?c:l)[n.ort]+" "+r[e]}return a(r,n.cssClasses.pips),a(r,0===n.ort?n.cssClasses.pipsHorizontal:n.cssClasses.pipsVertical),Object.keys(e).forEach((function(o){!function(e,o){o[1]=o[1]&&t?t(o[0],o[1]):o[1];var a=O(r,!1);a.className=d(o[1],n.cssClasses.marker),a.style[n.style]=e+"%",o[1]&&((a=O(r,!1)).className=d(o[1],n.cssClasse
69s.value),a.style[n.style]=e+"%",a.innerText=i.to(o[0]))}(o,e[o])})),r}function N(){var e;h&&((e=h).parentElement.removeChild(e),h=null)}function L(e){N();var t=e.mode,n=e.density||1,i=e.filter||!1,r=function(e,t,n){if("range"===e||"steps"===e)return w.xVal;if("count"===e){if(!t)throw new Error("noUiSlider (10.0.0): 'values' required for mode 'count'.");var i,r=100/(t-1),o=0;for(t=[];(i=o++*r)<=100;)t.push(i);e="positions"}return"positions"===e?t.map((function(e){return w.fromStepping(n?w.getStep(e):e)})):"values"===e?n?t.map((function(e){return w.fromStepping(w.getStep(w.toStepping(e)))})):t:void 0}(t,e.values||!1,e.stepped||!1),o=function(e,t,n){var i,r={},o=w.xVal[0],a=w.xVal[w.xVal.length-1],s=!1,c=!1,l=0;return i=n.slice().sort((function(e,t){return e-t})),(n=i.filter((function(e){return!this[e]&&(this[e]=!0)}),{}))[0]!==o&&(n.unshift(o),s=!0),n[n.length-1]!==a&&(n.push(a),c=!0),n.forEach((function(i,o){var a,d,u,p,h,f,m,v,g,b=i,y=n[o+1];if("steps"===t&&(a=w.xNumSteps[o]),a||(a=y-b),!1!==b&&void 0!==y)for(a=Math.max(a,1e-7),d=b;d<=y;d=(d+a).toFixed(7)/1){for(m=(h=(p=w.toStepping(d))-l)/e,g=h/(v=Math.round(m)),u=1;u<=v;u+=1)r[(l+u*g).toFixed(5)]=["x",0];f=n.indexOf(d)>-1?1:"steps"===t?2:0,!o&&s&&(f=0),d===y&&c||(r[p.toFixed(5)]=[d,f]),l=p}})),r}(n,t,r),a=e.format||{to:Math.round};return h=b.appendChild(P(o,i,a))}function z(){var e=l.getBoundingClientRect(),t="offset"+["Width","Height"][n.ort];return 0===n.ort?e.width||l[t]:e.height||l[t]}function I(e,t,i,r){var o=function(t){return!b.hasAttribute("disabled")&&(o=b,a=n.cssClasses.tap,!(o.classList?o.classList.contains(a):new RegExp("\\b"+a+"\\b").test(o.className))&&!!(t=function(e,t){var n,i,r=0===e.type.indexOf("touch"),o=0===e.type.indexOf("mouse"),a=0===e.type.indexOf("pointer");if(0===e.type.indexOf("MSPointer")&&(a=!0),r){if(e.touches.length>1)return!1;n=e.changedTouches[0].pageX,i=e.changedTouches[0].pageY}return t=t||c(S),(o||a)&&(n=e.clientX+t.x,i=e.clientY+t.y),e.pageOffset=t,e.points=[n,i],e.cursor=o||a,e}(t,r.pageOffset))&&!(e===v.start&&void 0!==t.buttons&&t.buttons>1)&&(!r.hover||!t.buttons)&&(g||t.preventDefault(),t.calcPoint=t.points[n.ort],void i(t,r)));var o,a},a=[];return e.split(" ").forEach((function(e){t.addEventListener(e,o,!!g&&{passive:!0}),a.push([e,o])})),a}function B(e){var t,i,r,o,a,s,d=100*(e-(t=l,i=n.ort,r=t.getBoundingClientRect(),o=t.ownerDocument,a=o.documentElement,s=c(o),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(s.x=0),i?r.top+s.y-a.clientTop:r.left+s.x-a.clientLeft))/z();return n.dir?100-d:d}function j(e,t,n,i){var r=n.slice(),o=[!e,e],a=[e,!e];i=i.slice(),e&&i.reverse(),i.length>1?i.forEach((function(e,n){var i=Y(r,e,r[e]+t,o[n],a[n],!1);!1===i?t=0:(t=i-r[e],r[e]=i)})):o=a=[!0];var s=!1;i.forEach((function(e,i){s=Q(e,n[e]+t,o[i],a[i])||s})),s&&i.forEach((function(e){q("update",e),q("slide",e)}))}function q(e,t,i){Object.keys(k).forEach((function(r){var o=r.split(".")[0];e===o&&k[r].forEach((function(e){e.call(p,M.map(n.format.to),t,M.slice(),i||!1,y.slice())}))}))}function F(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&W(e,t)}function V(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return W(e,t);var i=(n.dir?-1:1)*(e.calcPoint-t.startCalcPoint);j(i>0,100*i/t.baseSize,t.locations,t.handleNumbers)}function W(e,i){_&&(s(_,n.cssClasses.active),_=!1),e.cursor&&(x.style.cursor="",x.removeEventListener("selectstart",t)),C.forEach((function(e){E.removeEventListener(e[0],e[1])})),s(b,n.cssClasses.drag),K(),i.handleNumbers.forEach((function(e){q("change",e),q("set",e),q("end",e)}))}function H(e,i){if(1===i.handleNumbers.length){var r=d[i.handleNumbers[0]];if(r.hasAttribute("disabled"))return!1;
69a(_=r.children[0],n.cssClasses.active)}e.stopPropagation();var o=I(v.move,E,V,{startCalcPoint:e.calcPoint,baseSize:z(),pageOffset:e.pageOffset,handleNumbers:i.handleNumbers,buttonsProperty:e.buttons,locations:y.slice()}),s=I(v.end,E,W,{handleNumbers:i.handleNumbers}),c=I("mouseout",E,F,{handleNumbers:i.handleNumbers});C=o.concat(s,c),e.cursor&&(x.style.cursor=getComputedStyle(e.target).cursor,d.length>1&&a(b,n.cssClasses.drag),x.addEventListener("selectstart",t,!1)),i.handleNumbers.forEach((function(e){q("start",e)}))}function U(e){e.stopPropagation();var t=B(e.calcPoint),r=function(e){var t=100,n=!1;return d.forEach((function(i,r){if(!i.hasAttribute("disabled")){var o=Math.abs(y[r]-e);o<t&&(n=r,t=o)}})),n}(t);if(!1===r)return!1;n.events.snap||i(b,n.cssClasses.tap,n.animationDuration),Q(r,t,!0,!0),K(),q("slide",r,!0),q("update",r,!0),q("change",r,!0),q("set",r,!0),n.events.snap&&H(e,{handleNumbers:[r]})}function X(e){var t=B(e.calcPoint),n=w.getStep(t),i=w.fromStepping(n);Object.keys(k).forEach((function(e){"hover"===e.split(".")[0]&&k[e].forEach((function(e){e.call(p,i)}))}))}function Y(e,t,i,r,o,a){var s;return d.length>1&&(r&&t>0&&(i=Math.max(i,e[t-1]+n.margin)),o&&t<d.length-1&&(i=Math.min(i,e[t+1]-n.margin))),d.length>1&&n.limit&&(r&&t>0&&(i=Math.min(i,e[t-1]+n.limit)),o&&t<d.length-1&&(i=Math.max(i,e[t+1]-n.limit))),n.padding&&(0===t&&(i=Math.max(i,n.padding)),t===d.length-1&&(i=Math.min(i,100-n.padding))),i=w.getStep(i),s=i,!((i=Math.max(Math.min(s,100),0))===e[t]&&!a)&&i}function G(e){return e+"%"}function K(){A.forEach((function(e){var t=y[e]>50?-1:1,n=3+(d.length+t*e);d[e].childNodes[0].style.zIndex=n}))}function Q(e,t,i,r){return!1!==(t=Y(y,e,t,i,r,!1))&&(function(e,t){y[e]=t,M[e]=w.fromStepping(t);var i=function(){d[e].style[n.style]=G(t),J(e),J(e+1)};window.requestAnimationFrame&&n.useRequestAnimationFrame?window.requestAnimationFrame(i):i()}(e,t),!0)}function J(e){if(u[e]){var t=0,i=100;0!==e&&(t=y[e-1]),e!==u.length-1&&(i=y[e]),u[e].style[n.style]=G(t),u[e].style[n.styleOposite]=G(100-i)}}function Z(e,t){null!==e&&!1!==e&&("number"==typeof e&&(e=String(e)),!1===(e=n.format.from(e))||isNaN(e)||Q(t,w.toStepping(e),!1,!1))}function ee(e,t){var o=r(e),a=void 0===y[0];t=void 0===t||!!t,o.forEach(Z),n.animate&&!a&&i(b,n.cssClasses.tap,n.animationDuration),A.forEach((function(e){Q(e,y[e],!0,!1)})),K(),A.forEach((function(e){q("update",e),null!==o[e]&&t&&q("set",e)}))}function te(){var e=M.map(n.format.to);return 1===e.length?e[0]:e}function ne(e,t){k[e]=k[e]||[],k[e].push(t),"update"===e.split(".")[0]&&d.forEach((function(e,t){q("update",t)}))}if(b.noUiSlider)throw new Error("noUiSlider (10.0.0): Slider was already initialized.");return function(e){a(e,n.cssClasses.target),0===n.dir?a(e,n.cssClasses.ltr):a(e,n.cssClasses.rtl),0===n.ort?a(e,n.cssClasses.horizontal):a(e,n.cssClasses.vertical),l=O(e,n.cssClasses.base)}(b),function(e,t){d=[],(u=[]).push(D(t,e[0]));for(var i=0;i<n.handles;i++)d.push(T(t,i)),A[i]=i,u.push(D(t,e[i+1]))}(n.connect,l),p={destroy:function(){for(var e in n.cssClasses)n.cssClasses.hasOwnProperty(e)&&s(b,n.cssClasses[e]);for(;b.firstChild;)b.removeChild(b.firstChild);delete b.noUiSlider},steps:function(){return y.map((function(e,t){var n=w.getNearbySteps(e),i=M[t],r=n.thisStep.step,o=null;!1!==r&&i+r>n.stepAfter.startValue&&(r=n.stepAfter.startValue-i),o=i>n.thisStep.startValue?n.thisStep.step:!1!==n.stepBefore.step&&i-n.stepBefore.highestStep,100===e?r=null:0===e&&(o=null);var a=w.countStepDecimals();return null!==r&&!1!==r&&(r=Number(r.toFixed(a))),null!==o&&!1!==o&&(o=Number(o.toFixed(a))),[o,r]}))},on:ne,off:function(e){var t=e&&e.split(".")[0],n=t&&e.substring(t.length);Object.keys(k).forEach((function(e){var i=e.split(".")[0],r=e.substring(i.length);t&&t!==i||n&&n!==r||delete k[e]}))},get:te,set:ee,reset:function(e){ee(n.start,e)},__moveHandles:function(e,t,n){j(e,t,y,n)},options:o,updateOptions:function(e,t){var i=te(),r=["margin","limit","padding","range","animate","snap","step","format"];r.forEach((function(t){void 0!==e[t]&&(o[t]=e[t])}));var a=R(o);r.forEach((function(t){void 0!==e[t]&&(n[t]=a[t])})),w=a.spectrum,n.margin=a.margin,n.limit=a.limit,n.padding=a.padding,n.pips&&L(n.pips),y=[],ee(e.start||i,t)},target:b,removePips:N,pips:L},(f=n.events).fixed||d.forEach((function(e,t){I(v.start,e.children[0],H,{handleNumbers:[t]})}
69)),f.tap&&I(v.start,l,U,{}),f.hover&&I(v.move,l,X,{hover:!0}),f.drag&&u.forEach((function(e,t){if(!1!==e&&0!==t&&t!==u.length-1){var i=d[t-1],r=d[t],o=[e];a(e,n.cssClasses.draggable),f.fixed&&(o.push(i.children[0]),o.push(r.children[0])),o.forEach((function(e){I(v.start,e,H,{handles:[i,r],handleNumbers:[t-1,t]})}))}})),ee(n.start),n.pips&&L(n.pips),n.tooltips&&(m=d.map($),ne("update",(function(e,t,i){if(m[t]){var r=e[t];!0!==n.tooltips[t]&&(r=n.tooltips[t].to(i[t])),m[t].innerHTML=r}}))),ne("update",(function(e,t,i,r,o){A.forEach((function(e){var t=d[e],r=Y(y,e,0,!0,!0,!0),a=Y(y,e,100,!0,!0,!0),s=o[e],c=n.ariaFormat.to(i[e]);t.children[0].setAttribute("aria-valuemin",r.toFixed(1)),t.children[0].setAttribute("aria-valuemax",a.toFixed(1)),t.children[0].setAttribute("aria-valuenow",s.toFixed(1)),t.children[0].setAttribute("aria-valuetext",c)}))})),p}return{version:e,create:function(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider (10.0.0): create requires a single element, got: "+e);var n=B(e,R(t),t);return e.noUiSlider=n,n}}}()}));const selectHandler$1=_$1.findWhere(backbone_stickit._handlers,{selector:"select"});class SelectSliderHandler{constructor(){this.selector="select.slider",this.events=["change"],this.initialize=this._initialize,this.update=this._update,this.destroy=this._destroy}_initialize(e,t,n){if(!n.sliderSettings)return;const i=n.$sliderEl=jquery("<div />").attr("id","".concat(e.attr("id"),"--slider")),r=_$1.extend(n.sliderSettings,{start:t.get(n.observe)}),o=e=>{r.pips&&(i.find(".noUi-value--current").removeClass("noUi-value--current"),i.find(".noUi-value").filter((t,
69n)=>n.textContent===String(e)).addClass("noUi-value--current"))};e.css("display","none").parent().addClass("noUi-wrapper").append(i),n.slider=nouislider.create(i[0],r),o(r.start),this.listenTo(t,"change:".concat(n.observe),(e,t)=>{n.slider.set(t),o(t)}),n.slider.on("set",()=>{const e=n.slider.get();t.set(n.observe,e),o(e)}),_$1.each(n.attributes||[],(function(e){let{name:r,observe:o,onGet:a}=e;if(!r||!o||!a)return;const s=()=>{a()?i[0].setAttribute(r,!0):i[0].removeAttribute(r)};t.on("change:".concat(o),s),this._modelBindings.push({model:t,event:"change:".concat(o),fn:s,config:n}),s()}),this)}_update(e,t,n,i){e.data("initialized")?e.val(t):(selectHandler$1.update.call(this,e,t,n,i),e.data("initialized",!0))}_destroy(e,t,n){n.$sliderEl.remove()}}var awesomplete=createCommonjsModule((function(e){!function(){var t=function(e,n){var i=this;this.isOpened=!1,this.input=r(e),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),n=n||{},function(e,t,n){for(var i in t){var r=t[i],o=e.input.getAttribute("data-"+i.toLowerCase());e[i]="number"==typeof r?parseInt(o):!1===r?null!==o:r instanceof Function?null:o,e[i]||0===e[i]||(e[i]=i in n?n[i]:r)}}(this,{minChars:2,maxItems:10,autoFirst:!1,data:t.DATA,filter:t.FILTER_CONTAINS,sort:!1!==n.sort&&t.SORT_BYLENGTH,item:t.ITEM,replace:t.REPLACE},n),this.index=-1,this.container=r.create("div",{className:"awesomplete",around:e}),this.ul=r.create("ul",{hidden:"hidden",inside:this.container}),this.status=r.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-relevant":"additions",inside:this.container}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(e){var t=e.keyCode;i.opened&&(13===t&&i.selected?(e.preventDefault(),i.select()):27===t?i.close({reason:"esc"}):38!==t&&40!==t||(e.preventDefault(),i[38===t?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(e){var t=e.target;if(t!==this){for(;t&&!/li/i.test(t.nodeName);)t=t.parentNode;t&&0===e.button&&(e.preventDefault(),i.select(t,e.target))}}}},r.bind(this.input,this._events.input),r.bind(this.input.form,this._events.form),r.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||n.list||[],t.all.push(this)};function n(e){var t=Array.isArray(e)?{label:e[0],value:e[1]}:"object"==typeof e&&"label"in e&&"value"in e?e:{label:e,value:e};this.label=t.label||t.value,this.value=t.value}t.prototype={set list(e){if(Array.isArray(e))this._list=e;else if("string"==typeof e&&e.indexOf(",")>-1)this._list=e.split(/\s*,\s*/);else if((e=r(e))&&e.children){var t=[];i.apply(e.children).forEach((function(e){if(!e.disabled){var n=e.textContent.trim(),i=e.value||n,r=e.label||n;""!==i&&t.push({label:r,value:i})}})),this._list=t}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(e){this.opened&&(this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,r.fire(this.input,"awesomplete-close",e||{}))},open:function(){this.ul.removeAttribute("hidden"),this.isOpened=!0,this.autoFirst&&-1===this.index&&this.goto(0),r.fire(this.input,"awesomplete-open")},destroy:function(){r.unbind(this.input,this._events.input),r.unbind(this.input.form,this._events.form);var e=this.container.parentNode;e.insertBefore(this.input,this.container),e.removeChild(this.container),this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");var n=t.all.indexOf(this);-1!==n&&t.all.splice(n,1)},next:function(){var e=this.ul.children.length;this.goto(this.index<e-1?this.index+1:e?0:-1)},previous:function(){var e=this.ul.children.length,t=this.index-1;this.goto(this.selected&&-1!==t?t:e-1)},goto:function(e){var t=this.ul.children;this.selected&&t[this.index].setAttribute("aria-selected","false"),this.index=e,e>-1&&t.length>0&&(t[e].setAttribute("aria-selected","true"),this.status.textContent=t[e].textContent,this.ul.scrollTop=t[e].offsetTop-this.ul.clientHeight+t[e].clientHeight,r.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(e,t){if(e?this.index=r.siblingIndex(e):e=this.ul.children[this.index],e){var n=this.suggestions[this.index];r.fire(this.input,"awesomplete-select",{text:n,origin:t||e})&&(this.replace(n),this.close({reason:"select"}),r.fire(this.input,"awesomplete-selectcomplete",{text:n}))}},evaluate:function(){var e=this,t=this.input.value;t.length>=this.minChars&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map((function(i){return new n(e.data(i,t))})).filter((function(n){return e.filter(n,t)})),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach((function(n){e.ul.a
69ppendChild(e.item(n,t))})),0===this.ul.children.length?this.close({reason:"nomatches"}):this.open()):this.close({reason:"nomatches"})}},t.all=[],t.FILTER_CONTAINS=function(e,t){return RegExp(r.regExpEscape(t.trim()),"i").test(e)},t.FILTER_STARTSWITH=function(e,t){return RegExp("^"+r.regExpEscape(t.trim()),"i").test(e)},t.SORT_BYLENGTH=function(e,t){return e.length!==t.length?e.length-t.length:e<t?-1:1},t.ITEM=function(e,t){var n=""===t.trim()?e:e.replace(RegExp(r.regExpEscape(t.trim()),"gi"),"<mark>$&</mark>");return r.create("li",{innerHTML:n,"aria-selected":"false"})},t.REPLACE=function(e){this.input.value=e.value},t.DATA=function(e){return e},Object.defineProperty(n.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),n.prototype.toString=n.prototype.valueOf=function(){return""+this.label};var i=Array.prototype.slice;function r(e,t){return"string"==typeof e?(t||document).querySelector(e):e||null}function o(e,t){return i.call((t||document).querySelectorAll(e))}function a(){o("input.awesomplete").forEach((function(e){new t(e)}))}r.create=function(e,t){var n=document.createElement(e);for(var i in t){var o=t[i];if("inside"===i)r(o).appendChild(n);else if("around"===i){var a=r(o);a.parentNode.insertBefore(n,a),n.appendChild(a)}else i in n?n[i]=o:n.setAttribute(i,o)}return n},r.bind=function(e,t){if(e)for(var n in t){var i=t[n];n.split(/\s+/).forEach((function(t){e.addEventListener(t,i)}))}},r.unbind=function(e,t){if(e)for(var n in t){var i=t[n];n.split(/\s+/).forEach((function(t){e.removeEventListener(t,i)}))}},r.fire=function(e,t,n){var i=document.createEvent("HTMLEvents");for(var r in i.initEvent(t,!0,!0),n)i[r]=n[r];return e.dispatchEvent(i)},r.regExpEscape=function(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},r.siblingIndex=function(e){for(var t=0;e=e.previousElementSibling;t++);return t},"undefined"!=typeof Document&&("loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",a)),t.$=r,t.$$=o,"undefined"!=typeof self&&(self.Awesomplete=t),e.exports&&(e.exports=t)}()}));const inputHandler=_$1.findWhere(backbone_stickit._handlers,{selector:"input"});class AutocompleteHandler{constructor(){this.selector="input.autocomplete",this.events=["propertychange","input","change","focus","awesomplete-selectcomplete"],this.initialize=this._initialize.bind(this),this.getVal=this._getVal,this.destroy=this._destroy}_initialize(e,t,n){if(!n.dataFactory)throw new Error("Data factory is required when creating autocomplete");n.autocompleteOptions=_$1.defaults(n.autocompleteOptions||{},{minChars:1,autoFirst:!0,multiple:!1}),n._autocomplete=new awesomplete(e[0],n.autocompleteOptions),n.fillAutocompleteList=this.fillAutocompleteListFactory(n._autocomplete,n.dataFactory)}_destroy(e,t,n){n._autocomplete=null,delete n._autocomplete}_getVal(e,t,n){const i=t.originalEvent.type,r=inputHandler.getVal.call(this,e);return"awesomplete-selectcomplete"===i?e.blur():"focus"!==i||n.autocompleteOptions.multiple?r&&n.lastValue!==r&&n.fillAutocompleteList(r).then(()=>n.lastValue=r):n._autocomplete.list=n._autocomplete._list,r}fillAutocompleteListFactory(e,t){return n=>jquery.Deferred(i=>{let{resolve:r,reject:o}=i;t(n).then(t=>{if(0===t.length||1===t.length&&t[0].value===n)return o();e.list=t,r(e)},o)}).promise()}}var Template$3=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"class")||(null!=t?a(t,"class"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"class",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:17},end:{line:2,column:26}}}):o)},3:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="navigation-link" data-event="click-editElementButton"\n '+(null!=(o=l(n,"if").call(a,null!=t?l(t,"class"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:2,column:33}}}))?o:"")+"\n"+(null!=(o=e.invokePartial(l(i,"edit-link-table"),t,{name:"edit-link-table",fn:e.program(3,r,0),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?o:"")+' title="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:10},end:{line:6,column:24}}}))+'"\n data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"tooltip"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:25},end:{line:7,column:41}}}))+'">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:43}
69,end:{line:7,column:57}}}))+"</a>"},usePartial:!0,useData:!0});function tableEditPartial(e,t,n){const i=Template$3(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$4=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="js-remove-action remove-link js-event-click" title="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:62},end:{line:1,column:76}}}))+'"\n data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:25},end:{line:2,column:39}}}))+'" data-id="'+c("function"==typeof(o=null!=(o=l(n,"id")||(null!=t?l(t,"id"):t))?o:s)?o.call(a,{name:"id",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:50},end:{line:2,column:56}}}):o)+'" data-event="click-deleteElementButton">\n <i class="icon icon-trash"></i>\n <span class="show-for-sr">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:30},end:{line:4,column:44}}}))+"</span>\n</a>"},useData:!0});Handlebars.registerPartial("table-delete-partial",Template$4);var Template$5=Handlebars.template({1:function(e,t,n,i,r){return"hidden-sm"},3:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"class")||(null!=t?a(t,"class"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"class",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:80},end:{line:3,column:89}}}):o)},5:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.invokePartial(c(i,"table-edit-partial"),t,{name:"table-edit-partial",hash:{tooltip:null!=t?c(t,"tooltipEdit"):t,label:null!=t?c(t,"labelEdit"):t},fn:e.program(6,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:""},6:function(e,t,n,i,r,o,a){e.lookupProperty;return""},7:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(o=e.invokePartial(a(i,"edit-link-table"),t,{name:"edit-link-table",fn:e.program(8,r,0),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"},8:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return d((u(n,"defaultValue")||t&&u(t,"defaultValue")||l).call(c,t,"showEdit",!0,{name:"defaultValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:1,column:37}}}))+"\n"+d((u(n,"defaultValue")||t&&u(t,"defaultValue")||l).call(c,t,"hiddenSm",!0,{name:"defaultValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:0},end:{line:2,column:37}}}))+'\n<td class="col-actions align-left '+(null!=(s=u(n,"if").call(c,null!=t?u(t,"hiddenSm"):t,{name:"if",hash:{},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:34},end:{line:3,column:66}}}))?s:"")+" "+(null!=(s=u(n,"if").call(c,null!=t?u(t,"class"):t,{name:"if",hash:{},fn:e.program(3,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:67},end:{line:3,column:96}}}))?s:"")+'">\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"showEdit"):t,{name:"if",hash:{},fn:e.program(5,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:4},end:{line:10,column:11}}}))?s:"")+(null!=(s=e.invokePartial(u(i,"table-delete-partial"),t,{name:"table-delete-partial",hash:{id:null!=t?u(t,"id"):t,label:null!=t?u(t,"labelDelete"):t},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</td>"},"6_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(7,r,0,o,a),inverse:n.noop,args:["edit-link-table"],data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:12},end:{line:8,column:23}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function tableEditAndDeletePartial(e,t,n){const i=Template$5(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$6=Handlebars.template({1:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="info-box display--flex align-items--center">\n <div class="info-box-icon display--inline-block margin-right--small">\n <i class="icon icon-circle info-box-icon-circle font-size--larger"></i>\n <i class="icon icon-i info-box-icon-i"></i>\n </div>\n <div class="info-box-text display--inline-block">\n'+(null!=(o=e.invokePartial(a(i,"info-box-content"),t,{name:"info-box-content",fn:e.program(1,r,0),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n</div>\n"},usePartial:!0,useData:!0}
69);function infoBoxPartial(e,t,n){const i=Template$6(e,t);return n||"undefined"==typeof $?i:$(i)}const logger$1=new Logger("Templates");function validateRuleExist(e,t){return void 0!==e.VALIDATION_RULES&&"object"==typeof e.VALIDATION_RULES[t]}function init(){logger$1.log("Template module init.")}Handlebars.registerPartial("dropdown-partial",dropdownTemplate),Handlebars.registerPartial("table-edit-partial",tableEditPartial),Handlebars.registerPartial("table-edit-and-delete-partial",tableEditAndDeletePartial),Handlebars.registerPartial("info-box-partial",infoBoxPartial),Handlebars.registerHelper("toLowerCase",e=>e.toLowerCase()),Handlebars.registerHelper("i18n",e=>{const t=i18n.get(e);return t||e}),Handlebars.registerHelper("i18n1p",(e,t)=>{const n=i18n.get(e,t);return null===n?e:n}),Handlebars.registerHelper("i18n2p",(e,t,n)=>{const i=i18n.get(e,t,n);return null===i?e:i}),Handlebars.registerHelper("i18nf",(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];n=n.filter(e=>_$1.isString(e)),e=sprintf_1(e,n);const r=i18n.get(e);return null===r?e:r})),Handlebars.registerHelper("debug",e=>new Handlebars.SafeString("<pre>".concat(JSON.stringify(e),"</pre>"))),Handlebars.registerHelper("checked",(e,t,n)=>{if(e.hasOwnProperty(t))return"".concat(e[t])==="".concat(n)?"checked":void 0}),Handlebars.registerHelper("allowedValues",e=>{const t=DeviceConstants;if(!validateRuleExist(t,e))return;const n=t.VALIDATION_RULES[e];let i=0,r=0;return"undefined"!==n.min?i=n.min:void 0!==n.minlength&&(i=n.minlength),"undefined"!==n.max?r=n.max:void 0!==n.maxlength&&(r=n.maxlength),i18n.get("device.properties.general.allowedValues",i,r)}),Handlebars.registerHelper("slugify",e=>slugify(e)),Handlebars.registerHelper("href",(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 new Handlebars.SafeString('href="'.concat(navigationService.getLink(e,n),'"'))})),Handlebars.registerHelper("href2",(e,t)=>new Handlebars.SafeString('href="'.concat(navigationService.getLinkToRoute(e,t.hash),'"'))),Handlebars.registerHelper("attributeName",e=>new Handlebars.SafeString('name="'.concat(e,'"'))),Handlebars.registerHelper("attributeId",e=>new Handlebars.SafeString('id="'.concat(e,'"'))),Handlebars.registerHelper("attributeClassName",e=>new Handlebars.SafeString('class="'.concat(e,'"'))),Handlebars.registerHelper("ifNull",(e,t)=>e||t),Handlebars.registerHelper("uniqId",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return _$1.uniqueId(e)})),Handlebars.registerHelper("defaultValue",(e,t,n)=>{_$1.isObject(e)||(e={}),_$1.isUndefined(e[t])&&(e[t]=n)}),Handlebars.registerHelper("nl2br",e=>new Handlebars.SafeString(nl2br(e))),Handlebars.registerHelper("inc",e=>e+1),Handlebars.registerHelper("concat",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.pop(),new Handlebars.SafeString(t.join(""))})),Handlebars.registerHelper("equals",(e,t)=>e===t),_$1.each(["some","every"],e=>{const t=function(e){return void 0!==e&&(e.hasOwnProperty("length")?!!e.length:!!e)};Handlebars.registerHelper(e,(function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];const o=i[i.length-1];return i.splice(i.length-1),_$1[e](i,t)?o.fn(this):o.inverse(this)}))}),backbone.Stickit.addHandler({selector:"input.js-date-picker",events:["propertychange","input","change"],initialize:function(e,t,n){e.dateRangePicker({autoClose:!0,singleDate:!0,showShortcuts:!1,showTopbar:!1,singleMonth:!0,format:e.data("dateFormat")||"MM.DD.YYYY",startDate:t.get(n.observe)||hooks$1().add(1,"day").format(e.data("dateFormat")||"MM.DD.YYYY"),beforeShowDay:function(e){return[hooks$1(e).isAfter(hooks$1()),"",""]}}),e.on("datepicker-change",(t,n)=>{e.val(n.value),e.change()})}}),backbone.Stickit.addHandler(new SelectDropdownHandler),backbone.Stickit.addHandler(new SelectSliderHandler),backbone.Stickit.addHandler(new AutocompleteHandler);const logger$2=new Logger("ObjectValidator");class ObjectValidator{constructor(){}hasFunction(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.filter(e=>{let t=!_$1.isFunction(e);return t&&!_$1.isUndefined(e)&&logger$2.log("Target %s%s is not a function",e.prototype,e.constructor.name),t}).length>0)throw Error("Missing required function")}hasProperties(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];let r=n.filter(t=>_$1.isUndefined(e[t]));if(r.length>0)throw Error("Required property: ".concat(r," is undefined"))}is(e,t){if(!(e instanceof t))throw Error("".concat(e.constructor?e.constructor.name:e," is not an instance of ").concat(t.constructor?t.constructor.name:t))}}var objectValidator=new ObjectValidator;function ownKeys(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}
69function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var toastr=createCommonjsModule((function(e){var t;t=function(e){return function(){var t,n,i,r=0,o="error",a="info",s="success",c="warning",l={clear:function(n,i){var r=f();t||d(r),u(n,r,i)||function(n){for(var i=t.children(),r=i.length-1;r>=0;r--)u(e(i[r]),n)}(r)},remove:function(n){var i=f();t||d(i),n&&0===e(":focus",n).length?m(n):t.children().length&&t.remove()},error:function(e,t,n){return h({type:o,iconClass:f().iconClasses.error,message:e,optionsOverride:n,title:t})},getContainer:d,info:function(e,t,n){return h({type:a,iconClass:f().iconClasses.info,message:e,optionsOverride:n,title:t})},options:{},subscribe:function(e){n=e},success:function(e,t,n){return h({type:s,iconClass:f().iconClasses.success,message:e,optionsOverride:n,title:t})},version:"2.1.2",warning:function(e,t,n){return h({type:c,iconClass:f().iconClasses.warning,message:e,optionsOverride:n,title:t})}};return l;function d(n,i){return n||(n=f()),(t=e("#"+n.containerId)).length||i&&(t=function(n){return(t=e("<div/>").attr("id",n.containerId).addClass(n.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(n.target)),t}(n)),t}function u(t,n,i){var r=!(!i||!i.force)&&i.force;return!(!t||!r&&0!==e(":focus",t).length||(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){m(t)}}),0))}function p(e){n&&n(e)}function h(n){var o=f(),a=n.iconClass||o.iconClass;if(void 0!==n.optionsOverride&&(o=e.extend(o,n.optionsOverride),a=n.optionsOverride.iconClass||a),!function(e,t){if(e.preventDuplicates){if(t.message===i)return!0;i=t.message}return!1}(o,n)){r++,t=d(o,!0);var s=null,c=e("<div/>"),l=e("<div/>"),u=e("<div/>"),h=e("<div/>"),v=e(o.closeHtml),g={intervalId:null,hideEta:null,maxHideTime:null},b={toastId:r,state:"visible",startTime:new Date,options:o,map:n};return n.iconClass&&c.addClass(o.toastClass).addClass(a),n.title&&(l.append(o.escapeHtml?y(n.title):n.title).addClass(o.titleClass),c.append(l)),n.message&&(u.append(o.escapeHtml?y(n.message):n.message).addClass(o.messageClass),c.append(u)),o.closeButton&&(v.addClass("toast-close-button").attr("role","button"),c.prepend(v)),o.progressBar&&(h.addClass("toast-progress"),c.prepend(h)),o.newestOnTop?t.prepend(c):t.append(c),c.hide(),c[o.showMethod]({duration:o.showDuration,easing:o.showEasing,complete:o.onShown}),o.timeOut>0&&(s=setTimeout(A,o.timeOut),g.maxHideTime=parseFloat(o.timeOut),g.hideEta=(new Date).getTime()+g.maxHideTime,o.progressBar&&(g.intervalId=setInterval(M,10))),c.hover(w,_),!o.onclick&&o.tapToDismiss&&c.click(A),o.closeButton&&v&&v.click((function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),A(!0)})),o.onclick&&c.click((function(e){o.onclick(e),A()})),p(b),o.debug&&console&&console.log(b),c}function y(e){return null==e&&(e=""),new String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function A(t){var n=t&&!1!==o.closeMethod?o.closeMethod:o.hideMethod,i=t&&!1!==o.closeDuration?o.closeDuration:o.hideDuration,r=t&&!1!==o.closeEasing?o.closeEasing:o.hideEasing;if(!e(":focus",c).length||t)return clearTimeout(g.intervalId),c[n]({duration:i,easing:r,complete:function(){m(c),o.onHidden&&"hidden"!==b.state&&o.onHidden(),b.state="hidden",b.endTime=new Date,p(b)}})}function _(){(o.timeOut>0||o.extendedTimeOut>0)&&(s=setTimeout(A,o.extendedTimeOut),g.maxHideTime=parseFloat(o.extendedTimeOut),g.hideEta=(new Date).getTime()+g.maxHideTime)}function w(){clearTimeout(s),g.hideEta=0,c.stop(!0,!0)[o.showMethod]({duration:o.showDuration,easing:o.showEasing})}function M(){var e=(g.hideEta-(new Date).getTime())/g.maxHideTime*100;h.width(e+"%")}}function f(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">×</button>',newestOnTop:!0,preventDuplicates:!1,progressBar:!1},l.options)}function m(e){t||(t=d()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),i=void 0))}}()},e.exports?e.exports=t(jquery):window.toastr=t(window.jQuery)}));toastr.options={closeButton:!1,debug:!1,newestOnTop:!0,progressBar:!1,positionClass:"toast-top-right",preventDuplicates:!0,onclick:null,showDuration:"280",hideDuration:"280",timeOut:"5000",extendedTimeOut:"700",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut"};
69const logger$3=new Logger("ToastService","blue");toastr.detailedError=function(e){if(logger$3.log("Displaying toast error: %o",e),_$1.isObject(e)&&_$1.has(e,"message"))if(_$1.has(e,"details")&&_$1.isArray(e.details)){const t=nl2br(e.details.map(e=>e.message).join("\n"));toastr.error(t,e.message)}else toastr.error(e.message);else toastr.error(i18n.get("error.unknown.header"))};const toastService=toastr;toastService.success=toastr.success;class ContainerView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(e),this.currentView=null,this.containerSelector=e.containerSelector,this.switchAttachedContent=e.switchAttachedContent||!1,this.template=_$1.isFunction(e.template)?e.template:()=>"",this.logger=e.logger,this.additionalData=e.additionalData}render(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.$el.html(this.template(_objectSpread2(_objectSpread2({},e),this.additionalData))),this.$contentView=this.$el.find(this.containerSelector),this}async setContent(e,t){if(!this.switchAttachedContent&&e.attached)return t;this.detachCurrent();try{let n=await this.firstLoad(e,t);return n=await this.loadView(e,n),n=await this.renderView(e,n),n=await this.doAfterAttach(n),n}catch(t){throw this.showError(t,e),t}}firstLoad(e,t){return!e.initialized&&_$1.isFunction(e.firstLoad)?(this.logger.log("First load of view: [%s]:%s with options: %o",e.constructor.name,e.cid,t),e.firstLoad(t)):t}loadView(e,t){return _$1.isFunction(e.load)?(this.logger.log("Load view: [%s]:%s with options: %o",e.constructor.name,e.cid,t),e.load(t)):t}async renderView(e,t){return e.initialized||(e.render(t),e.initialized=!0,this.logger.log("Render view: [%s]:%s",e.constructor.name,e.cid)),_$1.isFunction(e.attach)&&(await e.attach(t),this.logger.log("Attach view: [%s]:%s",e.constructor.name,e.cid)),this.$contentView.append(e.$el),this.currentView=e,t}async doAfterAttach(e){return this.currentView.attached=!0,_$1.isFunction(this.currentView.afterAttach)?(this.logger.log("DOM attached, view: [%s]:%s",this.currentView.constructor.name,this.currentView.cid),await this.currentView.afterAttach(e),e):e}detachCurrent(){if(null!==this.currentView){if(_$1.isFunction(this.currentView.detach)){this.logger.log("Detach view: [%s]:%s",this.currentView.constructor.name,this.currentView.cid);try{this.currentView.detach()}catch(e){this.currentView.$el&&this.currentView.$el.detach(),this.logger.log("Error detaching view [%s]:%s",this.currentView.constructor.name,this.currentView.cid)}}else this.logger.log("Remove view: [%s]:%s",this.currentView.constructor.name,this.currentView.cid),this.currentView.remove();this.currentView.attached=!1}}showError(e,t){return this.logger.log("View [%s]:%s rendering error: ",t.constructor.name,t.cid,e),toastService.detailedError(e),e}}var Template$7=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="tabs-tree-view display--flex">\n <nav class="navigation el-navigation"></nav>\n <div class="el-content content flex-item"></div>\n</div>\n'},useData:!0});function template$1(e,t,n){const i=Template$7(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$8=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="el-dynamic-list-tab dynamic-list-tab level-'+c("function"==typeof(o=null!=(o=l(n,"level")||(null!=t?l(t,"level"):t))?o:s)?o.call(a,{name:"level",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:55},end:{line:1,column:64}}}):o)+'" id="js-entry-link-'+c("function"==typeof(o=null!=(o=l(n,"id")||(null!=t?l(t,"id"):t))?o:s)?o.call(a,{name:"id",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:84},end:{line:1,column:90}}}):o)+'" data-entry-id="'+c("function"==typeof(o=null!=(o=l(n,"id")||(null!=t?l(t,"id"):t))?o:s)?o.call(a,{name:"id",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:107},end:{line:1,column:113}}}):o)+'">\n <div class="tab-element-view-label">
69\n <span class="entry-link-label">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"labelKey"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:12},end:{line:4,column:29}}}))+'\n </span>\n </div>\n <div class="el-dynamic-list dynamic-list">\n </div>\n</div>'},useData:!0});function dynamicListTemplate(e,t,n){const i=Template$8(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$9=Handlebars.template({1:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li class="dynamic-link-container">\n <a class="navigation-link dynamic-link" data-event="click-'+c("function"==typeof(o=null!=(o=l(n,"type")||(null!=t?l(t,"type"):t))?o:s)?o.call(a,{name:"type",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:70},end:{line:4,column:78}}}):o)+'" data-eventcategory="Sidebar" href='+c("function"==typeof(o=null!=(o=l(n,"link")||(null!=t?l(t,"link"):t))?o:s)?o.call(a,{name:"link",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:114},end:{line:4,column:122}}}):o)+">"+c("function"==typeof(o=null!=(o=l(n,"name")||(null!=t?l(t,"name"):t))?o:s)?o.call(a,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:123},end:{line:4,column:131}}}):o)+"</a>\n </li>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o;return'<ol class="dynamic-links-list">\n'+(null!=(o=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:6,column:13}}}))?o:"")+"</ol>\n"},useData:!0});function dynamicListElementTemplate(e,t,n){const i=Template$9(e,t);return n||"undefined"==typeof $?i:$(i)}class TabElementDynamicListView extends backbone.View{constructor(e){super(e),this.collection=this.model.get("collection")}render(){return this.$el.html(dynamicListTemplate(this.model.toJSON())),this.loadAndCheckRecentElements(!0),this.stickit(),this.listenTo(this.collection,"refresh",(e,t)=>this.loadAndCheckRecentElements(t)),this.listenTo(this.collection,"changeName",(e,t)=>this.showRecentElements(t)),this}showHideLastElements(e){e&&e.length?(this.$el.find(".el-dynamic-list-tab").show(),this.$el.find(".el-dynamic-list").html(dynamicListElementTemplate(e))):this.$el.find(".el-dynamic-list-tab").hide()}loadAndCheckRecentElements(e){return this.collection.fetch(e).then(e=>{this.showHideLastElements(e)})}showRecentElements(e){return this.collection.changeVenueName(e).then(e=>{this.showHideLastElements(e)})}}var Template$a=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="icon icon-'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"icon")||(null!=t?a(t,"icon"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:32},end:{line:4,column:40}}}):o)+'"></i>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l="function",d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="tab-element-view-leaf">\n <a href="'+d(typeof(a=null!=(a=u(n,"link")||(null!=t?u(t,"link"):t))?a:c)===l?a.call(s,{name:"link",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:13},end:{line:2,column:21}}}):a)+'" id="js-entry-link-'+d(typeof(a=null!=(a=u(n,"id")||(null!=t?u(t,"id"):t))?a:c)===l?a.call(s,{name:"id",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:41},end:{line:2,column:47}}}):a)+'" data-entry-id="'+d(typeof(a=null!=(a=u(n,"id")||(null!=t?u(t,"id"):t))?a:c)===l?a.call(s,{name:"id",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:64},end:{line:2,column:70}}}):a)+'" class="js-entry-link js-event-click entry-link level-'+d(typeof(a=null!=(a=u(n,"level")||(null!=t?u(t,"level"):t))?a:c)===l?a.call(s,{name:"level",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:125},end:{line:2,column:134}}}):a)+'" data-event="'+d(typeof(a=null!=(a=u(n,"dataEvent")||(null!=t?u(t,"dataEvent"):t))?a:c)===l?a.call(s,{name:"dataEvent",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:148},end:{line:2,column:161}}}):a)+'" data-eventcategory="Sidebar" title="'+d((u(n,"i18n")||t&&u(t,"i18n")||
69c).call(s,null!=t?u(t,"titleKey"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:199},end:{line:2,column:216}}}))+'">\n'+(null!=(o=u(n,"if").call(s,null!=t?u(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:5,column:15}}}))?o:"")+' <span class="entry-link-label">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||c).call(s,null!=t?u(t,"labelKey"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:12},end:{line:7,column:29}}}))+"\n </span>\n </a>\n</div>\n"},useData:!0});function leafTemplate(e,t,n){const i=Template$a(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$b=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="icon icon-'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"icon")||(null!=t?a(t,"icon"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:32},end:{line:4,column:40}}}):o)+'"></i>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l="function",d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="tab-element-view-group">\n <a href="'+d(typeof(a=null!=(a=u(n,"link")||(null!=t?u(t,"link"):t))?a:c)===l?a.call(s,{name:"link",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:13},end:{line:2,column:21}}}):a)+'" id="js-entry-link-'+d(typeof(a=null!=(a=u(n,"id")||(null!=t?u(t,"id"):t))?a:c)===l?a.call(s,{name:"id",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:41},end:{line:2,column:47}}}):a)+'" data-entry-id="'+d(typeof(a=null!=(a=u(n,"id")||(null!=t?u(t,"id"):t))?a:c)===l?a.call(s,{name:"id",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:64},end:{line:2,column:70}}}):a)+'" class="js-entry-link js-event-click entry-link level-'+d(typeof(a=null!=(a=u(n,"level")||(null!=t?u(t,"level"):t))?a:c)===l?a.call(s,{name:"level",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:125},end:{line:2,column:134}}}):a)+'" title="'+d((u(n,"i18n")||t&&u(t,"i18n")||c).call(s,null!=t?u(t,"titleKey"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:143},end:{line:2,column:160}}}))+'" data-event="'+d(typeof(a=null!=(a=u(n,"dataEvent")||(null!=t?u(t,"dataEvent"):t))?a:c)===l?a.call(s,{name:"dataEvent",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:174},end:{line:2,column:187}}}):a)+'" data-eventcategory="Sidebar">\n'+(null!=(o=u(n,"if").call(s,null!=t?u(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:5,column:15}}}))?o:"")+' <span class="entry-link-label">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||c).call(s,null!=t?u(t,"labelKey"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:12},end:{line:7,column:29}}}))+'\n </span>\n </a>\n <div class="entries el-entries">\n </div>\n</div>\n'},useData:!0});function groupTemplate(e,t,n){const i=Template$b(e,t);return n||"undefined"==typeof $?i:$(i)}class TabElementView extends backbone.View{constructor(e){super(e)}setEntries(e){this.$el.find(".el-entries").append(e)}render(){this.model.get("isGroup")?this.$el.html(groupTemplate(this.model.toJSON())):this.model.get("isDynamicList")?(this.dynamicListView=new TabElementDynamicListView({model:this.model}),this.$el.append(this.dynamicListView.render().$el)):this.$el.html(leafTemplate(this.model.toJSON()));const e=this.model.getChildren(),t=e.some(e=>e.needContext()),n=e.some(e=>e.get("showInTree")),i=this.model.get("showChildren");return this.$el.find("#js-entry-link-".concat(this.model.id)).toggleClass("child-need-context",t&&n&&!i),this.stickit(this.model,this.bindings()),this}bindings(){return{["#js-entry-link-".concat(this.model.id)]:{classes:{active:"active",expanded:"expanded",collapsed:"collapsed",current:"currentGroup","active-as-sibling":"activeAsSibling","has-context":{observe:"context",onGet:e=>!_$1.isEmpty(e)}}
69,attributes:[{observe:"link",name:"href"}]}}}}class PageStorage{constructor(){this.storage={}}getItem(e){return this.storage[e]}setItem(e,t){return this.storage[e]=t,this.storage}}function managerKey(e){return"".concat(applicationService.manager.id,".").concat(e)}const pageStorage=new PageStorage;class LocalStorageService{getItem(e){try{return this.getStorage().getItem(managerKey(e))}catch(e){return null}}setItem(e,t){try{return this.getStorage().setItem(managerKey(e),t)}catch(e){return null}}getStorage(){return void 0!==window.Storage?window.localStorage:pageStorage}}const localStorageService=new LocalStorageService;class TreeLeafModel extends backbone.Model{constructor(e,t){super(e,t)}defaults(){return{activateParentEntry:null,active:!1,activeAsSibling:!1,collapsed:!0,collection:null,context:{},dataEvent:"",entries:{},expanded:!1,icon:null,id:null,isDynamicList:!1,isGroup:!1,isSecondLevelMain:!1,labelKey:null,level:0,link:"#",navigation:!1,parent:{},preventCollapse:!1,showChildren:!0,showInTree:!0,titleKey:null,view:null}}parse(e){return e.isSecondLevelMain?(e.isGroup=!1,e):(e.isGroup=Object.keys(e.entries).some(t=>e.entries[t].showInTree),e)}hasParent(){return this.get("parent").id}hasViewOrLink(){return this.get("view")||this.get("link")}needContext(){const e=this.get("getLink");return _$1.isFunction(e)&&e.length>0}setContext(e){this.set({context:e})}getAncestors(){if(this._ancestors)return this._ancestors;this._ancestors=[];const e=t=>{t!==this&&this._ancestors.push(t),t.hasParent()&&e(t.get("parent"))};return e(this),this._ancestors}getRoot(){if(this._root)return this._root;const[e]=this.getAncestors().reduce((e,t)=>{let[n,i]=e;const r=t.get("level");return r<i&&(i=r,n=t),[n,i]},[this,this.get("level")]);return this._root=e,this._root}withAncestors(){return[this].concat(this.getAncestors())}getChildren(){if(this._children)return this._children;const e=(t,n)=>_$1.isEmpty(n.entries)?t.concat(n):t.concat([n].concat(_$1.toArray(n.entries).reduce(e,[])));return this._children=_$1.toArray(this.get("entries")).reduce(e,[]).map(e=>e.id).map(e=>this.collection.get(e)).filter(e=>e&&e!==this),this._children}withChildren(){return[this].concat(this.getChildren())}isGroup(){return this.get("isGroup")}}class TreeModel extends backbone.Model{constructor(e){super({active:e}),this.groups=new backbone.Collection(null,{model:TreeLeafModel})}defaults(){return{active:null}}parseGroups(e){const t=this.initGroups(e);Object.keys(t).forEach(e=>this.groups.add(t[e],{parse:!0,merge:!0}))}parseGroupsToJson(){const e=[];return this.groups.models.map(t=>{e.push(_$1.pick(t.toJSON(),"id","collapsed","expanded"))}),JSON.stringify(e)}mergeGroups(e){const t=JSON.parse(e);t.length===this.groups.models.length&&t.map(e=>{const t=this.groups.models.find(t=>t.id===e.id);t&&Object.assign(t.attributes,e)})}initGroups(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new TreeLeafModel({level:0,id:null});return Object.keys(e).map(n=>{const i=e[n];return i.id=n,i.level=t.get("level")+1,i.parent=t,i}).map(this.initEntry,this).reduce((e,t)=>_$1.extend(e,t),{})}initEntry(e){const t={};e.getLink=e.getLink||(()=>this.get("link")),e.titleKey=e.titleKey||"sidebar.title.".concat(e.id),e.labelKey=e.labelKey||"sidebar.label.".concat(e.id),!1!==e.showInTree&&(e.showInTree=!0),e.entries=e.entries||{};const n=t[e.id]=new TreeLeafModel(e,{parse:!0});return _$1.extend(t,this.initGroups(n.get("entries"),n)),t}applyLoadModel(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};
69e.getRoot().withChildren().forEach(e=>{e.setContext(t);const n=e.get("getLink")(t);e.set("link",n)})}resetLoadModel(){this.groups.forEach(e=>{e.setContext({});const t=e.get("getLink")({});e.set("link",t)})}markActive(e){const t=this.getEntry(e.id);if((t.hasParent()||t.hasViewOrLink())&&this.groups.filter(t=>t.id!==e.id).forEach(e=>{e.set("active",!1),e.set("activeAsSibling",!1)}),t.hasViewOrLink()){const n=t.withAncestors();n.forEach(e=>{e.withChildren().forEach(e=>{e.set("activeAsSibling",!0)})});let i=n.filter(e=>e.get("showInTree")).filter(e=>!e.get("isGroup")).shift();!i&&e.activateParentEntry&&(i=this.getEntry(e.activateParentEntry)),i&&i.set("active",!0)}}collapseExpandGroups(e){const t=this.getEntry(e.id);if(!e.preventCollapse)if(t.hasParent()&&!t.isGroup()){t.withAncestors().forEach(e=>{e.set("expanded",!0),e.set("collapsed",!1)})}else t.get("expanded")?(t.set("expanded",!1),t.set("collapsed",!0)):(t.set("expanded",!0),t.set("collapsed",!1))}activeEntry(){return this.getEntry(this.get("active"))}getEntry(e){return this.groups.get(e)}}const NULL_ENTRY=new TreeLeafModel;class TabsTreeView extends ContainerView{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};objectValidator.hasProperties(e,"groups");super(_$1.defaults(e,{containerSelector:".el-content",events:{"click .js-entry-link":"openEntry"},model:new TreeModel(e.active),logger:new Logger(TabsTreeView,"SteelBlue"),template:template$1})),this.groups=e.groups,this.model.parseGroups(this.groups);const t=localStorageService.getItem("sidebar");t&&this.mergeTabsTreeFromLocalStorage(t)}render(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return super.render(e),this.setLoadModel(e),this}setLoadModel(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.loadModel=e,this.model.resetLoadModel(),t&&this.model.applyLoadModel(t,e)}doOnEntriesModel(e,t){Object.keys(e).map(e=>this.model.groups.get(e)).forEach(t,this)}getCurrentGroup(e){const t=window.location.pathname;if(t.includes("app/")){const n="app/".length;switch(t.substring(t.indexOf("app/")+n).split("/")[0]){case"smartLocation":return{smartLocationElement:e.smartLocationElement};case"policyFoundry":case"notificationsSettings":return{policyFoundry:e.policyFoundry,notificationsSettings:e.notificationsSettings};case"order":case"beacon":case"beacons":case"monitoring":case"gateway":case"gateways":return{addOrderElement:e.addOrderElement,beaconsElement:e.beaconsElement,gatewaysElement:e.gatewaysElement};case"account":case"accounts":return{account:e.account};case"dashboard":return{dashboard:e.dashboard};case"launchpad":return{launchpad:e.launchpad};default:return{}}}return{}}updateLeftNavView(e){const t=this.$el.find(".el-navigation"),n=jquery(".app-menu-btn");e?(t.append(e),window.location.pathname.includes("ivPump")?t.addClass("closed"):t.children().length>0?(n.hasClass("closed")?t.addClass("closed"):t.removeClass("hidden"),n.removeClass("hidden")):(t.addClass("hidden"),n.addClass("hidden"))):t.children().remove()}renderTabsTree(){this.updateLeftNavView();const e=jquery(document.createDocumentFragment());this.doOnEntriesModel(this.getCurrentGroup(this.groups),t=>{this.renderTabElement(e,t)}),this.updateLeftNavView(e)}renderTabElement(e,t){if(t.get("isSecondLevelMain"))this.doOnEntriesModel(t.get("entries"),t=>{t.attributes.level=1,t.attributes.collapsed=!1,t.attributes.expanded=!1,this.renderTabElement(e,t)});else if(t.get("showInTree")){const n=new TabElementView({model:t});return e.append(n.render().$el),this.renderTabElementEntries(n,t),n}}renderTabElementEntries(e,t){if(t.get("isGroup")){const n=jquery(document.createDocumentFragment());this.doOnEntriesModel(t.get("entries"),e=>{this.renderTabElement(n,e)}),e.setEntries(n)}}load(e){this.setLoadModel(e)}attach(){this.listenTo(this.model,"change:active",this.changeTab)}detach(){this.stopListening(),this.detachCurrent()}openEntry(e){e.preventDefault();const t=jquery(e.currentTarget).data("entry-id"),n=this.model.getEntry(t);n.get("navigation")&&n.get("link")?navigationService.execute(n.get("link"),{replace:!1,trigger:!0}):this.setActiveTab({entryId:t})}changeTab(){const e=this.active();if(this.model.collapseExpandGroups(e),e.view){const t=this.setContent(e.view,this.loadModel).then(()=>{navigationService.execute(e.link,{replace:!0,trigger:!1}),this.trigger("changeTab",e),pageTrackingService.pushView(),this.model.markActive(e)});l.pushPromise(t)}}active(){let e=this.model.activeEntry();return e||(e=NULL_ENTRY),e.toJSON()}
69remove(){this.model.groups.pluck("view").forEach(e=>e.remove()),super.remove()}setActiveTab(e){let{entryId:t,view:n,loadModel:i,link:r}=e;store.dispatch("globalOptions/setRoute",t);const o=this.model.getEntry(t);if(o){const e=this.active().id===t;n&&o.set("view",n),o.get("navigation")?this.setLoadModel({}):i&&this.setLoadModel(i,o),r&&o.set("link",r),this.removeLeafNamespace(this.active().id),this.model.set("active",t),this.addLeafNamespace(t),this.saveTabsTreeToLocalStorage(),e&&this.model.trigger("change:active")}return this}renderView(e,t){return window.scrollTo(0,0),super.renderView(e,t)}addLeafNamespace(e){this.$el.addClass("tree-view-leaf-".concat(e))}removeLeafNamespace(e){this.$el.removeClass("tree-view-leaf-".concat(e))}saveTabsTreeToLocalStorage(){localStorageService.setItem("sidebar",this.model.parseGroupsToJson())}mergeTabsTreeFromLocalStorage(e){this.model.mergeGroups(e)}} 70/*! 71 * vuex v3.6.2 72 * (c) 2021 Evan You 73 * @license MIT 74 */function applyMixin$1(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var target$3="undefined"!=typeof window?window:void 0!==global$1?global$1:{},devtoolHook$1=target$3.__VUE_DEVTOOLS_GLOBAL_HOOK__;function devtoolPlugin$1(e){devtoolHook$1&&(e._devtoolHook=devtoolHook$1,devtoolHook$1.emit("vuex:init",e),devtoolHook$1.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){devtoolHook$1.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){devtoolHook$1.emit("vuex:action",e,t)}),{prepend:!0}))}function forEachValue$1(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function isObject$5(e){return null!==e&&"object"==typeof e}function isPromise$2(e){return e&&"function"==typeof e.then}function partial$2(e,t){return function(){return e(t)}}var Module$1=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},prototypeAccessors$1={namespaced:{configurable:!0}};prototypeAccessors$1.namespaced.get=function(){return!!this._rawModule.namespaced},Module$1.prototype.addChild=function(e,t){this._children[e]=t},Module$1.prototype.removeChild=function(e){delete this._children[e]},Module$1.prototype.getChild=function(e){return this._children[e]},Module$1.prototype.hasChild=function(e){return e in this._children},Module$1.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Module$1.prototype.forEachChild=function(e){forEachValue$1(this._children,e)},Module$1.prototype.forEachGetter=function(e){this._rawModule.getters&&forEachValue$1(this._rawModule.getters,e)},Module$1.prototype.forEachAction=function(e){this._rawModule.actions&&forEachValue$1(this._rawModule.actions,e)},Module$1.prototype.forEachMutation=function(e){this._rawModule.mutations&&forEachValue$1(this._rawModule.mutations,e)},Object.defineProperties(Module$1.prototype,prototypeAccessors$1);var ModuleCollection$1=function(e){this.register([],e,!1)},Vue$2;function update$1(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return;update$1(e.concat(i),t.getChild(i),n.modules[i])}}ModuleCollection$1.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},ModuleCollection$1.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},ModuleCollection$1.prototype.update=function(e){update$1([],this.root,e)},ModuleCollection$1.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new Module$1(t,n);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r);t.modules&&forEachValue$1(t.modules,(function(t,r){i.register(e.concat(r),t,n)}))},ModuleCollection$1.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},ModuleCollection$1.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var Store$1=function(e){var t=this;void 0===e&&(e={}),!Vue$2&&"undefined"!=typeof window&&window.Vue&&install$1(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ModuleCollection$1(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Vue$2,this._makeLocalGettersCache=Object.create(null);var r=this,o=this.dispatch,a=this.commit;this.dispatch=function(e,t){return o.call(r,e,t)},this.commit=function(e,t,n){return a.call(r,e,t,n)},this.strict=i;var s=this._modules.root.state;installModule$1(this,s,[],this._modules.root),resetStoreVM$1(this,s),n.forEac
vendor: 4,121 bytes, line 74
74h((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:Vue$2.config.devtools)&&devtoolPlugin$1(this)},prototypeAccessors$1$1={state:{configurable:!0}};function genericSubscribe$1(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function resetStore$1(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;installModule$1(e,n,[],e._modules.root,!0),resetStoreVM$1(e,n,t)}function resetStoreVM$1(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,o={};forEachValue$1(r,(function(t,n){o[n]=partial$2(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=Vue$2.config.silent;Vue$2.config.silent=!0,e._vm=new Vue$2({data:{$$state:t},computed:o}),Vue$2.config.silent=a,e.strict&&enableStrictMode$1(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),Vue$2.nextTick((function(){return i.$destroy()})))}function installModule$1(e,t,n,i,r){var o=!n.length,a=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=i),!o&&!r){var s=getNestedState$1(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){Vue$2.set(s,c,i.state)}))}var l=i.context=makeLocalContext$1(e,a,n);i.forEachMutation((function(t,n){registerMutation$1(e,a+n,t,l)})),i.forEachAction((function(t,n){var i=t.root?n:a+n,r=t.handler||t;registerAction$1(e,i,r,l)})),i.forEachGetter((function(t,n){registerGetter$1(e,a+n,t,l)})),i.forEachChild((function(i,o){installModule$1(e,t,n.concat(o),i,r)}))}function makeLocalContext$1(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var o=unifyObjectStyle$1(n,i,r),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:i?e.commit:function(n,i,r){var o=unifyObjectStyle$1(n,i,r),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return makeLocalGetters$1(e,t)}},state:{get:function(){return getNestedState$1(e.state,n)}}}),r}function makeLocalGetters$1(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,i)===t){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function registerMutation$1(e,t,n,i){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,i.state,t)}))}function registerAction$1(e,t,n,i){(e._actions[t]||(e._actions[t]=[])).push((function(t){var r=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return isPromise$2(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function registerGetter$1(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function enableStrictMode$1(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}function getNestedState$1(e,t){return t.reduce((function(e,t){return e[t]}),e)}function unifyObjectStyle$1(e,t,n){return isObject$5(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function install$1(e){Vue$2&&e===Vue$2||applyMixin$1(Vue$2=e)}prototypeAccessors$1$1.state.get=function(){return this._vm._data.$$state},prototypeAccessors$1$1.state.set=function(e){},Store$1.prototype.commit=function(e,t,n){var i=this,r=unifyObjectStyle$1(e,t,n),o=r.type,a=r.payload,s={type:o,payload:a},c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,i.state)})))},Store$1.prototype.dispatch=function(e,t){var n=this,i=unifyObjectStyle$1(e,t),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before}
74)).forEach((function(e){return e.before(a,n.state)}))}catch(e){}var c=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(e){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(e){}t(e)}))}))}},Store$1.prototype.subscribe=function(e,t){return genericSubscribe$1(e,this._subscribers,t)},Store$1.prototype.subscribeAction=function(e,t){return genericSubscribe$1("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},Store$1.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},Store$1.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},Store$1.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),installModule$1(this,this.state,e,this._modules.get(e),n.preserveState),resetStoreVM$1(this,this.state)},Store$1.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=getNestedState$1(t.state,e.slice(0,-1));Vue$2.delete(n,e[e.length-1])})),resetStore$1(this)},Store$1.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},Store$1.prototype.hotUpdate=function(e){this._modules.update(e),resetStore$1(this,!0)},Store$1.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Store$1.prototype,prototypeAccessors$1$1);var mapState$1=normalizeNamespace$1((function(e,t){var n={};return normalizeMap$1(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=getModuleByNamespace$1(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,t,n):t[r]},n[i].vuex=!0})),n})),mapGetters$1=normalizeNamespace$1((function(e,t){var n={};return normalizeMap$1(t).forEach((function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||getModuleByNamespace$1(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0})),n})),mapActions$1=normalizeNamespace$1((function(e,t){var n={};return normalizeMap$1(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var o=getModuleByNamespace$1(this.$store,"mapActions",e);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n}));function normalizeMap$1(e){return isValidMap$1(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function isValidMap$1(e){return Array.isArray(e)||isObject$5(e)}function normalizeNamespace$1(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function getModuleByNamespace$1(e,t,n){return e._modulesNamespaceMap[n]}const envConfig=window.ENV;class WebComponentsService{constructor(){this.isOldSolution=!envConfig.webcomponents}libsImport(){this.isOldSolution?this.importOldWebComponents():envConfig.webcomponents&&this.loadScript("".concat(envConfig.webcomponents.libUrl,"/kio-webcomponents/kio-webcomponents.esm.js"),"module")}initHeader(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.isOldSolution)return void this.initOldHeader(e,t,!n);const i=document.querySelector("kio-header");if(i){i.name=e;const n={};Object.assign(n,t,{deviceMgmtApiUrl:envConfig.deviceMgmtApiUrl,entityMgmtApiUrl:envConfig.entityMgmtApiUrl,alertsApiUrl:envConfig.alertsApiUrl,openAlertsWSUrl:envConfig.openAlertsWSUrl}),this.lastConfig!==JSON.stringify(n)&&(i.config=n,this.lastConfig=JSON.stringify(n))}i.isMenu=n}toggleHeaderMenu(e){return"menu-close"!==e.type&&("menu-open"===e.type||(e.target.isMenuOpen=e&&!!e.detail))}initOldHeader(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i={};Object.assign(i,t,{userApiUrl:envConfig.deviceMgmtApiUrl,entityMgmtApiUrl:envConfig.entityMgmtApiUrl,titleText:e,isMenuIconHidden:n,menuOpen:!0});const r=document.querySelector("kio-header");r&&r.setAttribute("configuration",i?encodeURIComponent(JSON.stringify(i)):"")}importOldWebComponents(){this.loadScript("".concat(envConfig.webcomponentUrl,"/header/bundle.js")),this.loadScript("".concat(envConfig.webcomponentUrl,"/footer/bundle.js"))}loadScript(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/javascript",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const i=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type=t,r.src=e,n&&(r.onload=n),i.appendChild(r)}}const webComponentsService=new WebComponentsService;var script={name:"AppHeader",data:function(){return{apiKey:applicationService.apiKey,userApiUrl:applicationService.deviceMgmtApiUrl,ivPumpApiUrl:applicationService.ivPumpApiUrl,entityMgmtApiUrl:applicationService.entityMgmtApiUrl,titleText:this.$store.state.globalOptions.appName}}
74,computed:_objectSpread2(_objectSpread2({},mapState$1("globalOptions",["isMenuOpened","isMenuIconHidden"])),mapGetters$1("globalOptions",["appName"])),methods:{toggleMenu(e){const t=webComponentsService.toggleHeaderMenu(e);if(this.$store.dispatch("globalOptions/HandleLeftMenuState",t),this.$store.dispatch("globalOptions/HandleMenuHidenByUser",t),window.location.pathname.includes("ivPump"))if(t){const e=new Event("ivPump:showMenu");window.dispatchEvent(e)}else{const e=new Event("ivPump:hideMenu");window.dispatchEvent(e)}},goTo(e){this.$store.dispatch("globalOptions/HandleMenuHidenByUser",!1),this.mainMenuVisible&&this.toggleMainMenu(),this.avatarMenuVisible&&this.toggleAvatarMenu(),navigationService.execute(e),navigationService.refresh()},initHeader(){if(this.apiKey){const e=getKeycloakInstance(applicationService.keycloakUrl);webComponentsService.initHeader(this.appName,_objectSpread2({},e?{jwtToken:e.token,realm:e.realm,logoutUrl:e.createLogoutUrl({redirectUri:document.baseURI})}:{apiKey:this.apiKey}),!this.isMenuIconHidden)}}},watch:{appName(){this.initHeader()},isMenuIconHidden(){this.initHeader()}},beforeCreate(){webComponentsService.libsImport()},created(){managerService.getApiKey().then(e=>{this.apiKey=e.apiKey,this.initHeader()})}};function normalizeComponent(e,t,n,i,r,o,a,s,c,l){"boolean"!=typeof a&&(c=s,s=a,a=!1);const d="function"==typeof n?n.options:n;let u;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),o?(u=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,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=u):t&&(u=a?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(d.functional){const e=d.render;d.render=function(t,n){return u.call(n),e(t,n)}}else{const e=d.beforeCreate;d.beforeCreate=e?[].concat(e,u):[u]}return n}const __vue_script__=script;var __vue_render__=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("kio-header",{staticClass:"header",on:{menuToggle:function(t){return e.toggleMenu(t)},"menu-open":function(t){return e.toggleMenu(t)},"menu-close":function(t){return e.toggleMenu(t)}}})],1)},__vue_staticRenderFns__=[];__vue_render__._withStripped=!0;const __vue_inject_styles__=void 0,__vue_scope_id__=void 0,__vue_module_identifier__=void 0,__vue_is_functional_template__=!1,__vue_component__=normalizeComponent({render:__vue_render__,staticRenderFns:__vue_staticRenderFns__},__vue_inject_styles__,__vue_script__,__vue_scope_id__,__vue_is_functional_template__,__vue_module_identifier__,!1,void 0,void 0,void 0),leftSideNav={smartLocation:[{imgUrl:"img/icon/svg/left-navigation/icon-location-list.svg",title:i18n.get("sidebar.label.smartLocationElement"),url:"/smart-location/",active:!1,id:"0.0",children:[],expanded:!1}],policyFoundry:[{imgUrl:"img/icon/svg/left-navigation/icon-policies.svg",title:i18n.get("sidebar.label.policyFoundry"),url:ROUTE_MAP["policyFoundry.policies"].route,active:!1,id:"1.0",children:[],expanded:!1},{imgUrl:"img/icon/svg/left-navigation/icon-activity-log.svg",title:i18n.get("sidebar.label.policyFoundryLog"),url:ROUTE_MAP["policyFoundry.log"].route,active:!1,id:"1.1",children:[],expanded:!1},{imgUrl:"img/icon/svg/left-navigation/icon-actions.svg",title:i18n.get("sidebar.label.notificationsSettings"),url:null,active:!1,id:"1.2",children:[{imgUrl:"",title:i18n.get("sidebar.label.notificationsSettingsStreams"),url:ROUTE_MAP["notificationsSettings.streams"].route,active:!1,id:"1.2.0",children:[],expanded:!1},{imgUrl:"",title:i18n.get("sidebar.label.notificationsSettingsEmails"),url:ROUTE_MAP["notificationsSettings.emails"].route,active:!1,id:"1.2.1",children:[],expanded:!1},{imgUrl:"",title:i18n.get("sidebar.label.notificationsSettingsTextMessages"),url:ROUTE_MAP["notificationsSettings.textMessages"].route,active:!1,id:"1.2.2",children:[],expanded:!1}],expanded:!0}],deviceManagement:[{imgUrl:"img/icon/svg/left-navigation/icon-add-devices.svg",title:i18n.get("sidebar.label.addOrder"),url:ROUTE_MAP["order.add"].route,active:!1,id:"2.0",children:[],expanded:!1},{imgUrl:"img/icon/svg/left-navigation/icon-beacons.svg",title:i18n.get("sidebar.label.beacons"),url:ROUTE_MAP["device.list"].route,active:!1,id:"2.1",children:[],expanded:!1},{imgUrl:"img/icon/svg/left-navigation/icon-gateways.svg",title:i18n.get("sidebar.label.gatewaysElement"),url:ROUTE_MAP["gateway.list"].route,active:!1,id:"2.2",children:[],expanded:!1},{imgUrl:"img/icon/svg/left-navigation/icon-external-providers.svg",title:i18n.get("sidebar.label.externalProviders"),url:ROUTE_MAP["gateway.external"].route,active:!1,id:"2.3",children:[],expanded:!1}],accounts:[{imgUrl:"img/icon/svg/left-navigation/icon-users.svg",title:i18n.get("sidebar.label.users"),url:ROUTE_MAP["accounts.users"].route,active:!1,id:"3.0",children:[],expanded:!1},{imgUrl:"img/icon/svg/left-navigation/icon-security.svg",title:i18n.get("sidebar.label.account-overview"),url:ROUTE_MAP["account.overview"].route,active:!1,id:"3.1",children:[],expanded:!1}]};function getLinksByRoute(e,t){switch(e){case"policyFoundryList":case"policyFoundryLog":case"policyFoundryPolicyEdit":case"policyFoundryPolicyNew":case"notificationsSettings":case"notificationsSettingsStreams":case"notificationsSettingsStreamEdit":case"notificationsSettingsStreamNew":case"notificationsSettingsEmails":case"notificationsSettingsEmailEdit":case"notificationsSettingsEmailNew":case"notificationsSettingsTextMessages":case"notificationsSettingsTextMessageEdit":case"notificationsSettingsTextMessageNew":return[...t.policyFoundry];case"addOrder":case"beacon":case"beacons":case"monitoring":case"bulk-edit-beacon-legacy":case"batchConfiguration":case"batchConfigurationImport":case"batchConfigurationImportResult":case"batchConfigurationExport":case"gateway":case"gateways":case"gatewaysLocation":case"gateway-detail
74s":case"merakiIntegration":case"bulk-edit-gateway-legacy":case"externalProviders":return[...t.deviceManagement];case"users":case"users-new":case"users-edit":case"subscriptions":case"subscriptions-subscription-details":case"order-summary":case"account-overview":case"account-billing":return[...t.accounts];default:return[]}}function setActiveLink(e,t){if(e.length&&t){const n=[...e];switch(n.forEach(e=>{e.active=!1,e.children.forEach(e=>e.active=!1)}),t){case"policyFoundryList":case"policyFoundryPolicyEdit":case"policyFoundryPolicyNew":case"addOrder":case"users":case"users-new":case"users-edit":case"ivPumpMain":n[0].active=!0;break;case"notificationsSettings":case"policyFoundryLog":case"beacon":case"beacons":case"monitoring":case"bulk-edit-beacon-legacy":case"batchConfiguration":case"batchConfigurationImport":case"batchConfigurationImportResult":case"batchConfigurationExport":case"account-overview":case"order-summary":case"ivPumpPar":n[1].active=!0;break;case"gateway":case"gateways":case"gatewaysLocation":case"gateway-details":case"bulk-edit-gateway-legacy":case"account-billing":case"notificationsSettings":n[2].active=!0;break;case"notificationsSettingsStreams":case"notificationsSettingsStreamEdit":case"notificationsSettingsStreamNew":n[2].active=!0,n[2].children[0].active=!0;break;case"notificationsSettingsEmails":case"notificationsSettingsEmailEdit":case"notificationsSettingsEmailNew":n[2].active=!0,n[2].children[1].active=!0;break;case"notificationsSettingsTextMessages":case"notificationsSettingsTextMessageEdit":case"notificationsSettingsTextMessageNew":n[2].active=!0,n[2].children[2].active=!0;break;case"externalProviders":case"merakiIntegration":case"users-edit":n[3].active=!0}return n}return e}var script$1={name:"LeftNavigation",data:function(){return{allLinks:_objectSpread2({},leftSideNav),currentLinks:[],isApp:!1}},computed:_objectSpread2({},mapState$1("globalOptions",["isMenuOpened","isMenuIconHidden","isMenuHidenByUser","route"])),methods:{goTo(e){navigationService.execute(e),navigationService.refresh()},expandLink(e){this.currentLinks=this.currentLinks.map(t=>t.id===e.id?_objectSpread2(_objectSpread2({},t),{},{expanded:!t.expanded}):t)},getLinks(e){return getLinksByRoute(e,this.allLinks)},setLink(e){return setActiveLink(e,this.route)}},watch:{route:function(e){const t=this.currentLinks.length;this.currentLinks=[...this.setLink(this.getLinks(e))],this.$store.dispatch("globalOptions/HandleCurrentLeftNavigation",this.currentLinks),window.location.pathname.includes("ivPump")?(this.isApp=!0,this.$store.dispatch("globalOptions/HandleLeftMenuState",!0),this.$store.dispatch("globalOptions/HandleMenuIconState",!1),this.$store.dispatch("globalOptions/HandleMenuHidenByUser",!1)):this.currentLinks.length?(this.isApp=!1,this.isMenuOpened||this.$store.dispatch("globalOptions/HandleLeftMenuState",!(this.isMenuHidenByUser&&t)),this.$store.dispatch("globalOptions/HandleMenuIconState",!1)):(this.isApp=!1,this.$store.dispatch("globalOptions/HandleLeftMenuState",!1),this.$store.dispatch("globalOptions/HandleMenuIconState",!0),this.$store.dispatch("globalOptions/HandleMenuHidenByUser",!1))}}};const __vue_script__$1=script$1;var __vue_render__$1=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{staticClass:"navigation el-navigation hidden-sm hidden-md",class:{closed:!e.isMenuOpened||e.isApp}},e._l(e.currentLinks,(function(t){return n("div",{key:t.id},[n("div",{class:{"tab-element-view-leaf":!t.children.length,"tab-element-view-group":t.children.length}},[t.children.length&&null===t.url?n("button",{key:t.id,staticClass:"entry-link level-1",class:{active:t.active,expanded:t.expanded,collapsed:!t.expanded},on:{click:function(n){return e.expandLink(t)}}},[n("span",{staticClass:"icon"},[n("img",{attrs:{src:t.imgUrl,alt:t.title}})]),e._v(" "),n("span",{staticClass:"entry-link-label"},[e._v("\n "+e._s(t.title)+"\n ")])]):n("button",{key:t.id,staticClass:"entry-link level-1",class:{active:t.active},on:{click:function(n){return e.goTo(t.url)}}},[n("span",{staticClass:"icon"},[n("img",{attrs:{src:t.imgUrl,alt:t.title}}
74)]),e._v(" "),n("span",{staticClass:"entry-link-label"},[e._v("\n "+e._s(t.title)+"\n ")])]),e._v(" "),t.children.length&&t.expanded?n("div",{staticClass:"entries el-entries"},e._l(t.children,(function(t){return n("div",{key:t.id},[n("div",{staticClass:"tab-element-view-leaf"},[n("button",{staticClass:"entry-link level-2",class:{active:t.active},on:{click:function(n){return e.goTo(t.url)}}},[n("span",{staticClass:"entry-link-label"},[e._v("\n "+e._s(t.title)+"\n ")])])])])})),0):e._e()])])})),0)},__vue_staticRenderFns__$1=[];__vue_render__$1._withStripped=!0;const __vue_inject_styles__$1=void 0,__vue_scope_id__$1=void 0,__vue_module_identifier__$1=void 0,__vue_is_functional_template__$1=!1,__vue_component__$1=normalizeComponent({render:__vue_render__$1,staticRenderFns:__vue_staticRenderFns__$1},__vue_inject_styles__$1,__vue_script__$1,__vue_scope_id__$1,__vue_is_functional_template__$1,__vue_module_identifier__$1,!1,void 0,void 0,void 0);var vue2ClickOutside_umd_min=createCommonjsModule((function(e,t){"undefined"!=typeof self&&self,e.exports=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")}({"00ee":function(e,t,n){var i={};i[n("b622")("toStringTag")]="z",e.exports="[object z]"===String(i)},"0366":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,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"057f":function(e,t,n){var i=n("fc6a"),r=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return r(e)}catch(e){return a.slice()}}(e):r(i(e))}},"06cf":function(e,t,n){var i=n("83ab"),r=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),c=n("5135"),l=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=a(e),t=s(t,!0),l)try{return d(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},"0cfb":function(e,t,n){var i=n("83ab"),r=n("d039"),o=n("cc12");e.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"159b":function(e,t,n){var i=n("da84"),r=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in r){var c=i[s],l=c&&c.prototype;if(l&&l.forEach!==o)try{a(l,"forEach",o)}catch(e){l.forEach=o}}},"17c2":function(e,t,n){var i=n("b727").forEach,r=n("a640"),o=n("ae40"),a=r("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"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"),r=n("b622"),o=n("2d00"),a=r("species");e.exports=function(e){return o>=51||!i((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"23cb":function(e,t,n){var i=n("a691"),r=Math.max,o=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):o(n,t)}},"23e7":function(e,t,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,d,u,p,h,f=e.target,m=e.global,v=e.stat;if(n=m?i:v?i[f]||s(f,{}):(i[f]||{}).prototype)for(d in t){if(p=t[d],u=e.noTargetGet?(h=r(n,d))&&h.value:n[d],!l(m?d:f+(v?".":"#")+d,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;c(p,u)}(e.sham||u&&u.sham)&&o(p,"sham",!0),a(n,d,p,e)}}},"241c":function(e,t,n){var i=n("ca84"),r=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"2d00":function(e,t,n){var i,r,o=n("da84"),a=n("342f"),s=o.process,c=s&&s.versions,l=c&&c.v8;l?r=(i=l.split("."))[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>
vendor: 4,160 bytes, line 74
74=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=i[1]),e.exports=r&&+r},"342f":function(e,t,n){var i=n("d066");e.exports=i("navigator","userAgent")||""},"37e8":function(e,t,n){var i=n("83ab"),r=n("9bf2"),o=n("825a"),a=n("df75");e.exports=i?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),s=i.length,c=0;s>c;)r.f(e,n=i[c++],t[n]);return e}},"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){var i=n("6547").charAt,r=n("69f3"),o=n("7dd0"),a="String Iterator",s=r.set,c=r.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},4160:function(e,t,n){var i=n("23e7"),r=n("17c2");i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},"428f":function(e,t,n){var i=n("da84");e.exports=i},"44ad":function(e,t,n){var i=n("d039"),r=n("c6b6"),o="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var i=n("b622"),r=n("7c73"),o=n("9bf2"),a=i("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!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"),r=n("50c4"),o=n("23cb"),a=function(e){return function(t,n,a){var s,c=i(t),l=r(c.length),d=o(a,l);if(e&&n!=n){for(;l>d;)if((s=c[d++])!=s)return!0}else for(;l>d;d++)if((e||d in c)&&c[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(e,t,n){var i=n("23e7"),r=n("b727").filter,o=n("1dde"),a=n("ae40"),s=o("filter"),c=a("filter");i({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},"50c4":function(e,t,n){var i=n("a691"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5692:function(e,t,n){var i=n("c430"),r=n("c6cd");(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var i=n("d066"),r=n("241c"),o=n("7418"),a=n("825a");e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6547:function(e,t,n){var i=n("a691"),r=n("1d80"),o=function(e){return function(t,n){var o,a,s=String(r(t)),c=i(n),l=s.length;return c<0||c>=l?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(e,t,n){var i=n("861d"),r=n("e8b5"),o=n("b622")("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var i,r,o,a=n("7f9a"),s=n("da84"),c=n("861d"),l=n("9112"),d=n("5135"),u=n("f772"),p=n("d012"),h=s.WeakMap;if(a){var f=new h,m=f.get,v=f.has,g=f.set;i=function(e,t){return g.call(f,e,t),t},r=function(e){return m.call(f,e)||{}},o=function(e){return v.call(f,e)}}else{var b=u("state");p[b]=!0,i=function(e,t){return l(e,b,t),t},r=function(e){return d(e,b)?e[b]:{}},o=function(e){return d(e,b)}}e.exports={set:i,get:r,has:o,enforce:function(e){return o(e)?r(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"6eeb":function(e,t,n){var i=n("da84"),r=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),c=n("69f3"),l=c.get,d=c.enforce,u=String(String).split("String");
vendor: 8,293 bytes, line 74
74(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||r(n,"name",t),d(n).source=u.join("string"==typeof t?t:"")),e!==i?(c?!p&&e[t]&&(l=!0):delete e[t],l?e[t]=n:r(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var i=n("428f"),r=n("5135"),o=n("e538"),a=n("9bf2").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});r(t,e)||a(t,e,{value:o.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var i=n("1d80");e.exports=function(e){return Object(i(e))}},"7c73":function(e,t,n){var i,r=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),c=n("1be4"),l=n("cc12"),d=n("f772"),u="prototype",p="script",h=d("IE_PROTO"),f=function(){},m=function(e){return"<script>"+e+"</"+p+">"},v=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=i?function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t}(i):function(){var e,t=l("iframe");return t.style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F}();for(var e=a.length;e--;)delete v[u][a[e]];return v()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[u]=r(e),n=new f,f[u]=null,n[h]=e):n=v(),void 0===t?n:o(n,t)}},"7dd0":function(e,t,n){var i=n("23e7"),r=n("9ed3"),o=n("e163"),a=n("d2bb"),s=n("d44e"),c=n("9112"),l=n("6eeb"),d=n("b622"),u=n("c430"),p=n("3f8c"),h=n("ae93"),f=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=d("iterator"),g="keys",b="values",y="entries",A=function(){return this};e.exports=function(e,t,n,d,h,_,w){r(n,t,d);var M,k,C,S=function(e){if(e===h&&D)return D;if(!m&&e in O)return O[e];switch(e){case g:case b:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",x=!1,O=e.prototype,T=O[v]||O["@@iterator"]||h&&O[h],D=!m&&T||S(h),$="Array"==t&&O.entries||T;if($&&(M=o($.call(new e)),f!==Object.prototype&&M.next&&(u||o(M)===f||(a?a(M,f):"function"!=typeof M[v]&&c(M,v,A)),s(M,E,!0,!0),u&&(p[E]=A))),h==b&&T&&T.name!==b&&(x=!0,D=function(){return T.call(this)}),u&&!w||O[v]===D||c(O,v,D),p[t]=D,h)if(k={values:S(b),keys:_?D:S(g),entries:S(y)},w)for(C in k)(m||x||!(C in O))&&l(O,C,k[C]);else i({target:t,proto:!0,forced:m||x},k);return k}},"7f9a":function(e,t,n){var i=n("da84"),r=n("8925"),o=i.WeakMap;e.exports="function"==typeof o&&/native code/.test(r(o))},"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({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){var i=n("c04e"),r=n("9bf2"),o=n("5c6c");e.exports=function(e,t,n){var a=i(t);a in e?r.f(e,a,o(0,n)):e[a]=n}},"861d":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},8875:function(e,t,n){var i,r,o;"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(i=function(){return function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(e){var n,i,r,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e.stack)||/@([^@]*):(\d+):(\d+)\s*$/gi.exec(e.stack),a=o&&o[1]||!1,s=o&&o[2]||!1,c=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");a===c&&(n=document.documentElement.outerHTML,i=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===a)return l[d];if(a===c&&l[d].innerHTML&&l[d].innerHTML.trim()===r)return l[d]}return null}}})?i.apply(t,r):i)||(e.exports=o)},8925:function(e,t,n){var i=n("c6cd"),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return r.call(e)}),e.exports=i.inspectSource},"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)}},9112:function(e,t,n){var i=n("83ab"),r=n("9bf2"),o=n("5c6c");e.exports=i?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"94ca":function(e,t,n){var i=n("d039"),r=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==l||n!=c&&("function"==typeof t?i(t):!!t)},a=o.normalize=function(e){return String(e).replace(r,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},"9bf2":function(e,t,n){var i=n("83ab"),r=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),r)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}},"9ed3":function(e,t,n){var i=n("ae93").IteratorPrototype,r=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(i,{next:o(1,n)}),a(e,l,!1,!0),s[l]=c,e}},a4d3:function(e,t,n){var i=n("23e7"),r=n("da84"),o=n("d066"),a=n("c430"),s=n("83ab"),c=n("4930"),l=n("fdbf"),d=n("d039"),u=n("5135"),p=n("e8b5"),h=n("861d"),f=n("825a"),m=n("7b0b"),v=n("fc6a"),g=n("c04e"),b=n("5c6c"),y=n("7c73"),A=n("df75"),_=n("241c"),w=n("057f"),M=n("7418"),k=n("06cf"),C=n("9bf2"),S=n("d1e7"),E=n("9112"),x=n("6eeb"),O=n("5692"),T=n("f772"),D=n("d012"),$=n("90e3"),P=n("b622"),N=n("e538"),L=n("746f"),z=n("d44e"),I=n("69f3"),R=n("b727").forEach,B=T("hidden"),j="Symbol",q="prototype",F=P("toPrimitive"),V=I.set,W=I.getterFor(j),H=Object[q],U=r.Symbol,X=o("JSON","stringify"),Y=k.f,G=C.f,K=w.f,Q=S.f,J=O("symbols"),Z=O("op-symbols"),ee=O("string-to-symbol-registry"),te=O("symbol-to-string-registry"),ne=O("wks"),ie=r.QObject,re=!ie||!ie[q]||!ie[q].findChild,oe=s&&d((function(){return 7!=y(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=Y(H,t);i&&delete H[t],G(e,t,n),i&&e!==H&&G(H,t,i)}:G,ae=function(e,t){var n=J[e]=y(U[q]);return V(n,{type:j,tag:e,description:t}),s||(n.description=t),n},se=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof U},ce=function(e,t,n){e===H&&ce(Z,t,n),f(e);var i=g(t,!0);return f(n),u(J,i)?(n.enumerable?(u(e,B)&&e[B][i]&&(e[B][i]=!1),n=y(n,{enumerable:b(0,!1)})):(u(e,B)||G(e,B,b(1,{})),e[B][i]=!0),oe(e,i,n)):G(e,i,n)},le=function(e,t){f(e);var n=v(t),i=A(n).concat(he(n));return R(i,(function(t){s&&!de.call(n,t)||ce(e,t,n[t])})),e},de=function(e){var t=g(e,!0),n=Q.call(this,t);return!(this===H&&u(J,t)&&!u(Z,t))&&(!(n||!u(this,t)||!u(J,t)||u(this,B)&&this[B][t])||n)},ue=function(e,t){var n=v(e),i=g(t,!0);if(n!==H||!u(J,i)||u(Z,i)){var r=Y(n,i);return!r||!u(J,i)||u(n,B)&&n[B][i]||(r.enumerable=!0),r}},pe=function(e){var t=K(v(e)),n=[];return R(t,(function(e){u(J,e)||u(D,e)||n.push(e)})),n},he=function(e){var t=e===H,n=K(t?Z:v(e)),i=[];return R(n,(function(e){!u(J,e)||t&&!u(H,e)||i.push(J[e])})),i};c||(x((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=$(e),n=function(e){this===H&&n.call(Z,e),u(this,B)&&u(this[B],t)&&(this[B][t]=!1),oe(this,t,b(1,e))};return s&&re&&oe(H,t,{configurable:!0,set:n}),ae(t,e)})[q],"toString",(function(){return W(this).tag})),x(U,"withoutSetter",(function(e){return ae($(e),e)})),S.f=de,C.f=ce,k.f=ue,_.f=w.f=pe,M.f=he,N.f=function(e){return ae(P(e),e)},s&&(G(U[q],"description",{configurable:!0,get:function(){return W(this).description}}),a||x(H,"propertyIsEnumerable",de,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:U}),R(A(ne),(function(e){L(e)})),i({target:j,stat:!0,forced:!c},{for:function(e){var t=String(e);if(u(ee,t))return ee[t];var n=U(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(u(te,e))return te[e]}
vendor: 4,844 bytes, line 74
74,useSetter:function(){re=!0},useSimple:function(){re=!1}}),i({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:ce,defineProperties:le,getOwnPropertyDescriptor:ue}),i({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe,getOwnPropertySymbols:he}),i({target:"Object",stat:!0,forced:d((function(){M.f(1)}))},{getOwnPropertySymbols:function(e){return M.f(m(e))}}),X&&i({target:"JSON",stat:!0,forced:!c||d((function(){var e=U();return"[null]"!=X([e])||"{}"!=X({a:e})||"{}"!=X(Object(e))}))},{stringify:function(e,t,n){for(var i,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(i=t,(h(t)||void 0!==e)&&!se(e))return p(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!se(t))return t}),r[1]=t,X.apply(null,r)}}),U[q][F]||E(U[q],F,U[q].valueOf),z(U,j),D[B]=!0},a640:function(e,t,n){var i=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))}},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)}},ae40:function(e,t,n){var i=n("83ab"),r=n("d039"),o=n("5135"),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],l=!!o(t,"ACCESSORS")&&t.ACCESSORS,d=o(t,0)?t[0]:c,u=o(t,1)?t[1]:void 0;return s[e]=!!n&&!r((function(){if(l&&!i)return!0;var e={length:-1};l?a(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,d,u)}))}},ae93:function(e,t,n){var i,r,o,a=n("e163"),s=n("9112"),c=n("5135"),l=n("b622"),d=n("c430"),u=l("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(r=a(a(o)))!==Object.prototype&&(i=r):p=!0),null==i&&(i={}),d||c(i,u)||s(i,u,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},b041:function(e,t,n){var i=n("00ee"),r=n("f5df");e.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},b0c0:function(e,t,n){var i=n("83ab"),r=n("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,c="name";i&&!(c in o)&&r(o,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},b622:function(e,t,n){var i=n("da84"),r=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),l=r("wks"),d=i.Symbol,u=c?d:d&&d.withoutSetter||a;e.exports=function(e){return o(l,e)||(s&&o(d,e)?l[e]=d[e]:l[e]=u("Symbol."+e)),l[e]}},b64b:function(e,t,n){var i=n("23e7"),r=n("7b0b"),o=n("df75");i({target:"Object",stat:!0,forced:n("d039")((function(){o(1)}))},{keys:function(e){return o(r(e))}})},b727:function(e,t,n){var i=n("0366"),r=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,d=4==e,u=6==e,p=5==e||u;return function(h,f,m,v){for(var g,b,y=o(h),A=r(y),_=i(f,m,3),w=a(A.length),M=0,k=v||s,C=t?k(h,w):n?k(h,0):void 0;w>M;M++)if((p||M in A)&&(b=_(g=A[M],M,y),e))if(t)C[M]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return M;case 2:c.call(C,g)}else if(d)return!1;return u?-1:l||d?d:C}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},c04e:function(e,t,n){var i=n("861d");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")}},c430:function(e,t){e.exports=!1},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"),r=n("ce4e"),o="__core-js_shared__",a=i[o]||r(o,{});e.exports=a},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"),r=n("fc6a"),o=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=r(e),c=0,l=[];for(n in s)!i(a,n)&&i(s,n)&&l.push(n);for(;t.length>c;)i(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},cc12:function(e,t,n){var i=n("da84"),r=n("861d"),o=i.document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},ce4e:function(e,t,n){var i=n("da84"),r=n("9112");e.exports=function(e,t){try{r(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"),r=n("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e])||o(r[e]):i[e]&&i[e][t]||r[e]&&r[e][t]}},d1e7:function(e,t,n){var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},d28b:function(e,t,n){n("746f")("iterator")},d2bb:function(e,t,n){var i=n("825a"),r=n("3bbe");
vendor: 4,221 bytes, line 74
74e.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,o){return i(n),r(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(e,t,n){var i=n("00ee"),r=n("6eeb"),o=n("b041");i||r(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(e,t,n){var i=n("9bf2").f,r=n("5135"),o=n("b622")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},d81d:function(e,t,n){var i=n("23e7"),r=n("b727").map,o=n("1dde"),a=n("ae40"),s=o("map"),c=a("map");i({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},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"),r=n("83ab"),o=n("56ef"),a=n("fc6a"),s=n("06cf"),c=n("8418");i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,i=a(e),r=s.f,l=o(i),d={},u=0;l.length>u;)void 0!==(n=r(i,t=l[u++]))&&c(d,t,n);return d}})},ddb0:function(e,t,n){var i=n("da84"),r=n("fdbc"),o=n("e260"),a=n("9112"),s=n("b622"),c=s("iterator"),l=s("toStringTag"),d=o.values;for(var u in r){var p=i[u],h=p&&p.prototype;if(h){if(h[c]!==d)try{a(h,c,d)}catch(e){h[c]=d}if(h[l]||a(h,l,u),r[u])for(var f in o)if(h[f]!==o[f])try{a(h,f,o[f])}catch(e){h[f]=o[f]}}}},df75:function(e,t,n){var i=n("ca84"),r=n("7839");e.exports=Object.keys||function(e){return i(e,r)}},e01a:function(e,t,n){var i=n("23e7"),r=n("83ab"),o=n("da84"),a=n("5135"),s=n("861d"),c=n("9bf2").f,l=n("e893"),d=o.Symbol;if(r&&"function"==typeof d&&(!("description"in d.prototype)||void 0!==d().description)){var u={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new d(e):void 0===e?d():d(e);return""===e&&(u[t]=!0),t};l(p,d);var h=p.prototype=d.prototype;h.constructor=p;var f=h.toString,m="Symbol(test)"==String(d("test")),v=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=f.call(e);if(a(u,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:p})}},e163:function(e,t,n){var i=n("5135"),r=n("7b0b"),o=n("f772"),a=n("e177"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),i(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c: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}))},e260:function(e,t,n){var i=n("fc6a"),r=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("7dd0"),c="Array Iterator",l=a.set,d=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){l(this,{type:c,target:i(e),index:0,kind:t})}),(function(){var e=d(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"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},e439:function(e,t,n){var i=n("23e7"),r=n("d039"),o=n("fc6a"),a=n("06cf").f,s=n("83ab"),c=r((function(){a(1)}));i({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},e538:function(e,t,n){var i=n("b622");t.f=i},e893:function(e,t,n){var i=n("5135"),r=n("56ef"),o=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=r(t),s=a.f,c=o.f,l=0;l<n.length;l++){var d=n[l];i(e,d)||s(e,d,c(t,d))}}},e8b5:function(e,t,n){var i=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==i(e)}},f5df:function(e,t,n){var i=n("00ee"),r=n("c6b6"),o=n("b622")("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=i?r: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){}}
74(t=Object(e),o))?n:a?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}},f772:function(e,t,n){var i=n("5692"),r=n("90e3"),o=i("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},fb15:function(e,t,n){if(n.r(t),"undefined"!=typeof window){var i=window.document.currentScript,r=n("8875");i=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}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}function s(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}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e){return(l="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)}n("d81d"),n("b0c0"),n("a4d3"),n("4de4"),n("4160"),n("e439"),n("dbb4"),n("b64b"),n("159b"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");var d="__click-outside__";function u(e,t){var n=function(e){var t="function"==typeof e;if(!t&&"object"!==l(e))throw new Error("vue2-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||["touchstart","click"],active:!(!1===e.active)}}(t.value),i=n.events,r=n.handler,o=n.middleware;n.active&&(e[d]=i.map((function(t){return{event:t,handler:function(t){t.target!==e&&!e.contains(t.target)&&o(t)&&r(t)}}})),e[d].map((function(e){var t=e.event,n=e.handler;return document.addEventListener(t,n,!1)})))}function p(e){(e[d]||[]).map((function(e){var t=e.event,n=e.handler;return document.removeEventListener(t,n,!1)})),delete e[d]}var h={bind:u,update:function(e,t){var n=t.value,i=t.oldValue;JSON.stringify(n)!==JSON.stringify(i)&&(p(e),u(e,{value:n}))},unbind:p},f={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c({name:"click-outside"},t),i=n.name;e.directive(i,h)},directive:h},m=f;"undefined"!=typeof window&&window.Vue&&window.Vue.use(f),t.default=m},fc6a:function(e,t,n){var i=n("44ad"),r=n("1d80");e.exports=function(e){return i(r(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.iterator}})})),Vue2ClickOutside=unwrapExports(vue2ClickOutside_umd_min);const SUPPORTED_DEVICES=new Set([DeviceType.Beacon,DeviceType.CloudBeacon,DeviceType.Gateway]);class ConfigService{find(e){return apiCaller.get("/config/".concat(e)).then(e=>e,e=>404===e.status?jquery.Deferred().resolve({}).promise():jquery.Deferred().reject(e).promise())}findByUniqueIds(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return SUPPORTED_DEVICES.has(t)?(_$1.isArray(e)||(e=[e]),e.length?apiCaller.get("/config",{uniqueId:e.join(","),deviceType:t}):jquery.Deferred().resolve({configs:[]}).promise()):jquery.Deferred().resolve({configs:[]}).promise()}findAllByUniqueIds(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return SUPPORTED_DEVICES.has(t)?(_$1.isArray(e)||(e=[e]),e.length?apiCaller.getAll("configs","/config",{uniqueId:e.join(","),deviceType:t}):jquery.Deferred().resolve([]).promise()):jquery.Deferred().resolve([]).promise()}create(e){return _$1.has(e,"uniqueId")?apiCaller.post("/config/create",e).then(e=>(applicationEventBus.pushConfiguration(e),e)):jquery.Deferred().reject().promise()}update(e){return this.create(e)}remove(e){return _$1.isArray(e)||(e=[e]),apiCaller.post("/config/delete",{uniqueId:e.join(",")}).then(t=>(applicationEventBus.pushConfiguration(e.join(",")),t))}count(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return apiCaller.get("/config",_$1.extend(e,{startIndex:0,maxResult:1,queryType:QueryType.SearchMeta})).then(e=>{let{searchMeta:t}=e;return t.count?t.count:0})}}const configService=new ConfigService;class NotificationModel extends backbone.Model{constructor(){super()}defaults(){return{"pending-config-info":null,"low-battery-level-info":null}}fetch(){return jquery.when(this.countConfigs(),this.countLowBatteryLevel())}countConfigs(){return configService.count({deviceType:DeviceType.Beacon,access:DeviceAccess.Owner}).then(e=>{e?this.set("pending-config-info","".concat(e," of your devices have pending configuration awaiting")):this.set("pending-config-info","")})}countLowBatteryLevel(){return deviceService.count({q:Bql.search().where("batteryLevel").lessThan(25).buildQuery(),access:DeviceAccess.Owner}).then(e=>{e&&this.set("low-battery-level-info","".concat(e," of your devices have low battery level"))})}}var Template$c=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="menu-item-notifications js-navigation-link--notification">\n <span class="label"><i class="icon icon-bell"></i></span>\n <div class="notification-item-qty"></div>\n</a>\n<div class="menu-item-notifications-submenu">\n <div class="notification-view">\n <div id="el-info-list" class="content">\n <ul class="info-list">\n <li class="pending-config-info-container">\n <a '+s((c(n,"href2")||t&&c(t,"href2")||a).call(o,"device.list",{name:"href2",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:23},end:{line:10,column:46}}}))+' class="navigation-link" data-event="click-notificationConfig" data-eventcategory="Top bar">\n <div class="message pending-config-info"></div>\n </a>\n </li>\n <li class="low-battery-level-info-container">\n <a '+s((c(n,"href2")||t&&c(t,"href2")||a).call(o,"device.list",{name:"href2",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:23},end:{line:15,column:46}}}))+' class="navigation-link" data-event="click-notificationBattery" data-eventcategory="Top bar">\n <div class="message low-battery-level-info"></div>\n </a>\n </li>\n </ul>\n </div>\n </div>\n</div>'},useData:!0}
74);function template$2(e,t,n){const i=Template$c(e,t);return n||"undefined"==typeof $?i:$(i)}class NotificationView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{model:new NotificationModel})),this.template=template$2,applicationEventBus.onConfiguration(()=>this.load())}load(){return this.model.fetch()}render(){return this.$el.html(this.template()),this.stickit(),this}remove(){this.listView.remove(),this.unstickit(),super.remove()}bindings(){return{".notification-item-qty":{observe:["low-battery-level-info","pending-config-info"],onGet:function(e){return!!e[0]+!!e[1]}},".pending-config-info":"pending-config-info",".low-battery-level-info":"low-battery-level-info",".low-battery-level-info-container":{classes:{hidden:{observe:"low-battery-level-info",onGet:function(e){return!e}}}},".pending-config-info-container":{classes:{hidden:{observe:"pending-config-info",onGet:function(e){return!e}}}}}}}var Template$d=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="main-layout">\n <div id="header"></div>\n \n\n <div class="main-layout__body">\n <div id="navigation-panel" class="navigation el-navigation hidden-sm hidden-md"></div>\n <div class="main-layout-content" id="js-view">\n \x3c!-- --\x3e\n </div>\n </div>\n\n</div>\n'},useData:!0});function mainViewTemplate(e,t,n){const i=Template$d(e,t);return n||"undefined"==typeof $?i:$(i)}class MainView extends ContainerView{constructor(){super({el:"#js-app",template:mainViewTemplate,containerSelector:"#js-view",logger:new Logger("MainView","DarkSlateGray"),events:{"click .js-navigation-link--account":"showAccountMenu","click .js-navigation-link--notification":"showNotificationMenu","click .js-search-icon-link":"showSearch"}}),this.notificationList=new NotificationView,this.vueInstance=null,this.vueInstance2=null}renderView(e,t){return window.scrollTo(0,0),super.renderView(e,t)}start(e){this.render(applicationService.contextUiModel()),this.$el.find(".el-notifications").append(this.notificationList.render().el),this.notificationList.load(),this.model=e,this.stickit(),this.initVue()}initVue(){window.KioCloudAppSettings=applicationService.settings;const e=this.$el.find("#header")[0],t=document.getElementById("navigation-panel");Vue.config.ignoredElements=["kio-header"],this.vueInstance=new Vue({store:store,render:e=>e(__vue_component__)}),this.vueInstance2=new Vue({store:store,render:e=>e(__vue_component__$1)}),Vue2ClickOutside&&Vue.use(Vue2ClickOutside),this.vueInstance.$mount(e),this.vueInstance2.$mount(t)}bindings(){return{"#currentUserName":{observe:["firstName","lastName"],onGet:e=>{let[t,n]=e;return"".concat(t," ").concat(n)}},"#js-accounts-menu":{classes:{hidden:{observe:"role",onGet:e=>e!==ManagerRole.Admin&&e!==ManagerRole.Superuser}}},"#main-subscriptions-link":{classes:{hidden:{observe:"role",onGet:e=>e!==ManagerRole.Superuser}}}}}remove(){this.unstickit(),this.notificationList.remove(),super.remove()}showAccountMenu(e){e.preventDefault(),e.stopPropagation(),pageTrackingService.sendEvent("Expand","User menu","Top bar"),this.addOrRemoveClass(this.$el.find(".js-navigation-link--account"),"expanded"),this.$el.find(".js-navigation-link--notification").removeClass("expanded")}showNotificationMenu(e){e.preventDefault(),e.stopPropagation(),pageTrackingService.sendEvent("Expand","Notifications","Top bar"),this.$el.find(".js-navigation-link--account").removeClass("expanded"),this.addOrRemoveClass(this.$el.find(".js-navigation-link--notification"),"expanded")}showSearch(){const e=this.$el.find(".main-menu__left_search");e.hasClass("hidden-sm")?e.removeClass("hidden-sm hidden-md"):e.addClass("hidden-sm hidden-md")}addOrRemoveClass(e,t){e.hasClass(t)?e.removeClass(t):e.addClass(t)}}const mainView=new MainView;var Template$e=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div id="app-content">\n <div id="js-content-view"></div>\n</div>'},useData:!0});function template$3(e,t,n){const i=Template$e(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$f=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="tabs-tree-view display--flex">\n <div class="content flex-item" id="content-panel">\n <div class="el-header-bar"></div>\n <div class="el-content panel-content-container"></div>\n <kio-footer></kio-footer>\n </div>\n</div>\n'},useData:!0}
74);function treeTemplate(e,t,n){const i=Template$f(e,t);return n||"undefined"==typeof $?i:$(i)}class NavigationView extends backbone.View{constructor(){super({template:template$3,logger:new Logger("NavigationView","DarkSlateGray")}),this.template=template$3,this.groups={}}render(e){if(!this.currentApp||this.currentApp!==e)return this.$el.html(this.template()),this.$el.find("#js-content-view").append(this.tabsView.render(applicationService.contextUiModel()).$el),this.currentApp=e,this}clearAndRender(){return this.$el.find("#js-content-view").empty(),this.$el.find("#js-content-view").append(this.tabsView.render(applicationService.contextUiModel()).$el),this}showModule(e){mainView.setContent(this).then(()=>{this.setActiveView(e)})}addToNavigation(e){for(const t in e)e.hasOwnProperty(t)&&(this.groups[t]=e[t])}setActiveView(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.tabsView.setActiveTab(e)}load(e){return this.tabsView=new TabsTreeView({groups:this.groups,switchAttachedContent:!0,template:treeTemplate}),this.tabsView.load(e)}attach(){this.tabsView.attach()}detach(){this.tabsView.detach()}remove(){super.remove()}}const navigationView=new NavigationView;var Template$g=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="launchpad-view">\n <div class="container">\n <div class="main">\n <div class="logo"><img src="img/icon/svg/logo-kontakt.svg" alt="Kontakt.io" /></div>\n <div class="apps-container">\n <kioc-header-apps mode="bullet"></kioc-header-apps>\n <script>\n const headerEl = document.querySelector(\'kio-header\');\n const launcherEl = document.querySelector(\'kioc-header-apps\');\n launcherEl.config = headerEl.config;\n <\/script>\n </div>\n </div>\n </div>\n</div>\n'},useData:!0});function template$4(e,t,n){const i=Template$g(e,t);return n||"undefined"==typeof $?i:$(i)}class LaunchpadView extends backbone.View{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),this.template=template$4}render(){return this.$el.html(this.template({})),this}detach(){this.$el.detach()}}class LaunchpadModule extends backbone.Router{init(){navigationService.registerRoutes("home.entryPoints",this,"redirectToLaunchpad"),navigationService.registerRoutes("home",this,"goToLaunchpad"),this.launchpadView=new LaunchpadView,this.launchpadTab={launchpad:{getLink:()=>navigationService.getLaunchpadLink(),navigation:!0,showInTree:!1,icon:"dashboard",dataEvent:"click-launchpad",entries:{}}},navigationView.addToNavigation(this.launchpadTab)}goToLaunchpad(){location.assign("/launchpad/")}redirectToLaunchpad(){location.assign("/launchpad/")}}const launchpadModule=new LaunchpadModule;var backboneValidationAmd=createCommonjsModule((function(e,t){e.exports=function(e,t){return e.Validation=function(e){var t={forceUpdate:!1,selector:"name",labelFormatter:"sentenceCase",valid:Function.prototype,invalid:Function.prototype},n={formatLabel:function(e,n){return c[t.labelFormatter](e,n)},format:function(){var e=Array.prototype.slice.call(arguments),t=e.shift();return t.replace(/\{(\d+)\}/g,(function(t,n){return void 0!==e[n]?e[n]:t}))}},i=function(t,n,r){return n=n||{},r=r||"",e.each(t,(function(o,a){t.hasOwnProperty(a)&&(o&&e.isArray(o)?e.forEach(o,(function(e,t){i(e,n,r+a+"."+t+"."),n[r+a+"."+t]=e})):o&&"object"==typeof o&&o.constructor===Object&&i(o,n,r+a+"."),n[r+a]=o)})),n},r=function(){var r=function(t,n){var i=t.attributes;if(e.isFunction(i)?i=i(n):e.isString(i)&&e.isFunction(l[i])&&(i=l[i](n)),e.isArray(i))return i},a=function(t,i,r,o){return e.reduce(function(t,n){var i=t.validation&&e.result(t,"validation")[n]||{};return(e.isFunction(i)||e.isString(i))&&(i={fn:i}),e.isArray(i)||(i=[i]),e.reduce(i,(function(t,n){return e.each(e.without(e.keys(n),"msg"),(function(e){t.push({fn:d[e],val:n[e],msg:n.msg})})),t}),[])}(t,i),(function(a,s){var c=e.extend({},n,d),l=s.fn.call(c,r,i,s.val,t,o);return!1!==l&&!1!==a&&(l&&!a?e.result(s,"msg")||l:a)}),"")},s=function(t,n){return{preValidate:function(t,n){var i,r=this,o={};return e.isObject(t)?(e.each(t,(function(e,t){(i=r.preValidate(t,e))&&(o[t]=i)})),e.isEmpty(o)?void 0:o):a(this,t,n,e.extend({},this.attributes))},isValid:function(o){var s,c,l,d;return o=o||r(n,t),e.isString(o)?c=[o]:e.isArray(o)&&(c=o),c&&(s=i(this.attributes),e.each(this.associatedViews,(function(t){e.each(c,(function(i){(l=a(this,i,s[i],e.extend({},this.attributes)))?(n.invalid(t,i,l,n.selector),(d=d||{})[i]=l):n.valid(t,i,n.selector)}),this)}),this)),!0===o&&(d=this.validate()),d&&this.trigger("invalid",this,d,{validationError:d}),c?!d:!this.validation||this._isValid},validate:function(o,s){var c=this,l=!o,d=e.extend({},n,s),u=function(t,n){return n=n||e.keys(e.result(t,"validation")||{}),e.reduce(n,(function(e,t){return e[t]=void 0,e}),{})}(c,r(n,t)),p=e.extend({},u,c.attributes,o),h=i(p),f=o?i(o):h,m=function(t,n,i){var r,o={},s=!0,c=e.clone(n);return e.each(i,(function(e,n){(r=a(t,n,e,c))&&(o[n]=r,s=!1)})),{invalidAttrs:o,isValid:s}}(c,p,e.pick(h,e.keys(u)));if(c._isValid=m.isValid,e.each(c.associatedViews,(function(t){e.each(u,(function(e,n){var i=m.invalidAttrs.hasOwnProperty(n),r=f.hasOwnProperty(n);
74i||d.valid(t,n,d.selector),i&&(r||l)&&d.invalid(t,n,m.invalidAttrs[n],d.selector)}))})),e.defer((function(){c.trigger("validated",c._isValid,c,m.invalidAttrs),c.trigger("validated:"+(c._isValid?"valid":"invalid"),c,m.invalidAttrs)})),!d.forceUpdate&&e.intersection(e.keys(m.invalidAttrs),e.keys(f)).length>0)return m.invalidAttrs}}},c=function(t,n,i){n.associatedViews?n.associatedViews.push(t):n.associatedViews=[t],e.extend(n,s(t,i))},u=function(t,n){n&&t.associatedViews&&t.associatedViews.length>1?t.associatedViews=e.without(t.associatedViews,n):(delete t.validate,delete t.preValidate,delete t.isValid,delete t.associatedViews)},p=function(e){c(this.view,e,this.options)},h=function(e){u(e)};return{version:"0.11.3",configure:function(n){e.extend(t,n)},bind:function(n,i){var r=(i=e.extend({},t,o,i)).model||n.model,a=i.collection||n.collection;if(void 0===r&&void 0===a)throw"Before you execute the binding your view must have a model or a collection.\nSee http://thedersen.com/projects/backbone-validation/#using-form-model-validation for more information.";r?c(n,r,i):a&&(a.each((function(e){c(n,e,i)})),a.bind("add",p,{view:n,options:i}),a.bind("remove",h))},unbind:function(t,n){var i=(n=e.extend({},n)).model||t.model,r=n.collection||t.collection;i?u(i,t):r&&(r.each((function(e){u(e,t)})),r.unbind("add",p),r.unbind("remove",h))},mixin:s(null,t)}}(),o=r.callbacks={valid:function(e,t,n){e.$("["+n+'~="'+t+'"]').removeClass("invalid").removeAttr("data-error")},invalid:function(e,t,n,i){e.$("["+i+'~="'+t+'"]').addClass("invalid").attr("data-error",n)}},a=r.patterns={digits:/^\d+$/,number:/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/,email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,url:/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i},s=r.messages={required:"{0} is required",acceptance:"{0} must be accepted",min:"{0} must be greater than or equal to {1}",max:"{0} must be less than or equal to {1}",range:"{0} must be between {1} and {2}",length:"{0} must be {1} characters",minLength:"{0} must be at least {1} characters",maxLength:"{0} must be at most {1} characters",rangeLength:"{0} must be between {1} and {2} characters",oneOf:"{0} must be one of: {1}",equalTo:"{0} must be the same as {1}",digits:"{0} must only contain digits",number:"{0} must be a number",email:"{0} must be a valid email",url:"{0} must be a valid url",inlinePattern:"{0}
74 is invalid"},c=r.labelFormatters={none:function(e){return e},sentenceCase:function(e){return e.replace(/(?:^\w|[A-Z]|\b\w)/g,(function(e,t){return 0===t?e.toUpperCase():" "+e.toLowerCase()})).replace(/_/g," ")},label:function(e,t){return t.labels&&t.labels[e]||c.sentenceCase(e,t)}},l=r.attributeLoaders={inputNames:function(e){var t=[];return e&&e.$("form [name]").each((function(){/^(?:input|select|textarea)$/i.test(this.nodeName)&&this.name&&"submit"!==this.type&&-1===t.indexOf(this.name)&&t.push(this.name)})),t}},d=r.validators=function(){var t=String.prototype.trim?function(e){return null===e?"":String.prototype.trim.call(e)}:function(e){return null===e?"":e.toString().replace(/^\s+/,"").replace(/\s+$/,"")},n=function(t){return e.isNumber(t)||e.isString(t)&&t.match(a.number)},i=function(n){return!(e.isNull(n)||e.isUndefined(n)||e.isString(n)&&""===t(n)||e.isArray(n)&&e.isEmpty(n))};return{fn:function(t,n,i,r,o){return e.isString(i)&&(i=r[i]),i.call(r,t,n,o)},required:function(t,n,r,o,a){var c=e.isFunction(r)?r.call(o,t,n,a):r;return!(!c&&!i(t))&&(c&&!i(t)?this.format(s.required,this.formatLabel(n,o)):void 0)},acceptance:function(t,n,i,r){if("true"!==t&&(!e.isBoolean(t)||!1===t))return this.format(s.acceptance,this.formatLabel(n,r))},min:function(e,t,i,r){if(!n(e)||e<i)return this.format(s.min,this.formatLabel(t,r),i)},max:function(e,t,i,r){if(!n(e)||e>i)return this.format(s.max,this.formatLabel(t,r),i)},range:function(e,t,i,r){if(!n(e)||e<i[0]||e>i[1])return this.format(s.range,this.formatLabel(t,r),i[0],i[1])},length:function(t,n,i,r){if(!e.isString(t)||t.length!==i)return this.format(s.length,this.formatLabel(n,r),i)},minLength:function(t,n,i,r){if(!e.isString(t)||t.length<i)return this.format(s.minLength,this.formatLabel(n,r),i)},maxLength:function(t,n,i,r){if(!e.isString(t)||t.length>i)return this.format(s.maxLength,this.formatLabel(n,r),i)},rangeLength:function(t,n,i,r){if(!e.isString(t)||t.length<i[0]||t.length>i[1])return this.format(s.rangeLength,this.formatLabel(n,r),i[0],i[1])},oneOf:function(t,n,i,r){if(!e.include(i,t))return this.format(s.oneOf,this.formatLabel(n,r),i.join(", "))},equalTo:function(e,t,n,i,r){if(e!==r[n])return this.format(s.equalTo,this.formatLabel(t,i),this.formatLabel(n,i))},pattern:function(e,t,n,r){if(!i(e)||!e.toString().match(a[n]||n))return this.format(s[n]||s.inlinePattern,this.formatLabel(t,r),n)}}}();return e.each(d,(function(t,i){d[i]=e.bind(d[i],e.extend({},n,d))})),r}(t),e.Validation}(backbone,_$1)}));backboneValidationAmd.configure({forceUpdate:!0,labelFormatter:"label"});const lookForInputElement=(e,t)=>{let n=e.$el.find('[name="'.concat(t,'"]'));return n.length||(n=e.$el.find('[name="'.concat(t,'[]"]'))),n},lookForErrorContainer=(e,t)=>t.data("error-container")?e.$el.find(t.data("error-container")):t.closest(".form-group").find(".error-container");_$1.extend(backboneValidationAmd.validators,{eddystoneURLLength:function(e,t,n,i){try{if(backboneValidationAmd.validators.maxLength(EddystoneUtil.encode(e),t,n,i))return i18n.get("device.properties.property.url.error")}catch(e){return e}},minFn:function(e,t,n,i){return backboneValidationAmd.validators.min(e,t,n(i),i)},validJSON:function(e,t,n,i){try{if(!_$1.isString(e))return;JSON.parse(e)}catch(e){return this.format("{0} must be a valid JSON",this.formatLabel(t,i))}}}),_$1.extend(backboneValidationAmd.callbacks,{valid:function(e,t){const n=lookForInputElement(e,t);if(!n.length)return;const i=lookForErrorContainer(e,n);n.removeClass("form-input--error"),i.length&&i.html("").addClass("hidden")},invalid:function(e,t,n){const i=lookForInputElement(e,t);if(!i.length)return;const r=lookForErrorContainer(e,i);i.addClass("form-input--error"),r.length&&r.html(n).removeClass("hidden")}});class ValidationService{bind(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.skipEmptyProperties&&t.model&&t.model.validation&&(t.attributes?t.attributes=function(){const e=t.attributes;return function(){return(_$1.isFunction(e)?e():e).filter(e=>!_$1.isEmpty(t.model.get(e)))}}():t.attributes=function(){return _$1.chain(_$1.result(t.model,"validation")).keys().filter(e=>
74!_$1.isNull(t.model.get(e))).value()}),backboneValidationAmd.bind(e,t)}unbind(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};backboneValidationAmd.unbind(e,t)}disabledBindingOnInvalid(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{attributes:[{name:"disabled",observe:n,onGet:()=>!e.isValid()}]}}observe(e){return _$1.isString(e)?{observe:e,setOptions:{validate:!0}}:_$1.isObject(e)?(e.setOptions={validate:!0},e):{}}}const validationService=new ValidationService;var Template$h=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"entity"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:35,column:11}}}))?o:""},2:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group form-group--'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:43},end:{line:3,column:55}}}):a)+" "+l("function"==typeof(a=null!=(a=d(n,"classes")||(null!=t?d(t,"classes"):t))?a:c)?a.call(s,{name:"classes",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:56},end:{line:3,column:67}}}):a)+'">\n <div class="form-label-container">\n'+(null!=(o=d(n,"unless").call(s,null!=t?d(t,"hideLabel"):t,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:16},end:{line:10,column:27}}}))?o:"")+' <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container">\n <input name="'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:29},end:{line:14,column:41}}}):a)+'" id="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:47},end:{line:14,column:111}}}))?o:"")+'"\n type="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"fieldType"):t,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.program(12,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:29},end:{line:15,column:78}}}))?o:"")+'"\n '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"fieldValue"):t,{name:"if",hash:{},fn:e.program(14,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:16,column:23},end:{line:16,column:70}}}))?o:"")+"\n "+(null!=(o=d(n,"if").call(s,null!=t?d(t,"min"):t,{name:"if",hash:{},fn:e.program(16,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:17,column:20},end:{line:17,column:53}}}))?o:"")+"\n "+(null!=(o=d(n,"if").call(s,null!=t?d(t,"max"):t,{name:"if",hash:{},fn:e.program(18,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:18,column:20},end:{line:18,column:53}}}))?o:"")+"\n "+(null!=(o=d(n,"if").call(s,null!=t?d(t,"placeholder"):t,{name:"if",hash:{},fn:e.program(20,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:19,column:20},end:{line:19,column:82}}}))?o:"")+'\n class="form-input '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"autocomplete"):t,{name:"if",hash:{},fn:e.program(22,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:41},end:{line:20,column:80}}}))?o:"")+" "+(null!=(o=d(n,"if").call(s,null!=t?d(t,"classesInput"):t,{name:"if",hash:{},fn:e.program(24,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:81},end:{line:20,column:126}}}))?o:"")+'"\n '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"readonly"):t,{name:"if",hash:{},fn:e.program(26,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:21,column:20},end:{line:21,column:63}}}))?o:"")+"\n "+(null!=(o=d(n,"if").call(s,null!=t?d(t,"disabled"):t,{name:"if",hash:{},fn:e.program(28,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:22,column:20},end:{line:22,column:53}}}))?o:"")+">\n"+(null!=(o=d(n,"if").call(s,null!=t?d(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(30,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:23,column:16},end:{line:29,column:23}}}))?o:"")+(null!=(o=e.invokePartial(d(i,"form-input-sibling"),t,{name:"form-input-sibling",fn:e.program(32,r,0),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n </div>\n"},3:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <label for="'+(null!=(o=s(n,"if").call(a,null!=t?s(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:32},end:{line:6,column:96}}}))?o:"")+'" class="form-label">\n '+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,null!=t?s(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:24},end:{line:7,column:38}}}))+"\n "+(null!=(o=s(n,"if").call(a,null!=t?s(t,"required"):t,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:24},end:{line:8,column:76}}}))?o:"")+"\n </label>\n"},4:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"inputId")||(null!=t?a(t,"inputId"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"inputId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:47}
vendor: 9,018 bytes, line 74
74,end:{line:6,column:58}}}):o)},6:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return c("function"==typeof(o=null!=(o=l(n,"entity")||(null!=t?l(t,"entity"):t))?o:s)?o.call(a,{name:"entity",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:66},end:{line:6,column:76}}}):o)+"-"+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:77},end:{line:6,column:89}}}):o)},8:function(e,t,n,i,r){return'<sup class="required">*</sup>'},10:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"fieldType")||(null!=t?a(t,"fieldType"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"fieldType",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:46},end:{line:15,column:59}}}):o)},12:function(e,t,n,i,r){return"text"},14:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'value="'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"fieldValue")||(null!=t?a(t,"fieldValue"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"fieldValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:16,column:48},end:{line:16,column:62}}}):o)+'"'},16:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' min="'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"min")||(null!=t?a(t,"min"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"min",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:17,column:37},end:{line:17,column:44}}}):o)+'" '},18:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' max="'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"max")||(null!=t?a(t,"max"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"max",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:18,column:37},end:{line:18,column:44}}}):o)+'" '},20:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' placeholder="'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"placeholder"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:19,column:53},end:{line:19,column:73}}}))+'" '},22:function(e,t,n,i,r){return"autocomplete"},24:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"classesInput")||(null!=t?a(t,"classesInput"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"classesInput",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:102},end:{line:20,column:118}}}):o)+" "},26:function(e,t,n,i,r){return' readonly="readonly"'},28:function(e,t,n,i,r){return" disabled "},30:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="form-input-add-on transparent '+l("function"==typeof(a=null!=(a=d(n,"entity")||(null!=t?d(t,"entity"):t))?a:c)?a.call(s,{name:"entity",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:24,column:63},end:{line:24,column:73}}}):a)+'-property-help">\n <i class="icon icon-question-mark"\n id="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:26,column:31},end:{line:26,column:95}}}))?o:"")+'-help"\n data-tooltip-content="'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,null!=t?d(t,"tooltip"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:27,column:49},end:{line:27,column:65}}}))+'"></i>\n </span>\n'},32:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"property"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:36,column:7}}}))?o:""},usePartial:!0,useData:!0});Handlebars.registerPartial("common-form-group-partial",Template$h);var Template$i=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"entity"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:25,column:11}}}))?o:""},2:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group form-group--'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:43},end:{line:3,column:55}}}):a)+" "+l("function"==typeof(a=null!=(a=d(n,"classes")||(null!=t?d(t,"classes"):t))?a:c)?a.call(s,{name:"classes",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:56},end:{line:3,column:67}}}):a)+'">\n <div class="form-label-container">\n'+(null!=(o=d(n,"unless").call(s,null!=t?d(t,"hideLabel"):t,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:16},end:{line:10,column:27}}}))?o:"")+' <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container">\n'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:16},end:{line:20,column:23}}}))?o:"")+' <select name="'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:21,column:30},end:{line:21,column:42}}}):a)+'" id="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:21,column:48},end:{line:21,column:112}}}))?o:"")+'"\n class="form-input '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"dropdown"):t,{name:"if",hash:{},fn:e.program(12,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:22,column:42},end:{line:22,column:73}}}))?o:"")+'" '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"dataEvent"):t,{name:"if",hash:{},fn:e.program(14,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:22,column:75},end:{line:22,column:132}}}))?o:"")+" "+(null!=(o=d(n,"if").call(s,null!=t?d(t,"multiple"):t,{name:"if",hash:{},fn:e.program(16,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:22,column:133},end:{line:22,column:164}}}))?o:"")+"></select>\n </div>\n </div>\n"},3:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <label for="'+(null!=(o=s(n,"if").call(a,null!=t?s(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:32},end:{line:6,column:96}}}))?o:"")+'" class="form-label">\n '+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,null!=t?s(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:24},end:{line:7,column:38}}}))+"\n "+(null!=(o=s(n,"if").call(a,null!=t?s(t,"required"):t,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:24},end:{line:8,column:76}}}))?o:"")+"\n </label>\n"},4:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"inputId")||(null!=t?a(t,"inputId"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"inputId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:47}
74,end:{line:6,column:58}}}):o)},6:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return c("function"==typeof(o=null!=(o=l(n,"entity")||(null!=t?l(t,"entity"):t))?o:s)?o.call(a,{name:"entity",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:66},end:{line:6,column:76}}}):o)+"-"+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:77},end:{line:6,column:89}}}):o)},8:function(e,t,n,i,r){return'<sup class="required">*</sup>'},10:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="form-input-add-on transparent '+l("function"==typeof(a=null!=(a=d(n,"entity")||(null!=t?d(t,"entity"):t))?a:c)?a.call(s,{name:"entity",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:63},end:{line:15,column:73}}}):a)+'-property-help">\n <i class="icon icon-question-mark"\n id="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:17,column:31},end:{line:17,column:95}}}))?o:"")+'-help"\n data-tooltip-content="'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,null!=t?d(t,"tooltip"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:18,column:49},end:{line:18,column:65}}}))+'"></i>\n </span>\n'},12:function(e,t,n,i,r){return"dropdown"},14:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' data-event="select-'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"property")||(null!=t?a(t,"property"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:22,column:112},end:{line:22,column:124}}}):o)+'"'},16:function(e,t,n,i,r){return"multiple"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"property"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:26,column:7}}}))?o:""},useData:!0});Handlebars.registerPartial("common-form-group--select-partial",Template$i);var Template$j=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<a class="button cancel-new js-navigation-link-back" data-event="back-cancel">Cancel</a>\n'},useData:!0});Handlebars.registerPartial("cancel-link-partial",Template$j);var Template$k=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="create-user-view">\n <div class="content-wrapper">\n <div class="smart-location-view">\n <div class="nav-links">\n <a '+c((l(n,"href")||t&&l(t,"href")||s).call(a,"accounts.users",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:11},end:{line:5,column:36}}}))+' title="Users" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+c((l(n,"href")||t&&l(t,"href")||s).call(a,"accounts.users",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:11},end:{line:8,column:36}}}))+' title="Users" class="navigation-link nav-link router-link-active">Users</a> /\n <span class="nav-target">Add user</span>\n </div>\n </div>\n <h2 class="main-header">Add user</h2>\n </div>\n <div class="margin">\n <div class="tab-content">\n <form action="" class="form js-event-form" id="create-user-form" data-event="post-addUserForm">\n <h3 class="bordered-header">User properties</h3>\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 sm-grid-column-12 padding-right--small sm-no-padding">\n'+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"Firstname:",entity:"user",property:"firstName"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"Lastname:",entity:"user",property:"lastName"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"Email:",entity:"user",property:"email"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(l(i,"common-form-group--select-partial"),t,{name:"common-form-group--select-partial",hash:{dropdown:!0,label:"Role:",entity:"user",property:"role"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="grid-column-6 sm-grid-column-12 padding-left--small form-group sm-no-padding">\n <div class="alert-box info">\n <p>\n <strong>ADMIN</strong> - can configure devices that have been assigned to them by\n SUPERUSER, they can\n also\n create new users with a role of OPERATOR. Your company can have multiple ADMIN managers.\n </p>\n <p>\n <strong>OPERATOR</strong> - can configure devices that have been assigned to them. Your\n company can have\n multiple OPERATOR managers.\n </p>\n </div>\n </div>\n </div>\n <div class="margin-top padding-top--large border-top--gray-2 text-align--right">\n'+(null!=(o=e.invokePartial(l(i,"cancel-link-partial"),t,{name:"cancel-link-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' <button class="button js-submit" type="submit">Add user</button>\n </div>\n </form>\n </div>\n </div>\n</div>\n'},usePartial:!0,useData:!0}
74);function createUserTemplate(e,t,n){const i=Template$k(e,t);return n||"undefined"==typeof $?i:$(i)}class CreateUserView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{model:new ManagerModel,events:{"submit #create-user-form":"saveUser"}})),this.template=createUserTemplate}render(){return this.$el.html(this.template(this.viewModel())),this}attach(){this.stickit(),validationService.bind(this,{attributes:this.model.validationEditor()})}detach(){validationService.unbind(this),this.unstickit(),this.model.set(this.model.defaults()),this.$el.detach()}bindings(){return{"#user-firstName":validationService.observe("firstName"),"#user-lastName":validationService.observe("lastName"),"#user-email":validationService.observe("email"),"#user-role":validationService.observe({observe:"role",selectOptions:{collection:_$1.toArray(ManagerRole).map(e=>({value:e,label:e,disabled:!securityService.allowOnManager("assignRole".concat(e),applicationService.managerModel)}))}})}}saveUser(e){if(e.preventDefault(),!this.model.isValid(!0))return;const t=this.model.save().then(()=>applicationService.refreshManager(!0)).then(()=>this.redirectAfterCreation(),toastr.detailedError);l.pushPromise(t)}viewModel(){return{}}redirectAfterCreation(){toastr.success("User has been created successfully"),navigationService.goToUserEditor(this.model.id,{trigger:!0,replace:!0})}}var Template$l=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="create-user-view">\n <div class="content-wrapper">\n <div class="smart-location-view">\n <div class="nav-links">\n <a '+c((l(n,"href")||t&&l(t,"href")||s).call(a,"accounts.users",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:19},end:{line:5,column:44}}}))+' title="Users" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+c((l(n,"href")||t&&l(t,"href")||s).call(a,"accounts.users",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:19},end:{line:8,column:44}}}))+' title="Users" class="navigation-link nav-link router-link-active">Users</a> /\n <span class="nav-target">Edit user</span>\n </div>\n </div>\n <h2 class="main-header">\n Edit user\n </h2>\n </div>\n\n <div class="margin">\n <div class="tab-content">\n <form action="" class="form" id="update-user-form">\n\n <h3 class="bordered-header">\n User properties\n </h3>\n\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 sm-grid-column-12 padding-right--small sm-no-padding">\n'+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"Firstname:",entity:"user",property:"firstName"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"Lastname:",entity:"user",property:"lastName"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"Email:",entity:"user",property:"email"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(l(i,"common-form-group--select-partial"),t,{name:"common-form-group--select-partial",hash:{dropdown:!0,label:"Role:",entity:"user",property:"role"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="grid-column-6 sm-grid-column-12 padding-left--small form-group sm-no-padding">\n <div class="alert-box info">\n <p>\n <strong>ADMIN</strong> - can configure devices that have been assigned to them by\n SUPERUSER, they can\n also\n create new users with a role of OPERATOR. Your company can have multiple ADMIN managers.\n </p>\n <p>\n <strong>OPERATOR</strong> - can configure devices that have been assigned to them. Your\n company can have\n multiple OPERATOR managers.\n </p>\n </div>\n </div>\n </div>\n\n <div class="margin-top padding-top--large border-top--gray-2 text-align--right">\n <a class="button cancel-new js-navigation-link-back">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"general.cancel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:54,column:24},end:{line:54,column:49}}}))+'\n </a>\n <button class="button js-submit" type="submit">\n Save\n </button>\n </div>\n\n </form>\n </div>\n </div>\n</div>\n'},usePartial:!0,useData:!0}
74);function updateUserTemplate(e,t,n){const i=Template$l(e,t);return n||"undefined"==typeof $?i:$(i)}class UpdateUserView extends CreateUserView{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{events:{"submit #update-user-form":"saveUser"}})),this.template=updateUserTemplate}load(e){return this.model.set({id:e}),this.model.fetch()}redirectAfterCreation(){toastr.success("User has been updated successfully")}bindings(){const e=()=>[{name:"disabled",observe:"role",onGet:e=>e===ManagerRole.Superuser}];return{"#user-firstName":validationService.observe("firstName"),"#user-lastName":validationService.observe("lastName"),"#user-email":validationService.observe({observe:"email",attributes:e()}),"#user-role":validationService.observe({observe:"role",selectOptions:{collection:_$1.toArray(ManagerRole).map(e=>({value:e,label:e,disabled:!securityService.allowOnManager("assignRole".concat(e),applicationService.managerModel)}))},attributes:e()})}}}var tether=createCommonjsModule((function(e,t){ 75/*! tether 1.4.7 */ 76e.exports=function(){var e=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}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=void 0;void 0===n&&(n={modules:[]});var i=null;function r(e){var t=e.getBoundingClientRect(),n={};for(var i in t)n[i]=t[i];try{if(e.ownerDocument!==document){var o=e.ownerDocument.defaultView.frameElement;if(o){var a=r(o);n.top+=a.top,n.bottom+=a.top,n.left+=a.left,n.right+=a.left}}}catch(e){}return n}function o(e){var t=(getComputedStyle(e)||{}).position,n=[];if("fixed"===t)return[e];for(var i=e;(i=i.parentNode)&&i&&1===i.nodeType;){var r=void 0;try{r=getComputedStyle(i)}catch(e){}if(null==r)return n.push(i),n;var o=r,a=o.overflow,s=o.overflowX,c=o.overflowY;/(auto|scroll|overlay)/.test(a+c+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(r.position)>=0)&&n.push(i)}return n.push(e.ownerDocument.body),e.ownerDocument!==document&&n.push(e.ownerDocument.defaultView),n}var a,s=(a=0,function(){return++a}),c={};function l(){i&&document.body.removeChild(i),i=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var n=t.documentElement,o=r(e),a=function(){var e=i;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),f(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),i=e);var t=e.getAttribute("data-tether-id");return void 0===c[t]&&(c[t]=r(e),w((function(){delete c[t]}))),c[t]}();return o.top-=a.top,o.left-=a.left,void 0===o.width&&(o.width=document.body.scrollWidth-o.left-o.right),void 0===o.height&&(o.height=document.body.scrollHeight-o.top-o.bottom),o.top=o.top-n.clientTop,o.left=o.left-n.clientLeft,o.right=t.body.clientWidth-o.width-o.left,o.bottom=t.body.clientHeight-o.height-o.top,o}function u(e){return e.offsetParent||document.documentElement}var p=null;function h(){if(p)return p;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");f(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var i=e.offsetWidth;n===i&&(i=t.clientWidth),document.body.removeChild(t);var r=n-i;return p={width:r,height:r}}function f(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function m(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var n=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),i=b(e).replace(n," ");y(e,i)}}function v(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{m(e,t);var n=b(e)+" "+t;y(e,n)}}function g(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=b(e);return new RegExp("(^| )"+t+"( |$)","gi").test(n)}function b(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function y(e,t){e.setAttribute("class",t)}
76function A(e,t,n){n.forEach((function(n){-1===t.indexOf(n)&&g(e,n)&&m(e,n)})),t.forEach((function(t){g(e,t)||v(e,t)}))}var _=[],w=function(e){_.push(e)},M=function(){for(var e=void 0;e=_.pop();)e()},k=function(){function n(){t(this,n)}return e(n,[{key:"on",value:function(e,t,n){var i=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:i})}},{key:"once",value:function(e,t,n){this.on(e,t,n,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var n=0;n<this.bindings[e].length;)this.bindings[e][n].handler===t?this.bindings[e].splice(n,1):++n}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(;t<this.bindings[e].length;){var o=this.bindings[e][t],a=o.handler,s=o.ctx,c=o.once,l=s;void 0===l&&(l=this),a.apply(l,i),c?this.bindings[e].splice(t,1):++t}}}}]),n}();n.Utils={getActualBoundingClientRect:r,getScrollParents:o,getBounds:d,getOffsetParent:u,extend:f,addClass:v,removeClass:m,hasClass:g,updateClasses:A,defer:w,flush:M,uniqueId:s,Evented:k,getScrollBarSize:h,removeUtilElements:l};var C=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")};function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}if(e=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}}(),void 0===n)throw new Error("You must include the utils.js file before tether.js");var o=(X=n.Utils).getScrollParents,u=(d=X.getBounds,X.getOffsetParent),v=(f=X.extend,X.addClass),m=X.removeClass,h=(A=X.updateClasses,w=X.defer,M=X.flush,X.getScrollBarSize),l=X.removeUtilElements;function S(e,t){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+n>=t&&t>=e-n}var E,x,O,T,D=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<t.length;++n){var i=t[n];if(void 0!==e.style[i])return i}}(),$=[],P=function(){$.forEach((function(e){e.position(!1)})),M()};function N(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}E=null,x=null,O=null,T=function e(){if(void 0!==x&&x>16)return x=Math.min(x-16,250),void(O=setTimeout(e,250));void 0!==E&&N()-E<10||(null!=O&&(clearTimeout(O),O=null),E=N(),P(),x=N()-E)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,T)}));var L={center:"center",left:"right",right:"left"},z={middle:"middle",top:"bottom",bottom:"top"},I={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},R=function(e,t){var n=e.left,i=e.top;return"auto"===n&&(n=L[t.left]),"auto"===i&&(i=z[t.top]),{left:n,top:i}},B=function(e){var t=e.left,n=e.top;return void 0!==I[e.left]&&(t=I[e.left]),void 0!==I[e.top]&&(n=I[e.top]),{left:t,top:n}};function j(){for(var e={top:0,left:0},t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.forEach((function(t){var n=t.top,i=t.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof i&&(i=parseFloat(i,10)),e.top+=n,e.left+=i})),e}function q(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var F=function(e){var t=e.split(" "),n=C(t,2);return{top:n[0],left:n[1]}},V=F,W=function(i){function r(e){var i=this;t(this,r),function(e,t,n){for(var i=!0;i;){var r=e,o=t,a=n;i=!1,null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}var l=Object.getPrototypeOf(r);if(null===l)return;e=l,t=o,n=a,i=!0,s=l=void 0}}(Object.getPrototypeOf(r.prototype),"constructor",this).call(this),this.position=this.position.bind(this),$.push(this),this.history=[],this.setOptions(e,!1),n.modules.forEac
76h((function(e){void 0!==e.initialize&&e.initialize.call(i)})),this.position()}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)}(r,i),e(r,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],i={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=f(i,e);var r=this.options,a=r.element,s=r.target,c=r.targetModifier;if(this.element=a,this.target=s,this.targetModifier=c,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),v(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&v(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=V(this.options.targetAttachment),this.attachment=V(this.options.attachment),this.offset=F(this.options.offset),this.targetOffset=F(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),!1!==this.options.enabled&&this.enable(n)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((o={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(o.height,e.height-(pageYOffset-e.top)),o.height=Math.min(o.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,e.width-(pageXOffset-e.left)),o.width=Math.min(o.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.top<pageYOffset&&(o.top=pageYOffset),o.left<pageXOffset&&(o.left=pageXOffset),o);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var n=getComputedStyle(t),i=0;(t.scrollWidth>t.clientWidth||[n.overflow,n.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(i=15);var r=e.height-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth)-i,o={width:15,height:.975*r*(r/t.scrollHeight),left:e.left+e.width-parseFloat(n.borderLeftWidth)-15},a=0;r<408&&this.target===document.body&&(a=-11e-5*Math.pow(r,2)-.00727*r+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24));var s=this.target.scrollTop/(t.scrollHeight-r);return o.top=s*(r-o.height-a)+e.top+parseFloat(n.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&v(this.target,this.getClass("enabled")),v(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;m(this.target,this.getClass("enabled")),m(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEac
76h((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),$.forEach((function(t,n){t===e&&$.splice(n,1)})),0===$.length&&l()}},{key:"updateAttachClasses",value:function(e,t){var n=this;e=e||this.attachment,t=t||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var i=this._addAttachClasses;e.top&&i.push(this.getClass("element-attached")+"-"+e.top),e.left&&i.push(this.getClass("element-attached")+"-"+e.left),t.top&&i.push(this.getClass("target-attached")+"-"+t.top),t.left&&i.push(this.getClass("target-attached")+"-"+t.left);var r=[];["left","top","bottom","right","middle","center"].forEach((function(e){r.push(n.getClass("element-attached")+"-"+e),r.push(n.getClass("target-attached")+"-"+e)})),w((function(){void 0!==n._addAttachClasses&&(A(n.element,n._addAttachClasses,r),!1!==n.options.addTargetClasses&&A(n.target,n._addAttachClasses,r),delete n._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var i=R(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,i);var r=this.cache("element-bounds",(function(){return d(e.element)})),o=r.width,a=r.height;if(0===o&&0===a&&void 0!==this.lastSize){var s=this.lastSize;o=s.width,a=s.height}else this.lastSize={width:o,height:a};var c=this.cache("target-bounds",(function(){return e.getTargetBounds()})),l=c,p=q(B(this.attachment),{width:o,height:a}),f=q(B(i),l),m=q(this.offset,{width:o,height:a}),v=q(this.targetOffset,l);p=j(p,m),f=j(f,v);for(var g=c.left+f.left-p.left,b=c.top+f.top-p.top,y=0;y<n.modules.length;++y){var A=n.modules[y],_=A.position.call(this,{left:g,top:b,targetAttachment:i,targetPos:c,elementPos:r,offset:p,targetOffset:f,manualOffset:m,manualTargetOffset:v,scrollbarSize:S,attachment:this.attachment});if(!1===_)return!1;void 0!==_&&"object"==typeof _&&(b=_.top,g=_.left)}var w={page:{top:b,left:g},viewport:{top:b-pageYOffset,bottom:pageYOffset-b-a+innerHeight,left:g-pageXOffset,right:pageXOffset-g-o+innerWidth}},k=this.target.ownerDocument,C=k.defaultView,S=void 0;return C.innerHeight>k.documentElement.clientHeight&&(S=this.cache("scrollbar-size",h),w.viewport.bottom-=S.height),C.innerWidth>k.documentElement.clientWidth&&(S=this.cache("scrollbar-size",h),w.viewport.right-=S.width),-1!==["","static"].indexOf(k.body.style.position)&&-1!==["","static"].indexOf(k.body.parentElement.style.position)||(w.page.bottom=k.body.scrollHeight-b-a,w.page.right=k.body.scrollWidth-g-o),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return u(e.target)})),n=e.cache("target-offsetparent-bounds",(function(){return d(t)})),i=getComputedStyle(t),r=n,o={};if(["Top","Left","Bottom","Right"].forEach((function(e){o[e.toLowerCase()]=parseFloat(i["border"+e+"Width"])})),n.right=k.body.scrollWidth-n.left-r.width+o.right,n.bottom=k.body.scrollHeight-n.top-r.height+o.bottom,w.page.top>=n.top+o.top&&w.page.bottom>=n.bottom&&w.page.left>=n.left+o.left&&w.page.right>=n.right){var a=t.scrollTop,s=t.scrollLeft;w.offset={top:w.page.top-n.top+a-o.top,left:w.page.left-n.left+s-o.left}}}(),this.move(w),this.history.unshift(w),this.history.length>3&&this.history.pop(),t&&M(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var n={};for(var i in e)for(var r in n[i]={},e[i]){for(var o=!1,a=0;a<this.history.length;++a){var s=this.history[a];if(void 0!==s[i]&&!S(s[i][r],e[i][r])){o=!0;break}}o||(n[i][r]=!0)}var c={top:"",left:"",right:"",bottom:""},l=function(e,n){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var i=void 0,r=void 0;e.top?(c.top=0,i=n.top):(c.bottom=0,i=-n.bottom),e.left?(c.left=0,r=n.left):(c.right=0,r=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(r=Math.round(r*devicePixelRatio)/devicePixelRatio,i=Math.round(i*devicePixelRatio)/devicePixelRatio),c[D]="translateX("+r+"px) translateY("+i+"px)","msTransform"!==D&&(c[D]+=" translateZ(0)")}else e.top?c.top=n.top+"px":c.bottom=n.bottom+"px",e.left?c.left=n.left+"px":c.right=n.right+"px"},d=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(c.position="absolute",l(n.page,e.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(c.position="fixed",l
76(n.viewport,e.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){c.position="absolute";var i=t.cache("target-offsetparent",(function(){return u(t.target)}));u(t.element)!==i&&w((function(){t.element.parentNode.removeChild(t.element),i.appendChild(t.element)})),l(n.offset,e.offset),d=!0}():(c.position="absolute",l({top:!0,left:!0},e.page)),!d)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var p=function(e){var t=e.ownerDocument;return(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)===e},h=!0,m=this.element.parentNode;m&&1===m.nodeType&&"BODY"!==m.tagName&&!p(m);){if("static"!==getComputedStyle(m).position){h=!1;break}m=m.parentNode}h||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var v={},g=!1;for(var r in c){var b=c[r];this.element.style[r]!==b&&(g=!0,v[r]=b)}g&&w((function(){f(t.element.style,v),t.trigger("repositioned")}))}}}]),r}(k);W.modules=[],n.position=P;var H=f(W,n),f=(C=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")},d=(X=n.Utils).getBounds,X.extend),U=(A=X.updateClasses,w=X.defer,["left","top","right","bottom"]);n.modules.push({position:function(e){var t=this,n=e.top,i=e.left,r=e.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",(function(){return d(t.element)})),a=o.height,s=o.width;if(0===s&&0===a&&void 0!==this.lastSize){var c=this.lastSize;s=c.width,a=c.height}var l=this.cache("target-bounds",(function(){return t.getTargetBounds()})),u=l.height,p=l.width,h=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,n=e.pinnedClass;t&&h.push(t),n&&h.push(n)})),h.forEach((function(e){["left","top","right","bottom"].forEach((function(t){h.push(e+"-"+t)}))}));var m=[],v=f({},r),g=f({},this.attachment);return this.options.constraints.forEach((function(e){var o=e.to,c=e.attachment,l=e.pin;void 0===c&&(c="");var h=void 0,f=void 0;if(c.indexOf(" ")>=0){var b=c.split(" "),y=C(b,2);f=y[0],h=y[1]}else h=f=c;var A=function(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,n=d(t),i=n,r=getComputedStyle(t);if(t=[i.left,i.top,n.width+i.left,n.height+i.top],e.ownerDocument!==document){var o=e.ownerDocument.defaultView;t[0]+=o.pageXOffset,t[1]+=o.pageYOffset,t[2]+=o.pageXOffset,t[3]+=o.pageYOffset}U.forEach((function(e,n){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[n]+=parseFloat(r["border"+e+"Width"]):t[n]-=parseFloat(r["border"+e+"Width"])}))}(),t}(t,o);"target"!==f&&"both"!==f||(n<A[1]&&"top"===v.top&&(n+=u,v.top="bottom"),n+a>A[3]&&"bottom"===v.top&&(n-=u,v.top="top")),"together"===f&&("top"===v.top&&("bottom"===g.top&&n<A[1]?(n+=u,v.top="bottom",n+=a,g.top="top"):"top"===g.top&&n+a>A[3]&&n-(a-u)>=A[1]&&(n-=a-u,v.top="bottom",g.top="bottom")),"bottom"===v.top&&("top"===g.top&&n+a>A[3]?(n-=u,v.top="top",n-=a,g.top="bottom"):"bottom"===g.top&&n<A[1]&&n+(2*a-u)<=A[3]&&(n+=a-u,v.top="top",g.top="top")),"middle"===v.top&&(n+a>A[3]&&"top"===g.top?(n-=a,g.top="bottom"):n<A[1]&&"bottom"===g.top&&(n+=a,g.top="top"))),"target"!==h&&"both"!==h||(i<A[0]&&"left"===v.left&&(i+=p,v.left="right"),i+s>A[2]&&"right"===v.left&&(i-=p,v.left="left")),"together"===h&&(i<A[0]&&"left"===v.left?"right"===g.left?(i+=p,v.left="right",i+=s,g.left="left"):"left"===g.left&&(i+=p,v.left="right",i-=s,g.left="right"):i+s>A[2]&&"right"===v.left?"left"===g.left?(i-=p,v.left="left",i-=s,g.left="right"):"right"===g.left&&(i-=p,v.left="left",i+=s,g.left="left"):"center"===v.left&&(i+s>
76A[2]&&"left"===g.left?(i-=s,g.left="right"):i<A[0]&&"right"===g.left&&(i+=s,g.left="left"))),"element"!==f&&"both"!==f||(n<A[1]&&"bottom"===g.top&&(n+=a,g.top="top"),n+a>A[3]&&"top"===g.top&&(n-=a,g.top="bottom")),"element"!==h&&"both"!==h||(i<A[0]&&("right"===g.left?(i+=s,g.left="left"):"center"===g.left&&(i+=s/2,g.left="left")),i+s>A[2]&&("left"===g.left?(i-=s,g.left="right"):"center"===g.left&&(i-=s/2,g.left="right"))),"string"==typeof l?l=l.split(",").map((function(e){return e.trim()})):!0===l&&(l=["top","left","right","bottom"]),l=l||[];var _,w,M=[],k=[];n<A[1]&&(l.indexOf("top")>=0?(n=A[1],M.push("top")):k.push("top")),n+a>A[3]&&(l.indexOf("bottom")>=0?(n=A[3]-a,M.push("bottom")):k.push("bottom")),i<A[0]&&(l.indexOf("left")>=0?(i=A[0],M.push("left")):k.push("left")),i+s>A[2]&&(l.indexOf("right")>=0?(i=A[2]-s,M.push("right")):k.push("right")),M.length&&(_=void 0,_=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),m.push(_),M.forEach((function(e){m.push(_+"-"+e)}))),k.length&&(w=void 0,w=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),m.push(w),k.forEach((function(e){m.push(w+"-"+e)}))),(M.indexOf("left")>=0||M.indexOf("right")>=0)&&(g.left=v.left=!1),(M.indexOf("top")>=0||M.indexOf("bottom")>=0)&&(g.top=v.top=!1),v.top===r.top&&v.left===r.left&&g.top===t.attachment.top&&g.left===t.attachment.left||(t.updateAttachClasses(g,v),t.trigger("update",{attachment:g,targetAttachment:v}))})),w((function(){!1!==t.options.addTargetClasses&&A(t.target,m,h),A(t.element,m,h)})),{top:n,left:i}}});var X,d=(X=n.Utils).getBounds,A=X.updateClasses;return w=X.defer,n.modules.push({position:function(e){var t=this,n=e.top,i=e.left,r=this.cache("element-bounds",(function(){return d(t.element)})),o=r.height,a=r.width,s=this.getTargetBounds(),c=n+o,l=i+a,u=[];n<=s.bottom&&c>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==i&&t!==l||u.push(e)})),i<=s.right&&l>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==n&&t!==c||u.push(e)}));var p=[],h=[];return p.push(this.getClass("abutted")),["left","top","right","bottom"].forEach((function(e){p.push(t.getClass("abutted")+"-"+e)})),u.length&&h.push(this.getClass("abutted")),u.forEach((function(e){h.push(t.getClass("abutted")+"-"+e)})),w((function(){!1!==t.options.addTargetClasses&&A(t.target,h,p),A(t.element,h,p)})),!0}}),C=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")},n.modules.push({position:function(e){var t=e.top,n=e.left;if(this.options.shift){var i=this.options.shift;"function"==typeof this.options.shift&&(i=this.options.shift.call(this,{top:t,left:n}));var r=void 0,o=void 0;if("string"==typeof i){(i=i.split(" "))[1]=i[1]||i[0];var a=C(i,2);r=a[0],o=a[1],r=parseFloat(r,10),o=parseFloat(o,10)}else r=i.top,o=i.left;return{top:t+=r,left:n+=o}}}}),H}()})),drop=createCommonjsModule((function(e,t){ 77/*! tether-drop 1.4.1 */ 78e.exports=function(e){var t=Function.prototype.bind,n=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")},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){for(var i=!0;i;){var r=e,o=t,a=n;i=!1,null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}var l=Object.getPrototypeOf(r);if(null===l)return;e=l,t=o,n=a,i=!0,s=l=void 0}};function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 s=e.Utils,c=s.extend,l=s.addClass,d=s.removeClass,u=s.hasClass,p=s.Evented;function h(e){var t=e.split(" "),i=n(t,2),r=i[0],o=i[1];if(["left","right"].indexOf(r)>=0){var a=[o,r];r=a[0],o=a[1]}return[r,o].join(" ")}function f(e,t){for(var n=void 0,i=[];-1!==(n=e.indexOf(t));)i.push(e.splice(n,1));return i}var m=["click"];"ontouchstart"in document.documentElement&&m.push("touchstart");var v={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},g="";for(var b in v)({}).hasOwnProperty.call(v,b)&&void 0!==document.createElement("p").style[b]&&(g=v[b]);
78var y={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},A={},_=function n(){var s=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],v=function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return new(t.apply(_,[null].concat(n)))};c(v,{createContext:n,drops:[],defaults:{}});var b={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};c(v,b,s),c(v.defaults,b.defaults,s.defaults),void 0===A[v.classPrefix]&&(A[v.classPrefix]=[]),v.updateBodyClasses=function(){for(var e=!1,t=A[v.classPrefix],n=t.length,i=0;i<n;++i)if(t[i].isOpened()){e=!0;break}e?l(document.body,v.classPrefix+"-open"):d(document.body,v.classPrefix+"-open")};var _=function(t){function n(e){if(o(this,n),r(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=c({},v.defaults,e),this.target=this.options.target,void 0===this.target)throw new Error("Drop Error: You must provide a target.");var t="data-"+v.classPrefix,i=this.target.getAttribute(t);i&&null==this.options.content&&(this.options.content=i);for(var a=["position","openOn"],s=0;s<a.length;++s){var d=this.target.getAttribute(t+"-"+a[s]);d&&null==this.options[a[s]]&&(this.options[a[s]]=d)}this.options.classes&&!1!==this.options.addTargetClasses&&l(this.target,this.options.classes),v.drops.push(this),A[v.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return a(n,t),i(n,[{key:"_on",value:function(e,t,n){this._boundEvents.push({element:e,event:t,handler:n}),e.addEventListener(t,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var e=this;if(this.drop=document.createElement("div"),l(this.drop,v.classPrefix),this.options.classes&&l(this.drop,this.options.classes),this.content=document.createElement("div"),l(this.content,v.classPrefix+"-content"),"function"==typeof this.options.content){var t=function(){var t=e.options.content.call(e,e);if("string"==typeof t)e.content.innerHTML=t;else{if("object"!=typeof t)throw new Error("Drop Error: Content function should return a string or HTMLElement.");e.content.innerHTML="",e.content.appendChild(t)}};t(),this.on("open",t.bind(this))}else"object"==typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content;this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var t=this.options.position.split(" ");t[0]=y[t[0]],t=t.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var i={element:this.drop,target:this.target,attachment:h(t),targetAttachment:h(this.options.position),classPrefix:v.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new e(c({},i,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var e=this;if(this.options.openOn)if("always"!==this.options.openOn){var t=this.options.openOn.split(" ");if(t.indexOf("click")>=0)for(var n=function(t){e.toggle(t),t.preventDefault()},i=function(t){e.isOpened()&&(t.target===e.drop||e.drop.contains(t.target)||t.target===e.target||e.target.contains(t.target)||e.close(t))},r=0;r<m.length;++r){var o=m[r];this._on(this.target,o,n),this._on(document,o,i)}var a=null,s=null,c=function(t){null!==s?clearTimeout(s):a=setTimeout((function(){e.open(t),a=null}),("focus"===t.type?e.options.focusDelay:e.options.hoverOpenDelay)||e.options.openDelay)},l=function(t){null!==a?clearTimeout(a):s=setTimeout((function(){e.close(t),s=null}),("blur"===t.type?e.options.blurDelay:e.options.hoverCloseDelay)||e.options.closeDelay)};t.indexOf("hover")>=0&&(this._on(this.target,"mouseover",c),this._on(this.drop,"mouseover",c),this._on(this.target,"mouseout",l),this._on(this.drop,"mouseout",l)),t.indexOf("focus")>=0&&(this._on(this.target,"focus",c),this._on(this.drop,"focus",c),this._on(this.target,"blur",l),this._on(this.drop,"blur",l))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return u(this.drop,v.classPrefix+"-open")}},{key:"toggle",value:function(e){this.isOpened()?this.close(e):this.open(e)}},{key:"open",value:function(e){var t=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),void 0!==this.tether&&this.tether.enable(),l(this.drop,v.classPrefix+"-open"),l(this.drop,v.classPrefix+"-open-transitionend"),setTimeout((function(){t.drop&&l(t.drop,v.classPrefix+"-after-open")})),void 0!==this.tether&&this.tether.position(),this.trigger("open"),v.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(e){e.target===e.currentTarget&&(u(this.drop,v.classPrefix+"-open")||d(this.drop,v.classPrefix+"-open-transitionend"),this.drop.removeEventListener(g,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(e){var t=!0;return this.isClosing||"function"!=typeof this.options.beforeClose||(this.isClosing=!0,t=!1!==this.options.beforeClose(e,this)),this.isClosing=!1,t}},{key:"close",value:function(e){this.isOpened()&&this.beforeCloseHandler(e)&&(d(this.drop,v.classPrefix+"-open"),d(this.drop,v.classPrefix+"-after-open"),this.drop.addEventListener(g,this.transitionEndHandler),this.trigger("close"),void 0!==this.tether&&this.tether.disable(),v.updateBodyClasses(),this.options.remove&&this.remove(e))}},{key:"remove",value:function(e){this.close(e),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&void 0!==this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),void 0!==this.tether&&this.tether.destroy();for(var e=0;e<this._boundEvents.length;++e){var t=this._boundEvents[e],n=t.element,i=t.event,r=t.handler;n.removeEventListener(i,r)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,f(A[v.classPrefix],this),f(v.drops,this)}}]),n}(p);return v}();return document.addEventListener("DOMContentLoaded",(function(){_.updateBodyClasses()})),_}(tether)})),tether$1=createCommonjsModule((function(e,t){ 79/*! tether 1.4.7 */ 80e.exports=function(){var e=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}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=void 0;void 0===n&&(n={modules:[]});var i=null;function r(e){var t=e.getBoundingClientRect(),n={};for(var i in t)n[i]=t[i];try{if(e.ownerDocument!==document){var o=e.ownerDocument.defaultView.frameElement;if(o){var a=r(o);n.top+=a.top,n.bottom+=a.top,n.left+=a.left,n.right+=a.left}}}catch(e){}return n}function o(e){var t=(getComputedStyle(e)||{}).position,n=[];if("fixed"===t)return[e];for(var i=e;(i=i.parentNode)&&i&&1===i.nodeType;){var r=void 0;try{r=getComputedStyle(i)}catch(e){}if(null==r)return n.push(i),n;var o=r,a=o.overflow,s=o.overflowX,c=o.overflowY;/(auto|scroll|overlay)/.test(a+c+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(r.position)>=0)&&n.push(i)}return n.push(e.ownerDocument.body),e.ownerDocument!==document&&n.push(e.ownerDocument.defaultView),n}var a,s=(a=0,function(){return++a}),c={};function l(){i&&document.body.removeChild(i),i=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var n=t.documentElement,o=r(e),a=function(){var e=i;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),f(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),i=e);var t=e.getAttribute("data-tether-id");return void 0===c[t]&&(c[t]=r(e),w((function(){delete c[t]}))),c[t]}();return o.top-=a.top,o.left-=a.left,void 0===o.width&&(o.width=document.body.scrollWidth-o.left-o.right),void 0===o.height&&(o.height=document.body.scrollHeight-o.top-o.bottom),o.top=o.top-n.clientTop,o.left=o.left-n.clientLeft,o.right=t.body.clientWidth-o.width-o.left,o.bottom=t.body.clientHeight-o.height-o.top,o}function u(e){return e.offsetParent||document.documentElement}var p=null;function h(){if(p)return p;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");f(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",
80width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var i=e.offsetWidth;n===i&&(i=t.clientWidth),document.body.removeChild(t);var r=n-i;return p={width:r,height:r}}function f(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function m(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var n=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),i=b(e).replace(n," ");y(e,i)}}function v(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{m(e,t);var n=b(e)+" "+t;y(e,n)}}function g(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=b(e);return new RegExp("(^| )"+t+"( |$)","gi").test(n)}function b(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function y(e,t){e.setAttribute("class",t)}function A(e,t,n){n.forEach((function(n){-1===t.indexOf(n)&&g(e,n)&&m(e,n)})),t.forEach((function(t){g(e,t)||v(e,t)}))}var _=[],w=function(e){_.push(e)},M=function(){for(var e=void 0;e=_.pop();)e()},k=function(){function n(){t(this,n)}return e(n,[{key:"on",value:function(e,t,n){var i=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:i})}},{key:"once",value:function(e,t,n){this.on(e,t,n,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var n=0;n<this.bindings[e].length;)this.bindings[e][n].handler===t?this.bindings[e].splice(n,1):++n}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(;t<this.bindings[e].length;){var o=this.bindings[e][t],a=o.handler,s=o.ctx,c=o.once,l=s;void 0===l&&(l=this),a.apply(l,i),c?this.bindings[e].splice(t,1):++t}}}}]),n}();n.Utils={getActualBoundingClientRect:r,getScrollParents:o,getBounds:d,getOffsetParent:u,extend:f,addClass:v,removeClass:m,hasClass:g,updateClasses:A,defer:w,flush:M,uniqueId:s,Evented:k,getScrollBarSize:h,removeUtilElements:l};var C=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")};function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}if(e=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}}(),void 0===n)throw new Error("You must include the utils.js file before tether.js");var o=(X=n.Utils).getScrollParents,u=(d=X.getBounds,X.getOffsetParent),v=(f=X.extend,X.addClass),m=X.removeClass,h=(A=X.updateClasses,w=X.defer,M=X.flush,X.getScrollBarSize),l=X.removeUtilElements;function S(e,t){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+n>=t&&t>=e-n}var E,x,O,T,D=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<t.length;++n){var i=t[n];if(void 0!==e.style[i])return i}}(),$=[],P=function(){$.forEach((function(e){e.position(!1)})),M()};function N(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}E=null,x=null,O=null,T=function e(){if(void 0!==x&&x>16)return x=Math.min(x-16,250),void(O=setTimeout(e,250));void 0!==E&&N()-E<10||(null!=O&&(clearTimeout(O),O=null),E=N(),P(),x=N()-E)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,T)}));
80var L={center:"center",left:"right",right:"left"},z={middle:"middle",top:"bottom",bottom:"top"},I={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},R=function(e,t){var n=e.left,i=e.top;return"auto"===n&&(n=L[t.left]),"auto"===i&&(i=z[t.top]),{left:n,top:i}},B=function(e){var t=e.left,n=e.top;return void 0!==I[e.left]&&(t=I[e.left]),void 0!==I[e.top]&&(n=I[e.top]),{left:t,top:n}};function j(){for(var e={top:0,left:0},t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.forEach((function(t){var n=t.top,i=t.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof i&&(i=parseFloat(i,10)),e.top+=n,e.left+=i})),e}function q(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var F=function(e){var t=e.split(" "),n=C(t,2);return{top:n[0],left:n[1]}},V=F,W=function(i){function r(e){var i=this;t(this,r),function(e,t,n){for(var i=!0;i;){var r=e,o=t,a=n;i=!1,null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}var l=Object.getPrototypeOf(r);if(null===l)return;e=l,t=o,n=a,i=!0,s=l=void 0}}(Object.getPrototypeOf(r.prototype),"constructor",this).call(this),this.position=this.position.bind(this),$.push(this),this.history=[],this.setOptions(e,!1),n.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(i)})),this.position()}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)}(r,i),e(r,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],i={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=f(i,e);var r=this.options,a=r.element,s=r.target,c=r.targetModifier;if(this.element=a,this.target=s,this.targetModifier=c,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),v(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&v(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=V(this.options.targetAttachment),this.attachment=V(this.options.attachment),this.offset=F(this.options.offset),this.targetOffset=F(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),!1!==this.options.enabled&&this.enable(n)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((o={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(o.height,e.height-(pageYOffset-e.top)),o.height=Math.min(o.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,e.width-(pageXOffset-e.left)),o.width=Math.min(o.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.top<pageYOffset&&(o.top=pageYOffset),o.left<pageXOffset&&(o.left=pageXOffset),o);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var n=getComputedStyle(t),i=0;(t.scrollWidth>t.clientWidth||[n.overflow,n.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(i=15);var r=e.height-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth)-i,o={width:15,height:.975*r*(r/t.scrollHeight),left:e.left+e.width-parseFloat(n.borderLeftWidth)-15},a=0;r<408&&this.target===document.body&&(a=-11e-5*Math.pow(r,2)-.00727*r+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24));var s=this.target.scrollTop/(t.scrollHeight-r);return o.top=s*(r-o.height-a)+e.top+parseFloat(n.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&v(this.target,this.getClass("enabled")),v(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEac
80h((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;m(this.target,this.getClass("enabled")),m(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),$.forEach((function(t,n){t===e&&$.splice(n,1)})),0===$.length&&l()}},{key:"updateAttachClasses",value:function(e,t){var n=this;e=e||this.attachment,t=t||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var i=this._addAttachClasses;e.top&&i.push(this.getClass("element-attached")+"-"+e.top),e.left&&i.push(this.getClass("element-attached")+"-"+e.left),t.top&&i.push(this.getClass("target-attached")+"-"+t.top),t.left&&i.push(this.getClass("target-attached")+"-"+t.left);var r=[];["left","top","bottom","right","middle","center"].forEach((function(e){r.push(n.getClass("element-attached")+"-"+e),r.push(n.getClass("target-attached")+"-"+e)})),w((function(){void 0!==n._addAttachClasses&&(A(n.element,n._addAttachClasses,r),!1!==n.options.addTargetClasses&&A(n.target,n._addAttachClasses,r),delete n._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var i=R(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,i);var r=this.cache("element-bounds",(function(){return d(e.element)})),o=r.width,a=r.height;if(0===o&&0===a&&void 0!==this.lastSize){var s=this.lastSize;o=s.width,a=s.height}else this.lastSize={width:o,height:a};var c=this.cache("target-bounds",(function(){return e.getTargetBounds()})),l=c,p=q(B(this.attachment),{width:o,height:a}),f=q(B(i),l),m=q(this.offset,{width:o,height:a}),v=q(this.targetOffset,l);p=j(p,m),f=j(f,v);for(var g=c.left+f.left-p.left,b=c.top+f.top-p.top,y=0;y<n.modules.length;++y){var A=n.modules[y],_=A.position.call(this,{left:g,top:b,targetAttachment:i,targetPos:c,elementPos:r,offset:p,targetOffset:f,manualOffset:m,manualTargetOffset:v,scrollbarSize:S,attachment:this.attachment});if(!1===_)return!1;void 0!==_&&"object"==typeof _&&(b=_.top,g=_.left)}var w={page:{top:b,left:g},viewport:{top:b-pageYOffset,bottom:pageYOffset-b-a+innerHeight,left:g-pageXOffset,right:pageXOffset-g-o+innerWidth}},k=this.target.ownerDocument,C=k.defaultView,S=void 0;return C.innerHeight>k.documentElement.clientHeight&&(S=this.cache("scrollbar-size",h),w.viewport.bottom-=S.height),C.innerWidth>k.documentElement.clientWidth&&(S=this.cache("scrollbar-size",h),w.viewport.right-=S.width),-1!==["","static"].indexOf(k.body.style.position)&&-1!==["","static"].indexOf(k.body.parentElement.style.position)||(w.page.bottom=k.body.scrollHeight-b-a,w.page.right=k.body.scrollWidth-g-o),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return u(e.target)})),n=e.cache("target-offsetparent-bounds",(function(){return d(t)})),i=getComputedStyle(t),r=n,o={};if(["Top","Left","Bottom","Right"].forEach((function(e){o[e.toLowerCase()]=parseFloat(i["border"+e+"Width"])})),n.right=k.body.scrollWidth-n.left-r.width+o.right,n.bottom=k.body.scrollHeight-n.top-r.height+o.bottom,w.page.top>=n.top+o.top&&w.page.bottom>=n.bottom&&w.page.left>=n.left+o.left&&w.page.right>=n.right){var a=t.scrollTop,s=t.scrollLeft;w.offset={top:w.page.top-n.top+a-o.top,left:w.page.left-n.left+s-o.left}}}(),this.move(w),this.history.unshift(w),this.history.length>3&&this.history.pop(),t&&M(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var n={};for(var i in e)for(var r in n[i]={},e[i]){for(var o=!1,a=0;a<this.history.length;++a){var s=this.history[a];if(void 0!==s[i]&&!S(s[i][r],e[i][r])){o=!0;break}}o||(n[i][r]=!0)}var c={top:"",left:"",right:"",bottom:""},l=function(e,n){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var i=void 0,r=void 0;e.top?(c.top=0,i=n.top):(c.bottom=0,i=-n.bottom),e.left?(c.left=0,r=n.left):(c.right=0,r=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(r=Math.round(r*devicePixelRatio)/devicePixelRatio,i=Math.round(i*devicePixelRatio)/devicePixelRatio),c[D]="translateX("+r+"px) translateY("+i+"px)","msTransform"!==D&&(c[D]+=" translateZ(0)")}else e.top?c.top=n.top+"px":c.bottom=n.bottom+"px",e.left?c.left=n.left+"px":c.right=n.right+"px"},d=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(c.position="absolute",l(n.page,e.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(c.position="fixed",l
80(n.viewport,e.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){c.position="absolute";var i=t.cache("target-offsetparent",(function(){return u(t.target)}));u(t.element)!==i&&w((function(){t.element.parentNode.removeChild(t.element),i.appendChild(t.element)})),l(n.offset,e.offset),d=!0}():(c.position="absolute",l({top:!0,left:!0},e.page)),!d)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var p=function(e){var t=e.ownerDocument;return(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)===e},h=!0,m=this.element.parentNode;m&&1===m.nodeType&&"BODY"!==m.tagName&&!p(m);){if("static"!==getComputedStyle(m).position){h=!1;break}m=m.parentNode}h||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var v={},g=!1;for(var r in c){var b=c[r];this.element.style[r]!==b&&(g=!0,v[r]=b)}g&&w((function(){f(t.element.style,v),t.trigger("repositioned")}))}}}]),r}(k);W.modules=[],n.position=P;var H=f(W,n),f=(C=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")},d=(X=n.Utils).getBounds,X.extend),U=(A=X.updateClasses,w=X.defer,["left","top","right","bottom"]);n.modules.push({position:function(e){var t=this,n=e.top,i=e.left,r=e.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",(function(){return d(t.element)})),a=o.height,s=o.width;if(0===s&&0===a&&void 0!==this.lastSize){var c=this.lastSize;s=c.width,a=c.height}var l=this.cache("target-bounds",(function(){return t.getTargetBounds()})),u=l.height,p=l.width,h=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,n=e.pinnedClass;t&&h.push(t),n&&h.push(n)})),h.forEach((function(e){["left","top","right","bottom"].forEach((function(t){h.push(e+"-"+t)}))}));var m=[],v=f({},r),g=f({},this.attachment);return this.options.constraints.forEach((function(e){var o=e.to,c=e.attachment,l=e.pin;void 0===c&&(c="");var h=void 0,f=void 0;if(c.indexOf(" ")>=0){var b=c.split(" "),y=C(b,2);f=y[0],h=y[1]}else h=f=c;var A=function(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,n=d(t),i=n,r=getComputedStyle(t);if(t=[i.left,i.top,n.width+i.left,n.height+i.top],e.ownerDocument!==document){var o=e.ownerDocument.defaultView;t[0]+=o.pageXOffset,t[1]+=o.pageYOffset,t[2]+=o.pageXOffset,t[3]+=o.pageYOffset}U.forEach((function(e,n){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[n]+=parseFloat(r["border"+e+"Width"]):t[n]-=parseFloat(r["border"+e+"Width"])}))}(),t}(t,o);"target"!==f&&"both"!==f||(n<A[1]&&"top"===v.top&&(n+=u,v.top="bottom"),n+a>A[3]&&"bottom"===v.top&&(n-=u,v.top="top")),"together"===f&&("top"===v.top&&("bottom"===g.top&&n<A[1]?(n+=u,v.top="bottom",n+=a,g.top="top"):"top"===g.top&&n+a>A[3]&&n-(a-u)>=A[1]&&(n-=a-u,v.top="bottom",g.top="bottom")),"bottom"===v.top&&("top"===g.top&&n+a>A[3]?(n-=u,v.top="top",n-=a,g.top="bottom"):"bottom"===g.top&&n<A[1]&&n+(2*a-u)<=A[3]&&(n+=a-u,v.top="top",g.top="top")),"middle"===v.top&&(n+a>A[3]&&"top"===g.top?(n-=a,g.top="bottom"):n<A[1]&&"bottom"===g.top&&(n+=a,g.top="top"))),"target"!==h&&"both"!==h||(i<A[0]&&"left"===v.left&&(i+=p,v.left="right"),i+s>A[2]&&"right"===v.left&&(i-=p,v.left="left")),"together"===h&&(i<A[0]&&"left"===v.left?"right"===g.left?(i+=p,v.left="right",i+=s,g.left="left"):"left"===g.left&&(i+=p,v.left="right",i-=s,g.left="right"):i+s>A[2]&&"right"===v.left?"left"===g.left?(i-=p,v.left="left",i-=s,g.left="right"):"right"===g.left&&(i-=p,v.left="left",i+=s,g.left="left"):"center"===v.left&&(i+s>
80A[2]&&"left"===g.left?(i-=s,g.left="right"):i<A[0]&&"right"===g.left&&(i+=s,g.left="left"))),"element"!==f&&"both"!==f||(n<A[1]&&"bottom"===g.top&&(n+=a,g.top="top"),n+a>A[3]&&"top"===g.top&&(n-=a,g.top="bottom")),"element"!==h&&"both"!==h||(i<A[0]&&("right"===g.left?(i+=s,g.left="left"):"center"===g.left&&(i+=s/2,g.left="left")),i+s>A[2]&&("left"===g.left?(i-=s,g.left="right"):"center"===g.left&&(i-=s/2,g.left="right"))),"string"==typeof l?l=l.split(",").map((function(e){return e.trim()})):!0===l&&(l=["top","left","right","bottom"]),l=l||[];var _,w,M=[],k=[];n<A[1]&&(l.indexOf("top")>=0?(n=A[1],M.push("top")):k.push("top")),n+a>A[3]&&(l.indexOf("bottom")>=0?(n=A[3]-a,M.push("bottom")):k.push("bottom")),i<A[0]&&(l.indexOf("left")>=0?(i=A[0],M.push("left")):k.push("left")),i+s>A[2]&&(l.indexOf("right")>=0?(i=A[2]-s,M.push("right")):k.push("right")),M.length&&(_=void 0,_=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),m.push(_),M.forEach((function(e){m.push(_+"-"+e)}))),k.length&&(w=void 0,w=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),m.push(w),k.forEach((function(e){m.push(w+"-"+e)}))),(M.indexOf("left")>=0||M.indexOf("right")>=0)&&(g.left=v.left=!1),(M.indexOf("top")>=0||M.indexOf("bottom")>=0)&&(g.top=v.top=!1),v.top===r.top&&v.left===r.left&&g.top===t.attachment.top&&g.left===t.attachment.left||(t.updateAttachClasses(g,v),t.trigger("update",{attachment:g,targetAttachment:v}))})),w((function(){!1!==t.options.addTargetClasses&&A(t.target,m,h),A(t.element,m,h)})),{top:n,left:i}}});var X,d=(X=n.Utils).getBounds,A=X.updateClasses;return w=X.defer,n.modules.push({position:function(e){var t=this,n=e.top,i=e.left,r=this.cache("element-bounds",(function(){return d(t.element)})),o=r.height,a=r.width,s=this.getTargetBounds(),c=n+o,l=i+a,u=[];n<=s.bottom&&c>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==i&&t!==l||u.push(e)})),i<=s.right&&l>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==n&&t!==c||u.push(e)}));var p=[],h=[];return p.push(this.getClass("abutted")),["left","top","right","bottom"].forEach((function(e){p.push(t.getClass("abutted")+"-"+e)})),u.length&&h.push(this.getClass("abutted")),u.forEach((function(e){h.push(t.getClass("abutted")+"-"+e)})),w((function(){!1!==t.options.addTargetClasses&&A(t.target,h,p),A(t.element,h,p)})),!0}}),C=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")},n.modules.push({position:function(e){var t=e.top,n=e.left;if(this.options.shift){var i=this.options.shift;"function"==typeof this.options.shift&&(i=this.options.shift.call(this,{top:t,left:n}));var r=void 0,o=void 0;if("string"==typeof i){(i=i.split(" "))[1]=i[1]||i[0];var a=C(i,2);r=a[0],o=a[1],r=parseFloat(r,10),o=parseFloat(o,10)}else r=i.top,o=i.left;return{top:t+=r,left:n+=o}}}}),H}()})),tooltip=createCommonjsModule((function(e,t){ 81/*! tether-tooltip 1.1.0 */ 82e.exports=function(e,t){var n=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}}
82(),i=t.Utils.extend,r=e.createContext({classPrefix:"tooltip"}),o={position:"top center",openOn:"hover",classes:"tooltip-theme-arrows",constrainToWindow:!0,constrainToScrollParent:!1},a=0,s=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t,!this.options.target)throw new Error("Tooltip Error: You must provide a target for Tooltip to attach to");var n=this.options.target.getAttribute("data-tooltip-position");n&&void 0===this.options.position&&(this.options.position=n);var s=this.options.target.getAttribute("data-tooltip");if(s&&void 0===this.options.content){var c=document.createElement("div");c.innerHTML=s,c.setAttribute("role","tooltip"),c.id="drop-tooltip-"+a,this.options.target.setAttribute("aria-describedby",c.id),a+=1,this.options.content=c}if(!this.options.content)throw new Error("Tooltip Error: You must provide content for Tooltip to display");this.options=i({},o,this.options),this.drop=new r(this.options)}return n(e,[{key:"close",value:function(){this.drop.close()}},{key:"open",value:function(){this.drop.open()}},{key:"toggle",value:function(){this.drop.toggle()}},{key:"remove",value:function(){this.drop.remove()}},{key:"destroy",value:function(){this.drop.destroy()}},{key:"position",value:function(){this.drop.position()}}]),e}(),c=[];return s.init=function(){for(var e=document.querySelectorAll("[data-tooltip]"),t=e.length,n=0;n<t;++n){var i=e[n];-1===c.indexOf(i)&&(new s({target:i}),c.push(i))}},document.addEventListener("DOMContentLoaded",(function(){!1!==s.autoinit&&s.init()})),s}(drop,tether$1)}));const identity$2=e=>e,negate$1=e=>!e;class BindingBuilder{constructor(e){this.bindings=e||{},this.currentElement=null,this.validatedFields=[]}element(e){return this.currentElement=e,this.bindings[this.currentElement]=this.getDefaultBinding(),this}validate(){return this.validatedFields.push(this.currentElement),this}getDefaultBinding(){return{classes:{},attributes:[]}}currentBinding(){return this.bindings[this.currentElement]}observe(e){return this.currentBinding().observe=e,this}html(){return this.currentBinding().updateMethod="html",this}escape(e){return this.currentBinding().escape=e,this}events(e){return this.currentBinding().events=e,this}initialize(e){return this.currentBinding().initialize=e,this}selectOptions(e){return this.currentBinding().selectOptions=e,this}collection(e){if(_$1.isObject(e)&&!Array.isArray(e)){const t=[];return _$1.forEach(e,(e,n)=>t.push({value:n,label:e})),this.selectOptions({collection:t})}return this.selectOptions({collection:e})}withSearch(){return this.currentBinding().withSearch=!0,this}dropdownClass(e){return this.currentBinding().dropdownClass=e,this}toggleClass(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:identity$2;return this.currentBinding().classes[e]={observe:t,onGet:n},this}toggleClassNegate(e,t){return this.toggleClass(e,t,negate$1)}hidden(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity$2;return this.toggleClass("hidden",e,t)}hiddenNegate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:negate$1;return this.toggleClass("hidden",e,t)}attr(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:identity$2;return this.currentBinding().attributes.push({name:e,observe:t,onGet:n}),this}dataElementId(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity$2;return this.attr("data-element-id",e,t)}dataTooltipContent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity$2;return this.attr("data-tooltip-content",e,t)}title(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity$2;return this.attr("title",e,t)}href(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity$2;return this.attr("href",e,t)}disabled(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity$2;return this.attr("disabled",e,t)}disabledClass(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity$2;return this.toggleClass("disabled",e,t)}getVal(e){return this.currentBinding().getVal=e,this}update(e){return this.currentBinding().update=e,this}onGet(e){return this.currentBinding().onGet=e,this}onSet(e){return this.currentBinding().onSet=e,this}extend(e){return _$1.extend(this.currentBinding(),e),this}autocompleteDataFactory(e){return this.currentBinding().dataFactory=e,this}autoCompleteOptions(e){return this.currentBinding().autocompleteOptions=e,this}labelPrefix(e){return this.currentBinding().onGet=t=>i18n.get(e+t),this}build(){return this.validatedFields.length&&this.validatedFields.forEach(e
82=>this.bindings[e]=validationService.observe(this.bindings[e])),this.bindings}}const bindingFactory=e=>new BindingBuilder(e);var Template$m=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="widget api-key-widget dashboard-api-key-view">\n <header class="widget-header">\n <h3 class="widget-heading">Server API Key</h3>\n </header>\n <div class="widget-content">\n <div class="input-container">\n <input type="checkbox" name="apiKeyVisible" id="api-key-visible" class="hidden">\n <input type="text" id="api-key" class="api-key-input form-input" readonly>\n <label class="show-api-key-button js-show-api-key-button js-event-click" for="api-key-visible" data-event="click-showHideApi">\n <i class="icon"></i>\n </label>\n <button class="js-copy-button copy-button js-event-click" type="button" data-event="click-copyApi">\n <i class="icon icon-copy"></i>\n </button>\n </div>\n <div class="links">\n <a id="knowledge-base" class="font-weight--medium js-event-click" data-event="clickExternal-knowledgeBase"\n title="Knowledge Base" target="_blank">Knowledge Base</a>\n <a id="api-device-management" class="font-weight--medium js-event-click" data-event="clickExternal-apiDeviceManagement"\n title="Device Management API" target="_blank">Device Management API</a>\n <a id="api-location-services" class="font-weight--medium js-event-click" data-event="clickExternal-apiLocationServices"\n title="Location Services API" target="_blank">Location Services API</a>\n </div>\n </div>\n</div>'},useData:!0});function template$5(e,t,n){const i=Template$m(e,t);return n||"undefined"==typeof $?i:$(i)}class ApiKeyModel extends backbone.Model{defaults(){return{apiKey:null,knowledgeBaseLink:applicationService.settings.dashboard.knowledgeBaseLink,apiDeviceManagementLink:applicationService.settings.dashboard.apiDeviceManagementLink,apiLocationServicesLink:applicationService.settings.dashboard.apiLocationServicesLink,apiKeyVisible:!1}}fetch(){return managerService.getApiKey().then(e=>{let{apiKey:t}=e;this.set({apiKey:t})})}async getApiKey(){return this.get("apiKey")||await this.fetch(),this.get("apiKey")}}const apiKeyModel=new ApiKeyModel;class ApiKeyView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{model:apiKeyModel,events:{"click .js-copy-button":"copyApiKey"}})),this.template=template$5}load(){return this.model.fetch()}render(){return this.$el.html(this.template()),this.stickit(),this.createTooltips(),this}remove(){this.unstickit(),this.removeTooltips(),super.remove()}bindings(){return bindingFactory().element("#api-key").observe("apiKey").attr("type","apiKeyVisible",e=>e?"text":"password").element("#knowledge-base").href("knowledgeBaseLink").element("#api-device-management").href("apiDeviceManagementLink").element("#api-location-services").href("apiLocationServicesLink").element("#api-key-visible").observe("apiKeyVisible").element(".js-show-api-key-button .icon").toggleClass("icon-eye-closed","apiKeyVisible").toggleClassNegate("icon-eye-open","apiKeyVisible").build()}copyApiKey(){const e=!this.model.get("apiKeyVisible");e&&this.model.set({apiKeyVisible:!0});const t=this.$el.find("#api-key");try{t.focus().select(),document.execCommand("copy"),this.changeTooltipContent(this.tooltips.copyApiKey,"Copied!")}catch(e){this.changeTooltipContent(this.tooltips.copyApiKey,"Unable to copy")}e&&this.model.set({apiKeyVisible:!1}),t.blur(),document.getSelection().removeAllRanges()}changeTooltipContent(e,t){e.drop.content.innerText=t,e.position()}createTooltips(){this.tooltips={copyApiKey:new tooltip({target:this.$el.find(".js-copy-button")[0],content:"Copy to clipboard",position:"bottom center",classes:"brand-sapphire"}),showApiKey:new tooltip({target:this.$el.find(".js-show-api-key-button")[0],content:"Show API Key",position:"bottom center",classes:"brand-sapphire"})},this.tooltips.copyApiKey.drop.on("close",()=>{this.changeTooltipContent(this.tooltips.copyApiKey,"Copy to clipboard")}),this.listenTo(this.model,"change:apiKeyVisible",()=>{this.changeTooltipContent(this.tooltips.showApiKey,this.model.get("apiKeyVisible")?"Hide API Key":"Show API Key")})}removeTooltips(){this.tooltips.copyApiKey.destroy(),this.tooltips.showApiKey.destroy()}}class PasswordChangeModel extends backbone.Model{constructor(e,t){return super(e,t),this}defaults(){return{oldPassword:"",newPassword:"",newPasswordRepeat:""}}validation(){return{oldPassword:{required:!0,rangeLength:[1,50]},newPassword:{required:!0,rangeLength:[8,32],pattern:PASSWORD_REGEXP,msg:"Password must have at least 8 characters including upper case letter and number."},newPasswordRepeat:{required:!0,rangeLength:[8,32],pattern:PASSWORD_REGEXP,equalTo:"newPassword",msg:"Password must match. Password must have at least 8 characters including upper case letter and number."}}}}var Template$n=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="margin">\n <form action="" class="form account-view js-event-form" data-event="post-changePassword" id="js-account-fom">\n'+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{fieldType:"password",label:"account.change.oldPassword",entity:"model",property:"oldPassword"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{fieldType:"password",label:"account.change.newPassword",entity:"model",property:"newPassword"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{fieldType:"password",label:"account.change.newPasswordRepeat",entity:"model",property:"newPasswordRepeat"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+'\n <div class="text-align--right margin-top padding-top--large">\n <button type="submit"\n class="button primary js-change-password">'+e.escapeExpression((a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"account.change.password",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:62},end:{line:9,column:97}}}))+"</button>\n </div>\n </form>\n</div>"},usePartial:!0,useData:!0}
82);function template$6(e,t,n){const i=Template$n(e,t);return n||"undefined"==typeof $?i:$(i)}class PasswordChangeView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{model:new PasswordChangeModel,events:{"submit #js-account-fom":"changePassword"}})),this.template=template$6}load(){return this.model.clear()}render(){return this.$el.html(this.template()),validationService.bind(this),this.stickit(),this}remove(){validationService.unbind(this),this.unstickit(),super.remove()}bindings(){return{"#model-oldPassword":validationService.observe("oldPassword"),"#model-newPassword":validationService.observe("newPassword"),"#model-newPasswordRepeat":validationService.observe("newPasswordRepeat")}}changePassword(e){e.preventDefault(),this.model.isValid(!0)&&l.pushPromise(managerService.changePassword(this.model).then(()=>{this.model.clear(),toastService.success(i18n.get("account.change.password.success"))},e=>{toastService.detailedError(e)}))}}var Template$o=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<section class="page-grey account-view">\n <div class="content-wrapper">\n <h2 class="main-header">Security ('+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"email")||(null!=t?a(t,"email"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:42},end:{line:3,column:51}}}):o)+')</h2>\n </div>\n <div class="grid-row flex-wrap--wrap margin">\n <div class="grid-column-6 padding-right--small sm-no-padding sm-grid-column-12">\n <div id="el-api-key"></div>\n </div>\n <div class="grid-column-6 padding-left--small sm-no-padding sm-grid-column-12 sm-margin-top">\n <div id="el-password-change"></div>\n </div>\n </div>\n</section>'},useData:!0});function template$7(e,t,n){const i=Template$o(e,t);return n||"undefined"==typeof $?i:$(i)}class AccountView extends backbone.View{constructor(){super(),this.template=template$7,this.apiKey=new ApiKeyView,this.passwordChange=new PasswordChangeView}load(){return this.apiKey.load()}render(){return this.$el.html(this.template(applicationService.manager)),this.$el.find("#el-api-key").append(this.apiKey.render().$el),this.$el.find("#el-password-change").append(this.passwordChange.render().$el),this}attach(){navigationView.render("account")}detach(){this.$el.detach()}remove(){super.remove()}}class SearchMetaModel extends backbone.Model{constructor(e,t){if(!_$1.has(e,"listId"))throw Error("`listId` attribute is required when creating a SearchMetaModel");const n=e.listId,i=parseInt(localStorageService.getItem("list.".concat(n,".maxResult")));return _$1.isNaN(i)||_$1.has(e,"maxResult")||(e.maxResult=i),super(e,t),this.on("change:maxResult",this.persistConfig,this),this.on("change:count",this.setMaxPages,this),this.on("change:maxResult",this.setMaxPages,this),this}persistConfig(e,t){const n=e.get("listId");localStorageService.setItem("list.".concat(n,".maxResult"),t)}defaults(){return{listId:"",order:"ASC",orderBy:"uniqueId",startIndex:0,maxResult:50,q:void 0,queryType:QueryType.Normal,nextResults:void 0,prevResults:void 0,page:1,maxPages:void 0,count:void 0,pageSizes:[{value:10,label:"10"},{value:20,label:"20"},{value:50,label:"50"},{value:100,label:"100"},{value:200,label:"200"},{value:500,label:"500"}]}}query(e){this.set("q",e),this.reset()}resultCounted(){this.set("queryType",QueryType.Counted)}resultNormal(){this.set("queryType",QueryType.Normal)}resultSearchMeta(){this.set("queryType",QueryType.SearchMeta)}reset(){this.set({startIndex:0,page:1})}nextPage(){const e=this.get("maxResult"),t=this.get("startIndex")+e;this.set("startIndex",t),this.set("page",t/e+1)}prevPage(){const e=this.get("maxResult"),t=this.get("startIndex")-e;this.set("startIndex",t),this.set("page",t/e+1)}setMaxPages(){if(_$1.isUndefined(this.get("count")))return;let e=this.get("count")/this.get("maxResult");this.get("count")%this.get("maxResult")>
820&&(e+=1),this.set("maxPages",Math.floor(Math.max(e,1)))}changeOrder(e,t){e===this.get("orderBy")?this.toggleOrder():this.orderBy(e,t)}orderBy(e,t){let n="ASC";!t||"ASC"!==t&&"DESC"!==t||(n=t),this.set({orderBy:e,order:n})}toggleOrder(){this.set("order","ASC"===this.get("order")?"DESC":"ASC")}hasPrevPage(){return this.get("startIndex")>0}hasNextPage(){return this.get("startIndex")+this.get("maxResult")<this.get("count")}toApiQuery(){return{order:this.get("order"),orderBy:this.get("orderBy"),startIndex:this.get("startIndex"),maxResult:this.get("maxResult"),q:this.get("q")?this.get("q").toString():"",queryType:this.get("queryType")}}}class CollectionActionsModel extends backbone.Model{constructor(e,t){return super(e,t),this}defaults(){return{selectAll:!1,keepSelection:!1,emptyResult:!1,listEnabled:!0,selectedIds:[],resultCount:0,allCount:0}}resetSelection(){this.set("selectAll",!1),this.trigger("change:selectAll"),this.set("selectedIds",[])}keepSelection(){return this.get("keepSelection")}selectedIds(){return this.get("selectedIds")}}class ManagerCollection extends backbone.Collection{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=_$1.defaults(t,{model:ManagerModel}),super(e,t),this.searchMeta=t.searchMeta||new SearchMetaModel({listId:"managers",orderBy:"created"}),this.searchMeta.resultCounted(),this.actions=new CollectionActionsModel}newSearch(e){return this.searchMeta.query(e),this.fetch()}fetch(){this.actions.resetSelection();const e=this.searchMeta.toApiQuery();return jquery.Deferred(t=>{let{resolve:n,reject:i}=t;managerService.querySubordinates(e).then(e=>{if(!_$1.isObject(e)||!_$1.has(e,"managers")||!_$1.has(e,"searchMeta"))return i(new Error("Managers fetch failed! No required objects in response."));let t=this.searchMeta.get("startIndex")+1;this.searchMeta.set(e.searchMeta);const r=e.managers;r.forEach(e=>e.lp=t++),this.actions.set("emptyResult",0===r.length),this.reset(r,{parse:!0}),n(this)})}).promise()}fetchOnlySubordinates(){this.actions.resetSelection();const e=this.searchMeta.toApiQuery();return jquery.Deferred(t=>{let{resolve:n,reject:i}=t;managerService.findSubordinates(e).then(e=>{if(!e.length)return i(new Error("Managers fetch failed! No results found."));let t=this.searchMeta.get("startIndex")+1;this.searchMeta.set(e.searchMeta),e.forEach(e=>e.lp=t++),this.actions.set("emptyResult",0===e.length),this.reset(e,{parse:!0}),n(this)})}).promise()}count(){return managerService.countSubordinates().then(e=>{let{searchMeta:t}=e;return t.count})}nextPage(){return this.searchMeta.nextPage(),this.fetch()}prevPage(){return this.searchMeta.prevPage(),this.fetch()}firstPage(){return this.searchMeta.reset(),this.fetch()}changeOrder(e){return this.searchMeta.changeOrder(e),this.fetch()}}class UsersQueryModel extends SearchModel{constructor(){super({fields:["firstName","lastName","email"]},{firstName:new LikeQuery("firstName"),lastName:new LikeQuery("lastName"),email:new LikeQuery("email")})}}class UsersModel extends backbone.Model{constructor(e,t){return super(e,t),this.queryModel=new UsersQueryModel,this.users=new ManagerCollection,this.listenTo(this.users,"remove",this.hasNoUsers.bind(this)),this}defaults(){return{hasNoElements:null}}hasNoUsers(){return this.users.count().then(e=>(this.set("hasNoElements",0===e),this.get("hasNoElements")))}}class Tooltip{constructor(e){this.view=e,this.tooltipMap=new Map}bindTooltips(){this.removeAllTooltips(),this.view.$el.find("[data-tooltip-content]").each((e,t)=>{this.bindTooltipToElement(t)})}bindTooltipToElement(e){const t=this.getElement(e);if(!t)return;const n=t.attributes["data-tooltip-content"].value;if(!n)return;const i=_$1.has(t.attributes,"data-tooltip-position")?t.attributes["data-tooltip-position"].value:"top right",r=_$1.has(t.attributes,"data-tooltip-class")?t.attributes["data-tooltip-class"].value:"brand-sapphire",o=new tooltip({target:t,content:n,position:i,classes:r}),a=this.observeForContentChange(t);this.tooltipMap.set(t,{tooltip:o,observer:a})}
82removeAllTooltips(){this.tooltipMap.forEach((e,t)=>{let{tooltip:n,observer:i}=e;n.destroy(),i.disconnect(),this.tooltipMap.delete(t)})}changeTooltipContent(e,t){const n=this.getElement(e);if(!this.tooltipMap.has(n))return;const{tooltip:i}=this.tooltipMap.get(n);i.drop.content.innerText=t,i.position()}getElement(e){return e instanceof jquery?e.get(0):e}observeForContentChange(e){if(!("MutationObserver"in window))return{disconnect:()=>{}};const t=new MutationObserver(e=>e.filter(e=>"attributes"===e.type&&"data-tooltip-content"===e.attributeName).forEach(e=>this.changeTooltipContent(e.target,e.target.attributes["data-tooltip-content"].value)));return t.observe(e,{attributes:!0}),t}}class TableView extends backbone.View{constructor(e){objectValidator.hasProperties(e,"model","template","elementTemplate","elementViewClass"),objectValidator.is(e.model,backbone.Collection),objectValidator.hasProperties(e.model,"actions","searchMeta"),objectValidator.hasFunction(e.model.each,e.model.changeOrder),objectValidator.is(e.model.actions,CollectionActionsModel),objectValidator.is(e.template,Function),objectValidator.is(e.elementTemplate,Function),objectValidator.hasProperties(e.model.actions.attributes,"selectedIds","selectAll","listEnabled"),super(e=_$1.defaults(e,{events:{"click .js-sort":"sort","click .col-select input + label":"selectItem"},containerSelector:"tbody"})),this.elementsViews=[],this.elementViewClass=e.elementViewClass,this.template=e.template,this.containerSelector=e.containerSelector,this.elementTemplate=e.elementTemplate,this.tooltips=new Tooltip(this)}render(){return this.$el.html(this.template(this.model)),this.stickit(this.model.searchMeta,this.searchMetaBindings()),this.stickit(this.model.actions,this.actionsBindings()),this}searchMetaBindings(){return{".js-sort":{observe:["order","orderBy","sort"],update:"sortClass"}}}actionsBindings(){return{".js-table-view":{classes:{hidden:"emptyResult"}}}}renderElements(){this.model.actions.get("listEnabled")&&this.addAll()}addAll(){const e=this.listContainer(),t=jquery(document.createDocumentFragment());this.removeAll(e),this.model.each(e=>{this.elementsViews.push(this.addOne(t,e))}),e.append(t),this.doAfterAttach(),this.tooltips.bindTooltips(),this.trigger("renderedList")}addOne(e,t){const n=new this.elementViewClass({model:t,tableView:this,template:this.elementTemplate});return e.append(n.render().el),_$1.isFunction(n.attach)&&n.attach(),n}removeAll(e){e||(e=this.listContainer()),this._lastSelectedElement=null,this.tooltips.removeAllTooltips(),this.elementsViews.forEach(e=>e.remove()),this.elementsViews=[],e.empty()}listContainer(){return this.$el.find(this.containerSelector)}selectDevice(e){const t=e.id,n=this.model.actions.get("selectedIds"),i=n.indexOf(t);e.get("selected")?i<0&&n.push(t):i>-1&&n.splice(i,1),this.model.actions.trigger("change:selectedIds")}refresh(e){_$1.isUndefined(e)&&(e=this.model.fetch());const t=e.then(()=>this.renderElements());l.pushPromise(t)}sort(e){const t=jquery(e.target).data("field");this.refresh(this.model.changeOrder(t))}sortClass(e,t){const[n,i,r]=t,o="ASC"===n?"sort-asc":"sort-desc";e.each((e,t)=>{const n=jquery(t),a=n.data("field");n.removeClass("sort-asc sort-desc"),i?(n.toggleClass("sort-current",i===a),n.toggleClass(o,i===a)):r&&(n.toggleClass("sort-current",r===a),n.toggleClass(o,r===a))})}remove(){this.removeAll(),super.remove()}removeAllTooltips(){this.tooltips.removeAllTooltips()}findElementView(e){return this.elementsViews.filter(t=>t.el.contains(e)).shift()}selectItem(e){if(this._lastSelectedElement&&e.shiftKey){const t=this.findElementView(this._lastSelectedElement),n=this.findElementView(e.currentTarget);if(t&&n){e.preventDefault();const i=this.model.findIndex(t.model),r=this.model.findIndex(n.model);this.model.forEach(e=>e.set({selected:!1})).slice(Math.min(i,r),Math.max(i,r)+1).filter(e=>securityService.allowOnDevice(DeviceAction.PerformListBulkAction,e)).forEach(e=>e.set({selected:!0}))}}else this._lastSelectedElement=e.currentTarget}doAfterAttach(){this.elementsViews.forEach(e=>{_$1.isFunction(e.afterAttach)&&e.afterAttach()})}}var Template$p=Handlebars.template({1:function(e,t,n,i,r){var o,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="description">\n '+(null!=(o="function"==typeof(a=null!=(a=s(n,"description")||(null!=t?s(t,"description"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:20},end:{line:7,column:37}}}):a)?o:"")+"\n </div>\n"},3:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button class="button cancel-new js-cancel-button" tabindex="2">'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"cancelText")||(null!=t?a(t,"cancelText"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"cancelText",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:84},end:{line:12,column:98}}}):o)+"</button>\n"},5:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button class="button secondary js-confirm-button" tabindex="1">'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"confirmText")||(null!=t?a(t,"confirmText"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"confirmText",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:84},end:{line:15,column:99}}}):o)+"</button>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="confirmation--display-table" tabindex="0">\n <div class="confirmation--display-table-cell">\n <div class="content">\n <h3>'+e.escapeExpression("function"==typeof(a=null!=(a=c(n,"title")||(null!=t?c(t,"title"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"title",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:16},end:{line:4,column:25}}}):a)+"</h3>\n"+(null!=(o=c(n,"if").call(s,null!=t?c(t,"description"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:12},end:{line:9,column:19}}}))?o:"")+' <div class="actions">\n'+(null!=(o=c(n,"if").call(s,null!=t?c(t,"cancel"):t,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:16},end:{line:13,column:23}}}))?o:"")+(null!=(o=c(n,"if").call(s,null!=t?c(t,"confirm"):t,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:16},end:{line:16,column:23}}}))?o:"")+" </div>\n </div>\n </div>\n</div>"},useData:!0}
82);function template$8(e,t,n){const i=Template$p(e,t);return n||"undefined"==typeof $?i:$(i)}class Confirm extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=_$1.defaults(e,{className:"confirmation-window animated fadeIn",title:i18n.get("common.confirmation.header"),events:{"click .js-confirm-button":"clickConfirm","click .js-cancel-button":"clickCancel","keydown .confirmation--display-table":"onKeypress"}}),super(e),this.template=template$8,this.title=e.title,this.description=e.description||"",this.confirm=!_$1.isBoolean(e.confirm)||e.confirm,this.confirmText=e.confirmText?e.confirmText:i18n.get("common.confirmation.confirm.label"),this.cancel=!_$1.isBoolean(e.cancel)||e.cancel,this.cancelText=e.cancelText?e.cancelText:i18n.get("common.confirmation.cancel.label"),this.dfd=jquery.Deferred(),jquery("body").append(this.render().el),this.$el.find(".confirmation--display-table").focus(),this.dfd.promise()}render(){return this.$el.html(this.template(this)),this}clickConfirm(){pageTrackingService.sendEvent("Modal","Confirm"),this.dfd.resolve(),this.remove()}clickCancel(){pageTrackingService.sendEvent("Modal","Cancel"),this.dfd.reject(),this.remove()}onKeypress(e){13===e.which?this.clickConfirm():27===e.which&&this.clickCancel(),e.preventDefault(),e.stopPropagation()}static that(e){return new Confirm({description:e})}static info(e){return new Confirm({description:e,confirm:!1})}}class BaseElementView extends backbone.View{constructor(e){objectValidator.hasProperties(e,"model","template","tableView"),objectValidator.is(e.model,backbone.Model),objectValidator.is(e.tableView,backbone.View),objectValidator.is(e.template,Function),super(_$1.defaults(e,{tagName:"tr",className:"table-element"})),this.template=e.template,this.tableView=e.tableView,this.listenTo(this.model,"change:selected",this.onRowSelect)}defaultBindings(){const e=this.bindings();return _$1.extend({":el":{attributes:[{name:"data-element-id",observe:"id",onGet:()=>this.model.id}]},".col-select input":"selected",".col-select label":{attributes:[{name:"unselectable",observe:"id",onGet:()=>"on"}]},".col-manager > span":{observe:"managerId",onGet:"managerName",attributes:[{observe:"managerId",name:"title",onGet:"managerName"}]}},e)}bindings(){return{}}onRowSelect(e){this.tableView.selectDevice(e)}render(){const e=_$1.isFunction(this.viewModel)?this.viewModel():this.model.toJSON();return this.$el.html(this.template(e)),this.stickit(this.model,this.defaultBindings()),this}managerName(e){const t=applicationService.managers[e];return t?"".concat(t.firstName," ").concat(t.lastName):""}}class UsersListElement extends BaseElementView{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}bindings(){return{".col-role":"role",".col-firstName":"firstName",".col-lastName":"lastName",".col-email-link":"email",".col-devices":{observe:"counters",onGet:e=>_$1.reduce(e.devices,(e,t)=>e+t,0)},".js-remove-action":{classes:{disabled:{observe:"id",onGet:e=>e===applicationService.managerModel.id}}}}}}var Template$q=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="list-header content-wrapper">\n <div class="display--flex margin-right--large nowrap sm-no-margin">\n <div class="actions hidden-lg sm-margin-left-small md-margin-left-very-large">\n <a class="button primary right navigation-link " '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"accounts.users.add",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:61},end:{line:4,column:90}}}))+' data-event="click-createUser">\n Add user\n </a>\n </div>\n </div>\n <div class="actions hidden-sm hidden-md">\n <a class="button primary right navigation-link " '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"accounts.users.add",{name:"href",hash:{}
82,data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:57},end:{line:10,column:86}}}))+' data-event="click-createUser">\n Add user\n </a>\n </div>\n</div>\n<div class="js-list-controls"></div>\n<div class="js-list-table"></div>\n'},useData:!0});function usersListTemplate(e,t,n){const i=Template$q(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$r=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<table class="common-table page-list users-table js-table-view edi-table">\n <thead>\n <tr>\n <th class="col-no hidden-sm">'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"table.header.lp",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:37},end:{line:4,column:63}}}))+'</th>\n <th class="col-firstName hidden-sm sortable js-sort" data-field="firstName">Firstname</th>\n <th class="col-lastName hidden-sm sortable js-sort" data-field="lastName">Lastname</th>\n <th class="col-role hidden-sm">Role</th>\n <th class="col-email sortable js-sort" data-field="email">Email</th>\n <th class="col-devices hidden-sm hidden-md">Devices</th>\n <th class="col-actions"></th>\n </tr>\n </thead>\n <tbody>\n </tbody>\n</table>\n'},useData:!0});function tableViewTemplate(e,t,n){const i=Template$r(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$s=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((o(n,"href2")||t&&o(t,"href2")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"accounts.users.edit",{name:"href2",hash:{userId:null!=t?o(t,"id"):t},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:8},end:{line:9,column:49}}}))+"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c,l=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,u=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<td class="col-no align-center hidden-sm"><span>'+u("function"==typeof(c=null!=(c=p(n,"lp")||(null!=t?p(t,"lp"):t))?c:d)?c.call(l,{name:"lp",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:48},end:{line:1,column:54}}}):c)+'</span></td>\n<td class="col-firstName hidden-sm"></td>\n<td class="col-lastName hidden-sm"></td>\n<td class="col-role hidden-sm"></td>\n<td class="col-email"><a class="col-email-link navigation-link" data-event="click-userEmail" '+u((p(n,"href2")||t&&p(t,"href2")||d).call(l,"accounts.users.edit",{name:"href2",hash:{userId:null!=t?p(t,"id"):t},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:93},end:{line:5,column:134}}}))+'></a></td>\n<td class="col-devices hidden-sm hidden-md"></td>\n'+(null!=(s=e.invokePartial(p(i,"table-edit-and-delete-partial"),t,{name:"table-edit-and-delete-partial",hash:{hiddenSm:!1,labelDelete:"users.list.deleteButton.tooltip",tooltipEdit:"users.list.editButton.tooltip",labelEdit:"users.list.editButton"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["edit-link-table"],data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:4},end:{line:10,column:15}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function tableViewElementTemplate(e,t,n){const i=Template$s(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$t=Handlebars.template({1:function(e,t,n,i,r){return' of <span class="max-pages"></span>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="pagination">
82\n <div class="page-size-controls hidden-sm hidden-md">\n <label for="page-size" class="form-label">Per page:</label>\n <select class="js-page-size dropdown" name="page-size" id="page-size" data-event="select-pageSize"></select>\n </div>\n <div class="pagination-controls">\n <span aria-label="First page" class="nav prev js-first-page js-event-click hidden-sm"\n data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"search.list.firstPage",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:36},end:{line:8,column:68}}}))+'" data-event="click-firstPage">\n <i class="icon icon-arrow-first"></i>\n </span>\n <span aria-label="Previous page" class="nav prev js-prev-page js-event-click"\n data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"search.list.previousPage",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:36},end:{line:12,column:71}}}))+'" data-event="click-prevPage">\n <i class="icon icon-arrow-l"></i>\n </span>\n <span class="current"></span>\n'+(null!=(o=l(n,"if").call(a,null!=t?l(t,"counted"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:16,column:8},end:{line:18,column:15}}}))?o:"")+' <span aria-label="Next page" class="nav next js-next-page js-event-click"\n data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"search.list.nextPage",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:36},end:{line:20,column:67}}}))+'" data-event="click-nextPage">\n <i class="icon icon-arrow-r"></i>\n </span>\n </div>\n</div>'},useData:!0});Handlebars.registerPartial("common-pagination-partial",Template$t);var Template$u=Handlebars.template({1:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <label class="page-select-all js-page-select-all button default" for="'+l("function"==typeof(a=null!=(a=d(n,"selectAllId")||(null!=t?d(t,"selectAllId"):t))?a:c)?a.call(s,{name:"selectAllId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:82},end:{line:10,column:97}}}):a)+'">\n <input id="'+l("function"==typeof(a=null!=(a=d(n,"selectAllId")||(null!=t?d(t,"selectAllId"):t))?a:c)?a.call(s,{name:"selectAllId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:27},end:{line:11,column:42}}}):a)+'" name="'+l("function"==typeof(a=null!=(a=d(n,"selectAllId")||(null!=t?d(t,"selectAllId"):t))?a:c)?a.call(s,{name:"selectAllId",hash:{}
82,data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:50},end:{line:11,column:65}}}):a)+'" type="checkbox" class="checkbox js-event-click"\n data-event="select-selectAll"/>\n <label for="'+l("function"==typeof(a=null!=(a=d(n,"selectAllId")||(null!=t?d(t,"selectAllId"):t))?a:c)?a.call(s,{name:"selectAllId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:28},end:{line:13,column:43}}}):a)+'"></label>\n </label>\n'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"showBulkEdit"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:12},end:{line:17,column:19}}}))?o:"")+(null!=(o=d(n,"if").call(s,null!=t?d(t,"showBatchConfigurationOptions"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:18,column:12},end:{line:26,column:19}}}))?o:"")},2:function(e,t,n,i,r){return' <a class="button default js-action-bulk-manage js-event-click hidden-sm hidden-md" data-event="click-bulkEdit">Bulk edit</a>\n'},4:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="hidden-sm">\n'+(null!=(o=e.invokePartial(a(i,"dropdown-partial"),t,{name:"dropdown-partial",hash:{dataEvent:"select-csv",dropdownClass:"default auto-width",dropdownLabel:"CSV"},fn:e.program(5,r,0),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"},5:function(e,t,n,i,r){return' <li><a class="js-action-import-batch-configuration">Import CSV</a></li>\n <li><a class="js-action-export-batch-configuration">Export CSV</a></li>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return c((l(n,"defaultValue")||t&&l(t,"defaultValue")||s).call(a,t,"assignButtonClass","default",{name:"defaultValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:1,column:51}}}))+"\n"+c((l(n,"defaultValue")||t&&l(t,"defaultValue")||s).call(a,t,"showBulkEdit",!0,{name:"defaultValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:0},end:{line:2,column:41}}}))+"\n"+c((l(n,"defaultValue")||t&&l(t,"defaultValue")||s).call(a,t,"showAssignToManager",!0,{name:"defaultValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:0},end:{line:3,column:48}}}))+"\n"+c((l(n,"defaultValue")||t&&l(t,"defaultValue")||s).call(a,t,"showRemove",!0,{name:"defaultValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:0},end:{line:4,column:39}}}))+"\n"+c((l(n,"defaultValue")||t&&l(t,"defaultValue")||s).call(a,t,"selectAllId",(l(n,"uniqId")||t&&l(t,"uniqId")||s).call(a,"select-all-",{name:"uniqId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:34},end:{line:5,column:56}}}),{name:"defaultValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:0},end:{line:5,column:58}}}))+'\n\n<div class="table-actions-view flex-wrap--wrap justify-content--flex-end">\n <div class="actions">\n'+(null!=(o=l(n,"if").call(a,null!=t?l(t,"showDeviceActions"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:8},end:{line:27,column:15}}}))?o:"")+' </div>\n <div class="controls">\n'+(null!=(o=e.invokePartial(l(i,"common-pagination-partial"),t,{name:"common-pagination-partial",hash:{counted:null!=t?l(t,"counted"):t},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n</div>\n"},usePartial:!0,useData:!0});Handlebars.registerPartial("table-actions-partial",Template$u);var Template$v=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"table-actions-partial"),t,{name:"table-actions-partial",hash:{counted:!0},data:r,helpers:n,partials:i,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}
82);function usersActionsTemplate(e,t,n){const i=Template$v(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$w=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"table-actions-partial"),t,{name:"table-actions-partial",hash:{counted:!0},data:r,helpers:n,partials:i,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0});function template$9(e,t,n){const i=Template$w(e,t);return n||"undefined"==typeof $?i:$(i)}class SearchMetaTableActionsView extends backbone.View{constructor(e){e=_$1.defaults(e,{events:{}}),objectValidator.hasProperties(e,"model"),objectValidator.hasProperties(e.model,"searchMeta"),objectValidator.is(e.model.searchMeta,SearchMetaModel),objectValidator.hasFunction(e.model.nextPage,e.model.prevPage,e.model.firstPage),e.events["click .js-first-page"]="firstPage",e.events["click .js-prev-page"]="prevPage",e.events["click .js-next-page"]="nextPage",super(e),this.tableView=e.tableView,this.template=e.template||template$9,this.listenTo(this.model.searchMeta,"change:maxResult",this.firstPage),this.listenTo(this.model.actions,"change:selectAll",this.selectAll),this.tooltips=new Tooltip(this)}render(){return this.$el.html(this.template()),this.stickit(this.model.searchMeta,this.searchMetaBindings()),this.stickit(this.model.actions,this.actionsBindings()),this.tooltips.bindTooltips(),this}searchMetaBindings(){return{".js-prev-page":{classes:{disabled:{observe:"prevResults",onGet:"valueEmpty"}}},".js-next-page":{classes:{disabled:{observe:["nextResults","page","maxPages"],onGet:e=>{let[t,n,i]=e;return!t||n===i}}}},".current":"page",".max-pages":"maxPages",".js-page-size":{observe:"maxResult",selectOptions:{collection:this.model.searchMeta.get("pageSizes")}},".page-size-controls":{classes:{hidden:{observe:"pageSizes",onGet:e=>Array.isArray(e)&&0===e.length}}},".js-first-page":{classes:{disabled:{observe:"prevResults",onGet:"valueEmpty"}}}}}actionsBindings(){return this.onActionsBindings({".list-controls":{classes:{hidden:"emptyResult"}},'.js-page-select-all > input[type="checkbox"]':"selectAll"})}onActionsBindings(e){return e}closeActionsMenu(e){this.$el.find(".dropdown-menu-wrap").filter((t,
82n)=>n.contains(e)).find(".dropdown-trigger").prop("checked",!1).trigger("change")}isEmpty(e){return _$1.isEmpty(e)}valueEmpty(e){return!e}selectAll(e,t,n){_$1.isFunction(this.model.selectAll)&&this.model.selectAll(t,n)}nextPage(){this.tableView.refresh(this.model.nextPage())}prevPage(){this.tableView.refresh(this.model.prevPage())}firstPage(){this.tableView.refresh(this.model.firstPage())}}class UsersListView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{events:{"click .js-remove-action":"removeUser"},tableViewTemplate:tableViewTemplate,tableViewElementTemplate:tableViewElementTemplate}),super(e),this.template=usersListTemplate,this.tableView=new TableView({model:this.model,template:e.tableViewTemplate,elementTemplate:e.tableViewElementTemplate,elementViewClass:UsersListElement}),this.tableActionsView=new SearchMetaTableActionsView({model:this.model,template:usersActionsTemplate,tableView:this.tableView})}render(){return this.$el.html(this.template()),this.$el.find(".js-list-controls").append(this.tableActionsView.render().$el),this.$el.find(".js-list-table").append(this.tableView.render().$el),this.stickit(this.model.actions,this.actionsBindings()),this}attach(){navigationView.render("account")}actionsBindings(){return{".js-users-header":{observe:"emptyResult",onGet:e=>e?"No users found":"Users"}}}remove(){this.unstickit(this.model.actions),this.tableActionsView.remove(),this.tableView.removeAll(),super.remove()}search(e){return this.model.newSearch(e)}fetch(){return this.model.fetch()}renderList(){this.tableView.renderElements()}removeAllTooltips(){this.tableView.removeAllTooltips()}removeUser(e){const t=this.tableView.findElementView(e.currentTarget);t&&Confirm.that("Are you sure you want to remove this user?").then(()=>{loader.pushPromise(t.model.remove().then(()=>applicationService.refreshManager(!0)).then(()=>{toastService.success("User removed successfully"),this.tableView.refresh()},e=>toastService.detailedError(e)))})}}var Template$x=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="row list-header">\n <i class="icon list-icon icon-user"></i>\n <h2 class="text">Users</h2>\n</div>\n<div class="centered-label">\n <h2>No users found</h2>\n <a class="button primary navigation-link" '+e.escapeExpression((o(n,"href")||t&&o(t,"href")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"accounts.users.add",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:46},end:{line:7,column:75}}}))+">Add user</a>\n</div>\n"},useData:!0});function noUsersTemplate(e,t,n){const i=Template$x(e,t);return n||"undefined"==typeof $?i:$(i)}class NoUsersView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(e),this.template=e.template||noUsersTemplate}render(){return this.$el.html(this.template()),this}}var Template$y=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<section class="page-grey users-view">\n <div class="content-wrapper">\n <h2 class="js-users-header main-header">Users</h2>\n <div class="modern-search-bar users"><div class="el-main-search"></div></div>\n </div>\n <div class="users-list hidden" id="users-list"></div>\n <div id="el-empty-users-view" class="hidden"></div>\n</section>\n'},useData:!0});function usersTemplate(e,t,n){const i=Template$y(e,t);return n||"undefined"==typeof $?i:$(i)}class AppsApiService{async getApiKeyObj(){return{"Api-key":await apiKeyModel.getApiKey()}}async get(e,t){const n=await this.getApiKeyObj();return appsApiCaller.get(e,t,n)}async post(e,t){const n=await this.getApiKeyObj();return appsApiCaller.post(e,JSON.stringify(t),n)}async put(e,t){const n=await this.getApiKeyObj();return appsApiCaller.put(e,JSON.stringify(t),n)}async patch(e,t){const n=await this.getApiKeyObj();return appsApiCaller.patch(e,JSON.stringify(t),n)}async delete(e,t){const n=await this.getApiKeyObj();return appsApiCaller.delete(e,t,n)}}const appsApiService=new AppsApiService;class LocationService{async fetchLocations(){return(await appsApiService.get("v2/locations/campuses",{size:9999})).content}}const locationService=new LocationService,maxResult=4;class MainSearchModel extends backbone.Model{constructor(e,t){super(e,t)}defaults(){return{search:"",beacons:[],beaconsCount:0,gateways:[],gatewaysCount:0,locations:[],locationsCount:0,items:[],itemsCount:0,triggers:[],triggersCount:0,actions:[],actionsCount:0,users:[],usersCount:0,focus:!1}}clear(){this.set({beacons:[],beaconsCount:0,gateways:[],gatewaysCount:0,locations:[],locationsCount:0,users:[],usersCount:0})}setInitData(){this.set(this.defaults())}
82fetchBeacons(e){return deviceService.findByQuery({q:Bql.search().where("deviceType").notEquals(DeviceType.Gateway).where("name").or("uniqueId").or("alias").like(e).buildQuery(),selector:"uniqueId,name,alias",maxResult:maxResult}).then(t=>{const n=(t=t.devices).length;n?(this.set({beacons:t,beaconsCount:n}),this.trigger("beaconsUpdate")):this.fetchBeaconsByMac(e)})}fetchBeaconsByMac(e){return apiCaller.get("/device?mac=".concat(e)).then(e=>{const t=(e=e.devices).length;this.set({beacons:e,beaconsCount:t}),this.trigger("beaconsUpdate")})}fetchGateways(e){return deviceService.findByQuery({q:Bql.search().where("deviceType").equals(DeviceType.Gateway).where("name").or("uniqueId").or("alias").like(e).buildQuery(),selector:"uniqueId,name,alias",maxResult:maxResult}).then(t=>{const n=(t=t.devices).length;n?(this.set({gateways:t,gatewaysCount:n}),this.trigger("gatewaysUpdate")):this.fetchGatewaysByMac(e)})}fetchGatewaysByMac(e){return apiCaller.get("/device?q=(properties.mac%3D%3D".concat(e,")")).then(e=>{const t=(e=e.devices).length;this.set({gateways:e,gatewaysCount:t}),this.trigger("gatewaysUpdate")})}fetchLocations(e){return locationService.fetchLocations().then(t=>{const n=t.filter(t=>t.name.toLowerCase().indexOf(e.toLowerCase())>=0),i=n.length;this.set({locations:n,locationsCount:i}),this.trigger("locationsUpdate")})}fetchUsers(e){return managerService.querySubordinates({q:Bql.search().where("firstName").or("lastName").or("email").like(e).buildQuery(),selector:"id,firstName,lastName,email",maxResult:maxResult}).then(e=>{const t=e.managers.length;this.set({users:e.managers,usersCount:t}),this.trigger("usersUpdate")})}}var Template$z=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="main-search-container">\n <input '+s((c(n,"attributeName")||t&&c(t,"attributeName")||a).call(o,null!=t?c(t,"selector"):t,{name:"attributeName",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:11},end:{line:2,column:37}}}))+" "+s((c(n,"attributeId")||t&&c(t,"attributeId")||a).call(o,null!=t?c(t,"selector"):t,{name:"attributeId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:38},end:{line:2,column:62}}}))+' type="text" class="form-input js-event-click" placeholder="Search for beacons, gateways, locations..." data-event="click-mainSearch" data-eventcategory="Main Search">\n <span class="search-icon hidden-sm hidden-md"><i class="icon icon-search"></i></span>\n <div class="main-search">\n <div class="main-search-block main-search-block-beacons">\n <div class="main-search-header">Beacons (<span class="main-search-beacons-count"></span>)</div>\n <div class="main-search-result main-search-beacons"></div>\n </div>\n <div class="main-search-block main-search-block-gateways">\n <div class="main-search-header">Gateways (<span class="main-search-gateways-count"></span>)</div>\n <div class="main-search-result main-search-gateways"></div>\n </div>\n <div class="main-search-block main-search-block-locations">\n <div class="main-search-header">Locations (<span class="main-search-locations-count"></span>)</div>\n <div class="main-search-result main-search-locations"></div>\n </div>\n <div class="main-search-block main-search-block-users">\n <div class="main-search-header">Users (<span class="main-search-users-count"></span>)</div>\n <div class="main-search-result main-search-users"></div>\n </div>\n <div class="main-search-block main-search-block-no-results margin-top--large">\n <div class="main-search-result">No results.</div>\n </div>\n </div>\n</div>'},useData:!0});function template$a(e,t,n){const i=Template$z(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$A=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="search-result">\n <a class="navigation-link" '+l((d(n,"href2")||t&&d(t,"href2")||c).call(s,null!=t?d(t,"link"):t,{name:"href2",hash:{uniqueId:null!=t?d(t,"uniqueId"):t},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:31},end:{line:2,column:63}}}))+' data-event="click-'+l("function"==typeof(a=null!=(a=d(n,"label")||(null!=t?d(t,"label"):t))?a:c)?a.call(s,{name:"label",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:82},end:{line:2,column:91}}}):a)+'" data-eventcategory="Main search">\n '+(null!=(o="function"==typeof(a=null!=(a=d(n,"text")||(null!=t?d(t,"text"):t))?a:c)?a.call(s,{name:"text",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:18}}}):a)?o:"")+"\n </a>\n</div>"},useData:!0}
82);function devicesTemplate(e,t,n){const i=Template$A(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$B=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="search-result">\n <a class="navigation-link" '+l((d(n,"href2")||t&&d(t,"href2")||c).call(s,null!=t?d(t,"link"):t,{name:"href2",hash:{campusId:null!=t?d(t,"uniqueId"):t},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:31},end:{line:2,column:63}}}))+' data-event="click-'+l("function"==typeof(a=null!=(a=d(n,"label")||(null!=t?d(t,"label"):t))?a:c)?a.call(s,{name:"label",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:82},end:{line:2,column:91}}}):a)+'" data-eventcategory="Main search">\n '+(null!=(o="function"==typeof(a=null!=(a=d(n,"text")||(null!=t?d(t,"text"):t))?a:c)?a.call(s,{name:"text",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:18}}}):a)?o:"")+"\n </a>\n</div>"},useData:!0});function locationsTemplate(e,t,n){const i=Template$B(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$C=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="search-result">\n <a class="navigation-link" '+l((d(n,"href2")||t&&d(t,"href2")||c).call(s,null!=t?d(t,"link"):t,{name:"href2",hash:{userId:null!=t?d(t,"userId"):t},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:31},end:{line:2,column:59}}}))+' data-event="click-'+l("function"==typeof(a=null!=(a=d(n,"label")||(null!=t?d(t,"label"):t))?a:c)?a.call(s,{name:"label",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:78},end:{line:2,column:87}}}):a)+'" data-eventcategory="Main search">\n '+(null!=(o="function"==typeof(a=null!=(a=d(n,"text")||(null!=t?d(t,"text"):t))?a:c)?a.call(s,{name:"text",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:18}}}):a)?o:"")+"\n </a>\n</div>"},useData:!0});function usersTemplate$1(e,t,n){const i=Template$C(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$D=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return c("function"==typeof(o=null!=(o=l(n,"partStart")||(null!=t?l(t,"partStart"):t))?o:s)?o.call(a,{name:"partStart",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:1,column:13}}}):o)+'<span class="highlight">'+c("function"==typeof(o=null!=(o=l(n,"highlight")||(null!=t?l(t,"highlight"):t))?o:s)?o.call(a,{name:"highlight",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:37},end:{line:1,column:50}}}):o)+"</span>"+c("function"==typeof(o=null!=(o=l(n,"partEnd")||(null!=t?l(t,"partEnd"):t))?o:s)?o.call(a,{name:"partEnd",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:57},end:{line:1,column:68}}}):o)},useData:!0});function Highlight(e,t,n){const i=Template$D(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$E=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"text")||(null!=t?a(t,"text"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:1,column:8}}}):o)},useData:!0});function NoHighlight(e,t,n){const i=Template$E(e,t);return n||"undefined"==typeof $?i:$(i)}class MainSearchView extends backbone.View{constructor(e){super(),this.model=new MainSearchModel,this.template=template$a,this.selector=e,this.isListenerAdded=!1,this.resultTemplates={beacons:devicesTemplate,gateways:devicesTemplate,locations:locationsTemplate,users:usersTemplate$1},this.listenTo(this.model,"beaconsUpdate",this.showBeacons),this.listenTo(this.model,"gatewaysUpdate",this.showGateways),this.listenTo(this.model,"locationsUpdate",this.showLocations),this.listenTo(this.model,"usersUpdate",this.showUsers)}render(){return this.$el.html(this.template({selector:this.selector})),this.stickit(),this}remove(){this.unstickit(),this.$el.detach()}regexEscape(e){return e.replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\-]","g"),"\\$&")}renderHighlightTemplate(e,t){const n=t.length;t=this.regexEscape(t);const i=new RegExp(t,"i"),r=e.search(i);return r>=0?Highlight({partStart:e.substring(0,r),highlight:e.substring(r,r+n),partEnd:e.substring(r+n)}):NoHighlight({text:e})}focusOnSearch(){this.model.set("focus",!0)}searchQuery(e){this.model.set("focus",!0);const t=e.target.value;this.model.set("search",t),t.length>=2?(this.model.fetchBeacons(t),this.model.fetchGateways(t),this.model.fetchLocations(t),this.model.fetchUsers(t)):this.model.clear()}setKeyDownListener(e){const t=_$1.debounce(e=>this.searchQuery(e),500);e.addEventListener("keyup",t,!0)}removeListener(e){let t=setInterval(()=>{const n=document.getElementById(e);n&&(n.removeEventListener("keyup",e=>this.searchQuery(e),!0),clearInterval(t))},50)}clearSearch(){this.model.setInitData();let e=setInterval(()=>{if(document.getElementById(this.selector)){const t=document.getElementById(this.selector);t.value="",this.isListenerAdded||(this.isListenerAdded=!0,this.setKeyDownListener(t)),clearInterval(e)}},50)}showBeacons(){const e=this.model.get("beacons"),t=this.$el.find(".main-search-beacons");
82t.empty(),e.forEach(e=>{const n=e.alias?", ".concat(e.alias):"",i=this.renderHighlightTemplate("".concat(e.uniqueId," (").concat(e.name,")").concat(n),this.model.get("search"));t.append(this.resultTemplates.beacons({uniqueId:e.uniqueId,text:i,link:"device.manage",label:"beacons"}))})}showGateways(){const e=this.model.get("gateways"),t=this.$el.find(".main-search-gateways");t.empty(),e.forEach(e=>{const n=e.alias?", ".concat(e.alias):"",i=e.name?this.renderHighlightTemplate("".concat(e.uniqueId," (").concat(e.name,")").concat(n),this.model.get("search")):this.renderHighlightTemplate(e.uniqueId,this.model.get("search"));t.append(this.resultTemplates.gateways({uniqueId:e.uniqueId,text:i,link:"gateway.manage",label:"gateways"}))})}showLocations(){const e=this.model.get("locations"),t=this.$el.find(".main-search-locations");t.empty(),e.forEach(e=>{const n=this.renderHighlightTemplate(e.name,this.model.get("search"));t.append(this.resultTemplates.locations({uniqueId:e.id,text:n,link:"smartLocation.locations",label:"locations"}))})}showItems(){const e=this.model.get("items"),t=this.$el.find(".main-search-items");t.empty(),e.forEach(e=>{const n=this.renderHighlightTemplate("".concat(e.properties.name," (").concat(e.trackingId,")"),this.model.get("search"));t.append(this.resultTemplates.items({text:n,link:"item.editor",label:"items",trackingId:e.trackingId}))})}showTriggers(){const e=this.model.get("triggers"),t=this.$el.find(".main-search-triggers");t.empty(),e.forEach(e=>{const n=this.renderHighlightTemplate("".concat(e.name," (").concat(e.context.trackingId,")"),this.model.get("search"));t.append(this.resultTemplates.triggers({text:n,triggerId:e.id,link:"edi.trigger.manage",label:"triggers"}))})}showActions(){const e=this.model.get("actions"),t=this.$el.find(".main-search-actions");t.empty(),e.forEach(e=>{const n=this.renderHighlightTemplate(e.name,this.model.get("search"));t.append(this.resultTemplates.actions({text:n,actionId:e.id,link:"edi.action.manage",label:"actions"}))})}showUsers(){const e=this.model.get("users"),t=this.$el.find(".main-search-users");t.empty(),e.forEach(e=>{const n=this.renderHighlightTemplate("".concat(e.firstName," ").concat(e.lastName," (").concat(e.email,")"),this.model.get("search"));t.append(this.resultTemplates.users({text:n,userId:e.id,link:"accounts.users.edit",label:"users"}))})}bindings(){return{".main-search-gateways-count":{observe:"gatewaysCount"},".main-search-beacons-count":{observe:"beaconsCount"},".main-search-locations-count":{observe:"locationsCount"},".main-search-items-count":{observe:"itemsCount"},".main-search-triggers-count":{observe:"triggersCount"},".main-search-actions-count":{observe:"actionsCount"},".main-search-users-count":{observe:"usersCount"},".main-search-block-beacons":this.bindColumns("beacons"),".main-search-block-gateways":this.bindColumns("gateways"),".main-search-block-locations":this.bindColumns("locations"),".main-search-block-triggers":this.bindColumns("triggers"),".main-search-block-actions":this.bindColumns("actions"),".main-search-block-users":this.bindColumns("users"),".main-search-block-no-results":{classes:{hidden:{observe:["beaconsCount","gatewaysCount","locationsCount","itemsCount","triggersCount","actionsCount","usersCount"],onGet:e=>e.some(e=>e>0)}}},".main-search":{classes:{hidden:{observe:["focus","search"],onGet:e=>{let[t,n]=e;return!(t&&n.length>=2)}}}}}}bindColumns(e){return{classes:{hidden:{observe:"".concat(e,"Count"),onGet:e=>0===e}}}}}class UsersView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{})),this.model=new UsersModel,this.usersListView=new UsersListView({model:this.model.users}),this.noUsersView=new NoUsersView,this.template=usersTemplate,this.usersSearch=new MainSearchView("userSearch")}load(){return this.model.hasNoUsers()}render(){return this.$el.html(this.template()),this.$el.find(".el-main-search").append(this.usersSearch.render().el),this.$el.find(".el-main-search input").attr("placeholder","Search for users"),this.renderZeroElementsView(),this.renderLists(),this}attach(){this.usersSearch.removeListener("userSearch"),this.usersSearch.clearSearch(),this.refreshList(),this.stickit(),navigationView.render("account")}detach(){this.stopListening(),this.unstickit(),this.usersListView.removeAllTooltips(),this.$el.detach()}renderZeroElementsView(){this.$el.find("#el-empty-users-view").append(this.noUsersView.render().$el)}refreshList(){const e=this.usersListView.fetch();l.pushPromise(e),e.then(()=>this.usersListView.renderList())}renderLists(){this.$el.find("#users-list").append(this.usersListView.render().$el)}remove(){this.usersListView.remove(),super.remove()}bindings(){const e=e=>({classes:{hidden:{observe:"hasNoElements",onGet:t=>t===e}}});return{"#users-list":e(!0),"#el-empty-users-view":e(!1)}}}class AccountNavigator{addToNavigation(){this.groups={account:{navigation:!0,icon:"user",isSecondLevelMain:!0,dataEvent:"expand-account",entries:{users:{getLink:()=>navigationService.getUsersLink(),showInTree:!0,navigation:!0,icon:"user",preventCollapse:!0,view:new UsersView,dataEvent:"click-users",entries:{"users-new":{getLink:()=>navigationService.getUserCreatorLink(),view:new CreateUserView,showInTree:!1},"users-edit":{getLink:e=>navigationService.getUserEditorLink(e),showInTree:!1}}},"account-overview":{getLink:()=>navigationService.getLinkToAccountSettings(),showInTree:!0,dataEvent:"click-accountDetails",navigation:!0,icon:"user",preventCollapse:!0}}}},navigationView.addToNavigation(this.groups)}}class AccountModule extends backbone.Router{init(){navigationService.registerRoutes("accounts.users",this,"usersView"),navigationService.registerRoutes("accounts.users.edit",this,"updateUser"),navigationService.registerRoutes("accounts.users.add",this,"createUser"),navigationService.registerRoutes("account.overview",this,"accountOverviewView"),this.navigator=new AccountNavigator,this.navigator.addToNavigation()}showModule(e){navigationView.showModule(e)}usersView(){navigationView.showModule({entryId:"users"})}createUser(){navigationView.showModule({entryId:"users-new"})}updateUser(e){navigationView.showModule({entryId:"users-edit",loadModel:e,view:new UpdateUserView})}billingAddress(){this.accountBillingView=this.accountBillingView||new AccountBillingView,navigationView.showModule({entryId:"account-billing",view:this.accountBillingView})}subscriptionList(){}accountOverviewView(){this.accountView=this.accountView||new AccountView,navigationView.showModule({entryId:"account-overview",view:this.accountView})}subscriptionView(e){}}const accountModule=new AccountModule;class OrderService{getOrder(e){return apiCaller.get("/order/claim",{orderId:e})}claimOrder(e){return apiCaller.post("/order/claim",{orderId:e}).then(e=>(applicationEventBus.pushOrderId(e),e))}ensureOrdersProcessed(e){return new Promise(t=>{const n=this;!function i(){return n.getOrder(e).then(e=>{if(Object.values(e.orders).reduce((e,t)=>
82{const n=null!==t.lastImportJob&&t.lastImportJob.finished;return e&&n},!0)){const n=Object.entries(e.orders).map(e=>{let[t,n]=e;return n.orderId=t,n});return t(n)}setTimeout(i,500)})}()})}}const orderService=new OrderService;class AddOrderModel extends backbone.Model{constructor(e,t){return super(e,t),this}defaults(){return{orderId:"",addedDevices:0}}validation(){return{orderId:{required:!0,minLength:6,maxLength:12}}}}class AddOrderView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.model=new AddOrderModel,e.events={"submit form":"addOrder"},super(e),this.template=e.template}bindings(){return{"#model-orderId":validationService.observe("orderId"),".js-add-order":validationService.disabledBindingOnInvalid(this.model,"orderId")}}attach(){this.model.clear(),validationService.bind(this),this.stickit(this.model,this.bindings()),navigationView.render("subscriptions")}render(){return this.$el.html(this.template()),this}detach(){validationService.unbind(this),this.unstickit(),this.$el.detach()}remove(){super.remove()}addOrder(e){if(e.preventDefault(),this.model.isValid(!0)){const e=/[^A-Za-z0-9_-]/g,t=this.model.get("orderId"),n=t.replace(e,"");orderService.claimOrder(n).then(e=>{let n="";const i=[];for(const[r,o]of Object.entries(e.orders))o.id=r,"CLAIMED"!==o.status&&"RELEASED"!==o.status?n+="Order not found (ID: ".concat(t,")"):i.push(o);if(""!==n){const e={closeButton:!0,timeOut:"0",extendedTimeOut:"0",toastClass:"toast toast-claim-id"};toastService.info("• Make sure the Order ID has not already been used - it's a one-time use <br/>\n • Allowed characters are: a-z, A-Z, 0-9, - and _ <br />\n • Order ID is case-sensitive, this means capital letters and small letters are distinguished <br />\n • For example, if the Order ID is <strong>KNKT-fRzRq</strong> <br />\n Kio Cloud will not accept: <strong>knkt-frzrq</strong> or <strong>KNKTfRzRq</strong> or <strong>fRzRq</strong>\n ","",e),toastService.error(n,"",e)}if(i.length>0){const e=orderService.ensureOrdersProcessed(i.map(e=>e.id).join(","));loader.pushPromise(e),e.then(e=>{const t=e.filter(e=>"DONE"===e.lastImportJob.status),n=e.filter(e=>"DONE"!==e.lastImportJob.status);t.length>0&&toastService.success(i18n.get("order.add.devices.success",t.map(e=>e.orderId).join(","))),n.length>0&&toastService.error("Failed to claim orders: ".concat(n.map(e=>e.orderId).join(", "))),navigationService.go2("device.list")})}},()=>toastService.error(i18n.get("order.add.wrongOrderId")))}}}var Template$F=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){return"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="page-grey add-order-view">\n <form>\n <div class="content-wrapper">\n <h2 class="main-header">'+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"devices.add",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:36},end:{line:4,column:58}}}))+'</h2>\n </div>\n <div class="grid-row margin">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{classes:"grid-column-12",placeholder:"order.add.enterOrderId",label:"order.add.orderId",entity:"model",property:"orderId"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n <button type="submit" class="button primary js-add-order margin-left margin-right right">'+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"devices.add",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:97},end:{line:13,column:120}}}))+"</button>\n </form>\n</div>\n"},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["form-input-sibling"],data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:16},end:{line:10,column:27}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function addOrderTemplate(e,t,n){const i=Template$F(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$G=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="page-grey add-order-summary-view">\n <h2 class="main-header">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"order.add.summary",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:28},end:{line:2,column:56}}}))+'</h2>\n\n <div class="panel-standard summary">\n <div class="alert-box success text-align--center margin-bottom">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"order.add.summary.success",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:72},end:{line:5,column:108}}}))+'</div>\n <div class="margin-vertical margin-bottom">\n <div class="form-label-container">
82\n <span class="form-label">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"order.add.summary.details.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:41},end:{line:8,column:83}}}))+'</span>\n </div>\n <div class="display--flex panel-info flex-wrap--wrap">\n <span class="margin-right--tiny">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"order.add.orderId",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:49},end:{line:11,column:77}}}))+'</span>\n <span class="font-weight--bold" id="order-id">'+c("function"==typeof(o=null!=(o=l(n,"orderId")||(null!=t?l(t,"orderId"):t))?o:s)?o.call(a,{name:"orderId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:62},end:{line:12,column:73}}}):o)+'</span>\n <span class="margin-left margin-right font-size--tiny color--gray-3">⚫</span>\n <span class="margin-right--tiny">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"order.add.count",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:49},end:{line:14,column:75}}}))+'</span>\n <span class="font-weight--bold" id="added-devices">'+c("function"==typeof(o=null!=(o=l(n,"addedDevices")||(null!=t?l(t,"addedDevices"):t))?o:s)?o.call(a,{name:"addedDevices",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:67},end:{line:15,column:83}}}):o)+'</span>\n </div>\n </div>\n <div class="buttons">\n <a class="button primary navigation-link" '+c((l(n,"href")||t&&l(t,"href")||s).call(a,"device.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:19,column:54},end:{line:19,column:76}}}))+">"+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"order.add.seeDevices",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:19,column:77},end:{line:19,column:108}}}))+"</a>\n </div>\n </div>\n</div>\n"},useData:!0});function orderSummaryTemplate(e,t,n){const i=Template$G(e,t);return n||"undefined"==typeof $?i:$(i)}class AddOrderSummaryView extends backbone.View{constructor(e){super(e),this.template=orderSummaryTemplate}render(){return this.$el.html(this.template(this.model.toJSON())),this}attach(){this.stickit(this.model,this.bindings())}detach(){this.unstickit(),this.$el.detach()}bindings(){return{"#order-id":"orderId","#added-devices":"addedDevices"}}}class AddOrderNavigator{addToNavigation(){this.groups={addOrderElement:{navigation:!0,icon:"beacon",isSecondLevelMain:!0,dataEvent:"click-add-order",entries:{addOrder:{navigation:!0,showInTree:!0,icon:"beacon",preventCollapse:!0,getLink:()=>navigationService.getAddOrderLink(),showInTree:!0,dataEvent:"click-add-order",level:1},"device-order-summary":{getLink:e=>navigationService.getAddOrderLink(e),showInTree:!1}}}},navigationView.addToNavigation(this.groups)}}class AddOrderModule extends backbone.Router{init(){navigationService.registerRoutes("order.add",this,"addOrder"),this.navigator=new AddOrderNavigator,this.navigator.addToNavigation(),this.addOrderView=new AddOrderView,this.addDevices=new AddOrderView({template:addOrderTemplate})}showAddOrderSummary(e){navigationView.showModule({entryId:"device-order-summary",view:new AddOrderSummaryView({model:e})})}addOrder(){navigationView.showModule({entryId:"addOrder",view:this.addDevices})}goToAddOrder(){navigationView.showModule({entryId:"addOrder",view:this.addOrderView})}}const addOrderModule=new AddOrderModule,DeviceModelPrototype=backbone.Model.extend({idAttribute:"uniqueId"});class FirmwareService{findAllByUniqueIds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";return _$1.isArray(e)||(e=[e]),e.length?apiCaller.getAll("firmwares","/firmware",{uniqueId:e.join(","),type:t}):jquery.Deferred().resolve([]).promise()}findByUniqueIds(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return _$1.isArray(e)||(e=[e]),e.length?apiCaller.get("/firmware/last",{uniqueId:e.join(",")}):jquery.Deferred().resolve({}).promise()}schedule(e,t){return _$1.isArray(e)||(e=[e]),e.length?apiCaller.post("/firmware/schedule",{uniqueId:e.join(","),name:t}):jquery.Deferred().resolve([]).promise()}unschedule(e){return _$1.isArray(e)||(e=[e]),e.length?apiCaller.post("/firmware/unschedule",{uniqueId:e.join(",")}):jquery.Deferred().resolve([]).promise()}}var firmwareService=new FirmwareService;class DeviceModelLegacy extends DeviceModelPrototype{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!_$1.has(e,"uniqueId"))throw Error("`uniqueId` is required when creating a Device Model");return super(e,t),this}defaults(){return{access:"",actionsCount:0,alias:"",tags:[],browserActions:[],contentActions:[],deviceType:"",firmware:"",id:"",instanceId:"",interval:0,lat:null,lng:null,mac:"",major:0,managerId:"",metadata:null,minor:0,name:"",namespace:"",profiles:[],proximity:"",shares:[],shuffled:!1,specification:"",batteryLevel:null,lastSeen:null,subscriptionPlans:[Subscription.PlanType.NotApplicable],txPower:0,uniqueId:"",url:"",venue:null,lp:null}}sync(e,t,n){const i=jquery.Deferred();if("read"===e)deviceService.findAllByUniqueIds(this.get("uniqueId")).then(e=>{const t=this.foldValues(e);this.set(t)}).then(()=>{const e=configService.findAllByUniqueIds(this.get("uniqueId"),this.get("deviceType")),t=firmwareService.findAllByUniqueIds(this.get("uniqueId"));e.then(e=>{this.set("config",_$1.indexBy(e,"uniqueId"))}),t.then(e=>{const t={};_$1.each(e,e=>{t[e.optional]=t[e.optional]||[],_$1.every(e.uniqueId,e=>-1!==this.get("uniqueId").indexOf(e))&&t[e.optional].push(e)}
82),t[!1]&&1===t[!1].length&&this.set("latestFirmware",t[!1][0]),t[!0]&&1===t[!0].length&&this.set("latestOptionalFirmware",t[!0][0])}),jquery.when(e,t).then(i.resolve,i.reject)});else if("update"===e){let e=void 0===n.attrs?this.toJSON():n.attrs;!1===e&&(e={});let t=_$1.pick(e,DEVICE_PROPERTIES_VIRTUAL),r=_$1.pick(e,DEVICE_PROPERTIES_PHYSICAL);const o=function(e){return _$1.isBoolean(e)||_$1.isNumber(e)&&!_$1.isNaN(e)||!!e};t=_$1.pick(t,o),r=_$1.pick(r,o);const a={uniqueId:[this.get("uniqueId")].join(","),deviceType:this.get("deviceType")};let s=jquery.Deferred().resolve().promise(),c=jquery.Deferred().resolve().promise();_$1.isEmpty(t)||(t.tags&&0===t.tags.length&&delete t.tags,s=deviceService.update(_$1.extend(t,a))),_$1.isEmpty(r)||(c=configService.create(_$1.extend(r,a)).then(e=>{this.set("config",_$1.indexBy(e,"uniqueId"))})),jquery.when(s,c).then(i.resolve,i.reject)}return i.promise()}removeConfig(e){const t=e||_$1.keys(this.get("config"));return configService.remove(t).then(()=>{if(e){const t=this.get("config");delete t[e],_$1.isEmpty(t)?this.unset("config",{silent:!0}):this.set("config",t,{silent:!0})}else this.unset("config",{silent:!0});this.trigger("change:config")})}foldValues(e){const t=["id","uniqueId","powerSaving","tags"],n={},i={};return _$1.each(e,e=>{_$1.each(e,(e,t)=>{n[t]=n[t]||[],n[t].push(e)})}),_$1.each(n,(e,n)=>{-1!==t.indexOf(n)?i[n]=e:i[n]=reduceToSingleValueOrEmptyString(e)}),i.tags=[],i}}function reduceToSingleValueOrEmptyString(e){return _$1.reduce(_$1.toArray(e),(e,t)=>_$1.isArray(e)&&_$1.isArray(t)?e.concat(t):e===t?t:"")}class DeviceCollectionActionsModel extends CollectionActionsModel{constructor(e,t){return super(e,t),this}defaults(){const e=super.defaults();return e.buyDevices=!1,e}}class DeviceCollection extends backbone.Collection{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{model:DeviceModelLegacy,fetchGraph:{configs:!0,firmwares:!0},actions:new DeviceCollectionActionsModel,listId:"DeviceCollection"}),super(null,e),this.fetchGraph=e.fetchGraph,this.actions=e.actions,this.searchMeta=e.searchMeta||new SearchMetaModel({listId:e.listId}),this.searchMeta.resultCounted()}newSearch(e){return this.actions.get("listEnabled")?(this.searchMeta.query(e),this.fetch()):jquery.Deferred().resolve([]).promise()}buildApiQuery(){return this.searchMeta.toApiQuery()}fetch(){this.actions.keepSelection()||this.actions.resetSelection();const e=this.buildApiQuery();return jquery.Deferred(t=>{let{resolve:n,reject:i}=t;this.fetchDevices(e).then(e=>jquery.when(this.fetchConfigs(e),this.fetchFirmwares(e)).then((t,n)=>({foundDevices:e,foundConfigs:t,foundFirmwares:n}))).then(e=>{let{foundDevices:t,foundConfigs:i,foundFirmwares:r}=e;this.parseCollection(t,i,r),n(this)},i)}).promise()}fetchDevices(e){return deviceService.findByQuery(e).then(e=>(this.searchMeta.set(e.searchMeta),e.devices))}fetchAllDevices(){const e=this.buildApiQuery();return deviceService.findAllByQuery(e).then(e=>(this.reset(e),this))}fetchConfigs(e){return jquery.Deferred(t=>{let{resolve:n,reject:i}=t;if(!this.fetchGraph.configs)return void n([]);let r=[];const o=_$1.chain(e).filter(e=>securityService.allowOnDevice(DeviceAction.FetchConfig,e)).groupBy("deviceType").map((e,t)=>jquery.Deferred(n=>{let{resolve:i,reject:o}=n;if(!e.length)return void i([]);const a=_$1.pluck(e,"uniqueId");configService.findByUniqueIds(a,t).then(e=>{let{configs:t}=e;r=r.concat(t)}).then(i,o)}).promise()).value();jquery.when.apply(jquery,o).then(()=>n(r),i)}).promise()}fetchFirmwares(e){return jquery.Deferred(t=>{let{resolve:n,reject:i}=t;if(!this.fetchGraph.firmwares)return void n([]);const r=_$1.chain(e).filter(e=>securityService.allowOnDevice(DeviceAction.FetchFirmware,e)).plu
82ck("uniqueId").value();r.length?firmwareService.findAllByUniqueIds(r).then(n,i):n([])}).promise()}parseCollection(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=this.searchMeta.get("startIndex")+1;const r=n.reduce((e,t)=>(t.uniqueId.forEach(n=>e[n]=t),e),{}),o=this.actions.keepSelection(),a=this.selectedIds();e.forEach(e=>{e.lp=i++,e.config=t.find(t=>t.uniqueId===e.uniqueId),e.latestFirmware=r[e.uniqueId],e.hasOwnProperty("properties")&&(e.mac=e.properties.mac),e.selected=o&&a.includes(e.uniqueId)}),this.actions.set({emptyResult:0===e.length,resultCount:this.searchMeta.get("count")}),this.reset(e)}nextPage(){return this.searchMeta.nextPage(),this.fetch()}prevPage(){return this.searchMeta.prevPage(),this.fetch()}firstPage(){return this.searchMeta.reset(),this.fetch()}changeOrder(e,t){return this.searchMeta.changeOrder(e,t),this.fetch()}orderBy(e,t){this.searchMeta.orderBy(e,t)}selectAll(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.forEach(n=>{n.set("selected",e,t)})}selectedModels(){return this.where({selected:!0})}enabled(e){this.actions.set("listEnabled",e)}selectedIds(){return this.actions.selectedIds()}uniqueId(e){return this.get(e).get("uniqueId")}uniqueIds(){return this.pluck("uniqueId")}getCurrentQuery(){return this.searchMeta.toApiQuery().q}}class TypesFieldModel extends SelectFieldModel{constructor(e){e.collection=[{id:DeviceModel.Gateway,name:i18n.get("device.properties.property.type.".concat(DeviceModel.Gateway))},{id:DeviceModel.PortalLight,name:i18n.get("device.properties.property.type.".concat(DeviceModel.PortalLight))},{id:DeviceModel.External,name:i18n.get("device.properties.property.type.".concat(DeviceModel.External))}],super(e)}setValue(e){this.set("value",e)}clear(){this.set("value",[],{clear:!0})}}class GatewaysSearchModel extends SearchModel{constructor(){return super({fields:["uniqueId","venue","orderId","tag","manager","mac"],quickFields:[new TypesFieldModel({name:"types"})],advancedFields:[new InputFieldModel({name:"uniqueId"}),new InputArrayFieldModel({name:"tags",value:[]}),new InputFieldModel({name:"orderId"}),new SelectFieldModel({name:"venuesIds"}),new ManagerFieldModel({name:"managersIds"}),new InputFieldModel({name:"mac"})]},{uniqueId:new LikeQuery("uniqueId"),venue:new LikeQuery("venue.name"),manager:new Or(new LikeQuery("manager.firstName"),new LikeQuery("manager.lastName")),"manager.id":new EqualQuery("manager.id"),managersIds:new OrList("manager.id",EqualQuery),"venue.id":new EqualQuery("venue.id"),venuesIds:new OrList("venue.id",EqualQuery),"not.venue.id":new NotEqualQuery("venue.id"),"no.venue":new IsNullQuery("venue.id"),"except.venue":new Or(new IsNullQuery("venue.id"),new NotEqualQuery("venue.id")),"except.uniqueIds":new AndList("uniqueId",NotEqualQuery),"except.deviceTypes":new AndList("deviceType",NotEqualQuery),"where.deviceTypes":new OrList("deviceType",EqualQuery),"where.role":new EqualQuery("role"),"where.specification":new OrList("specification",EqualQuery),orderId:new EqualQuery("orderId"),tags:new OrList("tags",ContainsQuery),tag:new ContainsQuery("tags"),mac:new EqualQuery("properties.mac"),subscriptionPlan:new ContainsQuery("subscriptionPlans"),exceptSubscriptionPlan:new NotContainsQuery("subscriptionPlans"),subscriptionPlans:new OrList("subscriptionPlans",ContainsQuery),exceptSubscriptionPlans:new AndList("subscriptionPlans",NotContainsQuery),types:new OrList("model",EqualQuery)}),this}bindToManager(e){return super.bindField("manager.id",e)}bindToVenue(e){return super.bindField("venue.id",e)}exceptVenue(e){return super.bindField("except.venue",e)}
82noVenue(){return super.bindField("no.venue")}whereDeviceTypes(e){return super.bindField("where.deviceTypes",e)}whereRole(e){return super.bindField("where.role",e)}whereSubscriptionPlans(e){return super.bindField("subscriptionPlans",e)}exceptSubscriptionPlans(e){return super.bindField("exceptSubscriptionPlans",e)}toString(){return super.buildQuery()}}const ObjectType={Venue:"Venue",Device:"Device"};class DeviceCountersModel extends backbone.Model{constructor(e,t){super(e,t),this.logger=new Logger("DeviceCountersModel"),this.graphFetcher={[ObjectType.Device]:this.deviceFetcher.bind(this)}}defaults(){return{fetchGraph:[]}}deviceFetcher(e){return this.logger.log("Fetching counters for: %o",e),deviceService.countDevice(e.q).then(t=>this.setGraphCount(e,t))}setGraphCount(e,t){this.set({["has".concat(e.name.charAt(0).toUpperCase()).concat(e.name.slice(1))]:t>0,["".concat(e.name,"Count")]:t,["".concat(e.name,"Fetched")]:!0})}fetch(){const e=this.get("fetchGraph").filter(e=>!this.get("".concat(e.name,"Fetched"))).map(e=>this.graphFetcher[e.type](e));return e.length>0?Promise.all(e).then(()=>this):Promise.resolve(this)}reset(e){this.logger.log("Resetting counters model: %s",e),e?this.set("".concat(e,"Fetched"),!1):this.get("fetchGraph").forEach(e=>this.set("".concat(e.name,"Fetched"),!1))}addFetchGraph(e){this.get("fetchGraph").push(e)}}class DeviceCountersBuilder{constructor(){this.model=new DeviceCountersModel}build(){return this.model}beacons(){const e=new DeviceSearchModel;return this.model.addFetchGraph({name:"beacons",type:ObjectType.Device,q:e.beaconQuery()}),applicationEventBus.onOrderId(()=>this.model.reset("beacons")),this}gateways(){const e=new GatewaysSearchModel;e.whereDeviceTypes([DeviceType.Gateway,DeviceType.External]),e.whereRole(ExternalRole$1.Source),this.model.addFetchGraph({name:"gateways",type:ObjectType.Device,q:e.buildQuery()});const t=()=>this.model.reset("gateways");return applicationEventBus.onOrderId(t),applicationEventBus.onRemoveExternal(t),applicationEventBus.onAddExternal(t),this}saasGateways(){return this.model.addFetchGraph({name:"saasGateways",type:ObjectType.Device,q:Bql.search().where("deviceType").equals(DeviceType.Gateway).where("subscriptionPlans").contains(Subscription.PlanType.LocationEngine).buildQuery()}),applicationEventBus.onSubscription(()=>this.model.reset("saasGateways")),this}customDevice(e,t){return this.model.addFetchGraph({name:e,q:t,type:ObjectType.Device}),this}}class DeviceViewModel extends DeviceModelLegacy{constructor(e,t){return super(e=_$1.defaults(e,{selected:!1}),t),this}removeExternal(){return deviceService.removeExternal(this.get("uniqueId"))}}class BeaconsModel extends backbone.Model{constructor(e,t){return super(e,t),this.searchModel=new DeviceSearchModel,this.searchModel.setBeaconQuery(),this.beacons=new DeviceCollection({model:DeviceViewModel,listId:"BeaconsModel"}),this.deviceCounters=(new DeviceCountersBuilder).beacons().build(),this.venueModel=null,this}defaults(){return{hasNoElements:!1}}setBatteryFilter(e){this.searchModel.whereBatteryLevel(e)}setFirmwareFilter(e){this.searchModel.whereFirmware(e)}setLastSeenFilter(e){this.searchModel.whereLastSeen(e)}setModel(e){this.searchModel.whereModel(e)}sortBeaconListByVenues(e){this.beacons.orderBy("venue.name",e)}fetch(){const e=this.searchModel.buildQuery();return this.beacons.newSearch(e)}}var Template$H=Handlebars.template({1:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="search-view">\n <div class="display--flex list-header">\n <div class="display--flex nowrap sm-no-margin">\n'+(null!=(o=e.invokePartial(a(i,"search-view-header"),t,{name:"search-view-header",fn:e.program(1,r,0),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="" id="el-quick-filters-layout">\n </div>\n <div class="display--flex flex-grow--1 flex-direction--row-reverse hidden-sm hidden-md">\n <div class="button secondary filter-advanced-button margin-left--small" id="js-show-advanced">Advanced search</div>\n </div>\n </div>\n <div class="advanced-filters hidden-sm" id="js-advanced-filters">\n <div>\n <form class="margin--none" id="js-advanced-filters-form">\n <div class="font-weight--bold margin-top">Advanced search</div>\n <div class="" id="el-advanced-filters-layout"></div>\n <div class="grid-row flex-direction--row-reverse padding-top margin-top">\n <button class="button secondary js-event-click" data-event="click-advancedSearch">Search</button>\n <button class="button cancel-blue" id="js-close-advanced">Close</button>\n </div>\n </form>\n </div>\n <div class="grid-row margin-top align-items--center">\n <div id="el-active-filters" class="grid-row flex-wrap--wrap"></div>\n <a id="js-clear-advanced" class="link-button button secondary margin-vertical js-event-click" data-event="click-advancedSearchClear">Clear search</a>\n </div>\n </div>\n</div>\n'},usePartial:!0,useData:!0}
82);Handlebars.registerPartial("search-view-partial",Template$H);var Template$I=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"search-view-partial"),t,{name:"search-view-partial",data:r,helpers:n,partials:i,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0});function searchViewTemplate(e,t,n){const i=Template$I(e,t);return n||"undefined"==typeof $?i:$(i)}class SearchView extends backbone.View{constructor(e){super(e=_$1.defaults(e,{template:searchViewTemplate,events:{"click .js-search":"fireRefresh","click .js-clear":"clearQuickSearch","click #js-show-advanced":"onShowOrHideAdvancedFilters","click #js-close-advanced":"onShowOrHideAdvancedFilters","click #js-clear-advanced":"clearAdvancedFilters","submit #js-advanced-filters-form":"fireAdvancedSearch"}})),this.template=e.template,this.advancedFiltersTemplate=e.advancedFiltersTemplate,this.quickFiltersTemplate=e.quickFiltersTemplate,this.tooltips=new Tooltip(this)}render(){this.$el.html(this.template(this.model));const e=this.$el.find("#el-advanced-filters-layout");e.append(this.advancedFiltersTemplate(this.model)),this.advancedFilterViews=this.createAdvancedFilterViews(e),this.advancedFilterViews.forEach(e=>e.render());const t=this.$el.find("#el-quick-filters-layout");return this.quickFiltersTemplate&&t.append(this.quickFiltersTemplate(this.model)),this.quickFilterViews=this.createQuickFilterViews(t),this.quickFilterViews.forEach(e=>{e.render(),e.model.on("change:value",this.fireRefresh,this)}),this.stickit(),this}bindings(){const e={classes:{active:{observe:"mode",onGet:e=>e===Mode.Advanced}}};return{"#js-show-advanced":e,"#js-advanced-filters":e}}createQuickFilterViews(){return[]}createAdvancedFilterViews(){return[]}onShowOrHideAdvancedFilters(e){e.preventDefault(),e.stopPropagation(),this.model.toggleMode()}renderActiveFilters(){const e=this.$el.find("#el-active-filters");e.empty(),this.advancedFilterViews.forEach(t=>t.renderActiveFilter(e))}fireAdvancedSearch(e){e.preventDefault(),e.stopPropagation(),this.model.clearFilter(),this.model.advancedMode(),this.fireRefresh()}fireSimpleSearch(){this.fireRefresh()}clearAdvancedFilters(){this.model.clearAdvancedFilters(),this.fireRefresh()}fireRefresh(e,t,n){this.model.trigger("refresh",this,this.model,n)}clearQuickSearch(){this.model.set("query",null),this.fireRefresh()}remove(){this.advancedFilterViews&&this.advancedFilterViews.forEach(e=>e.remove()),this.quickFilterViews&&this.quickFilterViews.forEach(e=>e.remove()),super.remove()}}var Template$J=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:(a(n,"i18nf")||t&&a(t,"i18nf")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"search.fields.%s",null!=t?a(t,"name"):t,{name:"i18nf",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:73},end:{line:1,column:104}}}),entity:"filter-fields",property:null!=t?a(t,"name"):t},data:r,helpers:n,partials:i,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0});function templateInput(e,t,n){const i=Template$J(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$K=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="border--gray-4 padding--small margin-right--small margin-vertical border-radius">\n <span class="text-transform--uppercase">'+c((l(n,"i18nf")||t&&l(t,"i18nf")||s).call(a,"search.fields.%s",null!=t?l(t,"name"):t,{name:"i18nf",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:48},end:{line:2,column:81}}}))+' :</span>\n <span class="color-sapphire-3 font-weight--bold">'+c("function"==typeof(o=null!=(o=l(n,"value")||(null!=t?l(t,"value"):t))?o:s)?o.call(a,{name:"value",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:57},end:{line:3,column:66}}}):o)+"</span>\n</div>\n"},useData:!0}
82);function templateActiveFilters(e,t,n){const i=Template$K(e,t);return n||"undefined"==typeof $?i:$(i)}class InputSearchFieldView extends backbone.View{constructor(e){super(e)}render(){return this.$el.append(templateInput(this.model.toJSON())),this.stickit(),this}bindings(){return bindingFactory().element("#filter-fields-".concat(this.model.get("name"))).observe("value").onSet(e=>e.trim()).build()}remove(){this.unstickit(),super.remove()}renderActiveFilter(e){return this.model.isSet()&&e.append(templateActiveFilters(this.model.toJSON())),this}}class TagsSearchFieldView extends backbone.View{constructor(e){super(e)}render(){return this.$el.append(templateInput(this.model.toJSON())),this.stickit(),this}bindings(){return bindingFactory().element("#filter-fields-".concat(this.model.get("name"))).observe("value").initialize((e,t)=>{e.tagEditor({initialTags:t.get("value"),beforeTagSave:(e,t,n,i,r)=>r.replace(NON_ALPHANUMERIC_REGEXP,""),onChange:(e,n,i)=>{t.set("value",i)}})}).update((e,t,n)=>{let i=n.get("value");if(!i||0===i.length){const t=e.tagEditor("getTags")[0].tags;t&&t.forEach(t=>e.tagEditor("removeTag",t))}}).build()}remove(){this.unstickit(),super.remove()}renderActiveFilter(e){return this.model.isSet()&&e.append(templateActiveFilters(this.model.toJSON())),this}}var Template$L=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group">\n <div class="form-label-container">\n <label for="filter-fields-'+l(typeof(o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:s)===c?o.call(a,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:34},end:{line:3,column:42}}}):o)+'-from" class="form-label">'+l((d(n,"i18nf")||t&&d(t,"i18nf")||s).call(a,"search.fields.%s",null!=t?d(t,"name"):t,{name:"i18nf",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:68},end:{line:3,column:101}}}))+'</label>\n <span class="error-container hidden"></span>\n </div>\n <div class="form-input-container">\n <div>\n <input name="'+l(typeof(o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:s)===c?o.call(a,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:25},end:{line:8,column:33}}}):o)+'-from" id="filter-fields-'+l(typeof(o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:s)===c?o.call(a,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:58},end:{line:8,column:66}}}):o)+'-from" type="text" class="form-input">\n </div>\n <span class="form-input-backbone">-</span>\n <div>\n <input name="'+l(typeof(o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:s)===c?o.call(a,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:25},end:{line:12,column:33}}}):o)+'-to" id="filter-fields-'+l(typeof(o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:s)===c?o.call(a,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:56},end:{line:12,column:64}}}):o)+'-to" type="text" class="form-input">\n </div>\n </div>\n</div>'},useData:!0});function templateRange(e,t,n){const i=Template$L(e,t);return n||"undefined"==typeof $?i:$(i)}class RangeSearchFieldView extends backbone.View{constructor(e){super(e),this.modelFrom=e.modelFrom,this.modelTo=e.modelTo,this.name=e.name}render(){return this.$el.append(templateRange({name:this.name})),this.stickit(this.modelFrom,this.bindingsFrom()),this.stickit(this.modelTo,this.bindingsTo()),this}bindingsFrom(){return bindingFactory().element("#filter-fields-".concat(this.name,"-from")).observe("value").onSet(e=>e.trim()).build()}bindingsTo(){return bindingFactory().element("#filter-fields-".concat(this.name,"-to")).observe("value").onSet(e=>e.trim()).build()}renderActiveFilter(e){return(this.modelFrom.isSet()||this.modelTo.isSet())&&e.append(templateActiveFilters({name:this.name,value:this.rangeValue()})),this}rangeValue(){const e=this.modelFrom.value(),t=this.modelTo.value();return e&&t?"".concat(e," - ").concat(t):e&&!t?"from ".concat(e):!e&&t?"to ".concat(t):""}remove(){this.unstickit(),super.remove()}}var Template$M=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"common-form-group--select-partial"),t,{name:"common-form-group--select-partial",hash:{dataEvent:!0,multiple:!0,dropdown:!0,label:(a(n,"i18nf")||t&&a(t,"i18nf")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"search.fields.%s",null!=t?a(t,"name"):t,{name:"i18nf",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:81},end:{line:1,column:112}}}),entity:"filter-fields",property:null!=t?a(t,"name"):t},data:r,helpers:n,partials:i,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0}
82);function templateDropdown(e,t,n){const i=Template$M(e,t);return n||"undefined"==typeof $?i:$(i)}class SelectSearchFieldView extends backbone.View{constructor(e){super(e)}render(){return this.$el.html(templateDropdown(this.model.toJSON())),this.stickit(),this}bindings(){return{["#filter-fields-".concat(this.model.get("name"))]:{observe:"value",selectOptions:this.model.get("selectOptions")},[".form-group--".concat(this.model.get("name")," .dropdown-menu, .form-group--").concat(this.model.get("name")," .button")]:{classes:{"secondary-light":{observe:"value",onGet:e=>e.length},default:{observe:"value",onGet:e=>!e.length}}}}}renderActiveFilter(e){return this.model.isSet()&&e.append(templateActiveFilters({name:this.model.get("name"),value:this.model.label()})),this}remove(){this.unstickit(),super.remove()}}var Template$N=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="grid-row">\n <div class="grid-column-5 padding-right border-right--gray-2">\n <div class="grid-row">\n <div class="grid-column-3">\n <div id="el-uniqueId"></div>\n <div id="el-name"></div>\n </div>\n <div class="grid-column-4 margin-left">\n <div id="el-orderId"></div>\n <div id="el-tags"></div>\n </div>\n <div class="grid-column-5 margin-left select-fields-column">\n <div id="el-mac"></div>\n <div id="el-manager"></div>\n </div>\n </div>\n </div>\n <div class="grid-column-7 padding-left">\n <div class="grid-row">\n <div class="grid-column-3 padding-right--large">\n <div id="el-major"></div>\n <div id="el-minor"></div>\n </div>\n <div class="grid-column-3 padding-right--large">\n <div id="el-battery"></div>\n <div id="el-firmware"></div>\n </div>\n <div class="grid-column-6">\n <div id="el-proximity"></div>\n <div id="el-instanceId"></div>\n </div>\n </div>\n </div>\n</div>\n'},useData:!0});function advancedFiltersTemplate(e,t,n){const i=Template$N(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$O=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="quick-filters display--flex flex-wrap--wrap">\n <div id="el-models" class="quick-filter-container"></div>\n <div id="el-firmwares" class="quick-filter-container"></div>\n <div id="el-battery" class="quick-filter-container"></div>\n <div id="el-lastseen" class="quick-filter-container"></div>\n</div>\n'},useData:!0});function quickFiltersTemplate(e,t,n){const i=Template$O(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$P=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.invokePartial(c(i,"search-view-partial"),t,{name:"search-view-partial",fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:""},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["search-view-header"],data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:3,column:15}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function beaconSearchViewTemplate(e,t,n){const i=Template$P(e,t);return n||"undefined"==typeof $?i:$(i)}class BeaconsSearchView extends SearchView{constructor(e){e.advancedFiltersTemplate=advancedFiltersTemplate,e.quickFiltersTemplate=quickFiltersTemplate,e.template=beaconSearchViewTemplate,e.className="beacons-search-view",super(e),this.logger=new Logger("BeaconsSearchView","#f4a742"),this.listenTo(this.model,"refresh",this.refreshLists,this)}createQuickFilterViews(e){return[new SelectSearchFieldView({el:e.find("#el-firmwares"),model:this.model.quickField("firmwares")}
82),new SelectSearchFieldView({el:e.find("#el-models"),model:this.model.quickField("models")}),new SelectSearchFieldView({el:e.find("#el-battery"),model:this.model.quickField("batteryLevel")}),new SelectSearchFieldView({el:e.find("#el-lastseen"),model:this.model.quickField("lastSeen")})]}createAdvancedFilterViews(e){return[new InputSearchFieldView({el:e.find("#el-name"),model:this.model.advancedField("name")}),new InputSearchFieldView({el:e.find("#el-uniqueId"),model:this.model.advancedField("uniqueId")}),new InputSearchFieldView({el:e.find("#el-mac"),model:this.model.advancedField("mac")}),new InputSearchFieldView({el:e.find("#el-orderId"),model:this.model.advancedField("orderId")}),new TagsSearchFieldView({el:e.find("#el-tags"),model:this.model.advancedField("tags")}),new InputSearchFieldView({el:e.find("#el-instanceId"),model:this.model.advancedField("instanceId")}),new InputSearchFieldView({el:e.find("#el-firmware"),model:this.model.advancedField("firmware")}),new InputSearchFieldView({el:e.find("#el-proximity"),model:this.model.advancedField("proximity")}),new RangeSearchFieldView({el:e.find("#el-major"),name:"major",modelFrom:this.model.advancedField("majorFrom"),modelTo:this.model.advancedField("majorTo")}),new RangeSearchFieldView({el:e.find("#el-minor"),name:"minor",modelFrom:this.model.advancedField("minorFrom"),modelTo:this.model.advancedField("minorTo")}),new SelectSearchFieldView({el:e.find("#el-manager"),model:this.model.advancedField("managersIds")}),new RangeSearchFieldView({el:e.find("#el-battery"),name:"batteryLevel",modelFrom:this.model.advancedField("batteryLevelFrom"),modelTo:this.model.advancedField("batteryLevelTo")})]}load(){return jquery.Deferred().resolve(this).promise()}attachViews(e){this.devicesView=e}fetchDevices(){const e=this.model.buildQuery();return this.logger.log("Beacon search query: %s, mode: %s",e,this.model.get("mode")),this.devicesView.model.newSearch(e)}refreshLists(e,t,n){if(n&&n.clear)return Promise.resolve();{const e=this.fetchDevices().then(()=>{this.devicesView.renderList(),this.renderActiveFilters()},toastService.detailedError);return l.pushPromise(e),e}}}var Template$Q=Handlebars.template({1:function(e,t,n,i,r){return' <sp
82an class="tag">'+e.escapeExpression(e.lambda(t,t))+"</span>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="tags-inline">\n'+(null!=(o=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"tags"):t,{name:"each",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:0},end:{line:4,column:9}}}))?o:"")+"</span>"},useData:!0});function tagsInlineTemplate(e,t,n){const i=Template$Q(e,t);return n||"undefined"==typeof $?i:$(i)}class DeviceManageBindingBuilder extends BindingBuilder{disabledIfNotAllowed(e,t){return this.disabled("access",()=>!securityService.allowOnDevice(e,t))}disabledClassIfNotAllowed(e,t){return this.toggleClass("disabled","access",()=>!securityService.allowOnDevice(e,t))}hiddenIfNotAllowed(e,t){return this.hidden("access",()=>!securityService.allowOnDevice(e,t))}hiddenIfAllowed(e,t){return this.hidden("access",()=>securityService.allowOnDevice(e,t))}hiddenIfNotAllowedOnVenue(e,t){return this.hidden("access",()=>!securityService.allowOnVenue(e,t))}ensureArray(){return this.onGet(e=>Array.isArray(e)?e:[e]),this.onSet(e=>Array.isArray(e)&&e.length?e[0]:e),this}field(e){return this.currentBinding().field=e,this}tagsEditor(){return this.observe("tags"),this.initialize((e,t)=>{e.tagEditor({initialTags:t.get("tags"),maxTags:DEVICE_PROPERTY_TAGS_MAX,maxLength:DEVICE_PROPERTY_TAG_MAX_LENGTH,placeholder:"+ADD A TAG",beforeTagSave:(e,t,n,i,r)=>r.replace(NON_ALPHANUMERIC_REGEXP,""),onChange:(e,n,i)=>{t.set("tags",i)}})}),this.update((e,t,n)=>{const i=n.get("tags");if(!i||0===i.length){const t=e.tagEditor("getTags")[0].tags;t&&t.forEach(t=>e.tagEditor("removeTag",t))}}),this}tagsReadonly(e){return this.observe("tags"),this.hiddenIfAllowed(DeviceAction.EditVirtualProperties,e),this.update((e,t)=>{e.html(tagsInlineTemplate({tags:t}))}),this}}const bindingFactory$1=()=>new DeviceManageBindingBuilder;class KontaktTheme{constructor(){this.svgPath="img/icon/svg/"}beaconIcon(e,t,n,i){return"PORTAL_LIGHT"===i?"ico-thumbnail portal-light":n===DeviceType.External?"ico-thumbnail external":n===DeviceType.Gateway?"ico-thumbnail gateway":i?"ico-thumbnail ".concat(i.replace(/ /g,"-").replace(/_/g,"-").toLowerCase()):"ico-thumbn
82ail"}}const kontaktTheme=new KontaktTheme,isGatewayActive=(e,t)=>!(t<e-360);class DeviceElementView extends BaseElementView{constructor(e){e.events={"click .js-remove-action":"removeExternalDevice"},super(e)}bindings(){return bindingFactory$1().element(":el").dataElementId("uniqueId").element(".col-select input").observe("selected").attr("id","id",e=>"select-device-".concat(e)).disabledIfNotAllowed(DeviceAction.PerformListBulkAction,this.model).element(".col-select label").attr("for","id",e=>"select-device-".concat(e)).attr("unselectable","id",()=>"on").element(".col-no span").observe("lp").element("a.col-uniqueId").observe("uniqueId").href("uniqueId",(e,t)=>this.getEditorLink(e,t)).element("span.col-uniqueId").observe("uniqueId").element(".col-type-text").observe(["product","deviceType"]).onGet("formatDeviceType").element(".col-type-icon").attr("class",["product","specification","deviceType","model"],e=>{let[t,n,i,r]=e;return kontaktTheme.beaconIcon(t,n,i,r)}).element(".col-name").observe("name").onGet(e=>e?"(".concat(e,")"):"").title("name").element(".col-tags").observe("tags").title("tags",e=>e.join(", ")).update((e,t)=>{e.html(tagsInlineTemplate({tags:t}))}
82).element(".col-battery-text").observe("batteryLevel").onGet("formatBatteryLevel").element(".col-battery").dataTooltipContent("lastSeen","formatBatteryLevelTooltip").element(".col-model-text").observe(["product","deviceType"]).onGet(e=>{let[t,n]=e;return t||DeviceModelLabels[n]}).element(".icon-model").attr("class",["product","specification","deviceType","model"],e=>{let[t,n,i,r]=e;return kontaktTheme.beaconIcon(t,n,i,r)}).element(".col-major").observe(["major","config"]).onGet("configValue").field("major").escape(!1).html().element(".col-minor").observe(["minor","config"]).onGet("configValue").field("minor").escape(!1).html().element(".col-namespace").observe(["namespace","config"]).onGet("configValue").field("namespace").escape(!1).html().element(".col-txPower").observe(["txPower","config"]).onGet("configValue").field("txPower").escape(!1).html().element(".col-interval").observe(["interval","config"]).onGet("configValue").field("interval").escape(!1).html().element(".col-orderId").observe("orderId").element(".actions-gateway").toggleClass("hidden",["deviceType","vendor"],e=>{let[t,n]=e;return DeviceType.External===t&&Vendor.Cassia!==n}).element(".actions-external").toggleClass("hidden",["deviceType","vendor"],e=>{let[t,n]=e;return DeviceType.External!==t||Vendor.Cassia===n}).element(".col-actions .edit-device").toggleClass("device-edit","access",()=>securityService.allowOnDevice(DeviceAction.EditAnyProperties,this.model)).toggleClass("device-view","access",()=>!securityService.allowOnDevice(DeviceAction.EditAnyProperties,this.model)).title("access",()=>securityService.allowOnDevice(DeviceAction.EditAnyProperties,this.model)?i18n.get("device.edit"):i18n.get("device.show")).href("uniqueId",(e,t)=>this.getEditorLink(e,t)).element(".fmw-info").dataTooltipContent("latestFirmware","formatLatestFirmwareName").toggleClass("highlight","latestFirmware","hasFirmwareUpgrade").element(".synch-info").dataTooltipContent("config","formatPendingConfigMessage").toggleClass("highlight","config","hasConfig").element(".col-profile-info .ico-profile").dataTooltipContent("profiles","formatProfileMessage").toggleClass("eddystone","profiles",e=>e.find(e=>e===Profile.Eddystone)).toggleClass("ibeacon","profiles",e=>e.find(e=>e===Profile.IBeacon)).element(".col-alias").observe("alias").element(".col-mac").observe("mac").element(".col-firmware").observe("firmware").element(".col-status").observe(["lastSeen","deviceType"]).update((e,t)=>{e.html(this.formatStatus(t))}).build()}getEditorLink(e,t){return-1!==[DeviceType.CloudBeacon,DeviceType.Gateway,DeviceType.External].indexOf(t.view.model.get("deviceType"))&&t.view.model.get("role")!==ExternalRole$1.Sensor?navigationService.getGatewayEditorLink(e):navigationService.getDeviceEditorLink(e)}formatDeviceType(e){let[t,n]=e;return t||DeviceModelLabels[n]}getUniqueId(){return this.model.get("uniqueId")}configValue(e,t){if(this.model.get("deviceType")===DeviceType.External)return"-";const n=e[0],i=e[1],r=this.hasConfig(i)?i[t.field]:null;return _$1.isNaN(r)||_$1.isNull(r)||_$1.isUndefined(r)?'<span class="unchanged-value" title="'.concat(n,'">').concat(n,"</span>"):'<span class="current-value" title="'.concat(n,'">').concat(n,'</span><span class="config-value" title="').concat(r,'">').concat(r,"</span>")}hasShares(e){return _$1.isArray(e)&&e.length>0}hasFirmwareUpgrade(e){return _$1.isObject(e)&&_$1.has(e,"name")}hasConfig(e){return _$1.isObject(e)}formatLatestFirmwareName(e){if(this.hasFirmwareUpgrade(e)){const t=/(\d*\.\d*)(.*)/.exec(e.name)[1];return i18n.get("table.row.notice.firmware",t)}return null}formatBatteryLevelTooltip(e){return e?i18n.get("table.row.battery.tooltip.sync",hooks$1(e,"X").format("DD/MM/YYYY HH:mm")):i18n.get("table.row.battery.tooltip.notsync")}formatBatteryLevel(e){return-1===parseInt(e)?"EXT":parseInt(e,10)>=0?i18n.get("table.row.battery",e):"-"}formatPendingConfigMessage(e){return this.hasConfig(e)?i18n.get("table.row.notice.config"):null}formatSharesMessage(e){let[t,n]=e;return this.hasShares(n)?i18n.get("table.row.shares.shared"):securityService.allowOnDevice(DeviceAction.IsSharedWithMe,this.model)?i18n.get("table.row.shares.sharedWithMe",t):void 0}formatProfileMessage(e){return e.map(e=>i18n.get("table.row.profile.".concat(e))).join(", ")}getUtcDate(){const e=new Date;return(e.getTime()+e.getTimezoneOffset())/1e3}formatStatus(e){const[t,n]=e;if(n===DeviceType.External)return"";return isGatewayActive(this.getUtcDate(),t)?'<div class="status status-active"></div>':'<div class="status"></div>'}removeExternalDevice(e){const t=this.tableView.findElementView(e.currentTarget);t&&Confirm.that("Are you sure you want to remove this external device from your account?").then(()=>{l.pushPromise(t.model.removeExternal().then(()=>applicationService.refreshManager(!0)).then(()=>
82{toastr.success("External device removed successfully"),this.tableView.refresh()},e=>toastr.detailedError(e)))})}}class BatchConfigurationService{importFile(e){return apiCaller.postMutlipart("/config/import",e)}exportFile(e){let{uniqueIds:t,q:n}=e;return apiCaller.post("/config/export",{uniqueId:t.join(","),q:n})}}const batchConfigurationService=new BatchConfigurationService;class BatchConfigurationExportModel extends backbone.Model{defaults(){return{uniqueIds:[],q:null,excludedDevices:0,selectedDevicesCount:0,url:""}}fetch(){return batchConfigurationService.exportFile({uniqueIds:this.get("uniqueIds"),q:this.get("q")}).then(e=>this.set(e)).then(()=>this.set({excludedDevices:this.get("selectedDevicesCount")-this.get("uniqueIds").length}))}}var Template$R=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<a class="back navigation-link-back js-navigation-link-back" data-event="back-back">Back</a>'},useData:!0});Handlebars.registerPartial("back-link-partial",Template$R);var Template$S=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="batch-configuration-export-view tabs margin-vertical--large">\n\n'+(null!=(o=e.invokePartial(a(i,"back-link-partial"),t,{name:"back-link-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' <h2 class="main-header">Download .csv file with current beacon configuration</h2>\n\n <div class="tab-content">\n <div class="display--flex flex-wrap--wrap margin-horizontal--negative">\n <div class="padding-horizontal">\n <div class="panel-info">\n <div class="align-items--center margin-vertical wrap--wrap display--flex">\n <div class="download-button-container padding-right margin-right">\n Download configuration of:\n <strong class="devices-count">\n <span class="selected-devices-count"></span> devices\n </strong>\n <div class="margin-top--large">\n <a class="button primary batch-configuration-link js-event-click" data-event="click-downloadExport"\n download="batch_configuration_export.csv">Download .csv file</a>\n </div>\n </div>\n <div class="selection-change-note">\n <div class="excluded-devices-note margin-bottom hidden">\n According to access rules some devices <strong class="excluded-devices-count"></strong>\n were removed from selection.\n </div>\n <div>\n You can go back to your device list and change selected devices.\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="padding-horizontal flex-grow--1">\n <h3 class="bordered-header">Downloading config info:</h3>\n <ul class="download-note">\n <li>\n The exported .CSV file contains properties of selected devices.\n </li>\n <li>\n If a device has pending config, the .CSV file will use values from that config.\n </li>\n </ul>\n </div>\n </div>\n </div>\n\n</div>'},usePartial:!0,useData:!0});function template$b(e,t,n){const i=Template$S(e,t);return n||"undefined"==typeof $?i:$(i)}class BatchConfigurationExportView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{model:new BatchConfigurationExportModel})),this.template=template$b}load(e){return this.model.set(e).fetch()}render(){return this.$el.html(this.template()),this}attach(){this.stickit()}detach(){this.unstickit(),this.$el.detach()}events(){return{"click .batch-configuration-link":"onClickExport"}}
82bindings(){return bindingFactory().element(".selected-devices-count").observe("uniqueIds").onGet(e=>e.length).element(".batch-configuration-link").href("url",e=>apiCaller.adjustUrl(e)).element(".excluded-devices-note").hiddenNegate("excludedDevices").element(".excluded-devices-count").observe("excludedDevices").onGet(e=>"(".concat(e,")")).build()}async onClickExport(e){const{apiKey:t}=await managerService.getApiKey();e.originalEvent.preventDefault(),fetch("".concat(e.target.href,"link"),{method:"GET",redirect:"manual",headers:{"Api-Key":t,Accept:"application/vnd.com.kontakt+json;version=10"}}).then(e=>e.json()).then(e=>{download("".concat(e.link))}).catch(t=>{console.info("".concat(t," url: ").concat(e.target.href))})}}function download(e){window.open(e,"blank")}function readFileAsync(e){return jquery.Deferred(t=>{let{resolve:n,reject:i}=t;const r=new FileReader;r.addEventListener("load",()=>{const e=r.result;return _$1.isString(e)&&e.length?n(e):i("Unable to read the file")}),r.addEventListener("error",e=>i(e)),r.readAsDataURL(e)}).promise()}var Template$T=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lambda,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="file-upload-container">\n <div class="file-upload" title="'+c((d(n,"i18n")||t&&d(t,"i18n")||s).call(a,"file.upload.dropzone",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:36},end:{line:2,column:67}}}))+'">\n <input id="'+c(l(null!=(o=null!=t?d(t,"config"):t)?d(o,"id"):o,t))+'" name="'+c(l(null!=(o=null!=t?d(t,"config"):t)?d(o,"observe"):o,t))+'" type="file" accept="'+c(l(null!=(o=null!=t?d(t,"config"):t)?d(o,"accept"):o,t))+'"/>\n </div>\n <span class="or">or:</span>\n <label for="'+c(l(null!=(o=null!=t?d(t,"config"):t)?d(o,"id"):o,t))+'" class="button secondary block radius js-browse-files">\n '+c((d(n,"i18n")||t&&d(t,"i18n")||s).call(a,"general.chooseFile",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:8},end:{line:7,column:37}}}))+'\n </label>\n</div>\n<div class="file-list-container hidden">\n File uploaded:\n <ul class="file-list"></ul>\n</div>\n'},useData:!0});function fileUploadTemplate(e,t,n){const i=Template$T(e,t);return n||"undefined"==typeof $?i:$(i)}const BIND_BASE64="base64",BIND_MULTIPART="multipart",DEFAULT_SIZE_LIMIT_KB=10240,KB=1024;class FileUploadView extends backbone.View{constructor(e){super(_$1.defaults(e,{className:"file-upload-view"})),this.config=_$1.defaults(e,{observe:"file",bindMode:BIND_BASE64,accept:[MediaType.Image.All],id:this.cid,fileLimit:DEFAULT_SIZE_LIMIT_KB,readOnly:!1,displayUploadedFileName:!1,displayPreview:!0,hideUploadButton:!1,afterUpload:()=>{}}),this.template=_$1.isFunction(e.template)?e.template:fileUploadTemplate,this.model=e.model||new backbone.Model({[this.config.observe]:null,[this.config.observeUrl]:null})}render(){return this.$el.html(this.template(_$1.extend({config:this.config},{model:this.model.toJSON()}))),this.container=this.$el.find(".file-upload"),this.fileListConatiner=this.$el.find(".file-list-container"),this.fileUploadContainer=this.$el.find(".file-upload-container"),this.fileList=this.$el.find(".file-list"),this.delegateEvents({"change input[type=file]":"fileSelected","drop .file-upload":"onDrop","dragenter .file-upload":"onDragEnter","dragleave .file-upload":"onDragLeave","dragover .file-upload":e=>e.preventDefault()}),this.showImage(),this}refresh(e){this.model=e,this.render()}fileSelected(e){e.preventDefault(),this.isReadOnly()||this.uploadFile(e.target)}onDrop(e){if(e.preventDefault(),!this.isReadOnly()){const t=e.originalEvent.dataTransfer;this.uploadFile(t)}}uploadFile(e){if(!e.files||!e.files.length)return null;this.container.removeClass("active");const t=e.files[0];t.size/KB>this.config.fileLimit?toastr.error(i18n.get("file.size.limit",this.config.fileLimit/KB),i18n.get("file.size.limit.exceeded")):this.isAcceptableType(t.type)?readFileAsync(t).then(e=>{this[this.config.bindMode](t,e),this.config.displayPreview&&this.showPreview(t,e),this.config.displayUploadedFileName&&(this.showUploadedFileName(t),this.config.hideUploadButton&&this.hideUploadButton()),this.config.afterUpload(t)}):toastr.error("Unsupported media type.")}onDragEnter(e){e.preventDefault(),this.isReadOnly()||this.container.addClass("active")}onDragLeave(e){e.preventDefault(),this.isReadOnly()||this.container.removeClass("active")}showPreview(e,t){startsWith(t,"data:image")?(this.container.css("background-image","url('".concat(t,"')")),this.container.attr("title",i18n.get("file.upload.dropzone")),this.container.addClass("preview")):(this.hidePreview(),this.container.attr("title",i18n.get("file.upload.no.preview")))}hideUploadButton(){this.fileUploadContainer.addClass("hidden")}showUploadButton(){this.fileUploadContainer.removeClass("hidden")}showUploadedFileName(e){this.fileListConatiner.removeClass("hidden"),this.fileList.html("<li>".concat(e.name,"</li>"))}hideUploadedFileName(){this.fileListConatiner.addClass("hidden"),this.fileList.empty()}removeImage(){this.showUploadButton(),this.hideUploadedFileName()}hidePreview(){this.container.attr("title",i18n.get("file.upload.dropzone")),this.container.css("background-image","none"),this.container.removeClass("preview")}showImage(){if(this.hidePreview(),this.config.observeUrl){const e=this.model.get(this.config.observeUrl);e&&(this.container.addClass("preview"),this.container.css("background-image","url(".concat(e,"&width=").concat(IMAGE_LARGE,"&height=").concat(IMAGE_LARGE,")")))}this.renderReadOnly()}renderReadOnly(){this.$el.find(".js-browse-files").toggleClass("disabled",this.isReadOnly()),this.container.prop("title",this.isReadOnly()?"":i18n.get("file.upload.dropzone"))}readOnly(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.config.readOnly=e}isReadOnly(){return this.config.readOnly}[BIND_MULTIPART](e){this.model.set(this.config.observe,e),this.model.set("isChangeDate",(new Date).getTime())}[BIND_BASE64](e,t){this.model.set(this.config.observe,t.substr(t.indexOf(",")+1))}isAcceptableType(e){if(!this.config.accept.length)return!0;const[t,n]=e.split("/");return this.config.accept.map(e=>e.split("/")).filter(e=>{let[i,r]=e;return i===t&&(r===n||"*"===r)}).length}}class FileUploadFactory{base64(e){return new FileUploadView(_$1.defaults(e,{bindMode:BIND_BASE64}))}multipart(e){return new FileUploadView(_$1.defaults(e,{bindMode:BIND_MULTIPART}))}previewLess(e){const t=_$1.extend(e,{className:"file-upload-view no-preview",displayUploadedFileName:!0,displayPreview:!1});return{base64:()=>this.base64(t),multipart:()=>this.multipart(t)}}}const fileUploadFactory=new FileUploadFactory,ImportStatus={Error:"ERROR",Success:"SUCCESS"};class BatchConfigurationImportResultModel extends backbone.Model{defaults(){return{message:null,uniqueId:null,status:null}}}class BatchConfigurationImportResultCollection extends backbone.Collection{constructor(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],_$1.defaults(e,{model:BatchConfigurationImportResultModel}))}errors(){return this.filter(e=>e.get("status")===ImportStatus.Error)}successes(){return this.filter(e=>e.get("status")===ImportStatus.Success)}}class BatchConfigurationImportModel extends backbone.Model{defaults(){return{batchConfiguration:null,results:new BatchConfigurationImportResultCollection,successCount:0,errorCount:0}}validation(){return{batchConfiguration:{required:!0}}}save(){const e=new FormData;return e.append("file",this.get("batchConfiguration")),batchConfigurationService.importFile(e).then(e=>{let{csv:t,results:n}=e;return this.get("results").reset(n),this.set({successCount:this.get("results").successes().length,errorCount:this.get("results").errors().length,batchConfiguration:t}),this})}}var Template$U=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="batch-configuration-import-view tabs margin-vertical--large">\n <div class="content-wrapper">\n <div class="smart-location-view">\n <div class="nav-links">\n <a '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"device.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:19},end:{line:5,column:41}}}))+' title="Beacons" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"device.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:19},end:{line:8,column:41}}}))+' title="Beacons" class="navigation-link nav-link router-link-active">Beacons</a>
82 /\n <span class="nav-target">Uploading config info</span>\n </div>\n </div>\n <h2 class="main-header">Upload .csv file with new beacon configuration</h2>\n </div>\n\n <div class="grid-row tab-content">\n <div class="grid-column-6 padding-right">\n <div class="panel-info">\n <form id="batch-configuration-import-form" class="js-event-form" data-event="post-importCSV">\n <div class="batch-configuration-upload margin-top--large" id="el-batch-configuration-upload"></div>\n <div class="margin-top--large">\n <button class="button primary" type="submit">Apply config & summary</button>\n </div>\n </form>\n </div>\n </div>\n <div class="grid-column-6 padding-left">\n <h3 class="bordered-header">Uploading config info:</h3>\n <ul class="download-note">\n <li>\n Uploading a .CSV file will create new pending configs.\n </li>\n <li>\n When editing a .CSV file, use commas as separators.\n </li>\n <li>\n They will need to be synchronized via Kontakt.io Administration App like any other configs.\n </li>\n <li>\n Configs are processed per device. If the .CSV file contains an invalid value in a config,\n the whole config for a particular device will be skipped.\n </li>\n <li>\n Errors are later displayed in Summary.\n </li>\n </ul>\n </div>\n </div>\n</div>\n'},useData:!0});function template$c(e,t,n){const i=Template$U(e,t);return n||"undefined"==typeof $?i:$(i)}class BatchConfigurationImportView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{model:new BatchConfigurationImportModel,events:{"submit #batch-configuration-import-form":"submitFile"}})),this.template=template$c,this.fileUploadView=fileUploadFactory.previewLess({model:this.model,accept:[],observe:"batchConfiguration"}).multipart()}render(){return this.$el.html(this.template()),this.$el.find("#el-batch-configuration-upload").append(this.fileUploadView.render().$el),this}attach(){validationService.bind(this)}detach(){validationService.unbind(this),this.$el.detach()}remove(){this.fileUploadView.remove(),super.remove()}submitFile(e){if(e.preventDefault(),!this.model.isValid(!0))return;const t=this.model.save();t.then(e=>{this.model=new BatchConfigurationImportModel,this.fileUploadView.refresh(this.model),navigationService.goToBatchConfigurationImportResult({trigger:!1,replace:!1}),batchConfigurationModule.importBatchConfigurationResult(e)},toastService.detailedError),l.pushPromise(t)}}class CompatibilityService{isIe11(){return!window.ActiveXObject&&"ActiveXObject"in window}}const compatibilityService=new CompatibilityService;var Template$V=Handlebars.template({1:function(e,t,n,i,r){return"disabled"},3:function(e,t,n,i,r){return' <div class="compatibility-note margin-top">\n Unfortunately this feature is not available in your browser.\n </div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="batch-configuration-import-result-view tabs margin-vertical--large">\n\n'+(null!=(o=e.invokePartial(s(i,"back-link-partial"),t,{name:"back-link-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' <h2 class="main-header">Configure devices using CSV file</h2>\n\n <div class="tab-content">\n <h3 class="font-weight--book font-size--big">Configuration uploaded, operation summary:</h3>\n\n <div class="panel-info margin-vertical padding-horizontal--large">\n <strong>Successful config: <span class="batch-configuration-upload-success-count"></span> devices</strong>\n </div>\n\n <div class="panel-info margin-vertical batch-configuration-upload-error-list hidden">\n <strong class="upload-error">Error config: <span class="batch-configuration-upload-error-count"></span> devices</strong>\n <table class="batch-configuration-upload-error-table common-table condensed dark-header" id="batch-configuration-upload-error-table">\n <thead>\n <tr>\n <th class="col-no">LP</th>\n <th class="col-uniqueId">
82ID:</th>\n <th class="col-errors">Errors:</th>\n </tr>\n </thead>\n <tbody></tbody>\n </table>\n </div>\n\n <div class="margin-top">\n <a class="button primary download-error-batch-configuration hidden '+(null!=(o=s(n,"if").call(a,null!=t?s(t,"isIe11"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:28,column:79},end:{line:28,column:108}}}))?o:"")+'" download="batch_configuration_import_result.csv">\n Download .csv file with errors only\n </a>\n <a class="button link navigation-link" '+e.escapeExpression((s(n,"href2")||t&&s(t,"href2")||e.hooks.helperMissing).call(a,"batchConfiguration.import",{name:"href2",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:31,column:51},end:{line:31,column:88}}}))+">Upload configuration</a>\n </div>\n"+(null!=(o=s(n,"if").call(a,null!=t?s(t,"isIe11"):t,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:33,column:8},end:{line:37,column:15}}}))?o:"")+" </div>\n</div>"},usePartial:!0,useData:!0});function template$d(e,t,n){const i=Template$V(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$W=Handlebars.template({1:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <tr>\n <td class="col-no">'+c((l(n,"inc")||t&&l(t,"inc")||s).call(a,r&&l(r,"index"),{name:"inc",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:27},end:{line:3,column:41}}}))+'</td>\n <td class="col-uniqueId">'+c("function"==typeof(o=null!=(o=l(n,"uniqueId")||(null!=t?l(t,"uniqueId"):t))?o:s)?o.call(a,{name:"uniqueId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:33},end:{line:4,column:45}}}):o)+'</td>\n <td class="col-errors">'+c("function"==typeof(o=null!=(o=l(n,"message")||(null!=t?l(t,"message"):t))?o:s)?o.call(a,{name:"message",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:31},end:{line:5,column:42}}}):o)+"</td>\n </tr>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"errors"):t,{name:"each",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:7,column:9}}}))?o:""},useData:!0});function errorsListTemplate(e,t,n){const i=Template$W(e,t);return n||"undefined"==typeof $?i:$(i)}class BatchConfigurationImportResultView extends backbone.View{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),this.template=template$d}render(){return this.$el.html(this.template(this.viewModel())),this}attach(){this.addErrors(),this.stickit()}detach(){this.unstickit(),this.$el.detach()}load(e){let{batchConfigurationImportModel:t}=e;this.model=t}bindings(){return bindingFactory().element(".batch-configuration-upload-error-list").hiddenNegate("errorCount").element(".download-error-batch-configuration").href("batchConfiguration",e=>"data:text/plain;charset=utf-8,"+encodeURIComponent(atob(e))).hiddenNegate("errorCount").element(".compatibility-note").hiddenNegate("errorCount").element(".batch-configuration-upload-error-count").observe("errorCount").element(".batch-configuration-upload-success-count").observe("successCount").build()}addErrors(){const e=this.model.get("results").errors().map(e=>e.toJSON());this.$el.find("#batch-configuration-upload-error-table").find("tbody").empty().append(errorsListTemplate({errors:e}))}viewModel(){return{isIe11:compatibilityService.isIe11()}}}class BatchConfigurationModule extends backbone.Router{init(){navigationService.registerRoutes("batchConfiguration.import",this,"importBatchConfiguration")}getBatchConfigurationExportView(){return this.batchConfigurationExportView||(this.batchConfigurationExportView=new BatchConfigurationExportView),this.batchConfigurationExportView}getBatchConfigurationImportView(){return this.batchConfigurationImportView||(this.batchConfigurationImportView=new BatchConfigurationImportView),this.batchConfigurationImportView}getBatchConfigurationImportResultView(){return this.batchConfigurationImportResultView||(this.batchConfigurationImportResultView=new BatchConfigurationImportResultView),this.batchConfigurationImportResultView}exportBatchConfiguration(e){navigationService.goToBatchConfigurationExport({trigger:!1,replace:!1}),this.showModule({entryId:"batchConfigurationExport",view:batchConfigurationModule.getBatchConfigurationExportView(),loadM
82odel:e})}importBatchConfiguration(){this.showModule({entryId:"batchConfigurationImport",view:this.getBatchConfigurationImportView(),loadModel:{}})}importBatchConfigurationResult(e){this.showModule({entryId:"batchConfigurationImportResult",view:this.getBatchConfigurationImportResultView(),loadModel:{batchConfigurationImportModel:e}})}showModule(e){navigationView.showModule(e)}}const batchConfigurationModule=new BatchConfigurationModule;class AssignManagerModel extends backbone.Model{constructor(e,t){if(!_$1.has(e,"devices"))throw Error("You have to pass devices as model attribute!");const n=[],i=[];return _$1.each(e.devices,e=>{securityService.allowOnDevice(DeviceAction.ManagerAssign,e)?n.push(e):i.push(e)}),e.devices=n,e.sharedDevices=i,e.managers=new ManagerCollection,super(e,t),this}fetch(){const e=new ManagerModel(applicationService.manager);return e.set("supervisor",!0),this.set("me",e),jquery.Deferred(e=>{let{resolve:t}=e;this.get("managers").fetchOnlySubordinates().then(t,t)}).promise()}get managersList(){return this.get("managers").toJSON()}get me(){return this.get("me")}}var Template$X=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<td class="col-no"></td>\n<td class="col-name">\n <span class="manager-name"></span>\n <div class="sharing-notice"></div>\n</td>\n<td class="col-role"></td>\n<td class="col-email"></td>\n<td class="col-device-count"></td>\n'},useData:!0});function template$e(e,t,n){const i=Template$X(e,t);return n||"undefined"==typeof $?i:$(i)}class AssignManagerElementView extends backbone.View{constructor(e){super(_$1.extend(e,{tagName:"tr"})),this.template=template$e,this.devices=e.devices;const t=this.model.get("email"),n=this.devices.filter(e=>_$1.some(e.get("shares"),e=>e.managerMail===t)).map(e=>e.get("uniqueId")).join(", ");this.model.set("devicesAlreadySharedWithManager",n)}get bindings(){return{":el":{attributes:[{name:"data-id",observe:"id"}],classes:{disabled:{observe:"devicesAlreadySharedWithManager",onGet:e=>e||0===this.devices.length}}},"td.col-no":"lp","td.col-name .manager-name":{observe:["firstName","lastName","supervisor"],onGet:e=>e[2]?"".concat(e[0]," ").concat(e[1]," (me)"):"".concat(e[0]," ").concat(e[1])},"td.col-name .sharing-notice":{observe:"devicesAlreadySharedWithManager",onGet:e=>e?i18n.get("device.assign.manager.device.access.exists",e):""},"td.col-role":"role","td.col-email":"email","td.col-device-count":{observe:"counters",onGet:e=>_$1.reduce(e.devices,(e,t)=>e+t,0)}}}render(){return this.$el.html(this.template(this.model.toJSON())),this.stickit(),this}}var Template$Y=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="modal standard assign-manager-view">\n <small class="devices-count header-comment"></small>\n <h3 class="header">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.assign.manager.title",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:23},end:{line:3,column:61}}}))+'</h3>\n <span class="devices-removed-notice"></span>\n <div class="managers-list2">\n <table class="common-table manager-table condensed">\n <thead>\n <tr>\n <th class="col-no">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.lp",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:39},end:{line:9,column:65}}}))+'</th>\n <th class="col-name">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"manager.list.name",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:41},end:{line:10,column:69}}}))+'</th>\n <th class="col-role width-8">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"manager.list.details.role",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:49},end:{line:11,column:85}}}))+'</th>\n <th class="col-email width-13">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"manager.list.details.email",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:51},end:{line:12,column:88}}}))+'</th>\n <th class="col-device-count width-5">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"manager.list.details.amount",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:57},end:{line:13,column:95}}}))+'</th>\n </tr>\n </thead>\n <tbody class="managers-table-body">\n </tbody>\n </table>\n </div>\n</div>\n'},useData:!0}
82);function assignManagerModalTemplate(e,t,n){const i=Template$Y(e,t);return n||"undefined"==typeof $?i:$(i)}class AssignManagerModal extends Modal{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(_$1.defaults(t,{template:assignManagerModalTemplate,model:new AssignManagerModel({devices:e}),events:{"click .manager-table tr":"pickManager"}})),this.onManagerAssigned=t.onManagerAssigned}get bindings(){return{".devices-count":{observe:"devices",onGet:e=>i18n.get("device.assign.venue.devices",e.length)},".devices-removed-notice":{observe:"sharedDevices",updateMethod:"html",onGet:e=>{if(e.length>0){const t=e.map(e=>e.get("uniqueId")).join(", ");return"".concat(i18n.get("device.assign.manager.removed.notice",t),"<br/>")+i18n.get("device.assign.manager.removed.notice.docs")}return""}}}}render(){const e=this.$(".managers-table-body");e.empty();const t=this.model.get("me");let n=1;t.set("lp",n++),e.append(new AssignManagerElementView({model:t,devices:this.model.get("devices")}).render().el),this.model.get("managers").each(t=>{t.set("lp",n++),e.append(new AssignManagerElementView({model:t,devices:this.model.get("devices")}).render().el)})}pickManager(e){pageTrackingService.sendEvent("Modal","Pick manager in modal");const t=jquery(e.currentTarget).data("id");if(t){const e=this.model.get("me");let n=null;n=e.get("id")===t?e:this.model.get("managers").findWhere({id:t});const i="".concat(n.get("firstName")," ").concat(n.get("lastName"));new Confirm({description:i18n.get("device.assign.manager.confirm",i)}).then(()=>{const e=jquery.Deferred();l.pushPromise(e.promise()),managerService.assignDevices(t,this.model.get("devices").map(e=>e.get("id"))).then(()=>{this.close(),e.resolve();const t=navigationService.getUsersLink();toastr.success(i18n.get("device.assign.manager.success",t)),this.onManagerAssigned&&this.onManagerAssigned()},t=>{this.showError(t),e.reject()})})}}showError(e){toastr.detailedError(e)}}class DeviceActionsView extends SearchMetaTableActionsView{constructor(e){super(_$1.extend(e,{events:{"click .js-action-bulk-manage":"bulkEdit","click .js-action-assign-manager":"assignManager","click .js-action-export-batch-configuration":"exportAsBatchConfiguration","click .js-action-import-batch-configuration":"importBatchConfiguration"}})),this.devicesView=e.devicesView,this.listenTo(this.model.actions,"change:listEnabled",this.onListEnableChange)}onActionsBindings(e){return _$1.extend(e,{".js-action-assign-venue":this.disableWhen("selectedIds",this.isEmpty),".js-action-unassign-venue":this.disableWhen("selectedIds",this.isEmpty),".js-action-assign-manager":this.disableWhen("selectedIds",this.isEmpty),".js-action-bulk-manage":this.disableWhen("selectedIds",this.deviceTypesNotProper),".js-action-export-batch-configuration":{observe:["selectedIds","resultCount"],onGet:e=>{const t=e[0],n=e[1];return 0===t.length?"Export all (".concat(n,") as CSV "):"Export selected (".concat(t.length,") as CSV")}}})}bulkEdit(e){pageTrackingService.sendEvent("Click","Bulk Edit");const t=this.model.selectedIds();t.length>0&&(this.closeActionsMenu(e.currentTarget),this.devicesView.bulkEdit(t))}exportAsBatchConfiguration(e){pageTrackingService.sendEvent("Click","Export CSV"),this.closeActionsMenu(e.currentTarget);const t={q:"",uniqueIds:[],selectedDevicesCount:0},n=this.model.selectedModels();if(n.length){const e=n.filter(e=>securityService.allowOnDevice(DeviceAction.EditPhysicalProperties,e));if(!e.length)return toastService.error("None of the selected devices can be exported.");t.selectedDevicesCount=n.length,t.uniqueIds=e.map(e=>e.get("uniqueId"))}else t.selectedDevicesCount=this.model.searchMeta.get("count"),t.q=this.model.getCurrentQuery();batchConfigurationModule.exportBatchConfiguration(t)}importBatchConfiguration(e){pageTrackingService.sendEvent("Click","Import CSV"),this.closeActionsMenu(e.currentTarget),navigationService.goToBatchConfigurationImport()}sendEvent(e){pageTrackingService.sendEvent("Modal","".concat(e," modal"))}assignManager(e){const t=this.model.selectedModels();t.length>0&&new AssignManagerModal(t,{onManagerAssigned:()=>this.devicesView.research(),onClose:()=>{this.closeActionsMenu(e.currentTarget),this.sendEvent("Close assign manager")}})}
82selectAll(e,t,n){this.model.forEach(e=>{securityService.allowOnDevice(DeviceAction.PerformListBulkAction,e)&&e.set("selected",t,n)})}onListEnableChange(e){e.get("listEnabled")?this.devicesView.research():this.tableView.removeAll()}disableWhen(e,t){return{classes:{disabled:{observe:e,onGet:e=>t.call(this,e)}}}}deviceTypesNotProper(e){if(this.isEmpty(e))return!0;const t=e.map(e=>this.model.get(e)).filter(e=>!!e).map(e=>e.get("deviceType"));return!!t.find(e=>e===DeviceType.External)||Object.keys(t.reduce((e,t)=>(e[t]=!0,e),{})).length>1}}var Template$Z=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="js-list-controls">\n</div>\n<div class="js-list-table">\n</div>\n'},useData:!0});function beaconsListTemplate(e,t,n){const i=Template$Z(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$_=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<table class="common-table page-list devices-list js-table-view">\n <thead>\n <tr>\n <th class="col-select hidden-sm hidden-md"></th>\n <th class="col-no">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.lp",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:27},end:{line:5,column:53}}}))+'</th>\n <th class="col-alerts hidden-sm hidden-md"></th>\n <th class="col-uniqueId-name sortable">\n <span class="js-sort col-uniqueId" data-field="uniqueId">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.id.short",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:69},end:{line:8,column:101}}}))+'</span>\n <span class="js-sort col-name hidden-sm hidden-md" data-field="name">('+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.name",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:82},end:{line:9,column:110}}}))+')</span>\n </th>\n <th class="col-mac sortable js-sort align-left" data-field="mac">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.mac",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:73},end:{line:11,column:100}}}))+'</th>\n <th class="col-model sortable js-sort" data-field="product">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.profile",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:68},end:{line:12,column:99}}}))+'</th>\n <th class="col-profile-info sortable js-sort hidden-sm hidden-md" data-field="profile">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.prof",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:95},end:{line:13,column:123}}}))+'</th>\n <th class="col-tags hidden-sm hidden-md" data-field="tags">Tags</th>\n <th class="col-battery sortable js-sort" data-field="batteryLevel">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.battery",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:75},end:{line:15,column:106}}}))+'</th>\n <th class="col-txPower sortable js-sort hidden-sm" data-field="txPower">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.txPower",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:17,column:80},end:{line:17,column:111}}}))+'</th>\n <th class="col-interval sortable js-sort hidden-sm hidden-md" data-field="interval">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.interval",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:18,column:92},end:{line:18,column:124}}}))+'</th>\n <th class="col-major sortable js-sort" data-field="major">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.major",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:19,column:66},end:{line:19,column:95}}}))+'</th>\n <th class="col-minor sortable js-sort" data-field="minor">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.minor",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:66},end:{line:20,column:95}}}))+'</th>\n <th class="col-orderId sortable js-sort hidden-sm hidden-md" data-field="orderId">Order ID</th>\n </tr>\n </thead>\n <tbody>\n </tbody>\n</table>\n'},useData:!0}
82);function tableTemplate(e,t,n){const i=Template$_(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$$=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<td class="col-select styled-checkboxes align-center hidden-sm hidden-md">\n <input type="checkbox" name="select-device" class="checkbox select-device"/>\n <label></label>\n</td>\n<td class="col-no align-center">\n <span></span>.\n</td>\n<td class="col-alert-info align-left hidden-sm hidden-md">\n <div class="alerts-box">\n <div class="fmw-info" data-tooltip-position="top right">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.row.fmw",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:64},end:{line:10,column:88}}}))+'</div>\n <div class="synch-info" data-tooltip-position="top right">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.row.sync",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:66},end:{line:11,column:91}}}))+'</div>\n </div>\n</td>\n<td class="col-uniqueId-name align-left">\n <a class="col-uniqueId unchanged-value navigation-link" data-event="click-beaconName"></a>\n <span class="col-name"></span>\n</td>\n<td class="col-mac"></td>\n<td class="col-model">\n <div class="display--flex justify-content--left align-items--center">\n <span class="icon-model"></span>\n <span class="col-model-text hidden-sm hidden-md"></span>\n </div>\n</td>\n<td class="col-profile-info hidden-sm hidden-md">\n <span class="ico-profile" data-tooltip-position="top center"></span>\n</td>\n<td class="col-tags align-left hidden-sm hidden-md"></td>\n<td class="col-battery align-left" data-tooltip-position="top left"><span class="ico-info battery-info level"></span><span class="col-battery-text"></span></td>\n<td class="col-txPower hidden-sm">\n</td>\n<td class="col-interval hidden-sm hidden-md">\n</td>\n<td class="col-major">\n</td>\n<td class="col-minor">\n</td>\n<td class="col-orderId align-left hidden-sm hidden-md"></td>'},useData:!0});function tableElementTemplate(e,t,n){const i=Template$$(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$10=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"table-actions-partial"),t,{name:"table-actions-partial",hash:{showBatchConfigurationOptions:!0,counted:!0,showDeviceActions:!0},data:r,helpers:n,partials:i,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0});function tableActionsTemplate(e,t,n){const i=Template$10(e,t);return n||"undefined"==typeof $?i:$(i)}class BeaconsListView extends backbone.View{constructor(e,t){super(e),this.template=beaconsListTemplate,this.searchView=t,this.tableView=new TableView({model:this.model,template:tableTemplate,elementTemplate:tableElementTemplate,elementViewClass:DeviceElementView}),this.tableActionsView=new DeviceActionsView({template:tableActionsTemplate,model:this.model,tableView:this.tableView,devicesView:this})}render(){return this.$el.html(this.template()),this.$el.find(".js-list-controls").append(this.tableActionsView.render().$el),this.$el.find(".js-list-table").append(this.tableView.render().$el),this.stickit(this.model.actions,this.actionsBindings()),this}attach(){navigationView.render("deviceManagement")}renderList(){this.tableView.renderElements()}actionsBindings(){return{":el":{classes:{hidden:{observe:"listEnabled",onGet:e=>!e}}},".js-devices-header":{observe:["emptyResult","buyDevices"],onGet:function(e){const t=e[0];return e[1]||!t?i18n.get("table.header.beacons"):i18n.get("search.beacons.noResults")}}}}research(){return this.searchView.refreshLists()}remove(){this.tableActionsView.remove(),this.tableView.remove(),super.remove()}bulkEdit(e){navigationService.goToDeviceBulkManage(e.join(","))}}class PlainTemplateView extends backbone.View{constructor(e){super(e),e.template&&(this.template=e.template)}load(){return this}render(){return this.template&&this.$el.html(this.template(this.viewModel())),this}viewModel(){const e=this.model?this.model.toJSON():{};return _$1.extend(e,applicationService.contextUiModel())}}var Template$11=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="page-grey no-devices-view text-align--center">\n\n <div class="page-row margin-top--large margin-bottom--large">\n <h2 class="main-header">'+s((c(n,"i18nf")||t&&c(t,"i18nf")||a).call(o,"%s.empty.account",null!=t?c(t,"deviceType"):t,{name:"i18nf",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:32},end:{line:4,column:71}}}))+'</h2>\n </div>\n\n <div class="page-row padding-top--large display--flex justify-content--center">\n <div class="padding padding-right--large">\n <p class="color--gray-4">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"devices.add.description",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:37},end:{line:9,column:71}}}))+'</p>\n <a class="button primary navigation-link" '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"order.add",{name:"href",hash:{}
82,data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:54},end:{line:10,column:74}}}))+">"+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"devices.add",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:75},end:{line:10,column:97}}}))+'</a>\n </div>\n <div class="padding padding-left--large border-left--gray-2">\n <p class="color--gray-4">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"devices.buy.description",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:37},end:{line:13,column:71}}}))+'</p>\n <a class="button neutral" href="https://store.kontakt.io" target="_blank">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"devices.buy",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:86},end:{line:14,column:108}}}))+"</a>\n </div>\n </div>\n</div>\n"},useData:!0});function template$f(e,t,n){const i=Template$11(e,t);return n||"undefined"==typeof $?i:$(i)}class NoDevicesView extends PlainTemplateView{constructor(e){super(_$1.extend(e,{template:template$f}))}}var Template$12=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<section class="devices beacon-list page-grey padding-top--none">\n <div class="content-wrapper">\n <h2 class="js-devices-header text main-header">'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"table.header.beacons",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:55},end:{line:3,column:86}}}))+'</h2>\n <div class="modern-search-bar beacons"><div class="el-main-search"></div></div>\n <div id="el-no-devices-view"></div>\n <div class="devices-search-query" id="devices-filters"></div>\n </div>\n <div class="devices-beacons" id="devices-beacons"></div>\n <div class="devices-clouds" id="devices-clouds"></div>\n</section>\n'},useData:!0});function beaconsTemplate(e,t,n){const i=Template$12(e,t);return n||"undefined"==typeof $?i:$(i)}class BeaconsView extends backbone.View{constructor(e){super(e),this.template=beaconsTemplate,this.searchView=new BeaconsSearchView({model:this.model.searchModel}),this.beaconsListView=new BeaconsListView({model:this.model.beacons},this.searchView),this.searchView.attachViews(this.beaconsListView),this.noDevicesView=new NoDevicesView({model:new backbone.Model({deviceType:"beacons"})}),this.mainSearch=new MainSearchView("beaconSearch")}load(){return jquery.when(this.searchView.load(),this.model.deviceCounters.fetch()).always(()=>{const e=this.model.deviceCounters.get("hasBeacons");this.model.beacons.actions.set("buyDevices",!e),this.model.set("hasNoElements",!e)})}render(){return this.$el.html(this.template()),this.$el.find(".el-main-search").append(this.mainSearch.render().el),this.$el.find(".el-main-search input").attr("placeholder","Search for beacons"),this.renderZeroDeviceView(),this.renderLists(),this}attach(){this.model.get("hasNoElements")||this.searchView.refreshLists(),this.beaconsListView.attach(),this.stickit(this.model.beacons.actions,this.beaconsActionsModelBindings()),this.stickit()}detach(){this.stopListening(),this.unstickit(),this.$el.detach()}renderZeroDeviceView(){this.$el.find("#el-no-devices-view").append(this.noDevicesView.render().$el)}renderLists(){this.$el.find("#devices-filters").append(this.searchView.render().$el),this.$el.find("#devices-beacons").append(this.beaconsListView.render().$el),this.stickit(this.model.beacons.actions,this.beaconsActionsModelBindings())}remove(){this.noDevicesView.remove(),this.searchView.remove(),this.beaconsListView.remove(),super.remove()}beaconsActionsModelBindings(){return{"#devices-filters":{classes:{hidden:{observe:"buyDevices",onGet:e=>e&&this.model.beacons.actions.get("buyDevices")}}}}}bindings(){const e=e=>({classes:{hidden:{observe:"hasNoElements",onGet:t=>t!==e}}});return{"#el-no-devices-view":e(!0),"#devices-filters":e(!1),"#devices-beacons":e(!1),"#devices-clouds":e(!1)}}}class DevicesModule{init(){this.initDevices()}initDevices(){this.beaconsModel=new BeaconsModel,this.beaconsView=new BeaconsView({model:this.beaconsModel})}getDevices(){return this.beaconsView}setBatteryFilter(e){this.beaconsModel.setBatteryFilter(e)}setLastSeenFilter(e){this.beaconsModel.setLastSeenFilter(e)}sortBeaconListByVenues(e){this.beaconsModel.sortBeaconListByVenues(e)}setModel(e){this.beaconsModel.setModel(e)}clearAllQuickSearchFilters(){return Promise.all([this.beaconsModel.setBatteryFilter(),this.beaconsModel.setModel(),this.beaconsModel.setFirmwareFilter(),this.beaconsModel.setLastSeenFilter()])}}const devicesModule=new DevicesModule,messages$1=i18n.getGroup("validation");class ValidationErrorWrapper{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.wrappers=e}wrap(e){const t={};return _$1.each(e,(e,n)=>{t[n]=e.map(e=>violationWrapperFactory.apply(this,[e,n]))}),t}}var errorWrapper=new ValidationErrorWrapper({Range:rangeViolationWrapper,Regexp:simpleViolationWrapper("regexp"),Length:lengthViolationWrapper,Callback:simpleViolationWrapper("regexp"),Email:simpleViolationWrapper("email"),GreaterThan:thresholdViolationWrapper("greaterThan"),GreaterThanOrEqual:thresholdViolationWrapper("greaterThanOrEqual"),LessThan:thresholdViolationWrapper("lessThan"),LessThanOrEqual:thresholdViolationWrapper("lessThanOrEqual")});function violationWrapperFactory(e,t){const n=this.wrappers,i=e.assert.__class__;if(!_$1.has(n,i))throw Error("There isn't any wrapper for Assert.".concat(i));return n[i](e.assert,t)}function rangeViolationWrapper(e,t){return sprintf_1(messages$1["validation.range"],t,e.min,e.max)}function simpleViolationWrapper(e){return function(t,n){return sprintf_1(messages$1["validation.".concat(e)
82],n)}}function thresholdViolationWrapper(e){return function(t,n){return sprintf_1(messages$1["validation.".concat(e)],n,t.threshold)}}function lengthViolationWrapper(e,t){const n=[t];let i="";_$1.isNaN(e.min)||_$1.isNaN(e.max)?_$1.isNaN(e.min)?(i="max",n.push(e.max)):(i="min",n.push(e.min)):(i="both",n.push(e.min),n.push(e.max));const r=messages$1["validation.length.".concat(i)];return n.unshift(r),sprintf_1.apply(str,n)}class PresetService{findAll(){return apiCaller.get("/preset")}}var presetService=new PresetService;class DeviceMangeViewModel extends backbone.Model{constructor(e,t){return super(e,t),this.deviceModel=new DeviceModelLegacy(e,t),this.listenTo(this,"change:defaultSSIDAuth",()=>{"NONE"===this.get("defaultSSIDAuth")?"NONE"!==this.get("defaultSSIDCrypt")&&this.set("defaultSSIDCrypt","NONE"):"WPA_PSK"!==this.get("defaultSSIDAuth")&&"WPA2_PSK"!==this.get("defaultSSIDAuth")||"NONE"===this.get("defaultSSIDCrypt")&&this.set("defaultSSIDCrypt","TKIP")}),this.presets=[],this}get mutators(){return{maintenanceStart:function(e,t){if(!1===t.get("maintenanceWindowActive"))return"00:00";let n=hooks$1(e,"HH:mm");return n.subtract(n.utcOffset(),"minutes").format("HH:mm")},maintenanceEnd:function(e,t){if(!1===t.get("maintenanceWindowActive"))return"00:00";let n=hooks$1(e,"HH:mm");return n.subtract(n.utcOffset(),"minutes").format("HH:mm")},url:function(e){return e&&(e=EddystoneUtil.encode(e)),e},namespace:function(e){return e&&(e=(e+"").toLowerCase()),e},instanceId:function(e){return e&&(e=(e+"").toLowerCase()),e}}}get accessors(){return{maintenanceStart:function(e,t){if(!1===t.get("maintenanceWindowActive"))return"";if(!e)return"";let n=hooks$1(e,"HH:mm");return n.add(n.utcOffset(),"minutes").format("HH:mm")},maintenanceEnd:function(e,t){if(!1===t.get("maintenanceWindowActive"))return"";if(!e)return"";let n=hooks$1(e,"HH:mm");return n.add(n.utcOffset(),"minutes").format("HH:mm")},url:function(e){return e&&(e=EddystoneUtil.decode(e)),e},namespace:function(e){return e&&(e=(e+"").toLowerCase()),e},instanceId:function(e){return e&&(e=(e+"").toLowerCase()),e}}}validate(e){_$1.isEmpty(e)&&(e=this.toJSON());let t=new validator.Validator;e=_$1.pick(e,Boolean);let n=t.validate(e,DeviceValidationConstraints);if(!0===n)return;let i=errorWrapper.wrap(n);return i=_$1.flatten(_$1.toArray(i)),this.displayErrors(i),i}validateAttribute(e){let t=(new validator.Validator).validate({[e]:this.get(e)},_$1.pick(DeviceValidationConstraints,e));if(!0!==t)return errorWrapper.wrap(t)[e]}displayErrors(e){let t=0,n=e.length;for(;t<n;t++){let n=e[t];toastr.error(n)}}sync(e,t,n){let i=jquery.Deferred(),r=jquery.Deferred().resolve([]).promise(),o=[];
82"read"===e&&(r=presetService.findAll().then(e=>{_$1.isArray(e.presets)&&(o=e.presets),o.map(e=>{e.slug=slugify(e.name),this.castNumberPropertiesToStringInObject(e)}),this.presets=o}));let a=this.deviceModel.sync(e,t,_$1.extend(n,{attrs:this.applyMutators(this.unsavedAttributes())}));return jquery.when(r,a).then(()=>{"read"===e&&this.parseDeviceModel(),"update"!==e&&"create"!==e||this.restartTracking(),i.resolve(this)},i.reject),i.promise()}parseDeviceModel(){let e=this.deviceModel.toJSON();e=this.parseConfig(e),e=this.parseVirtualProperties(e),e=parseProfiles(e),e=parsePresets(e,this.presets),_$1.has(e,"venue")&&(e=flattenProperty(e,"venue")),e=parseMaintenanceWindow(e);let t=this.pick((e,t)=>startsWith(t,"previous."));if(t){let e={};for(let n in t)t.hasOwnProperty(n)&&(e[n]=void 0);this.set(e,{unset:!0})}this.clear({silent:!0}),this.castNumberPropertiesToStringInObject(e),this.set(_$1.omit(e,_$1.keys(this.accessors))),this.set(this.applyAccessors(e)),this.startTracking(),this.stopListening(this.deviceModel,"change:config"),this.listenTo(this.deviceModel,"change:config",this.parseDeviceModel)}removeConfig(e){return this.deviceModel.removeConfig(e)}getIdentifiers(){return{deviceId:this.get("id"),uniqueId:this.get("uniqueId")}}hasSecureFirmware(){return securityService.allowOnDevice(DeviceAction.HasSecureFirmware,this)}toJSON(){return _$1.extend(super.toJSON(),{isDeviceTypeBeacon:this.get("deviceType")===DeviceType.Beacon,isIBeacon:this.get("deviceType")===DeviceType.Beacon,isBulkManage:this.get("uniqueId").length>1,hasSecureFirmware:this.hasSecureFirmware(),presets:this.presets})}findPreset(e){return _$1.findWhere(this.presets,{slug:e})}changePreset(e){this.set("preset",e);let t=getPresetData(e);this.set(t)}applyMutators(e){let t={};return _$1.each(e,(e,n)=>{let i=e;_$1.has(this.mutators,n)&&_$1.isFunction(this.mutators[n])&&(i=this.mutators[n](i,this)),t[n]=i}),t}applyAccessors(e){let t={};return _$1.each(e,(e,n)=>{_$1.has(this.accessors,n)&&_$1.isFunction(this.accessors[n])&&(t[n]=this.accessors[n](e,this))}),t}fetchPassword(){return deviceService.credentials(this.get("uniqueId")).then(e=>this.set("password",e.password,{trackit_silent:!0}))}parseConfig(e){return _$1.extend(e,this.parseOnlyConfig(e))}parseVirtualProperties(e){let t=this.get("name");t&&(e.name=t);const n=this.get("tags");return n&&n.length?e.tags=n:e.tags=[],e}parseOnlyConfig(e){if(!_$1.has(e,"config")||_$1.isEmpty(e.config))return{config:{}};let t={},n=["id","uniqueId","password"],i=(()=>{let t={instanceId:null,interval:null,major:null,minor:null,name:null,namespace:null,password:null,profiles:null,proximity:null,shuffled:null,txPower:null,uniqueId:null,powerSaving:null,url:null},n={};return this.get("uniqueId").forEach(i=>{_$1.has(e.config,i)?n[i]=e.config[i]:n[i]=t}),n})();return i=this.deviceModel.foldValues(i),_$1.each(i,(i,r)=>{-1===n.indexOf(r)&&null!==i&&(_$1.has(this.accessors,r)&&_$1.isFunction(this.accessors[r])?t["previous."+r]=this.accessors[r](e[r],this):t["previous."+r]=e[r],t[r]=i)}),t}castNumberPropertiesToStringInObject(e){_$1.each(e,(t,n)=>{_$1.isNumber(t)&&!_$1.isNaN(t)&&(e[n]="".concat(t))})}configValue(e){const t=this.get("config"),n=this.get("uniqueId")[0];return _$1.isObject(t)&&_$1.isObject(t[n])&&t[n][e]?t[n][e]:null}}function parsePresets(e,t){return e.preset=findCurrentPreset(e,t)||defaultPreset(),e}function findCurrentPreset(e,t){let n=_$1.pick(e,getPresetKeys());return _$1.find(t,e=>{e=_$1.extendOwn({},e);let t=_$1.keys(e),i=t.length;if(null===n)return!1;for(let r=0;r<i;r++){let i=t[r],o=e[i],a=n[i];if(null!==o&&void 0!==a&&e[i]!=n[i])return!1}return!0})}function defaultPreset(){return{name:i18n.get("device.presets.default.name"),description:i18n.get("device.presets.default.description")}}function getPresetData(e){let t=_$1.pick(e,getPresetKeys());return _$1.pick(t,Boolean)}function getPresetKeys(){return["interval","proximity","txPower"]}function parseProfiles(e){return e.profiles&&1===e.profiles.length?e.profiles=e.profiles[0]:e.profiles=null,e}function flattenProperty(e,t){const n=e[t];return null===n||"object"!=typeof n||(_$1.each(n,(function(n,i){e[t+"."+i]=n})),delete e[t]),e}function parseMaintenanceWindow(e){return e.maintenanceWindowActive=_$1.has(e,"maintenanceStart")&&_$1.has(e,"maintenanceEnd")&&!("00:00"===e.maintenanceStart&&"00:00"===e.maintenanceEnd),e["previous.maintenanceWindowActive"]=_$1.has(e,"previous.maintenanceStart")&&_$1.has(e,"previous.maintenanceEnd")&&!("00:00"===e["previous.maintenanceStart"]&&"00:00"===e["previous.maintenanceEnd"]),e}class ValidationExtension{constructor(e){if(this.view=e,!_$1.isFunction(this.view.model.validateAttribute))throw Error("Model must have validateAttribute method to use ValidationExtension");this.view.$("input.js-validate").each((e,t)=>{const n=jquery(t);let i=n.attr("id");const r=n.attr("name"),o="required"===n.attr("required");i=i?"#".concat(i):"";const a="input".concat(i,'[name="').concat(r,'"]');this.view.addBinding(null,a,{classes:{invalid:{observe:r,onGet:function(e){if(e||o)return!_$1.isUndefined(this.model.validateAttribute(r))}},valid:{observe:r,onGet:function(e){if(e||o)return _$1.isUndefined(this.model.validateAttribute(r))}}}}),this.view.listenTo(this.view.model,"change:".concat(r),(e,t)=>{const n=this.view.$(a),i=this.view.model.validateAttribute(r),s=n.parent();if(_$1.isUndefined(i)||!t&&!o)return void s.find(".error").fadeOut(150,(function(){jquery(this).remove()}));if(s.find(".error").length||!t&&!o)return;
82const c=jquery("<span />").addClass("error").text(_$1.first(i)).hide();s.append(c.fadeIn(150))})})}}class DeviceManageFirmwareViewModel extends backbone.Model{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!_$1.has(t,"device"))throw Error("You have to pass device model as option when creating DeviceManageFirmwareViewModel");super(e,t),this.device=t.device,this.predicate=t.predicate||(e=>!0===e.optional)}defaults(){return{description:null,deviceType:"",id:"",important:void 0,name:"",optional:void 0,scheduled:void 0,uniqueId:"",url:"",validVersions:""}}fetch(){const e=jquery.Deferred(),t=this.device.get("latestOptionalFirmware");return t&&this.predicate(t)?e.resolve(this.buildFirmwareAttributes(t)).promise():e.resolve(this.buildFirmwareAttributes()).promise()}save(){return this.get("scheduled")?firmwareService.unschedule(this.device.get("uniqueId")).then(()=>{this.set("scheduled",!1)}):firmwareService.schedule(this.device.get("uniqueId"),this.get("name")).then(()=>{this.set("scheduled",!0)})}buildFirmwareAttributes(e){const t=e||this.defaults();return this.set(t),t}}var Template$13=Handlebars.template({1:function(e,t,n,i,r){return"border-top--gray-2"},3:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"cancel-link-partial"),t,{name:"cancel-link-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},5:function(e,t,n,i,r){return"disabled"},7:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:16},end:{line:8,column:30}}}))+"\n"},9:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"general.saveChanges",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:16},end:{line:10,column:46}}}))+"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="grid-row buttons margin-top padding-top--large '+(null!=(o=s(n,"unless").call(a,null!=t?s(t,"noBorder"):t,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:59},end:{line:1,column:108}}}))?o:"")+'">\n <div class="grid-column-12 text-align--right">\n'+(null!=(o=s(n,"unless").call(a,null!=t?s(t,"dontShowCancel"):t,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:5,column:19}}}))?o:"")+' <button class="button primary js-submit" type="submit" '+(null!=(o=s(n,"if").call(a,null!=t?s(t,"disabled"):t,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:63},end:{line:6,column:94}}}))?o:"")+">\n"+(null!=(o=s(n,"if").call(a,null!=t?s(t,"label"):t,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.program(9,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:12},end:{line:11,column:19}}}))?o:"")+" </button>\n </div>\n</div>"},usePartial:!0,useData:!0});Handlebars.registerPartial("device-manage-common-submit-partial",Template$13);var Template$14=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\n"+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.proximity.help",label:"device.properties.property.proximity.label",property:"proximity",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.major.help",label:"device.properties.property.major.label",property:"major",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.minor.help",label:"device.properties.property.minor.label",property:"minor",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.txPower.help",label:"device.properties.property.txPower.label",property:"txPower",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.interval.help",label:"device.properties.property.interval.label",property:"interval",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"},3:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"\n"+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.namespace.help",label:"device.properties.property.namespace.label",property:"namespace",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.instanceId.help",label:"device.properties.property.instanceId.label",property:"instanceId",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.url.help",label:"device.properties.property.url.label",property:"url",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"},5:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n <h3 class="bordered-header">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,"device.presets.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:42,column:48},end:{line:42,column:82}}}
82))+"</h3>\n\n"+(null!=(o=e.invokePartial(s(i,"common-form-group--select-partial"),t,{name:"common-form-group--select-partial",hash:{dropdown:!0,tooltip:"device.properties.property.profile.help",label:"device.properties.property.profile.label",property:"profile",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=s(n,"if").call(a,null!=(o=null!=t?s(t,"device"):t)?s(o,"presets"):o,{name:"if",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:46,column:20},end:{line:75,column:27}}}))?o:"")},6:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group form-group--preset">\n <div class="form-label-container">\n <label for="device-preset" class="form-label">\n '+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,"beacon.manage.data.selectPreset",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:50,column:36},end:{line:50,column:80}}}))+'\n </label>\n </div>\n <div class="form-input-container">\n <div class="dropdown-js-wrap">\n <div class="dropdown-menu-wrap">\n <input type="checkbox" class="hidden dropdown-trigger" id="device-preset">\n <label for="device-preset" class="button block default dropdown-label"\n id="device-preset-label">Select...</label>\n <label for="device-preset" class="dropdown-menu-mask"></label>\n <div class="dropdown-menu default">\n <ul id="device-preset-menu">\n'+(null!=(o=s(n,"each").call(a,null!=(o=null!=t?s(t,"device"):t)?s(o,"presets"):o,{name:"each",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:62,column:48},end:{line:68,column:57}}}))?o:"")+" </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n"},7:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li>\n <a class="device-preset-change"\n id="device-preset-change-to-'+c("function"==typeof(o=null!=(o=l(n,"slug")||(null!=t?l(t,"slug"):t))?o:s)?o.call(a,{name:"slug",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:65,column:87},end:{line:65,column:95}}}):o)+'"\n data-slug="'+c("function"==typeof(o=null!=(o=l(n,"slug")||(null!=t?l(t,"slug"):t))?o:s)?o.call(a,{name:"slug",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:66,column:70},end:{line:66,column:78}}}):o)+'">'+c("function"==typeof(o=null!=(o=l(n,"name")||(null!=t?l(t,"name"):t))?o:s)?o.call(a,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:66,column:80},end:{line:66,column:88}}}):o)+"</a>\n </li>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form action="" id="js-device-manage-device-properties-form" class="js-event-form" data-event="post-bulkEditForm">\n <div class="device-properties section">\n <div class="grid-row flex-wrap--wrap">\n\n <div class="grid-column-6 padding-right--small sm-grid-column-12 sm-no-padding">\n\n <h3 class="bordered-header">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.properties.header.basicProperties",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:44},end:{line:7,column:97}}}))+"</h3>\n\n"+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.name.help",label:"device.properties.property.name.label",property:"name",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{tooltip:"device.properties.property.tags.help",label:"device.properties.property.tags.label",property:"tags",entity:"device-properties"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=l(n,"if").call(a,null!=(o=null!=t?l(t,"device"):t)?l(o,"isIBeacon"):o,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:16},end:{line:25,column:23}}}))?o:"")+"\n"+(null!=(o=l(n,"if").call(a,null!=(o=null!=t?l(t,"device"):t)?l(o,"isDeviceTypeBeacon"):o,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:27,column:16},end:{line:35,column:23}}}))?o:"")+'\n </div>\n\n <div class="grid-column-6 padding-left--small sm-grid-column-12 sm-no-padding">\n'+(null!=(o=l(n,"if").call(a,null!=(o=null!=t?l(t,"device"):t)?l(o,"isDeviceTypeBeacon"):o,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:40,c
82olumn:16},end:{line:76,column:23}}}))?o:"")+'\n <h3 class="bordered-header">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.properties.header.additionalInformations",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:78,column:44},end:{line:78,column:104}}}))+'</h3>\n\n <div class="additional-information">\n <div class="grid-row">\n <div class="grid-column-6 padding-right--small hidden" id="device-properties-firmware-label">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"beacon.manage.data.firmware.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:83,column:28},end:{line:83,column:75}}}))+':\n </div>\n <div class="grid-column-6 padding-left--small">\n <span id="device-properties-firmware"></span>\n <i class="icon icon-update firmware-update-available"\n id="device-properties-firmware-update"></i>\n <span id="device-properties-firmware-optional-label"\n class="optional-firmware-label hide-because-of-access hide-because-of-not-available"></span>\n <button id="device-properties-firmware-optional-button"\n class="button optional-firmware-button hide-because-of-access hide-because-of-not-available"\n type="button"></button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n'+(null!=(o=e.invokePartial(l(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"</form>"},usePartial:!0,useData:!0});function template$g(e,t,n){const i=Template$14(e,t);return n||"undefined"==typeof $?i:$(i)}class DeviceManagePropertiesView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{el:"#tab-content",events:{"submit form":"submitDeviceProperties","click .device-preset-change":"changePreset","click .js-show-password":"showPassword","click #device-properties-firmware-optional-button":"updateOptionalFirmware"}}),super(e),this.optionalFirmware=new DeviceManageFirmwareViewModel(void 0,{device:this.model,predicate:e=>"4.0"===e.name&&e.uniqueId.length===this.model.get("uniqueId").length}),this.tooltips=new Tooltip(this),this.template=template$g}static navTitle(){return i18n.get("device.properties.header.basicPropertiesTabTitle")}static slug(){return underscore_string(DeviceManagePropertiesView.navTitle()).slugify().value()}get bindings(){return{"#device-properties-name":{observe:"name",attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditVirtualProperties,this.model)]},".form-group--tags":{classes:securityService.visibleClassBinding("allowOnDevice",DeviceAction.EditVirtualProperties,this.model)},"#device-properties-tags":{observe:"tags",initialize:(e,t)=>{e.tagEditor({initialTags:t.get("tags"),maxTags:DEVICE_PROPERTY_TAGS_MAX,maxLength:DEVICE_PROPERTY_TAG_MAX_LENGTH,placeholder:"+ADD A TAG",beforeTagSave:(e,t,n,i,r)=>r.replace(NON_ALPHANUMERIC_REGEXP,""),onChange:(e,n,i)=>{t.set("tags",i)}})},update:(e,t,n)=>{const i=n.get("tags");if(!i||0===i.length){const t=e.tagEditor("getTags")[0].tags;t&&t.forEach(t=>e.tagEditor("removeTag",t))}}},"#device-properties-txPower":{observe:"txPower",classes:{"has-two-postfixes":"previous.txPower"},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPhysicalProperties,this.model)]},"#device-properties-previous-txPower":{observe:"previous.txPower",classes:{hidden:{observe:"previous.txPower",onGet:e=>!e}},attributes:[{name:"title",observe:"previous.txPower"}]},"#device-properties-interval":{observe:"interval",classes:{"has-two-postfixes":"previous.interval"},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPhysicalProperties,this.model)]},"#device-properties-previous-interval":{observe:"previous.interval",classes:{hidden:{observe:"previous.interval",onGet:e=>!e}},attributes:[{name:"title",observe:"previous.interval"}]},"#device-properties-access":"access","#device-properties-status-batteryLevel":{observe:"batteryLevel",onGet:function(e){return null!=e?"".concat(e,"%"):i18n.get("beacon.manage.data.notSynchronized")}},"#device-properties-status-lastConnection":{observe:"lastSeen",onGet:function(e){return null!=e?hooks$1(e,"X").format("DD/MM/YYYY HH:mm"):i18n.get("beacon.manage.data.notSynchronized")}},"#device-properties-profile":{observe:"profiles",selectOptions:{collection:[{value:"IBEACON",label:i18n.get("device.properties.property.profile.values.ibeacon.label")},{value:"EDDYSTONE",label:i18n.get("device.properties.property.profile.values.eddystone.label")}]},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyProfiles,this.model)]},"#device-properties-namespace":{observe:"namespace",classes:{"has-postfix":"previous.namespace"},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyNamespace,this.model)]},"#device-properties-previous-namespace":{observe:"previous.namespace",attributes:[{name:"title",observe:"previous.namespace"}]},"#device-properties-instanceId":{observe:"instanceId",classes:{"has-postfix":"previous.instanceId"},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyInstanceId,this.model)]},"#device-properties-previous-instanceId":{observe:"previous.instanceId",attributes:[{name:"title",observe:"previous.instanceId"}]},"#device-properties-url":{observe:"url",classes:{"has-postfix":"previous.url"},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyUrl,this.model)]},"#device-properties-previous-url":{observe:"previous.url",attributes:[{name:"title",observe:"previous.url"}]},"#device-properties-proximity":{observe:"proximity",classes:{"has-postfix":"previous.proximity"},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyProximity,this.model)]},"#device-properties-previous-proximity":{observe:"previous.proximity",attributes:[{name:"title",observe:"previous.proximity"}]},"#device-properties-major":{observe:"major",classes:{"has-two-postfixes":"previous.major"},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyMajor,this.model)]},"#device-properties-previous-major":{observe:"previous.major",classes:{hidden:{observe:"previous.major",onGet:e=>!e}},attributes:[{name:"title",observe:"previous.major"}]},"#device-properties-minor":{observe:"minor",classes:{"has-two-postfixes":"previous.minor"},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyMinor,this.model)]},"#device-properties-previous-minor":{observe:"previous.minor",classes:{hidden:{observe:"previous.minor",onGet:e=>!e}},attributes:[{name:"title",observe:"previous.minor"}]},"#device-preset-label":{observe:"preset",onGet:function(e){return _$1.isObject(e)&&_$1.has(e,"name")?e.name:""},classes:{disabled:{observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.EditPropertyProximity,this.model)}}}},"#device-preset-description":{observe:"preset",onGet:function(e){return _$1.isObject(e)&&_$1.has(e,"description")?nl2br(e.description):""},updateMethod:"html",escape:!1},"#device-preset-change-to-apple-ibeacon":presetClassBinding("apple-ibeacon"),"#device-preset-change-to-kontakt-beacon":presetClassBinding("kontakt-beacon"),"#device-preset-change-to-energy-saver":presetClassBinding("energy-saver"),"#device-preset-change-to-
82power-beacon":presetClassBinding("power-beacon"),"#device-properties-password":{observe:"password",classes:securityService.visibleClassBinding("allowOnDevice",DeviceAction.ShowDevicePassword,this.model),onGet:function(e){if(!e)return'<span class="clickable js-show-password">'.concat(i18n.get("general.show"),"</span>");const t=this.model.configValue("password");return t?'<span data-tooltip-content="'.concat(i18n.get("config.current.password.help"),'" class="postfix-password">').concat(e,'</span>\n <span data-tooltip-content="').concat(i18n.get("config.pending.password.help"),'" class="future-password">').concat(t,"</span>"):e},updateMethod:"html",afterUpdate:e=>{this.tooltips.bindTooltipToElement(e)}},"#device-properties-mac":"mac","#device-properties-firmware-optional-label":{classes:{"hide-because-of-access":{observe:"access",onGet:()=>!securityService.allowOnDevice(DeviceAction.ScheduleFirmwareUpdate,this.model)}}},"#device-properties-firmware-optional-button":{classes:{"hide-because-of-access":{observe:"access",onGet:()=>!securityService.allowOnDevice(DeviceAction.ScheduleFirmwareUpdate,this.model)}}},"#device-properties-firmware":"firmware","#device-properties-firmware-label":{classes:{hidden:{observe:"firmware",onGet:e=>!e}}},"#device-properties-firmware-update":{classes:{hidden:{observe:"latestFirmware",onGet:e=>!this.hasFirmwareUpgrade(e)}},attributes:[{observe:"latestFirmware",name:"data-tooltip-content",onGet:e=>{if(this.hasFirmwareUpgrade(e)){const t=/(\d*\.\d*)(.*)/.exec(e.name)[1];return i18n.get("table.row.notice.firmware",t)}return null}}]},".device-properties-proximity-help":{attributes:[{name:"data-tooltip-content",observe:"shuffled",onGet:e=>e?i18n.get("device.properties.property.proximity.help.shuffled"):i18n.get("device.properties.property.proximity.help")}]},".device-properties-namespace-help":{attributes:[{name:"data-tooltip-content",observe:"shuffled",onGet:e=>e?i18n.get("device.properties.property.namespace.help.shuffled"):i18n.get("device.properties.property.namespace.help")}]},"#device-security-hashingPolicy-label":{observe:"hashingPolicy",onGet:e=>e===HashingPolicy.On?i18n.get("general.enabled"):i18n.get("general.disabled"),classes:{enabled:{observe:"hashingPolicy",onGet:e=>e===HashingPolicy.On},disabled:{observe:"hashingPolicy",onGet:e=>e===HashingPolicy.Off}}},"#device-security-hashingPolicy":{observe:"hashingPolicy",onGet:e=>e===HashingPolicy.On,onSet:e=>e?HashingPolicy.On:HashingPolicy.Off}}}get firmwareBindings(){return{"#device-properties-firmware-optional-label":{observe:"scheduled",updateMethod:"html",onGet:function(e){return e?i18n.get("device.properties.property.firmware.upgrade.pending.label",this.optionalFirmware.get("name")):i18n.get("device.properties.property.firmware.upgrade.available.label",this.optionalFirmware.get("name"))},classes:{scheduled:"scheduled","hide-because-of-not-available":{observe:"name",onGet:e=>!e}}},"#device-properties-firmware-optional-button":{observe:"scheduled",onGet:function(e){return e?"Abort update":"Update firmware"},classes:{primary:{observe:"scheduled",onGet:e=>!e},grey:{observe:"scheduled",onGet:e=>e},"hide-because-of-not-available":{observe:"name",onGet:e=>!e}}}}}beforeRender(){const e=[];return e.push(this.optionalFirmware.fetch()),e}render(){return this.$el.html(this.template({device:this.model.toJSON()})),this.stickit(),this.stickit(this.optionalFirmware,this.firmwareBindings),new ValidationExtension(this),this.tooltips.bindTooltips(),this}detach(){}submitDeviceProperties(e){if(e.preventDefault(),this.model.validate())return;const t=this.model.save();t.then(()=>{toastr.success(i18n.get("device.updated.message"))},e=>{toastr.detailedError(e)}),l.pushPromise([t])}changePreset(e){e.preventDefault();const t=jquery(e.target),n=t.data("slug"),i=this.model.findPreset(n);t.parents(".dropdown-menu-wrap").find(".dropdown-trigger").prop("checked",!1),this.model.changePreset(i)}showPassword(){l.pushPromise(this.model.fetchPassword())}updateOptionalFirmware(){const e=()=>{const e=this.optionalFirmware.save();e.then(()=>{toastr.success(i18n.get("device.updated.message"))},e=>{toastr.detailedError(e)}),l.pushPromise([e])};if(!1===this.optionalFirmware.get("scheduled")){new Confirm({description:i18n.get("device.properties.property.firmware.upgrade.warning1")}).then(()=>{new Confirm({description:i18n.get("device.properties.property.firmware.upgrade.warning2")}).then(e)})}else e()}hasFirmwareUpgrade(e){return _$1.isObject(e)&&_$1.has(e,"name")&&this.model.get("firmware")}}function presetClassBinding(e){return{classes:{active:{observe:"preset",onGet:function(t){return!(!_$1.isObject(t)||!_$1.has(t,"slug"))&&t.slug===e}}}}}class DeviceManageSharingViewModel extends backbone.Model{constructor(e,t){if(!_$1.has(e,"uniqueId"))throw Error("You have to pass device uniqueId[] as attribute when creating DeviceManageSharingViewModel");if(!_$1.has(e,"deviceId"))throw Error("You have to pass device deviceId[] as attribute when creating DeviceManageSharingViewModel");super(e,t),this.startTracking()}defaults(){return{access:"",managerMail:"",managerId:_$1.first(_$1.keys(applicationService.subordinates)),expirationDate:null}}toJSON(){return _$1.extend(super.toJSON(),{expirationDate:this.get("expirationDate")?hooks$1(this.get("expirationDate")).format("X"):""})}share(){return deviceService.share(this.toJSON()).then(()=>{this.get("expirationDate")&&this.set("expirationDate",hooks$1(this.get("expirationDate")).format("X"))})}unshare(){return deviceService.unshare(this.toJSON())}assign(){return deviceService.assignToManager(this.get("deviceId"),this.get("managerId"))}unassign(){return deviceService.assignToManager(this.get("deviceId"),applicationService.manager.id)}move(){return deviceService.move(this.get("uniqueId"),this.get("managerMail"))}}class DeviceManageSharingViewCollection extends backbone.Collection{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!_$1.has(t,"deviceModel"))throw Error("You have to pass DeviceManageViewModel as option when creating DeviceManageSharingViewCollection");super(e,t),this.deviceModel=t.deviceModel,this.subordinates=new backbone.Collection(_$1.toArray(applicationService.subordinates))}get model(){return DeviceManageSharingViewModel}static factory(e){let t=[];return Array.prototype.push.apply(t,e.get("shares")),e.get("access")===DeviceAccess.Supervisor&&_$1.has(applicationService.subordinates,e.get("managerId"))&&t.push({managerMail:applicationService.subordinates[e.get("managerId")].email,access:DeviceAccess.Subordinate}),t=t.map(t=>_$1.extend(t,e.getIdentifiers())),new DeviceManageSharingViewCollection(t,{deviceModel:e})}}var Template$15=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form class="sharing">\n\n <h2 class="bordered-header">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.share.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:32},end:{line:3,column:64}}}))+'</h2>\n\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 padding-right--small sm-grid-column-12 sm-no-padding">\n <label class="form-label">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.share.access.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:16},end:{line:8,column:54}}}))+':\n <i class="icon icon-question-mark" data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.share.access.help",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:73},end:{line:9,column:110}}}))+'"></i>\n </label>\n\n <input type="radio" class="hidden hide device-sharing-access" name="access" value=""/>\n\n <ul class="radios styled-radios">\n <li class="margin-bottom--small">\n <input type="radio" value="SUBORDINATE"\n id="device-sharing-access-SUBORDINATE"\n name="access"\n class="radio device-sharing-access"/>\n <label for="device-sharing-access-SUBORDINATE">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.share.access.option.subordinate.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:22,column:67},end:{line:22,column:124}}}))+'</label>\n </li>\n <li>\n <input type="radio" value="VIEWER" id="device-sharing-access-VIEWER"\n name="access"\n class="radio device-sharing-access"/>\n <label for="device-sharing-access-VIEWER">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.share.access.option.viewer.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:28,column:62},end:{line:28,column:114}}}))+'</label>\n </li>\n <li class="margin-bottom--small">\n <input type="radio" value="EDITOR" id="device-sharing-access-EDITOR"\n name="access"\n class="radio device-sharing-access"/>\n <label for="device-sharing-access-EDITOR">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.share.access.option.editor.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:34,column:62},end:{line:34,column:114}}}))+'</label>\n </li>\n <li>\n <input type="radio" value="OWNER" id="device-sharing-access-OWNER"\n name="access"\n class="radio device-sharing-access"/>\n <label for="device-sharing-access-OWNER">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.share.access.option.owner.label",{name:"i18n",hash:{}
82,data:r,loc:{source:"Dropdown.hbs",start:{line:40,column:61},end:{line:40,column:112}}}))+'</label>\n </li>\n </ul>\n\n <div class="form-group">\n <div class="form-label-container">\n <label for="device-sharing-manager-mail" class="form-label">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.sharing.input.shareWith.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:47,column:24},end:{line:47,column:73}}}))+'\n </label>\n <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container">\n <input id="device-sharing-manager-mail" name="managerMail" type="text" class="form-input">\n <div class="flex-item">\n <select id="device-sharing-manager-select" name="managerMail" class="dropdown"></select>\n </div>\n <span class="form-input-add-on transparent">\n <i class="icon icon-question-mark" id="device-sharing-manager-mail-help"\n data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.sharing.input.shareWith.help",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:58,column:49},end:{line:58,column:95}}}))+'"></i>\n </span>\n </div>\n </div>\n\n <div class="form-group device-sharing-expiration-settings">\n <div class="form-label-container">\n <label for="device-sharing-expiration-date" class="form-label">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.sharing.input.expirationDate.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:66,column:24},end:{line:66,column:78}}}))+'\n </label>\n <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container device-sharing-expiration-date">\n <input id="device-sharing-expiration-date" name="expirationDate" type="text"\n class="form-input js-date-picker">\n <span class="form-input-add-on transparent">\n <i class="icon icon-question-mark"\n data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.sharing.input.expirationDate.help",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:75,column:49},end:{line:75,column:102}}}))+'"></i>\n </span>\n <div class="align-self--center styled-checkboxes">\n <input type="checkbox" id="device-sharing-expiration-date-forever"\n name="expirationDateForever"/>\n <label for="device-sharing-expiration-date-forever">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.share.expirationDate.forever.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:80,column:76},end:{line:80,column:130}}}))+"</label>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n"+(null!=(o=e.invokePartial(l(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+'\n <div class="shares-list" id="device-sharing-shares-list"></div>\n\n</form>'},usePartial:!0,useData:!0});function template$h(e,t,n){const i=Template$15(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$16=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="grid-row">\n\n <div class="grid-column-12">\n\n <div class="list">\n <h2 class="table-header font-weight--medium">\n '+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.share.list.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:16}
82,end:{line:7,column:50}}}))+'\n </h2>\n <table class="common-table condensed dark-header">\n <thead>\n <tr>\n <th class="col-no align-center">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.lp",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:52},end:{line:12,column:78}}}))+'</th>\n <th class="col-type width-13">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.share.list.managerMail.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:50},end:{line:13,column:96}}}))+'</th>\n <th class="col-content hidden-sm width-13">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.share.list.access.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:63},end:{line:14,column:104}}}))+'</th>\n <th class="col-content width-8">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.share.expirationDate.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:52},end:{line:15,column:96}}}))+'</th>\n <th class="col-actions align-right width-5"></th>\n </tr>\n </thead>\n <tbody id="shares-list-element-container"></tbody>\n </table>\n </div>\n \x3c!-- .list --\x3e\n\n </div>\n \x3c!-- small-12.columns --\x3e\n\n</div>\n\x3c!-- .row --\x3e'},useData:!0});function listTemplate(e,t,n){const i=Template$16(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$17=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<td class="col-no align-center device-sharing-list-no"></td>\n<td class="device-sharing-list-manager-mail user-name"></td>\n<td class="device-sharing-list-access hidden-sm"></td>\n<td class="device-sharing-list-expiration-date"></td>\n<td class="col-actions align-right">\n <span class="js-unshare unshare delete button transparent" data-tooltip-content="_">\n <i class="icon icon-trash"></i>\n </span>\n</td>'},useData:!0});function listElementTemplate(e,t,n){const i=Template$17(e,t);return n||"undefined"==typeof $?i:$(i)}const START_DATE=hooks$1().add(1,"day").format("MM.DD.YYYY");class DeviceManageSharingView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{el:"#device-manage-sharing",events:{"submit form":"submitForm"}}),super(e),this.deviceModel=this.model,this.model=this.resetModel(),this.collection=DeviceManageSharingViewCollection.factory(this.deviceModel),this.tooltips=new Tooltip(this),this.template=template$h}resetModel(){return new DeviceManageSharingViewModel(this.deviceModel.getIdentifiers())}static navTitle(){return i18n.get("device.sharing.header.tabTitle")}static slug(){return underscore_string(DeviceManageSharingView.navTitle()).slugify().value()}get bindings(){return{".device-sharing-access":"access","#device-sharing-manager-mail":{observe:"managerMail",onGet:function(e){return this.model.previous("access")===DeviceAccess.Subordinate?"":e},classes:{hidden:{observe:"access",onGet:function(e){return e===DeviceAccess.Subordinate}}}},"#device-sharing-manager-select":{observe:"managerId",selectOptions:{collection:"this.collection.subordinates",labelPath:"fullName",valuePath:"id"},onSet:function(e){return this.model.set("managerMail",this.collection.subordinates.get(e).get("email")),e},classes:{hidden:{observe:"access",onGet:function(e){return e!==DeviceAccess.Subordinate}}}},"#device-sharing-expiration-date":{observe:"expirationDate",attributes:[{name:"disabled",onGet:e=>null===e}],onGet:function(e){return null===e?i18n.get("device.share.expirationDate.forever.label"):e}},"#device-sharing-expiration-date-forever":{observe:"expirationDate",onGet:e=>null===e,onSet:e=>{let t=this.model.previous("expirationDate");return t||(t=START_DATE),e?null:t}},".device-sharing-expiration-settings":{classes:{hidden:{observe:"access",onGet:e=>-1===[DeviceAccess.Viewer,DeviceAccess.Editor].indexOf(e)}}},".js-submit":{attributes:[{name:"disabled",observe:"access",onGet:function(e){return 0===e.length}}]}}}get deviceBindings(){return{"#device-sharing-access-VIEWER":{attributes:[{name:"disabled",observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.Share,this.deviceModel)}}]},"#device-sharing-access-EDITOR":{attributes:[{name:"disabled",observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.Share,this.deviceModel)}}]},"#device-sharing-access-SUBORDINATE":{attributes:[{name:"disabled",observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.ManagerAssign,this.deviceModel)}}]},"#device-sharing-access-OWNER":{attributes:[{name:"disabled",observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.Move,this.deviceModel)}}]}}}render(){return this.$el.html(this.template()),this.sharesListView=new SharesList({collection:this.collection,deviceModel:this.deviceModel}),this.tooltips.bindTooltips(),this.stickit(),this.stickit(this.deviceModel,this.deviceBindings),this}detach(){this.sharesListView.remove()}submitForm(e){e.preventDefault();const t=this.model.get("access");if(t===DeviceAccess.Owner){new Confirm({description:i18n.get("device.share.move.warning")}).then(()=>{const e=this.model.move();e.then(()=>{navigationService.back(),toastr.success(i18n.get("device.moved.message"))},e=>{toastr.detailedError(e)}),l.pushPromise([e])})}else if(t===DeviceAccess.Subordinate){const e=this.model.assign().then(()=>{toastr.success(i18n.get("device.assigned.message")),navigationService.refresh()},e=>{toastr.detailedError(e)});l.pushPromise([e])}else if(t===DeviceAccess.Editor||t===DeviceAccess.Viewer){const e=this.model.share();e.then(()=>{this.collection.add(this.model),this.model=this.resetModel(),this.render(),toastr.success(i18n.get("device.shared.message"))},e=>{toastr.detailedError(e)}),l.pushPromise([e])}}}class SharesList extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{el:"#device-sharing-shares-list"}),super(e),this.sharesListElementView=[],this.deviceModel=e.deviceModel,this.listenTo(this.collection,"add",this.addOne),this.listenTo(this.collection,"remove",this.resetNo),this.listenTo(this.collection,"add",this.resetNo),this.template=listTemplate,this.render()}render(){return this.$el.html(this.template()),this.addAll(),this}addOne(e,t){e.set("lp",t+1);const n=new SharesListElement({model:e,deviceModel:this.deviceModel});this.$("#shares-list-element-container").append(n.render().el),this.sharesListElementView.push(n)}addAll(){this.collection.each(this.addOne.bind(this))}resetNo(){this.collection.each((e,t)=>e.set("lp",t+1))}
82remove(){this.sharesListElementView.forEach(e=>{e.remove()}),super.remove()}}class SharesListElement extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{tagName:"tr",className:"assigned-to",events:{"click .js-unshare":"unshare"}}),super(e),this.deviceModel=e.deviceModel,this.listenTo(this.model,"destroy",this.remove),this.template=listElementTemplate}get bindings(){return{".device-sharing-list-manager-mail":"managerMail",".device-sharing-list-access":"access",".device-sharing-list-no":"lp",".device-sharing-list-expiration-date":{observe:"expirationDate",onGet:function(e){return e?hooks$1(e,"X").format("MM.DD.YYYY"):""}},".js-unshare":{attributes:[{name:"data-tooltip-content",observe:"access",onGet:function(e){return e===DeviceAccess.Subordinate?i18n.get("device.share.reassignToMe.label"):e===DeviceAccess.Editor||e===DeviceAccess.Viewer?i18n.get("device.share.unshare.label"):""}}]}}}get deviceBindings(){return{".js-unshare":{classes:{disabled:{observe:"access",onGet:function(){return(this.model.get("access")===DeviceAccess.Editor||this.model.get("access")===DeviceAccess.Viewer)&&!securityService.allowOnDevice(DeviceAction.Share,this.deviceModel)}}}}}}render(){return this.unstickit(),this.unstickit(this.deviceModel),this.$el.html(this.template()),this.stickit(),this.stickit(this.deviceModel,this.deviceBindings),this}unshare(){let e;const t=this.model.get("access");t===DeviceAccess.Subordinate?e=this.model.unassign().then(()=>{navigationService.refresh(),toastr.success(i18n.get("device.unassigned.message"))}):t!==DeviceAccess.Editor&&t!==DeviceAccess.Viewer||(e=this.model.unshare().then(()=>{toastr.success(i18n.get("device.unshared.message"))})),e.then(()=>{this.model.destroy()},e=>{toastr.detailedError(e)}),l.pushPromise([e])}}var Template$18=Handlebars.template({1:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="future-id-table">\n <table class="common-table condensed dark-header future-id-table">\n'+(null!=(o=s(n,"if").call(a,null!=(o=null!=(o=null!=t?s(t,"device"):t)?s(o,"futureId"):o)?s(o,"EDDYSTONE"):o,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:47,column:32},end:{line:62,column:39}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=(o=null!=(o=null!=t?s(t,"device"):t)?s(o,"futureId"):o)?s(o,"IBEACON"):o,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:63,column:32},end:{line:80,column:39}}}))?o:"")+" </table>\n </div>\n"},2:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <thead>\n <tr>\n <th>"+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.properties.property.namespace.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:50,column:44},end:{line:50,column:99}}}))+"</th>\n <th>"+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.properties.property.instanceId.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:51,column:44},end:{line:51,column:100}}}))+"</th>\n </tr>\n </thead>\n <tbody>\n"+(null!=(o=l(n,"each").call(a,null!=(o=null!=(o=null!=t?l(t,"device"):t)?l(o,"futureId"):o)?l(o,"EDDYSTONE"):o,{name:"each",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:55,column:36},end:{line:60,column:45}}}))?o:"")+" </tbody>\n"},3:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <tr>\n <td>"+c("function"==typeof(o=null!=(o=l(n,"namespace")||(null!=t?l(t,"namespace"):t))?o:s)?o.call(a,{name:"namespace",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:57,column:48},end:{line:57,column:61}}}):o)+"</td>\n <td>"+c("function"==typeof(o=null!=(o=l(n,"instanceId")||(null!=t?l(t,"instanceId"):t))?o:s)?o.call(a,{name:"instanceId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:58,column:48},end:{line:58,column:62}}}):o)+"</td>\n </tr>\n"},5:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <thead>\n <tr>\n <th>"+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.properties.property.proximity.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:66,column:44},end:{line:66,column:99}}}))+"</th>\n <th>"+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.properties.property.major.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:67,column:44}
82,end:{line:67,column:95}}}))+"</th>\n <th>"+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.properties.property.minor.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:68,column:44},end:{line:68,column:95}}}))+"</th>\n </tr>\n </thead>\n <tbody>\n"+(null!=(o=l(n,"each").call(a,null!=(o=null!=(o=null!=t?l(t,"device"):t)?l(o,"futureId"):o)?l(o,"IBEACON"):o,{name:"each",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:72,column:36},end:{line:78,column:45}}}))?o:"")+" </tbody>\n"},6:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <tr>\n <td>"+c("function"==typeof(o=null!=(o=l(n,"proximity")||(null!=t?l(t,"proximity"):t))?o:s)?o.call(a,{name:"proximity",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:74,column:48},end:{line:74,column:61}}}):o)+"</td>\n <td>"+c("function"==typeof(o=null!=(o=l(n,"major")||(null!=t?l(t,"major"):t))?o:s)?o.call(a,{name:"major",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:75,column:48},end:{line:75,column:57}}}):o)+"</td>\n <td>"+c("function"==typeof(o=null!=(o=l(n,"minor")||(null!=t?l(t,"minor"):t))?o:s)?o.call(a,{name:"minor",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:76,column:48},end:{line:76,column:57}}}):o)+"</td>\n </tr>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form action="" id="js-device-manage-security-form" class="single-device-shuffling-view js-event-form" data-event="post-securityForm">\n <div class="security section">\n\n <h3 class="bordered-header">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.shuffling.header.setupSecuritySettings",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:36},end:{line:4,column:94}}}))+'</h3>\n\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 padding-right sm-grid-column-12 md-grid-column-12 sm-no-padding md-no-padding">\n\n <div class="toggle-wrap">\n <h3 class="toggle-label">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.shuffling.header.securitySettings",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:24},end:{line:11,column:77}}}))+':\n <span id="device-security-shuffled-label"></span>\n </h3>\n\n <div class="toggle">\n <input id="device-security-shuffled" type="checkbox">\n <label for="device-security-shuffled"></label>\n </div>\n </div>\n\n <div class="panel-info secure-domain-properties">\n <dl class="secure-domain">\n <dt>'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.shuffling.property.secureProximity.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:23,column:28},end:{line:23,column:88}}}))+':</dt>\n <dd id="device-properties-secureProximity"></dd>\n <dt>'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.shuffling.property.secureNamespace.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:25,column:28},end:{line:25,column:88}}}))+':</dt>\n <dd id="device-properties-secureNamespace"></dd>\n </dl>\n </div>\n </div>\n <div class="grid-column-6 padding-left sm-grid-column-12 md-grid-column-12 sm-no-padding md-no-padding">\n <div class="alert-box success shuffling-on-note">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.shuffling.turn.on.note",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:32,column:20},end:{line:32,column:60}}}))+'\n </div>\n </div>\n </div>\n\n <h3 class="bordered-header">'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.shuffling.header.futureIds",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:37,column:36},end:{line:37,column:82}}}
82))+'</h3>\n\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 padding-right sm-grid-column-12 md-grid-column-12 sm-no-padding md-no-padding">\n\n <div class="security-advanced-settings">\n\n'+(null!=(o=(l(n,"some")||t&&l(t,"some")||s).call(a,null!=(o=null!=(o=null!=t?l(t,"device"):t)?l(o,"futureId"):o)?l(o,"EDDYSTONE"):o,null!=(o=null!=(o=null!=t?l(t,"device"):t)?l(o,"futureId"):o)?l(o,"IBEACON"):o,{name:"some",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:44,column:20},end:{line:83,column:29}}}))?o:"")+' </div>\n </div>\n <div class="grid-column-6 padding-left sm-grid-column-12 md-grid-column-12 sm-no-padding md-no-padding">\n <div class="alert-box info">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"device.shuffling.futureIds.warning",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:88,column:20},end:{line:88,column:67}}}))+'\n </div>\n </div>\n </div>\n\n <div class="grid-row buttons margin-top padding-top--large border-top--gray-2">\n <div class="grid-column-12 text-align--right">\n'+(null!=(o=e.invokePartial(l(i,"cancel-link-partial"),t,{name:"cancel-link-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' <button class="button primary js-submit" type="submit">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"general.saveChanges",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:97,column:20},end:{line:97,column:50}}}))+"\n </button>\n </div>\n </div>\n\n </div>\n \x3c!-- .device-properties --\x3e\n</form>"},usePartial:!0,useData:!0});function template$i(e,t,n){const i=Template$18(e,t);return n||"undefined"==typeof $?i:$(i)}class DeviceManageShufflingView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{el:"#tab-content",events:{"submit form":"submitForm"}})),this.tooltips=new Tooltip(this),this.template=template$i}static navTitle(){return i18n.get("device.shuffling.header.tabTitle")}static slug(){return underscore_string(DeviceManageShufflingView.navTitle()).slugify().value()}get bindings(){return{"#device-security-shuffled-label":{observe:"shuffled",onGet:function(e){return e?i18n.get("general.enabled"):i18n.get("general.disabled")},classes:{enabled:{observe:"shuffled",onGet:function(e){return e}},disabled:{observe:"shuffled",onGet:function(e){return!e}},readonly:{observe:"access",onGet:()=>!securityService.allowOnDevice(DeviceAction.EditPropertyShuffle,this.model)}}},"#device-security-shuffled":{observe:"shuffled",attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyShuffle,this.model)]},"#device-properties-secureProximity":"secureProximity","#device-properties-secureNamespace":"secureNamespace"}}render(){return this.unstickit(),this.$el.html(this.template({device:this.model.toJSON()})),this.stickit(),this.tooltips.bindTooltips(),this}submitForm(e){e.preventDefault();const t=this.model.save();t.then(()=>{toastr.success(i18n.get("device.updated.message"))},e=>{toastr.detailedError(e)}),l.pushPromise(t)}}var momentTimezone=createCommonjsModule((function(e){ 83//! moment-timezone.js 84//! version : 0.5.26 85//! Copyright (c) JS Foundation and other contributors 86//! license : MIT 87//! github.com/moment/moment-timezone 88!function(t,n){e.exports?e.exports=n(moment):n(t.moment)}(commonjsGlobal,(function(e){var t,n={},i={},r={},o={};e&&"string"==typeof e.version||E("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var a=e.version.split("."),s=+a[0],c=+a[1];function l(e){return e>96?e-87:e>64?e-29:e-48}function d(e){var t=0,n=e.split("."),i=n[0],r=n[1]||"",o=1,a=0,s=1;for(45===e.charCodeAt(0)&&(t=1,s=-1);t<i.length;t++)a=60*a+l(i.charCodeAt(t));for(t=0;t<r.length;t++)o/=60,a+=l(r.charCodeAt(t))*o;return a*s}function u(e){for(var t=0;t<e.length;t++)e[t]=d(e[t])}function p(e,t){var n,i=[];for(n=0;n<t.length;n++)i[n]=e[t[n]];return i}function h(e){var t=e.split("|"),n=t[2].split(" "),i=t[3].split(""),r=t[4].split(" ");return u(n),u(i),u(r),function(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}(r,i.length),{name:t[0],abbrs:p(t[1].split(" "),i),offsets:p(n,i),untils:r,population:0|t[5]}}function f(e){e&&this._set(h(e))}
vendor: 7,432 bytes, line 88
88function m(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);"GMT"===(n=n&&n[0]?(n=n[0].match(/[A-Z]/g))?n.join(""):void 0:(n=t.match(/[A-Z]{3,5}/g))?n[0]:void 0)&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function v(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function g(e,t){for(var n,i;i=6e4*((t.at-e.at)/12e4|0);)(n=new m(new Date(e.at+i))).offset===e.offset?e=n:t=n;return e}function b(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:e.zone.population!==t.zone.population?t.zone.population-e.zone.population:t.zone.name.localeCompare(e.zone.name)}function y(e,t){var n,i;for(u(t),n=0;n<t.length;n++)i=t[n],o[i]=o[i]||{},o[i][e]=!0}function A(e){var t,n,i,a=e.length,s={},c=[];for(t=0;t<a;t++)for(n in i=o[e[t].offset]||{})i.hasOwnProperty(n)&&(s[n]=!0);for(t in s)s.hasOwnProperty(t)&&c.push(r[t]);return c}function _(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=r[w(e)];if(t)return t;E("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,i,o,a=function(){var e,t,n,i=(new Date).getFullYear()-2,r=new m(new Date(i,0,1)),o=[r];for(n=1;n<48;n++)(t=new m(new Date(i,n,1))).offset!==r.offset&&(e=g(r,t),o.push(e),o.push(new m(new Date(e.at+6e4)))),r=t;for(n=0;n<4;n++)o.push(new m(new Date(i+n,0,1))),o.push(new m(new Date(i+n,6,1)));return o}(),s=a.length,c=A(a),l=[];for(i=0;i<c.length;i++){for(n=new v(k(c[i]),s),o=0;o<s;o++)n.scoreOffsetAt(a[o]);l.push(n)}return l.sort(b),l.length>0?l[0].zone.name:void 0}function w(e){return(e||"").toLowerCase().replace(/\//g,"_")}function M(e){var t,i,o,a;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)a=w(i=(o=e[t].split("|"))[0]),n[a]=e[t],r[a]=i,y(a,o[2].split(" "))}function k(e,t){e=w(e);var o,a=n[e];return a instanceof f?a:"string"==typeof a?(a=new f(a),n[e]=a,a):i[e]&&t!==k&&(o=k(i[e],k))?((a=n[e]=new f)._set(o),a.name=r[e],a):null}function C(e){var t,n,o,a;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)o=w((n=e[t].split("|"))[0]),a=w(n[1]),i[o]=a,r[o]=n[0],i[a]=o,r[a]=n[1]}function S(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function E(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function x(t){var n=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1],r=k(i),o=e.utc.apply(null,n);return r&&!e.isMoment(t)&&S(o)&&o.add(r.parse(o),"minutes"),o.tz(i),o}(s<2||2===s&&c<6)&&E("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),f.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;t<i.length;t++)if(n<i[t])return t},parse:function(e){var t,n,i,r,o=+e,a=this.offsets,s=this.untils,c=s.length-1;for(r=0;r<c;r++)if(t=a[r],n=a[r+1],i=a[r?r-1:r],t<n&&x.moveAmbiguousForward?t=n:t>i&&x.moveInvalidForward&&(t=i),o<s[r]-6e4*t)return a[r];return a[c]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return E("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},v.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},x.version="0.5.26",x.dataVersion="",x._zones=n,x._links=i,x._names=r,x.add=M,x.link=C,x.load=function(e){M(e.zones),C(e.links),x.dataVersion=e.version},x.zone=k,x.zoneExists=function e(t){return e.didShowError||(e.didShowError=!0,E("moment.tz.zoneExists('"+t+"') has been deprecated in favor of !moment.tz.zone('"+t+"')")),!!k(t)},x.guess=function(e){return t&&!e||(t=_()),t},x.names=function(){var e,t=[];for(e in r)r.hasOwnProperty(e)&&(n[e]||n[i[e]])&&r[e]&&t.push(r[e]);return t.sort()},x.Zone=f,x.unpack=h,x.unpackBase60=d,x.needsOffset=S,x.moveInvalidForward=!0,x.moveAmbiguousForward=!1;var O,T=e.fn;function D(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function $(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=x,e.defaultZone=null,e.updateOffset=function(t,n){var i,r=e.defaultZone;if(void 0===t._z&&(r&&S(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(r.parse(t),"minutes")),t._z=r),t._z)if(i=t._z.utcOffset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset){var o=t._z;t.utcOffset(-i,n),t._z=o}else t.zone(i,n)},T.tz=function(t,n){if(t){if("string"!=typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=k(t),this._z?e.updateOffset(this,n):E("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},T.zoneName=D(T.zoneName),T.zoneAbbr=D(T.zoneAbbr),T.utc=$(T.utc),T.local=$(T.local),T.utcOffset=(O=T.utcOffset,function(){return arguments.length>0&&(this._z=null),O.apply(this,arguments)}),e.tz.setDefault=function(t){return(s<2||2===s&&c<9)&&E("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?k(t):null,e};var P=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(P)?(P.push("_z"),P.push("_a")):P&&(P._z=null),e}))})),version$1="2019b",zones=["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e
8800 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e
8800 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|01212121212121212121212121212121213|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0","America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 8
880 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG
880 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|012342525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 XQp0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|01212121212121341212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 LFB0 1cL0 3Cp0 1cL0 66N0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|01023232323232324523232323232323232323232323232323232323232676767676767676767676767676767676767676767676867676
887676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 8
880 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 Bb0 10N0 2bB0 8in0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 8
880 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4","America/Ne
88w_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 de
88L0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT N
88DDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|010202020202
8802020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40
88-30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|010101010101010101010101010|-1c2w0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312
88121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +04 +03|-1U.U -20 -30 -40 -30|012121212121212121212121212121212121212121212121212121234343434342121212121212121212121212121212121212121212121212121212121212124|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSp0 CL0 mN0 1Vz0 1gN0 1pz0 5Rd0 1fz0 1yp0 ML0 1kp0 17b
880 1ip0 17b0 1fB0 19X0 1jB0 18L0 1ip0 17z0 qdd0 xX0 3S10 Tz0 dA10 11z0 1o10 11z0 1qN0 11z0 1ze0 11B0 WM0 1qO0 WI0 1nX0 1rB0 10L0 11B0 1in0 17d0 1in0 2pX0 19E0 1fU0 16Q0 1iI0 16Q0 1iI0 1Vd0 pb0 3Kp0 14o0 1de0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|L
88MT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -9u -a0|0123141414141414135353|-2um8r.Q 97XV.Q 1m1zu kKo0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|010202020202
8802020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rb0 1ld0 14n0 1zd0 On0 1zd0 On0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|
8811.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu
881cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0|","
88EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Etc/GMT-0|GMT|0|0|","Etc/GMT-1|+01|-10|0|","Pacific/Port_Moresby|+10|-a0|0||25e4","Etc/GMT-11|+11|-b0|0|","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0|","Etc/GMT-14|+14|-e0|0|","Etc/GMT-2|+02|-20|0|","Etc/GMT-3|+03|-30|0|","Etc/GMT-4|+04|-40|0|","Etc/GMT-5|+05|-50|0|","Etc/GMT-6|+06|-60|0|","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0|","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0|","Etc/GMT+10|-10|a0|0|","Etc/GMT+11|-11|b0|0|","Etc/GMT+12|-12|c0|0|","Etc/GMT+3|-03|30|0|","Etc/GMT+4|-04|40|0|","Etc/GMT+5|-05|50|0|","Etc/GMT+6|-06|60|0|","Etc/GMT+7|-07|70|0|","Etc/GMT+8|-08|80|0|","Etc/GMT+9|-09|90|0|","Etc/UTC|UTC|0|0|","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","
88Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST CET CEST MSK MSD EEST EET +03|-10 -20 -20 -30 -30 -40 -30 -20 -30|0101010101010232454545454545454546767676767676767676767676767676767676767676787|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 Am0 Lb0 1en0 op0 1pNz0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0
88-10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -2
880 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1a00 1cM0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0|","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","MST|MST|70|0|","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|
88c0 b0 -d0|012|nIc0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11|-bc -bu -cu -b0|01213|-Kgbc W01G On0 1COp0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"],links=["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigal
88i","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada
88/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],latest={version:version$1,zones:zones,links:links},latest$1=Object.freeze({version:version$1,zones:zones,links:links,default:latest}),require$$1=getCjsExportFromNamespace(latest$1),momentTimezone$1=createCommonjsModule((function(e){(e.exports=momentTimezone).tz.load(require$$1)}));class EqualsBuilder{constructor(e,t){return this.source=e,this.target=t,this.sourceProperty=e=>this.objProperty(this.source,e),e instanceof backbone.Model&&(this.sourceProperty=e=>this.modelProperty(this.source,e)),this.targetProperty=e=>this.objProperty(this.target,e),t instanceof backbone.Model&&(this.targetProperty=e=>this.modelProperty(this.target,e)),this.predicates=[],this}modelProperty(e,t){return e.get(t)}objProperty(e,t){return e[t]}number(e){return this.predicates.push(()=>Number(this.sourceProperty(e))===Number(this.targetProperty(e))),this}string(e){return this.predicates.push(()=>String(this.sourceProperty(e))===String(this.targetProperty(e))),this}object(e){return this.predicates.push(()=>_$1.isEqual(this.sourceProperty(e),this.targetProperty(e))),this}isEquals(){return this.predicates.every(e=>e())}isDifferent(){return!this.isEquals()}}class PowerSavingService{invertDay(e){if(!Array.isArray(e)||!e.length)return[[0,24]];if(1===e.length&&0===e[0][0]&&24===e[0][1])return[];const t=this.rangesToHours(e),n=this.getWholeDay().filter(e=>!t.includes(e));return this.hoursToRanges(n)}hoursToRanges(e){return e.reduce((e,t)=>
88{if(!e.length)return e.push([t,t+1]),e;const[n,i]=e.slice().pop();return i===t?e.splice(e.length-1,1,[n,t+1]):e.push([t,t+1]),e},[])}rangesToHours(e){return e.map(e=>{let[t,n]=e;return _$1.range(t,n)}).reduce((e,t)=>e.concat(t),[])}getWholeDay(){return[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]}}const powerSavingService=new PowerSavingService,SupportedTimezones={"Etc/GMT+12":"GMT-12:00","Etc/GMT+11":"GMT-11:00","Etc/GMT+10":"GMT-10:00","Etc/GMT+9":"GMT-09:00","Etc/GMT+8":"GMT-08:00","Etc/GMT+7":"GMT-07:00","Etc/GMT+6":"GMT-06:00","Etc/GMT+5":"GMT-05:00","Etc/GMT+4":"GMT-04:00","Etc/GMT+3":"GMT-03:00","Etc/GMT+2":"GMT-02:00","Etc/GMT+1":"GMT-01:00","Etc/GMT":"GMT+00:00","Etc/GMT-1":"GMT+01:00","Etc/GMT-2":"GMT+02:00","Etc/GMT-3":"GMT+03:00","Etc/GMT-4":"GMT+04:00","Etc/GMT-5":"GMT+05:00","Etc/GMT-6":"GMT+06:00","Etc/GMT-7":"GMT+07:00","Etc/GMT-8":"GMT+08:00","Etc/GMT-9":"GMT+09:00","Etc/GMT-10":"GMT+10:00","Etc/GMT-11":"GMT+11:00","Etc/GMT-12":"GMT+12:00","Etc/GMT-13":"GMT+13:00","Etc/GMT-14":"GMT+14:00","Pacific/Midway":"(GMT-11:00) Midway Island, Samoa","Pacific/Honolulu":"(GMT-10:00) Hawaii","America/Anchorage":"(GMT-09:00) Alaska","America/Los_Angeles":"(GMT-08:00) Pacific Time (US and Canada); Tijuana","America/Denver":"(GMT-07:00) Mountain Time (US and Canada)","America/Chihuahua":"(GMT-07:00) Chihuahua, La Paz, Mazatlan","America/Phoenix":"(GMT-07:00) Arizona","America/Chicago":"(GMT-06:00) Central Time (US and Canada)","Canada/Saskatchewan":"(GMT-06:00) Saskatchewan","America/Mexico_City":"(GMT-06:00) Guadalajara, Mexico City, Monterrey",CST6CDT:"(GMT-06:00) Central America","America/New_York":"(GMT-05:00) Eastern Time (US and Canada)","America/Indiana/Indianapolis":"(GMT-05:00) Indiana (East)","America/Bogota":"(GMT-05:00) Bogota, Lima, Quito","Canada/Atlantic":"(GMT-04:00) Atlantic Time (Canada)","America/Caracas":"(GMT-04:00) Caracas, La Paz","America/Santiago":"(GMT-04:00) Santiago","America/Sao_Paulo":"(GMT-03:00) Brasilia","America/Argentina/Buenos_Aires":"(GMT-03:00) Buenos Aires, Georgetown","America/Godthab":"(GMT-03:00) Greenland","America/Noronha":"(GMT-02:00) Mid-Atlantic","Atlantic/Azores":"(GMT-01:00) Azores","Atlantic/Cape_Verde":"(GMT-01:00) Cape Verde Islands","Europe/London":"(GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London","Africa/Casablanca":"(GMT) Casablanca, Monrovia","Europe/Belgrade":"(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague","Europe/Sarajevo":"(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb","Europe/Brussels":"(GMT+01:00) Brussels, Copenhagen, Madrid, Paris","Europe/Amsterdam":"(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna","Africa/Lagos":"(GMT+01:00) West Central Africa","Europe/Bucharest":"(GMT+02:00) Bucharest","Africa/Cairo":"(GMT+02:00) Cairo","Europe/Helsinki":"(GMT+02:00) Helsinki, Kiev, Riga, Sofia, Tallinn, Vilnius","Europe/Athens":"(GMT+02:00) Athens, Istanbul, Minsk","Asia/Jerusalem":"(GMT+02:00) Jerusalem","Africa/Harare":"(GMT+02:00) Harare, Pretoria","Europe/Moscow":"(GMT+03:00) Moscow, St. Petersburg, Volgograd","Asia/Kuwait":"(GMT+03:00) Kuwait, Riyadh","Africa/Nairobi":"(GMT+03:00) Nairobi","Asia/Baghdad":"(GMT+03:00) Baghdad","Asia/Tehran":"(GMT+03:30) Tehran","Asia/Muscat":"(GMT+04:00) Abu Dhabi, Muscat","Asia/Baku":"(GMT+04:00) Baku, Tbilisi, Yerevan","Asia/Kabul":"(GMT+04:30) Kabul","Asia/Yekaterinburg":"(GMT+05:00) Ekaterinburg","Asia/Karachi":"(GMT+05:00) Islamabad, Karachi, Tashkent","Asia/Dhaka":"(GMT+06:00) Astana, Dhaka","Asia/Novosibirsk":"(GMT+06:00) Almaty, Novosibirsk","Asia/Rangoon":"(GMT+06:30) Yangon Rangoon","Asia/Bangkok":"(GMT+07:00) Bangkok, Hanoi, Jakarta","Asia/Krasnoyarsk":"(GMT+07:00) Krasnoyarsk","Asia/Shanghai":"(GMT+08:00) Beijing, Chongqing, Hong Kong SAR, Urumqi","Asia/Kuala_Lumpur":"(GMT+08:00) Kuala Lumpur, Singapore","Asia/Taipei":"(GMT+08:00) Taipei","Australia/Perth":"(GMT+08:00) Perth","Asia/Irkutsk":"(GMT+08:00) Irkutsk, Ulaanbaatar","Asia/Seoul":"(GMT+09:00) Seoul","Asia/Tokyo":"(GMT+09:00) Osaka, Sapporo, Tokyo","Asia/Yakutsk":"(GMT+09:00) Yakutsk","Australia/Canberra":"(GMT+10:00) Canberra, Melbourne, Sydney","Australia/Brisbane":"(GMT+10:00) Brisbane","Australia/Hobart":"(GMT+10:00) Hobart","Asia/Vladivostok":"(GMT+10:00) Vladivostok","Pacific/Port_Moresby":"(GMT+10:00) Guam, Port Moresby","Asia/Magadan":"(GMT+11:00) Magadan, Solomon Islands, New Caledonia","Pacific/Fiji":"(GMT+12:00) Fiji Islands, Kamchatka, Marshall Islands","Pacific/Auckland":"(GMT+12:00) Auckland, Wellington"},Timezones=momentTimezone$1.tz.names().filter(e=>SupportedTimezones.hasOwnProperty(e)).map(e=>({value:e,label:SupportedTimezones[e]})).sort((e,t)=>
88Object.keys(SupportedTimezones).indexOf(e.value)-Object.keys(SupportedTimezones).indexOf(t.value)),now$2=Number(new Date),NearestGmtZone=Timezones.filter(e=>{let{value:t}=e;return t.startsWith("Etc/GMT")}).find(e=>{let{value:t}=e;return momentTimezone$1.tz.zone(momentTimezone$1.tz.guess()).utcOffset(now$2)===momentTimezone$1.tz.zone(t).utcOffset(now$2)});class NextGenerationPowerSavingModel extends backbone.Model{constructor(e,t){super(e,t)}defaults(){return{uniqueId:null,deviceType:null,model:null,lightSensorThreshold:50,burstOnTime:60,burstOffTime:120,rtc:[],feature:null}}compose(){const e=this.get("feature"),t={rtc:this.get("rtc"),features:e};return e===PowerSavingFeatures.LightSensor&&(t.lightSensorThreshold=this.get("lightSensorThreshold")),e===PowerSavingFeatures.BurstMode&&(t.burstOnTime=this.get("burstOnTime"),t.burstOffTime=this.get("burstOffTime")),{uniqueId:this.get("uniqueId"),deviceType:this.get("deviceType"),powerSaving:t}}parse(e){return e.rtc=e.rtc||[],e.feature=e.features?e.features[0]:null,e}save(){return configService.create(this.compose()).then(e=>{let[t]=e;return this.set(this.parse(t.powerSaving)),this})}}const dom={createSvgElement:e=>document.createElementNS("http://www.w3.org/2000/svg",e),removeChildNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)},selectNodesBetween(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=e;const r=[];for(;(i=n?i.nextSibling:i.previousSibling)&&i!==t;)r.push(i);return r},selectAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getEventRelativeCoordinates(e,t){const n=e.ownerSVGElement||e;if(n.createSVGPoint){const i=n.createSVGPoint();i.x=t.clientX,i.y=t.clientY;const r=i.matrixTransform(e.getScreenCTM().inverse());return[r.x,r.y]}const i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]},contains:(e,t)=>"contains"in e?e.contains(t):16&e.compareDocumentPosition(t)};class Tooltip$1 extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brand-sapphire";const n=_$1.defaults(e,{className:"tooltip ".concat(t," tooltip-element tooltip-element-attached-bottom tooltip-element-attached-center tooltip-target-attached-top tooltip-target-attached-center"),template:()=>'<div class="tooltip-content"><span class="inner-content"></span></div>',showDelay:120});super(n),this.showDelay=n.showDelay,this.template=n.template}render(){return this.$el.html(this.template()),this}show(){const e=()=>this.$el.css("opacity",1).addClass("visible");return null!==this.showDelay?this.showTimeout=setTimeout(e,this.showDelay):e(),this}hide(){return this.showTimeout&&clearTimeout(this.showTimeout),this.$el.css("opacity",0).removeClass("visible"),this}move(e,t){return e&&this.$el.css("left","".concat(e,"px")),t&&this.$el.css("top","".concat(t,"px")),this}text(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.$el.find(".inner-content").text(t.map(e=>this.formatText(e)).join(" - ")),this}formatText(e){return"".concat(Number(e)%24<10?"0":"").concat(String(Math.floor(e%24)),":00")}}const GREY="#c0c0c0",LIGHT_GREY="#e2e2e2",SAPPHIRE="#144576";class Grid{constructor(e,t){this.xScale=e,this.yScale=t,this.options={lineColor:LIGHT_GREY,lineWidth:"1px",verticalLineOffset:20},this.el=this.createElement()}render(){return dom.removeChildNodes(this.el),this.el.appendChild(this.renderVerticalLines()),this.el.appendChild(this.renderHorizontalLines()),this}createElement(){const e=dom.createSvgElement("g");return e.setAttribute("class","grid"),e}renderVerticalLines(){const e=dom.createSvgElement("g");return e.setAttribute("class","vertical-lines"),this.xScale.ticks(25).map(e=>{const t=dom.createSvgElement("line");return t.setAttribute("class","vertical-line"),t.setAttribute("data-tick",e),t.setAttribute("fill","none"),t.setAttribute("shape-rendering","crispEdges"),t.setAttribute("stroke",this.options.lineColor),t.setAttribute("stroke-width",this.options.lineWidth),t}).forEach(t=>e.appendChild(t)),e}renderHorizontalLines(){const e=dom.createSvgElement("g");return e.setAttribute("class","horizontal-lines"),this.yScale.ticks(7).map(e=>{const t=dom.createSvgElement("line");return t.setAttribute("class","horizontal-line"),t.setAttribute("data-tick",e),t.setAttribute("fill","none"),t.setAttribute("shape-rendering","crispEdges"),t.setAttribute("stroke",this.options.lineColor),t.setAttribute("stroke-width",this.options.lineWidth),t}
88).forEach(t=>e.appendChild(t)),e}reflow(){const e=this.el.querySelector(".vertical-lines"),t=this.el.querySelector(".horizontal-lines"),[n,i]=this.yScale.getRange(),[r,o]=this.xScale.getRange();dom.selectAll(e,"line").forEach(e=>{const t=e.getAttribute("data-tick");e.setAttribute("y1",n-this.options.verticalLineOffset),e.setAttribute("y2",i+this.options.verticalLineOffset),e.setAttribute("x1",this.xScale.get(t)),e.setAttribute("x2",this.xScale.get(t))}),dom.selectAll(t,"line").forEach(e=>{const t=e.getAttribute("data-tick");e.setAttribute("x1",r),e.setAttribute("x2",o),e.setAttribute("y1",this.yScale.get(t)),e.setAttribute("y2",this.yScale.get(t))})}}class Slider{constructor(e,t,n,i,r,o,a,s){this.options={handleRadius:"7"},this.weekDay=i,this.xScale=r,this.yScale=o,this.tooltip=a,this.sliderFactory=s;const c=Math.min(t,n),l=Math.max(t,n);this.el=this.createElement(e),this.track=this.buildTrack(c,l),this.leftHandle=this.buildHandle(c,this.options.handleRadius),this.rightHandle=this.buildHandle(l,this.options.handleRadius),this.tick1=this.xScale.invert(c),this.tick2=this.xScale.invert(l),this.el.appendChild(this.track),this.el.appendChild(this.leftHandle),this.el.appendChild(this.rightHandle)}createElement(e){const t=dom.createSvgElement("g");return t.setAttribute("class","slider"),e.appendChild(t),t}buildHandle(e,t){const n=dom.createSvgElement("circle");return n.setAttribute("class","handle"),n.setAttribute("data-is-handle","1"),n.setAttribute("cx",e),n.setAttribute("r",t),n}buildTrack(e,t){const n=dom.createSvgElement("line");return n.setAttribute("class","track"),n.setAttribute("x1",e),n.setAttribute("x2",t),n}move(e,t){e===this.leftHandle?(this.leftHandle.setAttribute("cx",t),this.track.setAttribute("x1",t),this.tick1=this.xScale.invert(t)):(this.rightHandle.setAttribute("cx",t),this.track.setAttribute("x2",t),this.tick2=this.xScale.invert(t))}getLeftHandle(){return Number(this.leftHandle.getAttribute("cx"))<Number(this.rightHandle.getAttribute("cx"))?this.leftHandle:this.rightHandle}getRightHandle(){return Number(this.leftHandle.getAttribute("cx"))>Number(this.rightHandle.getAttribute("cx"))?this.leftHandle:this.rightHandle}remove(){this.el.parentNode.removeChild(this.el)}getRange(){return[this.getStart(),this.getEnd()].map(e=>this.xScale.invert(e))}getStart(){return Number(this.getLeftHandle().getAttribute("cx"))}getEnd(){return Number(this.getRightHandle().getAttribute("cx"))}reflow(){this.leftHandle.setAttribute("cx",this.xScale.get(this.tick1)),this.rightHandle.setAttribute("cx",this.xScale.get(this.tick2)),this.track.setAttribute("x1",this.xScale.get(this.tick1)),this.track.setAttribute("x2",this.xScale.get(this.tick2))}onDragStart(e){const t=e.getAttribute("cx");this.tooltip.text(this.xScale.invert(t)).move(t,this.yScale.get(this.weekDay)).show()}onDrag(e,t){const n=e===this.leftHandle?Number(this.leftHandle.getAttribute("cx")):Number(this.rightHandle.getAttribute("cx")),i=t>=n,r=this.xScale.ticks(25).map(e=>this.xScale.get(e)),o=r.slice(0,2).reduce((e,t)=>Math.abs(e-t)),a=r.filter(e=>i?e+(o-1)>=t:e>=t).shift();if(!a)return;[this.getStart(),this.getEnd()].find(e=>a===e)||(this.move(e,a),this.tooltip.text(this.xScale.invert(a)).move(a))}onDragEnd(){const e=this.getStart(),t=this.getEnd(),n=this.sliderFactory.containing(e,t),i=this.sliderFactory.between(e,t),r=n.concat(i).filter(e=>e!==this);r.length&&this.sliderFactory.merge(r.concat(this),e,t)}}class SliderFactory{constructor(e,t,n,i,r){this.parentNode=t,this.weekDay=e,this.xScale=n,this.yScale=i,this.tooltip=r,this.sliders=new Set}create(e,t){const n=new Slider(this.parentNode,e,t,this.weekDay,this.xScale,this.yScale,this.tooltip,this);return this.sliders.add(n),n}toArray(){return[...this.sliders]}findSlider(e){return this.toArray().find(t=>dom.contains(t.el,e))}containing(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.toArray().filter(e=>{const n=e.getStart(),i=e.getEnd();return t.map(e=>Number(e)).some(e=>Number(e)>=n&&Number(e)<=i)})}between(e,t){return this.toArray().filter(n=>{const i=n.getStart(),r=n.getEnd();return Number(e)<=i&&Number(t)>=r})}removeSlider(e){this.sliders.delete(e),e.remove()}merge(e,t,n){const i=Math.min.apply(null,[t,n].concat(e.map(e=>e.getStart()))),r=Math.max.apply(null,[t,n].concat(e.map(e=>e.getEnd())));
88return e.forEach(e=>this.removeSlider(e)),this.create(i,r)}reflow(){this.toArray().forEach(e=>e.reflow())}removeAllSliders(){this.toArray().forEach(e=>this.removeSlider(e))}getRanges(){return this.toArray().map(e=>e.getRange()).sort((e,t)=>{let[n]=e,[i]=t;return n>i?1:n<i?-1:0})}}class Row{constructor(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.options=_$1.defaults(r,{dotRadius:"3"}),this.weekDay=e,this.xScale=t,this.yScale=n,this.tooltip=i,this.el=this.createElement(),this.sliderFactory=new SliderFactory(this.weekDay,this.el,this.xScale,this.yScale,this.tooltip)}createElement(){const e=dom.createSvgElement("g");return e.setAttribute("class","row"),e.setAttribute("transform","translate(0, ".concat(this.getYOffset(),")")),e}render(){dom.removeChildNodes(this.el);const e=dom.createSvgElement("g");return e.setAttribute("class","dots"),this.xScale.ticks(25).map(e=>{const t=dom.createSvgElement("circle");return t.setAttribute("data-tick",e),t.setAttribute("class","dot"),t.setAttribute("data-is-dot","1"),t.setAttribute("cx",this.xScale.get(e)),t.setAttribute("r",this.options.dotRadius),t}).forEach(t=>e.appendChild(t)),this.el.appendChild(e),this}reflow(){this.el.setAttribute("transform","translate(0, ".concat(this.getYOffset(),")")),this.selectAllDots().forEach(e=>e.setAttribute("cx",this.xScale.get(e.getAttribute("data-tick")))),this.sliderFactory.reflow()}getRanges(){return this.sliderFactory.getRanges()}getWeekDay(){return this.weekDay}getYOffset(){return this.yScale.get(this.weekDay)}selectAllDots(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return dom.selectAll(this.el,".dot".concat(e))}findSlider(e){return this.sliderFactory.findSlider(e)}addRange(e){let[t,n]=e;this.sliderFactory.create(this.xScale.get(t),this.xScale.get(n))}clearRanges(){this.sliderFactory.removeAllSliders()}removeSlider(e){this.sliderFactory.removeSlider(e)}}class Rows{constructor(e,t,n){this.xScale=e,this.yScale=t,this.tooltip=n,this.el=this.createElement(),this.options={row:{dotRadius:"3",dotDraggedRadius:"6"}},this.rows=this.yScale.ticks(7).map(e=>new Row(e,this.xScale,this.yScale,this.tooltip,this.options.row))}createElement(){const e=dom.createSvgElement("g");return e.setAttribute("class","rows"),e}render(){return dom.removeChildNodes(this.el),this.rows.forEach(e=>this.el.appendChild(e.render().el)),this}reflow(){this.rows.forEach(e=>e.reflow())}getRanges(){return this.rows.map(e=>[e.getWeekDay(),e.getRanges()])}findRowContainingNode(e){return this.rows.find(t=>dom.contains(t.el,e))}addRange(e,t){let[n,i]=t;this.rows[e].addRange([n,i])}clearRanges(){this.rows.forEach(e=>e.clearRanges())}}class Labels{constructor(e){this.xScale=e,this.el=this.createElement()}createElement(){const e=dom.createSvgElement("g");return e.setAttribute("class","labels"),e}render(){return dom.removeChildNodes(this.el),this.xScale.ticks(12).map(e=>{const t=dom.createSvgElement("text");return t.setAttribute("data-tick",e),t.setAttribute("style","user-select: none"),t.setAttribute("text-anchor","middle"),t.appendChild(document.createTextNode(this.formatLabel(e))),t}).forEach(e=>this.el.appendChild(e)),this}formatLabel(e){return(Number(e)%24<10?"0":"")+String(Math.floor(e%24))+":00"}reflow(){dom.selectAll(this.el,"text").forEach(e=>e.setAttribute("x",this.xScale.get(e.getAttribute("data-tick")))),this.el.setAttribute("transform","translate(0,".concat(this.getHeight(),")"))}getHeight(){return Math.max.apply(null,dom.selectAll(this.el,"text").map(e=>e.getBBox().height))}}class Weekdays{constructor(e){this.yScale=e,this.el=this.createElement()}createElement(){const e=dom.createSvgElement("g");return e.setAttribute("class","weekdays"),e}render(){return dom.removeChildNodes(this.el),this.yScale.ticks(7).map(e=>{const t=dom.createSvgElement("text");return t.setAttribute("data-tick",e),t.setAttribute("style","user-select: none"),t.setAttribute("text-anchor","end"),t.appendChild(document.createTextNode(this.getWeekday(e))),t}).forEach(e=>this.el.appendChild(e)),this}getWeekday(e){return hooks$1().day(e).format("dddd")}
88reflow(){dom.selectAll(this.el,"text").forEach(e=>e.setAttribute("y",this.yScale.get(e.getAttribute("data-tick")))),this.el.setAttribute("transform","translate(".concat(this.getWidth(),",0)"))}getWidth(){return Math.max.apply(null,dom.selectAll(this.el,"text").map(e=>e.getBBox().width))}}const e10=Math.sqrt(50),e5=Math.sqrt(10),e2=Math.sqrt(2),ticks=(e,t,n)=>{const i=tickStep(e,t,n);return _$1.range(Math.ceil(e/i)*i,Math.floor(t/i)*i+i/2,i)},tickStep=(e,t,n)=>{const i=Math.abs(t-e)/Math.max(0,n);let r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10));const o=i/r;return o>=e10?r*=10:o>=e5?r*=5:o>=e2&&(r*=2),t<e?-r:r};class Scale{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;this._domain=_$1.range(e,t+n,n)}range(e,t){const n=(t-e)/(this._domain.length-1);return this._range=this._domain.map(t=>e+t*n),this}get(e){return this._range[Number(e)]}invert(e){e=Number(e);const t=this._range.map(t=>Math.abs(t-e)),n=Math.min.apply(null,t),i=t.findIndex(e=>e===n);return this._domain[i]}getRange(){return[this._range[0],this._range[this._range.length-1]]}getDomain(){return[this._domain[0],this._domain[this._domain.length-1]]}ticks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;const t=this.getDomain();return ticks(t[0],t[t.length-1],e)}}class Legend{constructor(e,t){this.xScale=e,this.yScale=t,this.options={marginTop:80},this.el=this.createElement()}createElement(){const e=dom.createSvgElement("g");return e.setAttribute("class","legend"),e}render(){return this.el.appendChild(this.createLegend()),this}createLegend(){const e=document.createDocumentFragment();return e.appendChild(this.createLegendElement("Device broadcast normally",{fill:SAPPHIRE},{r:6,fill:SAPPHIRE},{"stroke-width":3,stroke:SAPPHIRE})),e.appendChild(this.createLegendElement("Device in Power Saving mode",{fill:GREY},{r:3,fill:GREY},{"stroke-width":1,stroke:LIGHT_GREY})),e}createLegendElement(e,t,n,i){const r=dom.createSvgElement("g");r.setAttribute("class","legend");const o=this.createSlider(n,i),a=this.createLegendLabel(e,t);return r.appendChild(o),r.appendChild(a),r}createSlider(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=dom.createSvgElement("g");n.setAttribute("class","legend-slider"),n.setAttribute("transform","translate(0, -4)");const i=this.createSliderHandle(0),r=this.createSliderHandle(1),o=this.createSliderTrack();return _$1.forEach(e,(e,t)=>{i.setAttribute(t,e),r.setAttribute(t,e)}),_$1.forEach(t,(e,t)=>{o.setAttribute(t,e)}),n.appendChild(o),n.appendChild(i),n.appendChild(r),n}createSliderHandle(e){const t=dom.createSvgElement("circle");return t.setAttribute("class","handle handle-".concat(e)),t}createSliderTrack(){const e=dom.createSvgElement("line");return e.setAttribute("class","track"),e}createLegendLabel(e,t){const n=dom.createSvgElement("text");return n.setAttribute("class","legend-label"),n.setAttribute("style","user-select: none"),_$1.forEach(t,(e,t)=>{n.setAttribute(t,e)}),n.appendChild(document.createTextNode(e)),n}reflow(){const[,e]=this.yScale.getRange();this.el.setAttribute("transform","translate(0,".concat(e+this.options.marginTop,")")),dom.selectAll(this.el,".legend").forEach((e,t)=>e.setAttribute("transform","translate(0, ".concat(1.5*e.getBBox().height*t,")"))),dom.selectAll(this.el,".handle-0").forEach(e=>e.setAttribute("cx",this.xScale.get(0))),dom.selectAll(this.el,".handle-1").forEach(e=>e.setAttribute("cx",this.xScale.get(1))),dom.selectAll(this.el,".track").forEach(e=>{e.setAttribute("x1",this.xScale.get(0)),e.setAttribute("x2",this.xScale.get(1))}),dom.selectAll(this.el,".legend-label").forEach(e=>e.setAttribute("transform","translate(".concat(this.xScale.get(2),",0)")))}getHeight(){return this.el.getBBox().height+this.options.marginTop}}const DragMode={CreateNewSlider:1,UpdateExistingSlider:2};class RangePicker extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{className:"range-picker",events:{"click .track":"showActionTooltip","click .handle":"showActionTooltip","click .js-remove-slider":"removeSlider","click .el-range-picker":"hideActionTooltip","mousedown .el-range-picker":"onDragStart"}})),this.options={size:{width:980,height:500}},this.svgEl=this.createSvgElement(this.options.size),this.tooltipContainerEl=this.createTooltipContainerElement(),this.xScale=this.createXScale(this.options.size.width),this.yScale=this.createYScale(this.options.size.height),this.tooltip=new Tooltip$1,this.actionTooltip=new Tooltip$1({template:()=>'<div class="tooltip-content"><span class="inner-content"></span> <span class="js-remove-slider icon icon-trash"></span></div>',showDelay:null},"dark action-tooltip"),this.weekDays=new Weekdays(this.yScale),this.labels=new Labels(this.xScale),this.grid=new Grid(this.xScale,this.yScale),this.legend=new Legend(this.xScale,this.yScale),this.rows=new Rows(this.xScale,this.yScale,this.tooltip),this.dragTransport={active:!1,startNode:null,endNode:null,row:null,mode:null}}createXScale(e){return new Scale(0,24).range(0,e)}createYScale(e){return new Scale(0,6).range(0,e)}render(){return dom.removeChildNodes(this.svgEl),dom.removeChildNodes(this.tooltipContainerEl),this.svgEl.appendChild(this.weekDays.render().el),this.svgEl.appendChild(this.labels.render().el),this.svgEl.appendChild(this.grid.render().el),this.svgEl.appendChild(this.rows.render().el),this.svgEl.appendChild(this.legend.render().el),this.tooltipContainerEl.appendChild(this.tooltip.render().el),this.tooltipContainerEl.appendChild(this.actionTooltip.render().el),this.$el.empty().append(this.svgEl).append(this.tooltipContainerEl),this}reflow(){const{width:e,height:t}=this.svgEl.getBoundingClientRect(),n=this.grid.options.verticalLineOffset;this.yScale.range(this.labels.getHeight()+n+15,t-n-this.legend.getHeight()),this.xScale.range(this.weekDays.getWidth()+45,e-20),this.weekDays.reflow(),this.grid.reflow(),this.labels.reflow(),this.rows.reflow(),this.legend.reflow()}getRanges(){return this.rows.getRanges()}addRange(e,t){let[n,i]=t;this.rows.addRange(e,[n,i])}createSvgElement(e){let{width:t,height:n}=e;const i=document.createElementNS("http://www.w3.org/2000/svg","svg");return i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("width",t),i.setAttribute("height",n),i.setAttribute("class","el-range-picker"),i}createTooltipContainerElement(){const e=document.createElement("div");return e.className="el-tooltip-container",e}clearRanges(){this.rows.clearRanges()}showActionTooltip(e){e.preventDefault(),e.stopImmediatePropagation();const t=e.target;if(!t)return;const n=this.rows.findRowContainingNode(t);if(!n)return;const i=n.findSlider(t);if(!i)return;this._removeCurrentSlider=()=>{n.removeSlider(i),this.hideActionTooltip()};
88const r=Math.abs((i.getEnd()+i.getStart())/2);this.actionTooltip.move(r,n.getYOffset()).text(this.xScale.invert(i.getStart()),this.xScale.invert(i.getEnd())).show()}hideActionTooltip(){this.actionTooltip.hide()}removeSlider(){this._removeCurrentSlider&&(this._removeCurrentSlider(),this._removeCurrentSlider=null)}onDragStart(e){const t=e.target;if(!t)return void this.hideActionTooltip();const n=1===Number(t.getAttribute("data-is-handle"));if(!(1===Number(t.getAttribute("data-is-dot")))&&!n)return;this.hideActionTooltip();const i=this.rows.findRowContainingNode(t);if(i)if(this.startDragMode(),this.dragTransport.startNode=t,this.dragTransport.row=i,this.dragTransport.mode=n?DragMode.UpdateExistingSlider:DragMode.CreateNewSlider,this.dragTransport.mode===DragMode.UpdateExistingSlider){const e=i.findSlider(t);if(!e)return;e.onDragStart(t)}else{const e=t.getAttribute("cx");this.startCreatingSlider(t),this.tooltip.move(e,i.getYOffset()).text(this.xScale.invert(e)).show()}}startCreatingSlider(e){e.setAttribute("class","dot drag-start"),e.setAttribute("r",this.rows.options.row.dotDraggedRadius)}onDrag(e){if(!this.dragTransport.active)return;const{startNode:t,row:n}=this.dragTransport;if(!t||!n)return;const i=Number(t.getAttribute("cx")),[r]=dom.getEventRelativeCoordinates(this.dragTransport.startNode,e),o=this.xScale.get(this.xScale.invert(r));if(this.dragTransport.mode===DragMode.UpdateExistingSlider){n.findSlider(t).onDrag(t,o)}else{const e=o>=i,r=this.xScale.ticks(25).map(e=>this.xScale.get(e)),a=r.slice(0,2).reduce((e,t)=>Math.abs(e-t)),s=r.find(t=>e?t+(a-1)>=o:t>=o),c=this.findPossibleDropTargets(n).find(e=>Math.floor(Number(e.getAttribute("cx")))===Math.floor(Number(s)));if(!c)return;this.dragTransport.endNode=c,this.showPotentialSlider(c,t,e),this.tooltip.text(this.xScale.invert(s)).move(s)}}showPotentialSlider(e,t,n){e.setAttribute("class","dot drag-end"),e.setAttribute("r",this.rows.options.row.dotDraggedRadius),dom.selectNodesBetween(t,e,n).forEach(e=>e.setAttribute("class","dot drag-between"))}hidePotentialSlider(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e.selectAllDots(".drag-between").forEach(e=>{e.setAttribute("class","dot"),e.setAttribute("r",this.rows.options.row.dotRadius)}),t.setAttribute("class","dot"),t.setAttribute("r",this.rows.options.row.dotRadius),n&&(n.setAttribute("class","dot"),n.setAttribute("r",this.rows.options.row.dotRadius))}findPossibleDropTargets(e){const t=e.selectAllDots(":not(.drag-start)");return t.forEach(e=>{e.setAttribute("class","dot"),e.setAttribute("r",this.rows.options.row.dotRadius)}),t}onDragEnd(){this.stopDragMode(),this.tooltip.hide();const e=this.dragTransport.startNode,t=this.dragTransport.endNode,n=this.dragTransport.row;if(e){if(this.dragTransport.mode===DragMode.UpdateExistingSlider){n.findSlider(e).onDragEnd()}else if(this.hidePotentialSlider(n,e,t),t){const i=Number(e.getAttribute("cx")),r=Number(t.getAttribute("cx"));this.createSlider(i,r,n)}this.resetDragTransport()}}createSlider(e,t,n){const i=Math.min(e,t),r=Math.max(e,t),o=n.sliderFactory.containing(i,r),a=n.sliderFactory.between(i,r),s=o.concat(a);s.length?n.sliderFactory.merge(s,e,t):e&&t&&e!==t&&n.sliderFactory.create(e,t)}disableUserSelect(){jquery("body").addClass("select-disabled")}enableUserSelect(){jquery("body").removeClass("select-disabled")}startDragMode(){this.dragTransport.active=!0,this.disableUserSelect()}stopDragMode(){this.dragTransport.active=!1,this.enableUserSelect()}resetDragTransport(){this.dragTransport={active:!1,startNode:null,endNode:null,row:null,mode:null}}delegateEvents(){return document.addEventListener("mousemove",this.onDrag.bind(this)),document.addEventListener("mouseup",this.onDragEnd.bind(this)),super.delegateEvents()}undelegateEvents(){return document.removeEventListener("mousemove",this.onDrag.bind(this)),document.removeEventListener("mouseup",this.onDragEnd.bind(this)),super.undelegateEvents()}}var Template$19=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"name"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:4},end:{line:18,column:11}}}))?o:""},2:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l="function",d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="toggle-wrap '+d(typeof(a=null!=(a=u(n,"property")||(null!=t?u(t,"property"):t))?a:c)===l?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:32},end:{line:4,column:44}}}):a)+"-toggle-wrap "+d(typeof(a=null!=(a=u(n,"classes")||(null!=t?u(t,"classes"):t))?a:c)===l?a.call(s,{name:"classes",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:57},end:{line:4,column:68}}}):a)+'">\n'+(null!=(o=u(n,"if").call(s,null!=t?u(t,"label"):t,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:12},end:{line:10,column:19}}}))?o:"")+' <div class="toggle">\n <input id="'+d(typeof(a=null!=(a=u(n,"fieldId")||(null!=t?u(t,"fieldId"):t))?a:c)===l?a.call(s,{name:"fieldId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:27},end:{line:12,column:38}}}):a)+"-"+d(typeof(a=null!=(a=u(n,"property")||(null!=t?u(t,"property"):t))?a:c)===l?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:39},end:{line:12,column:51}}}):a)+'" type="'+(null!=(o=u(n,"if").call(s,null!=t?u(t,"radio"):t,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.program(7,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:59},end:{line:12,column:100}}}))?o:"")+'" name="'+d(typeof(a=null!=(a=u(n,"name")||(null!=t?u(t,"name"):t))?a:c)===l?a.call(s,{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:108},end:{line:12,column:116}}}):a)+'"\n class="'+d(typeof(a=null!=(a=u(n,"class")||(null!=t?u(t,"class"):t))?a:c)===l?a.call(s,{name:"class",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:30},end:{line:13,column:39}}}):a)+'" '+(null!=(o=u(n,"if").call(s,null!=t?u(t,"disabled"):t,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:41},end:{line:13,column:72}}}))?o:"")+'\n value="'+d(typeof(a=null!=(a=u(n,"value")||(null!=t?u(t,"value"):t))?a:c)===l?a.call(s,{name:"value",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:30},end:{line:14,column:39}}}):a)+'" '+(null!=(o=u(n,"if").call(s,null!=t?u(t,"errorContainer"):t,{name:"if",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:41},end:{line:14,column:111}}}))?o:"")+'>\n <label for="'+d(typeof(a=null!=(a=u(n,"fieldId")||(null!=t?u(t,"fieldId"):t))?a:c)===l?a.call(s,{name:"fieldId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:28},end:{line:15,column:39}}}):a)+"-"+d(typeof(a=null!=(a=u(n,"property")||(null!=t?u(t,"property"):t))?a:c)===l?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:40}
88,end:{line:15,column:52}}}):a)+'"></label>\n </div>\n </div>\n'},3:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <label class="toggle-label" for="'+c("function"==typeof(o=null!=(o=l(n,"fieldId")||(null!=t?l(t,"fieldId"):t))?o:s)?o.call(a,{name:"fieldId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:49},end:{line:6,column:60}}}):o)+"-"+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:61},end:{line:6,column:73}}}):o)+'">\n '+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:20},end:{line:7,column:34}}}))+'\n <span id="'+c("function"==typeof(o=null!=(o=l(n,"fieldId")||(null!=t?l(t,"fieldId"):t))?o:s)?o.call(a,{name:"fieldId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:30},end:{line:8,column:41}}}):o)+"-"+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:42},end:{line:8,column:54}}}):o)+'-label"></span>\n </label>\n'},5:function(e,t,n,i,r){return"radio"},7:function(e,t,n,i,r){return"checkbox"},9:function(e,t,n,i,r){return"disabled"},11:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'data-error-container="'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"errorContainer")||(null!=t?a(t,"errorContainer"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"errorContainer",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:85},end:{line:14,column:103}}}):o)+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((s(n,"defaultValue")||t&&s(t,"defaultValue")||e.hooks.helperMissing).call(a,t,"fieldId","device",{name:"defaultValue",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:1,column:40}}}))+"\n"+(null!=(o=s(n,"if").call(a,null!=t?s(t,"property"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:0},end:{line:19,column:7}}}))?o:"")},useData:!0});Handlebars.registerPartial("common-toggle-partial",Template$19);var Template$1a=Handlebars.template({1:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group device-'+e.escapeExpression("function"==typeof(a=null!=(a=c(n,"property")||(null!=t?c(t,"property"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:34},end:{line:2,column:46}}}):a)+" "+(null!=(o=c(n,"if").call(s,null!=t?c(t,"allowedValues"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:47},end:{line:2,column:93}}}))?o:"")+" "+(null!=(o=c(n,"if").call(s,null!=t?c(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:94},end:{line:2,column:124}}}))?o:"")+'">\n'+(null!=(o=e.invokePartial(c(i,"form-label"),t,{name:"form-label",hash:{property:null!=t?c(t,"property"):t},fn:e.program(6,r,0),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?o:"")+' <div class="form-input-container">\n'+(null!=(o=c(n,"unless").call(s,null!=t?c(t,"select"):t,{name:"unless",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:12},end:{line:20,column:23}}}))?o:"")+(null!=(o=c(n,"if").call(s,null!=t?c(t,"allowedValues"):t,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:21,column:12},end:{line:26,column:19}}}))?o:"")+(null!=(o=c(n,"if").call(s,null!=t?c(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(12,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:27,column:12},end:{line:32,column:19}}}))?o:"")+(null!=(o=c(n,"unless").call(s,null!=t?c(t,"select"):t,{name:"unless",hash:{},fn:e.program(15,r,0),inverse:e.program(20,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:33,column:12}
88,end:{line:40,column:23}}}))?o:"")+" </div>\n </div>\n"},2:function(e,t,n,i,r){return"has-allowed-values"},4:function(e,t,n,i,r){return"has-help"},6:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-label-container">\n <label for="device-'+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:35},end:{line:5,column:47}}}):o)+'" class="form-label">\n '+c((l(n,"i18nf")||t&&l(t,"i18nf")||s).call(a,"device.properties.property.%s.label",null!=t?l(t,"property"):t,{name:"i18nf",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:20},end:{line:6,column:78}}}))+'\n </label>\n <span class="error-container hidden">\n \x3c!-- validation errors --\x3e\n </span>\n </div>\n'},8:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="form-input-add-on previous-value hidden"\n id="device-previous-'+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:16,column:42},end:{line:16,column:54}}}):o)+'"\n data-tooltip-content="'+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,"config.pending.value.help",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:17,column:44},end:{line:17,column:80}}}))+'">\n \x3c!-- previous value --\x3e\n </span>\n'},10:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="form-input-add-on device-allowed-values"\n title="'+s((c(n,"allowedValues")||t&&c(t,"allowedValues")||a).call(o,null!=t?c(t,"property"):t,{name:"allowedValues",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:23,column:29},end:{line:23,column:55}}}))+'">\n '+s((c(n,"allowedValues")||t&&c(t,"allowedValues")||a).call(o,null!=t?c(t,"property"):t,{name:"allowedValues",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:24,column:20},end:{line:24,column:46}}}))+"\n </span>\n"},12:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="form-input-add-on device-property-help">\n <i class="icon icon-question-mark" id="device-'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:29,column:66},end:{line:29,column:78}}}):a)+'-help"\n data-tooltip-content="'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,null!=t?d(t,"tooltip"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:30,column:45},end:{line:30,column:61}}}))+'" '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"tooltipClass"):t,{name:"if",hash:{},fn:e.program(13,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:30,column:63},end:{line:30,column:127}}}))?o:"")+"></i>\n </span>\n"},13:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'data-tooltip-class="'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"tooltipClass")||(null!=t?a(t,"tooltipClass"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"tooltipClass",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:30,column:103},end:{line:30,column:119}}}):o)+'"'},15:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <input name="'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:34,column:29},end:{line:34,column:41}}}):a)+'" id="device-'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:34,column:54},end:{line:34,column:66}}}):a)+'"\n type="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"fieldType"):t,{name:"if",hash:{},fn:e.program(16,r,0),inverse:e.program(18,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:35,column:29},end:{line:35,column:78}}}))?o:"")+'"\n class="form-input">\n'},16:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"fieldType")||(null!=t?a(t,"fieldType"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"fieldType",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:35,column:46}
88,end:{line:35,column:59}}}):o)},18:function(e,t,n,i,r){return"text"},20:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <select name="'+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:38,column:30},end:{line:38,column:42}}}):o)+'" id="device-'+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:38,column:55},end:{line:38,column:67}}}):o)+'"\n class="form-input dropdown"></select>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"property"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:43,column:7}}}))?o:""},usePartial:!0,useData:!0});Handlebars.registerPartial("device-input-group-partial",Template$1a);var Template$1b=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},2:function(e,t,n,i,r){return"Select one power saving mode at a time to increase the battery life of your device."},4:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-9 sm-grid-column-12">\n <h3 class="bordered-header">\n <i class="header-icon icon icon-shuffle"></i>\n Active broadcasting windows\n </h3>\n <div class="display--inline-block">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{class:"powerSaving-features",value:null!=(o=null!=t?a(t,"Features"):t)?a(o,"BurstMode"):o,label:"Active Broadcasting Windows:",name:"features[]",property:"features-BurstMode"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="burst-panel inactive">\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 sm-grid-column-12 margin-top padding-right--large">\n <div class="margin-vertical">\n'+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{allowedValues:!0,property:"burstOn"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="margin-top font-size--small">\n Set amount of seconds the beacon will be in advertising mode.\n </div>\n </div>\n <div class="grid-column-6 sm-grid-column-12 margin-top padding-left--large">\n <div class="margin-vertical">\n'+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{allowedValues:!0,property:"burstOff"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="margin-top font-size--small">\n Set amount of minutes the beacon will be in sleep mode.\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n'},6:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-row flex-wrap--wrap">
88\n <div class="grid-column-9 sm-grid-column-12">\n <h3 class="bordered-header">\n <i class="header-icon icon icon-actions"></i>\n Movement-based broadcasting\n </h3>\n <div class="display--inline-block">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{class:"powerSaving-features",value:null!=(o=null!=t?a(t,"Features"):t)?a(o,"MotionDetection"):o,label:"Movement-based broadcasting:",name:"features[]",property:"features-MotionDetection"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="motion-panel font-size--small">\n <p class="card-motion-text">\n If movement is not detected, device will activate Power Saving mode. All advertising packets will be broadcasted less frequently (every 2-10 sec).\n </p>\n <p class="all-motion-text">\n If movement is not detected, device will activate Power Saving mode. Kontakt.io Secure Profile will be broadcasted less frequently (every 2-10 sec).\n </p>\n </div>\n </div>\n </div>\n'},8:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-row margin-top--large flex-wrap--wrap">\n <div class="grid-column-9 sm-grid-column-12 md-grid-column-12">\n <h3 class="bordered-header">\n <i class="header-icon icon icon-clock"></i>\n Working hours\n </h3>\n <div class="grid-row hidden-lg">\n <div class="grid-column-12 info-column">\n <i class="icon icon-i"></i>\n <div>\n <p>\n You can edit timeline only on desktop.\n </p>\n </div>\n </div>\n </div>\n <div class="display--flex align-items--center hidden-sm hidden-md">\n <div class="flex-grow--1">\n <div class="display--inline-block">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{class:"powerSaving-features",value:null!=(o=null!=t?a(t,"Features"):t)?a(o,"Rtc"):o,label:"Power Saving based on working hours:",name:"features[]",property:"features-Rtc"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n </div>\n <div class="display--flex align-items--center justify-content--flex-end">\n <label for="timezone" class="form-label margin-right--small">Timezone:</label>\n <div>\n <select name="timezone" id="timezone" class="dropdown"></select>\n </div>\n </div>\n </div>\n <div class="panel-info rtc-panel inactive margin-top hidden-sm hidden-md" id="el-range-picker"></div>\n </div>\n <div class="grid-column-3 info-column sm-grid-column-12 md-grid-column-12 hidden-sm hidden-md">\n <i class="icon icon-i"></i>\n <div>\n <p>\n Use timeline to select time of the day when device will be broadcasting normally. By\n dragging on\n timeline you can add multiple time sliders. <br>\n </p>\n <p>\n 1. Drag between points on the timeline to add time range <br>\n 2. Click on existing period to delete it\n </p>\n </div>\n </div>\n </div>\n'},10:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-row flex-wrap--wrap">
88\n <div class="grid-column-9 sm-grid-column-12">\n <h3 class="bordered-header">\n <i class="header-icon icon icon-brightness"></i>\n Brightness Level\n </h3>\n <div class="display--inline-block">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{class:"powerSaving-features",value:null!=(o=null!=t?a(t,"Features"):t)?a(o,"LightSensor"):o,label:"Brightness Level power saving:",name:"features[]",property:"features-LightSensor"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="panel-info brightness-level-panel inactive margin-top">\n <div class="margin-vertical powerSaving-lightSensorThreshold">\n <label for="powerSaving-lightSensorThreshold" class="form-label">\n Select level:\n </label>\n <div>\n <select name="txPower" id="powerSaving-lightSensorThreshold" class="slider"></select>\n </div>\n </div>\n <div class="margin-top font-size--small">\n Power saving will be enabled for brightness level <strong>lower than <span\n class="brightness-level"></span>%</strong>.\n </div>\n </div>\n </div>\n <div class="grid-column-3 info-column sm-grid-column-12">\n <i class="icon icon-i"></i>\n <p>\n If the brightness drops below a selected threshold, the Beacon Pro will activate Power Saving\n and broadcast only Kontakt.io Secure Profile with increased interval.\n </p>\n </div>\n </div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="beacon-pro-power-saving-view">\n'+(null!=(s=e.invokePartial(u(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <form id="beacon-pro-power-saving-form" class="js-event-form" data-event="post-powerSavingForm">\n\n <input type="hidden" value="" class="powerSaving-features" name="features[]">\n \x3c!-- ensure stickit use Array for features binding. --\x3e\n\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"CanEditBurstModePowerSaving"):t,{name:"if",hash:{},fn:e.program(4,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:8},end:{line:42,column:15}}}))?s:"")+"\n"+(null!=(s=u(n,"if").call(c,null!=t?u(t,"CanEditMotionDetectionPowerSaving"):t,{name:"if",hash:{},fn:e.program(6,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:44,column:8},end:{line:64,column:15}}}))?s:"")+"\n"+(null!=(s=u(n,"if").call(c,null!=t?u(t,"CanEditRtcPowerSaving"):t,{name:"if",hash:{},fn:e.program(8,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:66,column:8},end:{line:113,column:15}}}))?s:"")+"\n"+(null!=(s=u(n,"if").call(c,null!=t?u(t,"CanEditBrightnessPowerSaving"):t,{name:"if",hash:{},fn:e.program(10,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:115,column:4},end:{line:148,column:11}}}))?s:"")+'\n <div class="grid-row buttons margin-top padding-top--large border-top--gray-2">\n <div class="grid-column-12 text-align--right">\n <a class="button cancel-new js-navigation-link-back">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"general.cancel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:153,column:20},end:{line:153,column:45}}}))+'\n </a>\n <button class="button primary js-submit" type="submit">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"general.saveChanges",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:156,column:20}
88,end:{line:156,column:50}}}))+"\n </button>\n </div>\n </div>\n </form>\n</div>"},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:133}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function nextGenerationPowerSavingTemplate(e,t,n){const i=Template$1b(e,t);return n||"undefined"==typeof $?i:$(i)}class NextGenerationPowerSavingView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.extend(e,{events:{"submit #beacon-pro-power-saving-form":"savePowerSavingSettings","click #js-test-range":"flipNormalBroadcastToPowerSaving"}})),this.template=nextGenerationPowerSavingTemplate,this.deviceModel=e.deviceModel,this.configModel=e.configModel,this.uiModel=new backbone.Model({timezone:NearestGmtZone?NearestGmtZone.value:"Etc/GMT"}),this.initialModel=new NextGenerationPowerSavingModel(this.model.attributes),this.rangePicker=new RangePicker,this.listenTo(this.uiModel,"change:timezone",this.drawRanges.bind(this))}render(){return this.$el.html(this.template(this.viewModel())),this.$el.find("#el-range-picker").append(this.rangePicker.render().$el),this}attach(){this.stickit(this.model,this.bindings()),this.stickit(this.uiModel,this.uiBindings()),this.drawRanges()}drawRanges(){this.rangePicker.clearRanges(),this.getBroadcastingRanges(this.model.get("rtc")).forEach(e=>{let[t,n]=e;return n.forEach(e=>this.rangePicker.addRange(t,e))})}afterAttach(){setTimeout(()=>this.rangePicker.reflow(),0)}detach(){this.unstickit(this.model),this.unstickit(this.uiModel),this.rangePicker.clearRanges(),this.$el.detach()}remove(){this.rangePicker.remove(),super.remove()}bindings(){const e=e=>({classes:{hidden:{observe:"model",onGet:t=>t===BeaconModel.CardBeacon!==e}}}),t=e=>({classes:{inactive:{observe:"feature",onGet:t=>t!==e}}}),n=(e,t)=>({observe:e,onGet:e=>e===t?"On":"Off",classes:{enabled:{observe:e,onGet:e=>e===t},disabled:{observe:e,onGet:e=>e!==t}}});return{"#powerSaving-lightSensorThreshold":{observe:"lightSensorThreshold",selectOptions:{collection:_$1.range(10,90,10)},sliderSettings:{step:10,range:{min:10,max:90},connect:"lower",pips:{mode:"steps"},format:{to:function(e){return parseInt(e,10)},from:function(e){return parseInt(e,10)}}}},"#device-burstOn":"burstOnTime","#device-burstOff":"burstOffTime",".brightness-level":"lightSensorThreshold","#device-features-Rtc-label":n("feature",PowerSavingFeatures.Rtc),"#device-features-LightSensor-label":n("feature",PowerSavingFeatures.LightSensor),"#device-features-BurstMode-label":n("feature",PowerSavingFeatures.BurstMode),"#device-features-MotionDetection-label":n("feature",PowerSavingFeatures.MotionDetection),"#device-features-Rtc":"feature","#device-features-LightSensor":"feature","#device-features-BurstMode":"feature","#device-features-MotionDetection":"feature",".brightness-level-panel":t(PowerSavingFeatures.LightSensor),".burst-panel":t(PowerSavingFeatures.BurstMode),".motion-panel":t(PowerSavingFeatures.MotionDetection),".rtc-panel":t(PowerSavingFeatures.Rtc),".card-motion-text":e(!0),".all-motion-text":e(!1)}}uiBindings(){return bindingFactory().element("#timezone").observe("timezone").collection(Timezones).dropdownClass("default auto-width").withSearch().build()}savePowerSavingSettings(e){if(e.preventDefault(),this.model.isValid(!0)&&(this.model.set({rtc:this.getRtcConfiguration()}),this.modelHasChanged())){const e=this.model.save().then(()=>this.configModel.fetch()).then(()=>{this.initialModel.set(this.model.attributes),toastr.success(i18n.get("device.updated.message"))},e=>toastr.detailedError(e));l.pushPromise(e)}}modelHasChanged(){return new EqualsBuilder(this.initialModel,this.model).number("lightSensorThreshold").number("burstOnTime").number("burstOffTime").object("rtc").string("feature").isDifferent()}viewModel(){return{Features:PowerSavingFeatures,CanEditRtcPowerSaving:securityService.allowOnDevice(DeviceAction.EditRtcPowerSaving,this.deviceModel),CanEditBrightnessPowerSaving:securityService.allowOnDevice(DeviceAction.EditBrightnessPowerSaving,this.deviceModel),CanEditBurstModePowerSaving:securityService.allowOnDevice(DeviceAction.EditBurstModePowerSaving,this.deviceModel),CanEditMotionDetectionPowerSaving:securityService.allowOnDevice(DeviceAction.EditMotionDetectionPowerSaving,this.deviceModel)}}getRtcConfiguration(){if(!securityService.allowOnDevice(DeviceAction.EditRtcPowerSaving,this.deviceModel)||!this.model.get("feature")===PowerSavingFeatures.Rtc)return[];const e=this.rangePicker.getRanges().reduce((e,t)=>
88{let[n,i]=t;return powerSavingService.rangesToHours(powerSavingService.invertDay(i)).map(e=>momentTimezone$1().tz(this.uiModel.get("timezone")).day(n).hour(e)).map(e=>e.utc()).map(e=>({day:e.format("ddd").toUpperCase(),hour:e.hour()})).forEach(t=>{let{day:n,hour:i}=t;e.set(n,(e.get(n)||[]).concat(i))}),e},new Map);return e.size?[...e].map(e=>{let[t,n]=e;return{day:t,hours:n}}):[{day:"MON",hours:null},{day:"TUE",hours:null},{day:"WED",hours:null},{day:"THU",hours:null},{day:"FRI",hours:null},{day:"SAT",hours:null},{day:"SUN",hours:null}]}getBroadcastingRanges(e){const t=e.reduce((e,t)=>{let{day:n,hours:i}=t;return i.map(e=>momentTimezone$1.utc().day(n).hour(e)).map(e=>e.tz(this.uiModel.get("timezone"))).map(e=>({day:e.day(),hour:e.hour()})).forEach(t=>{let{day:n,hour:i}=t;return e.set(n,(e.get(n)||[]).concat(i))}),e},new Map);return[0,1,2,3,4,5,6].map(e=>[e,t.has(e)?powerSavingService.invertDay(powerSavingService.hoursToRanges(t.get(e))):[[0,24]]])}}class BulkBeaconProPowerSavingView extends backbone.View{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});const e=new NextGenerationPowerSavingModel({uniqueId:this.model.get("uniqueId"),deviceType:this.model.get("deviceType")},{parse:!0});this.configurationView=new NextGenerationPowerSavingView({configModel:this.model,deviceModel:this.model,model:e})}static navTitle(){return"Power saving"}static slug(){return"beacon-pro-power-saving"}render(){return this.$el.empty().append(this.configurationView.render().$el),this.configurationView.attach(),this.configurationView.afterAttach(),this}remove(){this.configurationView.detach(),this.configurationView.remove(),super.remove()}}class JsonFlattenService{flatten(e){const t={};return function e(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(Object(n)!==n||Array.isArray(n))t[i]=n;else{let r=!0;Object.keys(n).forEach(t=>{r=!1,e(n[t],i?"".concat(i,".").concat(t):t)}),r&&i&&(t[i]={})}}(e),t}expand(e){if(Object(e)!==e||Array.isArray(e))return e;const t=/\.?([^.]+)/g,n={};return Object.keys(e).forEach(i=>{let r,o=n,a="";for(;r=t.exec(i);)o=o[a]||(o[a]=r[2]?[]:{}),a=r[2]||r[1];o[a]=e[i]}),n[""]||n}}const jsonFlattenService=new JsonFlattenService;class GatewayConfigurationModel extends backbone.Model{constructor(e,t){super(e,t)}defaults(){return{uniqueId:null,deviceType:null,model:null,mac:"",name:"",tags:[],firmware:null,access:null,venue:null,subscriptionPlans:[],alias:"",lastSeen:null,applications:{},wifiSsid:null,wifiPassword:null,wifiUserName:null,wifiProtocol:WifiProtocol.Psk}}validation(){return{applications:{validJSON:!0},name:{maxLength:DEVICE_PROPERTY_NAME_MAX}}}compose(e){return jsonFlattenService.flatten({uniqueId:e.uniqueId,deviceType:e.deviceType,applications:_$1.extend({},e.applications,{system:{wifiSsid:e.wifiSsid,wifiPassword:e.wifiPassword,wifiUserName:e.wifiUserName,wifiProtocol:e.wifiProtocol}})})}parse(e){const t={uniqueId:e.uniqueId,deviceType:e.deviceType,model:e.model,mac:e.mac,name:e.name,tags:e.tags,firmware:e.firmware,access:e.access,venue:e.venue,alias:e.alias,lastSeen:e.lastSeen,subscriptionPlans:e.subscriptionPlans,applications:_$1.omit(e.applications||{},"system")};return e.applications&&e.applications.system&&e.applications.system.wifiSsid&&(t.wifiSsid=e.applications.system.wifiSsid),e.applications&&e.applications.system&&e.applications.system.wifiPassword&&(t.wifiPassword=e.applications.system.wifiPassword),e.applications&&e.applications.system&&e.applications.system.wifiUserName&&(t.wifiUserName=e.applications.system.wifiUserName),e.a
88pplications&&e.applications.system&&e.applications.system.wifiProtocol&&(t.wifiProtocol=e.applications.system.wifiProtocol),Object.keys(t).filter(e=>t[e]).reduce((e,n)=>(e[n]=t[n],e),{})}saveConfig(){return configService.create(this.compose(this.toJSON())).then(e=>{let[t]=e;return this.set(this.parse(t))})}saveDevice(){return deviceService.update(this.composeDevice()).then(()=>this)}composeDevice(){const e={uniqueId:this.get("uniqueId"),deviceType:this.get("deviceType"),name:this.get("name"),tags:this.get("tags"),alias:this.get("alias"),mac:this.get("mac")};return e.tags&&0===e.tags.length&&(e.tags=null),e}}var Template$1c=Handlebars.template({1:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <dt>\n "+c((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,null!=t?l(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:24}}}))+':\n </dt>\n <dd>\n <span id="icon-'+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:23},end:{line:6,column:35}}}):o)+'"></span>\n <span id="device-'+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:25},end:{line:7,column:37}}}):o)+'" class="device-'+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:53},end:{line:7,column:65}}}):o)+'"></span>\n </dd>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"property"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:9,column:7}}}))?o:""},useData:!0});Handlebars.registerPartial("device-additional-info-partial",Template$1c);var Template$1d=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"entity"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:26,column:11}}}))?o:""},2:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group form-group--'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:43},end:{line:3,column:55}}}):a)+" "+l("function"==typeof(a=null!=(a=d(n,"classes")||(null!=t?d(t,"classes"):t))?a:c)?a.call(s,{name:"classes",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:56},end:{line:3,column:67}}}):a)+'">\n <div class="form-label-container">\n'+(null!=(o=d(n,"unless").call(s,null!=t?d(t,"hideLabel"):t,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:16},end:{line:10,column:27}}}))?o:"")+' <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container">\n <textarea name="'+l("function"==typeof(a=null!=(a=d(n,"property")||(null!=t?d(t,"property"):t))?a:c)?a.call(s,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:32},end:{line:14,column:44}}}):a)+'" id="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:50},end:{line:14,column:114}}}))?o:"")+'"\n '+(null!=(o=d(n,"if").call(s,null!=t?d(t,"placeholder"):t,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:20},end:{line:15,column:82}}}
vendor: 4,149 bytes, line 88
88))?o:"")+'\n class="form-input"></textarea>\n'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(12,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:17,column:16},end:{line:23,column:23}}}))?o:"")+" </div>\n </div>\n"},3:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <label for="'+(null!=(o=s(n,"if").call(a,null!=t?s(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:32},end:{line:6,column:96}}}))?o:"")+'" class="form-label">\n '+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,null!=t?s(t,"label"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:24},end:{line:7,column:38}}}))+"\n "+(null!=(o=s(n,"if").call(a,null!=t?s(t,"required"):t,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:24},end:{line:8,column:76}}}))?o:"")+"\n </label>\n"},4:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(o=null!=(o=a(n,"inputId")||(null!=t?a(t,"inputId"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"inputId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:47},end:{line:6,column:58}}}):o)},6:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return c("function"==typeof(o=null!=(o=l(n,"entity")||(null!=t?l(t,"entity"):t))?o:s)?o.call(a,{name:"entity",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:66},end:{line:6,column:76}}}):o)+"-"+c("function"==typeof(o=null!=(o=l(n,"property")||(null!=t?l(t,"property"):t))?o:s)?o.call(a,{name:"property",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:77},end:{line:6,column:89}}}):o)},8:function(e,t,n,i,r){return'<sup class="required">*</sup>'},10:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' placeholder="'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?o(t,"placeholder"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:53},end:{line:15,column:73}}}))+'" '},12:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="form-input-add-on transparent '+l("function"==typeof(a=null!=(a=d(n,"entity")||(null!=t?d(t,"entity"):t))?a:c)?a.call(s,{name:"entity",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:18,column:63},end:{line:18,column:73}}}):a)+'-property-help">\n <i class="icon icon-question-mark"\n id="'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"inputId"):t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:31},end:{line:20,column:95}}}))?o:"")+'-help"\n data-tooltip-content="'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,null!=t?d(t,"tooltip"):t,{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:21,column:49},end:{line:21,column:65}}}))+'"></i>\n </span>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"property"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:27,column:7}}}))?o:""},useData:!0}
88);Handlebars.registerPartial("common-form-group--textarea-partial",Template$1d);var Template$1e=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="gateway-configuration-form" class="gateway-configuration-view js-event-form" data-event="post-gatewayProperties">\n <div id="configuration-gateway" class="alert-box info margin-top initial-configuration-note">\n Delivering a new WiFi configuration can take up to 15 minutes. Please keep in mind, that your Gateway needs to\n be already configured and connected to the Internet in order to receive the new configuration. If you donât want to\n wait or if your Gateway doesnât already have a connection established, please <a\n href="https://support.kontakt.io/hc/en-gb/articles/207305070" target="_blank"\n title="How to setup your Gateway" class="js-event-click" data-event="clickExternal-gatewayConfiguration">configure your Gateway directly\n via USB.</a>. Successful WiFi connection will be indicated by green LED.\n </div>\n\n <input class="sr-only" name="user">\n <input type="password" class="sr-only" name="password">\n\n <div class="grid-row flex-wrap--wrap">\n <div class="column-4 padding-right sm-grid-column-12 sm-no-padding">\n <h3 class="bordered-header">'+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.deviceInformationHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:18,column:40},end:{line:18,column:88}}}))+':</h3>\n <dl class="device-additional-information">\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.firmware.label",property:"firmware"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.access.label",property:"access"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.mac.label",property:"mac"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+'\n <dt class="device-status">Status:</dt>\n <dd class="device-status-property"></dd>\n </dl>\n </div>\n <div class="grid-column-4 padding-horizontal sm-grid-column-12 sm-no-padding">\n <h3 class="bordered-header">WiFi network properties</h3>\n\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{select:!0,tooltip:"device.properties.property.wifiProtocol.help",property:"wifiProtocol"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n"+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.wifiSsid.help",property:"wifiSsid"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n"+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.wifiUserName.help",property:"wifiUserName"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+'\n <div class="form-group device-wifiPassword">\n <div class="form-label-container">\n <label for="device-wifiPassword" class="form-label">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.properties.property.wifiPassword.label",{name:"i18n",hash:{}
88,data:r,loc:{source:"Dropdown.hbs",start:{line:40,column:24},end:{line:40,column:82}}}))+'\n </label>\n <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container">\n <input name="wifiPassword" id="device-wifiPassword"\n type="password"\n class="form-input">\n <span class="form-input-add-on transparent">\n <input type="checkbox" name="wifiPasswordVisible" id="wifi-password-visible" class="hidden">\n <label class="show-wifi-password-button" for="wifi-password-visible">\n <i class="icon"></i>\n </label>\n </span>\n <span class="form-input-add-on device-property-help">\n <i class="icon icon-question-mark"\n id="device-wifiPassword-help"\n data-tooltip-content="'+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.properties.property.wifiPassword.help",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:57,column:49},end:{line:57,column:104}}}))+'"></i>\n </span>\n </div>\n </div>\n </div>\n <div class="grid-column-3 padding-left--small margin-top--very-large sm-grid-column-12 sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group--textarea-partial"),t,{name:"common-form-group--textarea-partial",hash:{placeholder:"beacon.manage.notes.placeholder",label:"device.properties.property.notes",entity:"device",property:"alias"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n\n <h3 class="bordered-header">Device tags:</h3>\n <div class="grid-row margin-top-negative">\n <div class="grid-column-12">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"tags"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div id="device-tags-readonly" class="hidden"></div>\n </div>\n </div>\n\n'+(null!=(s=e.invokePartial(u(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n</form>\n"},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["form-label"],data:r,loc:{source:"Dropdown.hbs",start:{line:71,column:16},end:{line:72,column:27}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function template$j(e,t,n){const i=Template$1e(e,t);return n||"undefined"==typeof $?i:$(i)}class GatewayConfigurationView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{events:{"submit #gateway-configuration-form":"saveGatewayConfiguration","blur #device-applications":"formatApplicationsFieldJson"},whenModelSaved:e=>e}),super(e),this.template=template$j,this.tooltips=new Tooltip(this),this.initialModel=new GatewayConfigurationModel(this.model.attributes,{parse:!1}),this.whenModelSaved=e.whenModelSaved,this.uiModel=new backbone.Model({wifiPasswordVisible:!1})}render(){return this.$el.html(this.template()),this}detach(){validationService.unbind(this),this.unstickit(this.model),this.unstickit(this.uiModel),this.tooltips.removeAllTooltips(),this.undelegateScrollEvents(),this.$el.detach()}attach(){this.stickit(this.model,this.bindings()),this.stickit(this.uiModel,this.uiBindings()),validationService.bind(this),this.tooltips.bindTooltips(),this.delegateScrollEvents()}bindings(){return bindingFactory$1().element("#device-mac").observe("mac").element("#device-access").observe("access").element
88("#device-firmware").observe("firmware").element("#configuration-gateway").hidden("model",e=>e===DeviceModel.PortalLight).element("#device-alias").observe("alias").validate().element(".device-status-property").observe("lastSeen").update((e,t)=>{e.html(this.formatStatus(t))}).element("#device-name").validate().observe("name").disabledIfNotAllowed(DeviceAction.EditVirtualProperties,this.model).element("#device-wifiSsid").validate().observe("wifiSsid").disabledIfNotAllowed(DeviceAction.EditPhysicalProperties,this.model).element("#device-wifiUserName").validate().observe("wifiUserName").disabledIfNotAllowed(DeviceAction.EditPhysicalProperties,this.model).element("#device-wifiProtocol").observe("wifiProtocol").collection([{value:WifiProtocol.Psk,label:"Personal"},{value:WifiProtocol.Eap,label:"Enterprise"},{value:WifiProtocol.OpenWifi,label:"Open WiFi"}]).disabledIfNotAllowed(DeviceAction.EditPhysicalProperties,this.model).element(".form-group.device-wifiUserName").hidden("wifiProtocol",e=>e!==WifiProtocol.Eap).element("#device-wifiPassword").validate().observe("wifiPassword").disabledIfNotAllowed(DeviceAction.EditPhysicalProperties,this.model).element("#device-applications").validate().observe("applications").onGet(e=>{try{return JSON.stringify(e,null,2)}catch(e){return e}}).onSet(e=>{try{return JSON.parse(e)}catch(t){return e}}).disabledIfNotAllowed(DeviceAction.EditPhysicalProperties,this.model).element("#device-applications-result").observe("applications").html().onGet(e=>{try{return this.syntaxHighlight(e)}catch(e){return e}}).element(".device-tags").hiddenIfNotAllowed(DeviceAction.EditPhysicalProperties,this.model).element("#device-tags").tagsEditor().element("#device-tags-readonly").tagsReadonly(this.model).build()}uiBindings(){return bindingFactory$1().element("#device-wifiPassword").attr("type","wifiPasswordVisible",e=>e?"text":"password").element("#wifi-password-visible").observe("wifiPasswordVisible").element(".show-wifi-password-button .icon").toggleClass("icon-eye-closed","wifiPasswordVisible").toggleClassNegate("icon-eye-open","wifiPasswordVisible").build()}syntaxHighlight(e){return JSON.stringify(e,null,2).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g,(function(e){let t="number";return/^"/.test(e)?t=/:$/.test(e)?"key":"string":/true|false/.test(e)?t="boolean":/null/.test(e)&&(t="null"),'<span class="'+t+'">'+e+"</span>"}))}saveGatewayConfiguration(e){if(e.preventDefault(),this.model.isValid(!0)&&(this.configHasChanged()||this.deviceHasChanged())){const e=[];this.configHasChanged()&&e.push(this.model.saveConfig()),this.deviceHasChanged()&&e.push(this.model.saveDevice());const t=jquery.when.apply(jquery,e).then(this.whenModelSaved.bind(this)).then(()=>{this.initialModel.set(this.model.attributes,{parse:!1}),toastService.success(i18n.get("device.updated.message"))},e=>{toastService.detailedError(e)});l.pushPromise(t)}}syncJsonInputScroll(e){const t=this.getJsonInputs().filter(e.currentTarget);if(t.is(":hover")){const e=t.get(0).scrollTop/(t.get(0).scrollHeight-t.get(0).offsetHeight);this.getJsonInputs().not(t).each((t,n)=>n.scrollTop=e*(n.scrollHeight-n.offsetHeight))}}delegateScrollEvents(){this.getJsonInputs().on("scroll.syncJsonInputScroll",this.syncJsonInputScroll.bind(this))}undelegateScrollEvents(){this.getJsonInputs().off("scroll.syncJsonInputScroll",this.syncJsonInputScroll.bind(this))}getJsonInputs(){return this.$el.find("#device-applications-result, #device-applications")}formatApplicationsFieldJson(e){const t=this.$el.find(e.currentTarget);t.val(JSON.stringify(JSON.parse(t.val().trim()),null,2))}configHasChanged(){return new EqualsBuilder(this.initialModel,this.model).object("applications").string("wifiProtocol").string("wifiSsid").string("wifiUserName").string("wifiPassword").isDifferent()}deviceHasChanged(){return new EqualsBuilder(this.initialModel,this.model).string("name").string("alias").object("tags").isDifferent()}getUniqueId(){return this.model.get("uniqueId")}getUtcDate(){const e=new Date;return(e.getTime()+e.getTimezoneOffset())/1e3}formatStatus(e){return isGatewayActive(this.getUtcDate(),e)?'<span class="connection-status connected">Online</span>':'<span class="connection-status">Offline</span>'}}class BulkGatewayConfigurationView extends backbone.View{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});const e=new GatewayConfigurationModel({uniqueId:this.model.get("uniqueId").join(","),deviceType:this.model.get("deviceType"),name:this.model.get("name"),tags:this.model.get("tags"),firmware:this.model.get("firmware"),access:this.model.get("access"),venue:this.model.get("venue"),subscriptionPlans:this.model.get("subscriptionPlans"),applications:{}});this.configurationView=new GatewayConfigurationView({model:e,whenModelSaved:()=>this.model.fetch()}),e.validation={applications:{validJSON:!0},name:{maxLength:DEVICE_PROPERTY_NAME_MAX,required:!1},wifiSsid:{required:!0},wifiPassword:{required:!0},wifiUserName:{required:()=>e.get("wifiProtocol")===WifiProtocol.Eap}}}static navTitle(){return"General"}static slug(){return"general"}render(){this.$el.append(this.configurationView.render().$el),this.configurationView.attach()}remove(){this.configurationView.detach(),this.configurationView.remove(),super.remove()}}var Template$1f=Handlebars.template({1:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <a "+s((c(n,"href")||t&&c(t,"href")||a).call(o,"device.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:27},end:{line:7,column:49}}}))+' title="Beacons" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"device.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:27},end:{line:10,column:49}}}))+' title="Beacons" class="navigation-link nav-link router-link-active">Beacons</a> /\n'},3:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <a "+s((c(n,"href")||t&&c(t,"href")||a).call(o,"gateway.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:27},end:{line:12,column:50}}}))+' title="Gateways" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"gateway.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:27}
vendor: 5,388 bytes, line 88
88,end:{line:15,column:50}}}))+' title="Gateways" class="navigation-link nav-link router-link-active">Gateways</a> /\n'},5:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li class="js-tabs-nav">\n <a href="'+c("function"==typeof(o=null!=(o=l(n,"slug")||(null!=t?l(t,"slug"):t))?o:s)?o.call(a,{name:"slug",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:29,column:33},end:{line:29,column:41}}}):o)+'" class="js-tab-link js-tab-link-'+c("function"==typeof(o=null!=(o=l(n,"cid")||(null!=t?l(t,"cid"):t))?o:s)?o.call(a,{name:"cid",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:29,column:74},end:{line:29,column:81}}}):o)+'" id="device-tab-'+c("function"==typeof(o=null!=(o=l(n,"slug")||(null!=t?l(t,"slug"):t))?o:s)?o.call(a,{name:"slug",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:29,column:98},end:{line:29,column:106}}}):o)+'">'+c("function"==typeof(o=null!=(o=l(n,"navTitle")||(null!=t?l(t,"navTitle"):t))?o:s)?o.call(a,{name:"navTitle",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:29,column:108},end:{line:29,column:120}}}):o)+"</a>\n </li>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="device-manage panel grey">\n <div>\n <div class="content-wrapper">\n <div class="smart-location-view">\n <div class="nav-links">\n'+(null!=(o=s(n,"if").call(a,null!=t?s(t,"isBeacon"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:20},end:{line:16,column:27}}}))?o:"")+' <span class="nav-target">Manage your devices</span>\n </div>\n </div>\n <h2 class="main-header">\n '+e.escapeExpression((s(n,"i18nf")||t&&s(t,"i18nf")||e.hooks.helperMissing).call(a,"device.manage.devices.header",{name:"i18nf",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:21,column:16},end:{line:21,column:56}}}))+'\n <small class="device-name header-comment"></small>\n </h2>\n </div>\n <div class="tabs no-margin-top">\n <ul class="tabs-nav" id="tabs-nav">\n'+(null!=(o=s(n,"each").call(a,null!=t?s(t,"tabs"):t,{name:"each",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:27,column:16},end:{line:31,column:25}}}))?o:"")+' </ul>\n <div class="tab-content">\n\n <div class="js-pending-config-alert">\n <div class="alert-box warning">\n <span class="js-pending-config-text"></span>\n <div class="right">\n <span class="js-delete-config delete-config-message clickable"></span>\n </div>\n </div>\n </div>\n\n <div id="tab-content"></div>\n\n </div>\n </div>\n </div>\n</div>\n'},useData:!0});function template$k(e,t,n){const i=Template$1f(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1g=Handlebars.template({1:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <dl "+(null!=(o=s(n,"if").call(a,null!=t?s(t,"classes"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:8},end:{line:2,column:49}}}))?o:"")+">\n"+(null!=(o=s(n,"each").call(a,null!=t?s(t,"collection"):t,{name:"each",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:6,column:17}}}))?o:"")+" </dl>\n"},2:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'class="'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"classes")||(null!=t?a(t,"classes"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"classes",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:30},end:{line:2,column:41}}}):o)+'"'},4:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <dt>"+c("function"==typeof(o=null!=(o=l(n,"key")||(null!=t?l(t,"key"):t))?o:s)?o.call(a,{name:"key",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:16},end:{line:4,column:23}}}):o)+"</dt>\n <dd>"+c((l(n,"nl2br")||t&&l(t,"nl2br")||s).call(a,null!=t?l(t,"value"):t,{name:"nl2br",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:16},end:{line:5,column:31}}}))+"</dd>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"collection"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:1,column:0},end:{line:8,column:7}}}))?o:""},useData:!0}
88);function nonSynchronizedPropertiesTemplate(e,t,n){const i=Template$1g(e,t);return n||"undefined"==typeof $?i:$(i)}class DeviceManageView extends backbone.View{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),this.tabMap=[],this.tooltips=new Tooltip(this),this.template=template$k}events(){return{"click .js-tab-link":"onClickNavigationLink","click .js-delete-config":"deleteDeviceConfig"}}bindings(){return{".js-pending-config-alert":{observe:"config",visible:!0,onGet:function(e){return"object"==typeof e&&!_$1.isEmpty(e)&&securityService.allowOnDevice(DeviceAction.CancelConfig,this.model)}},".js-pending-config-text":{observe:["config","uniqueId"],onGet:function(e){const[t,n]=e;let i=i18n.get("config.pending.alert");return _$1.isArray(n)&&n.length>1&&(i=i18n.get("config.pending.bulk.alert",n.map(e=>{if(_$1.has(this.model.get("config"),e))return'<a class="show-device-config" href="'.concat(navigationService.getDeviceEditorLink(e),'" data-uniqueId="').concat(e,'">').concat(e,'</a> <span class="clickable js-delete-config" data-uniqueId="').concat(e,'" data-tooltip-content="').concat(i18n.get("config.pending.cancel"),'">x</span>')}).filter(e=>!!e).join(", "))),"object"!=typeof t||_$1.isEmpty(t)?"":i},afterUpdate:"bindTooltipsToConfigAlert",initialize:"bindTooltipsToConfigAlert",updateMethod:"html"},".delete-config-message":{observe:"uniqueId",onGet:function(e){let t=i18n.get("config.pending.cancel");return _$1.isArray(e)&&e.length>1&&(t=i18n.get("config.pending.bulk.cancel")),t}},".device-name":{observe:"uniqueId",onGet:function(e){return e.length>1?i18n.get("device.bulk.manage.deviceName",e.length):i18n.get("beacon.manage.deviceName",_$1.first(e))},initialize:function(e){1!==this.model.get("uniqueId").length&&new tooltip({target:e.get(0),content:this.model.get("uniqueId").map(e=>'<a href="'.concat(navigationService.getDeviceEditorLink(e),'" class="navigation-link">').concat(e,"</a>")).join(", "),position:"bottom right",classes:"default"})}}}}async load(e){await this.model.fetch(),this.model.id.length||navigationService.pageNotFound({trigger:!0,replace:!0}),this.model.get("deviceType")===DeviceType.Gateway?this.tabMap.push(BulkGatewayConfigurationView):this.tabMap.push(DeviceManagePropertiesView),securityService.allowOnDevice(DeviceAction.ViewNextGenerationPowerSavingTab,this.model)&&this.tabMap.push(BulkBeaconProPowerSavingView),securityService.allowOnDevice(DeviceAction.ViewShufflingTab,this.model)&&this.tabMap.push(DeviceManageShufflingView),securityService.allowOnDevice(DeviceAction.ViewSharingTab,this.model)&&this.tabMap.push(DeviceManageSharingView),this.currentTabId=this.hasTab(e.tabId)?e.tabId:this.getFirstTab()}render(){return this.$el.html(this.template({tabs:this.tabMap,device:this.model.toJSON(),isBeacon:this.isBeacon()})),this.tooltips.bindTooltips(),this.stickit(),this}afterAttach(){this.changeUrlAndTab(this.currentTabId)}getFirstTab(){return _$1.first(this.tabMap).slug()}onClickNavigationLink(e){e.preventDefault(),e.stopPropagation();const t=e.target.attributes.href.value;this.changeUrlAndTab(t)}changeUrlAndTab(e){let t=this.model.get("uniqueId");_$1.isArray(t)||(t=[t]),this.model.get("deviceType")===DeviceType.CloudBeacon?navigationService.goToGatewayBulkManage(t.join(","),e,{trigger:!1,replace:!0}):navigationService.goToDeviceBulkManage(t.join(","),e,{trigger:!1,replace:!0}),this.changeTab(e)}changeTab(e){if(!this.hasTab(e))return this.changeUrlAndTab(this.getFirstTab());const t=_$1.find(this.tabMap,t=>t.slug()===e);this.currentTab&&(_$1.isFunction(this.currentTab.detach)&&this.currentTab.detach(),this.currentTab.stopListening(),this.currentTab.undelegateEvents(),this.currentTab.unstickit()),this.currentTab=new t({el:"#tab-content",model:this.model});const n=()=>{this.model.resetAttributes(),this.model.restartTracking(),this.currentTab.render(),this.toggleActive()};if("beforeRender"in this.currentTab&&_$1.isFunction(this.currentTab.beforeRender)){let e=this.currentTab.beforeRender();_$1.isArray(e)||(e=[e]),jquery.when.apply(jquery,e).then(n,e=>toastr.detailedError(e)),l.pushPromise(e)}else n()}hasTab(e){return void 0!==_$1.find(this.tabMap,t=>
88t.slug()===e)}toggleActive(){let e;this.currentTab&&(e=this.currentTab.constructor.slug()),this.$(".js-tabs-nav a").removeClass("active").filter((function(){return jquery(this).attr("href")===e})).addClass("active")}deleteDeviceConfig(e){let t;e.preventDefault(),_$1.has(e.target.attributes,"data-uniqueId")&&e.target.attributes["data-uniqueId"].value&&(t=e.target.attributes["data-uniqueId"].value),this.model.removeConfig(t)}checkEmptyArray(e,t){return _$1.isObject(e[t])&&!_$1.isArray(e[t])?Object.keys(e[t]).filter(n=>e[t][n]).length>0:e[t]}parseArrayTooltip(e,t){return Object.keys(e[t]).filter(n=>e[t][n]).map(n=>"".concat(n,":").concat(e[t][n])).join(", ")}isObjectNotArray(e){return _$1.isObject(e)&&!_$1.isArray(e)}bindTooltipsToConfigAlert(e){e.find(".show-device-config").each((e,t)=>{const n=t.attributes["data-uniqueId"].value;if(!_$1.has(this.model.get("config"),n))return;const i=this.model.get("config")[n],r=[];_$1.each(_$1.omit(i,"uniqueId"),(e,t)=>{null!==e&&(_$1.has(this.model.accessors,t)&&_$1.isFunction(this.model.accessors[t])&&(e=this.model.accessors[t](e,this.model)),this.isObjectNotArray(e)&&(e=Object.keys(e).filter(t=>this.checkEmptyArray(e,t)).map(t=>{if(!this.isObjectNotArray(e[t]))return"".concat(t,":").concat(e[t]);this.parseArrayTooltip(e,t)}).join(",\n")),r.push({key:t,value:e}))}),r.length&&new tooltip({target:t,content:nonSynchronizedPropertiesTemplate({classes:"pending-config-properties-list",collection:r}),position:"bottom center",classes:"default max-width-none"})})}isBeacon(){return this.model.get("deviceType")===DeviceType.Beacon||this.model.get("deviceType")===DeviceType.External&&this.model.get("role")===ExternalRole.Sensor}}const startsWith$1=underscore_string.startsWith;class DeviceModelTrackable extends DeviceModelPrototype{defaults(){return{access:null,buttonFeatures:[],minor:null,mac:null,shares:[],txPower:null,instanceId:null,major:null,actionsCount:null,alias:null,notes:null,model:null,id:null,firmware:null,deviceType:null,shuffled:!1,packets:[],profiles:[],specification:null,managerId:null,url:null,secureNamespace:null,secureProximity:null,subscriptionPlans:[Subscription.PlanType.NotApplicable],proximity:null,futureId:{EDDYSTONE:[],IBEACON:[]},name:null,namespace:null,interval:null,uniqueId:null,powerSaving:null,applications:null,moveSuspendTimeout:null,rssi1m:[],tags:[],batteryLevel:null,lastSeen:null,metadata:null}}fetch(){const e=deviceService.findAllDevicesByUniqueIds(this.get("uniqueId")).then(e=>1!==e.length?jquery.Deferred().reject("Unable to fetch the device").promise():(this.set(this.parse(e[0])),this));return jquery.when(e)}save(){return this.update()}update(){const e=this.unsavedAttributes();return _$1.isEmpty(e)?jquery.Deferred().resolve(this).promise():deviceService.update(this.compose(this.toJSON())).then(()=>(this._trackingChanges&&(this._resetTracking(),this._triggerUnsavedChanges()),this))}parse(e){return e.occupancy&&Object.keys(e.occupancy).forEach(t=>{e["occupancy.".concat(t)]=e.occupancy[t]}),e.url&&(e.url=EddystoneUtil.decode(e.url)),e}compose(e){const t=_$1.extend(_$1.pick(e,DEVICE_PROPERTIES_VIRTUAL.concat(["uniqueId","deviceType"])));return t.tags&&0===t.tags.length&&(t.tags=null),t}clearPreviousValues(){_$1.each(this.attributes,(e,t)=>{startsWith$1(t,"previous.")&&(this.unset(t),delete this.attributes[t])})}fetchPassword(){return deviceService.credentials(this.get("uniqueId")).then(e=>{let{password:t}=e;this.set("password",t)})}validation(){return{alias:{required:!1,maxLength:DEVICE_PROPERTY_ALIAS_MAX}}}getFromMetadata(e){return this.get("metadata")?this.get("metadata")[e]:null}}const getComparator=e=>{const t={minor:(e,t)=>_$1.isEqual(+e,+t),major:(e,t)=>_$1.isEqual(+e,+t),txPower:(e,t)=>_$1.isEqual(+e,+t),interval:(e,t)=>_$1.isEqual(+e,+t),profiles:(e,t)=>_$1.isEqual(e.sort(),t.sort()),packets:(e,t)=>_$1.isEqual(e.sort(),t.sort()),shuffled:(e,t)=>_$1.isEqual(!!e,!!t)};return _$1.has(t,e)?t[e]:(e,t)=>_$1.isEqual(e,t)};class ConfigChangesDetector{constructor(e){this.configModel=e}isEqual(e,t,n){return!0===getComparator(e)(n,t)}isDifferent(e,t,n){return!this.isEqual(e,t,n)}}const VALIDATE_GENERAL_PROPERTIES=1,VALIDATE_WIFI_PROPERTIES=2,VALIDATE_MINOR_MAJOR_PROPERTIES=3;class ConfigModel extends backbone.Model{constructor(e,t){super(e,t),this.labels={defaultSSIDName:i18n.get("device.properties.property.defaultSsidName.label"),defaultSSIDKey:i18n.get("device.properties.property.ssidKey.label")},this.configChangesDetector=new ConfigChangesDetector(this)}defaults(){return{minor:null,major:null,txPower:null,interval:null,proximity:null,defaultSSIDName:null,defaultSSIDKey:null,defaultSSIDAuth:null,defaultSSIDCrypt:null,wifiScanInterval:null,dataSendInterval:null,bleScanInterval:null,bleScanDuration:null,wifiScanCount:null,workingMode:null,maintenanceStart:null,maintenanceEnd:null,profiles:null,packets:null,buttonFeatures:null,name:null,namespace:null,instanceId:null,url:null,shuffled:null,uniqueId:null,deviceType:null,powerSaving:null,applications:null,moveSuspendTimeout:null,rssi1m:null,model:null,_id:null,irBlinkInterval:null,irRoomNumber:null,airQualityInterval:null,lightSensorSamplingInterval:null,"occupancy.minInterval":null,"occupancy.maxInterval":null,"occupancy.sensitivity":null,"occupancy.model":null,telemetryFields:null}}validation(){return{interval:{pattern:"number",required:!0,minFn:e=>e.get("model")===Model.BeaconPro?100:DEVICE_PROPERTY_INTERVAL_MIN,max:DEVICE_PROPERTY_INTERVAL_MAX},proximity:{pattern:DEVICE_PROPERTY_PROXIMITY_REGEXP},major:{pattern:"number",min:DEVICE_PROPERTY_MAJOR_MIN,max:DEVICE_PROPERTY_MAJOR_MAX},minor:{pattern:"number",min:DEVICE_PROPERTY_MINOR_MIN,max:DEVICE_PROPERTY_MINOR_MAX},namespace:{pattern:DEVICE_PROPERTY_NAMESPACE_REGEXP},name:{required:!1,maxLength:DEVICE_PROPERTY_NAME_MAX},instanceId:{pattern:DEVICE_PROPERTY_INSTANCE_ID_REGEXP},url:{pattern:URL_REGEXP,eddystoneURLLength:DEVICE_PROPERTY_URL_MAX},packets:{required:!0,msg:i18n.get("device.validation.packets")},defaultSSIDName:{maxLength:DEVICE_PROPERTY_DEFAULT_SSID_NAME_MAX},defaultSSIDKey:{maxLength:DEVICE_PROPERTY_DEFAULT_SSID_KEY_MAX},wifiScanInterval:{min:DEVICE_PROPERTY_WIFI_SCAN_INTERVAL_MIN,max:DEVICE_PROPERTY_WIFI_SCAN_INTERVAL_MAX},dataSendInterval:{min:DEVICE_PROPERTY_DATA_SEND_INTERVAL_MIN,max:DEVICE_PROPERTY_DATA_SEND_INTERVAL_MAX},bleScanInterval:{min:DEVICE_PROPERTY_BLE_SCAN_INTERVAL_MIN,max:DEVICE_PROPERTY_BLE_SCAN_INTERVAL_MAX},maintenanceStart:{pattern:TIME_REGEXP},maintenanceEnd:{pattern:TIME_REGEXP},rssi1m:{fn:e=>{if(!Array.isArray(e))return"Invalid value";if(e.filter(e=>_$1.isEmpty(String(e))).length)return"Value is required";return e.map(e=>Number(e)).filter(e=>!(_$1.isNumber(e)&&!_$1.isNaN(e))).length?"Invalid value":void 0}},irBlinkInterval:{pattern:"number",min:DEVICE_PROPERTY_IR_BLINK_INTERVAL_MIN,max:DEVICE_PROPERTY_IR_BLINK_INTERVAL_MAX},irRoomNumber:{pattern:"number",min:DEVICE_PROPERTY_IR_ROOM_NUMBER_MIN,max:DEVICE_PROPERTY_IR_ROOM_NUMBER_MAX},airQualityInterval:{pattern:"number",min:60,max:3600}}}fetch(){return configService.findByUniqueIds(this.get("uniqueId"),this.get("deviceType")).then(e=>{let{configs:t}=e;return 1===t.length&&(this.set(this.parseForView(t[0])),this.set("_id",_$1.uniqueId("config"))),this})}save(){return this.create()}create(){const e=this.getChangedProperties();
88return _$1.isEmpty(e)?jquery.Deferred().resolve(this).promise():configService.create(this.compose(e)).then(e=>{let[t]=e;return this.set(this.parse(t)),this.set("_id",_$1.uniqueId("config"),{trackit_silent:!0}),this._trackingChanges&&(this._resetTracking(),this._triggerUnsavedChanges()),this})}destroy(){return configService.remove(this.get("uniqueId")).then(()=>{this.set("_id",null)})}syncWithDevice(e){const t=[];return(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&e.clearPreviousValues(),_$1.each(e.attributes,(n,i)=>{const r=this.get(i);_$1.isUndefined(r)||(_$1.isNull(r)?this.set(i,n):this.configChangesDetector.isDifferent(i,r,n)&&(e.set("previous.".concat(i),n,{trackit_silent:!0}),t.push({property:i,deviceValue:n,configValue:r})))}),t}parse(e){return e.url&&(e.url=EddystoneUtil.decode(e.url)),_$1.each(e,(t,n)=>{null===t&&delete e[n]}),e}parseForView(e){const t=this.parse(e);return t.occupancy&&Object.keys(t.occupancy).forEach(e=>{t["occupancy.".concat(e)]=t.occupancy[e]}),t}compose(e){return e=_$1.extend(e,{uniqueId:this.get("uniqueId"),deviceType:this.get("deviceType")}),_$1.each(e,(t,n)=>{_$1.isArray(t)&&(e[n]=t.join(",")),_$1.isNull(t)&&delete e[n]}),e.url&&(e.url=EddystoneUtil.encode(e.url).toLowerCase()),e}clear(){return this.set(this.defaults()),this}getChangedProperties(){return _$1.pick(this.unsavedAttributes(),DEVICE_PROPERTIES_PHYSICAL)}setChangesDetectorComparisonBasisModel(){}validationGroup(e){let t=[];return e&VALIDATE_GENERAL_PROPERTIES&&(t=t.concat(["interval","proximity","major","minor","name","namespace","instanceId","url","packets","rssi1m"])),e&VALIDATE_WIFI_PROPERTIES&&(t=t.concat(["defaultSSIDName","defaultSSIDKey","wifiScanInterval","dataSendInterval","bleScanInterval","maintenanceStart","maintenanceEnd"])),e&VALIDATE_MINOR_MAJOR_PROPERTIES&&(t=["major","minor"]),!t.length||t}}class PresetModel extends backbone.Model{defaults(){return{txPower:null,proximity:null,name:null,description:null,interval:null}}static pickApplicableProperties(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n={};return _$1.each(e,(e,i)=>{_$1.contains(["txPower","interval"].concat(t?["proximity"]:[]),i)&&null!==e&&(n[i]=e)}),n}}class FirmwareModel extends backbone.Model{defaults(){return{deviceType:null,important:null,validVersions:null,scheduled:null,name:null,description:null,optional:null,crc32:null,id:null,uniqueId:[],url:null}}schedule(){return firmwareService.schedule(this.get("uniqueId"),this.get("name"))}unschedule(){return firmwareService.unschedule(this.get("uniqueId"))}}class FirmwareCollection extends backbone.Collection{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=_$1.defaults(t,{model:FirmwareModel,uniqueId:null}),super(e,t),this.uniqueId=t.uniqueId}fetch(){return firmwareService.findAllByUniqueIds([this.uniqueId]).then(e=>(this.reset(e,{parse:!0}),this))}}class PresetCollection extends backbone.Collection{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=_$1.defaults(t,{model:PresetModel}),super(e,t)}
88fetch(){return presetService.findAll().then(e=>{let{presets:t}=e;return this.reset(t,{parse:!0}),this})}}class SingleDeviceViewModel extends backbone.Model{constructor(e,t){let{uniqueId:n,deviceModel:i,configModel:r,availableFirmwares:o,availablePresets:a,preset:s}=e;super({uniqueId:n,device:i,config:r,availableFirmwares:o,availablePresets:a,preset:s},t),this.on("change:_currentPreset",this.updateCurrentPreset)}defaults(){return{uniqueId:null,device:new DeviceModelTrackable,config:new ConfigModel,availableFirmwares:new FirmwareCollection,availablePresets:new PresetCollection,preset:new PresetModel,_currentPreset:null,_maintenanceWindow:!1,_availableOptionalFirmware:null,_scheduledFirmware:null,_itemExist:null}}getConfig(){return this.get("config")}getDevice(){return this.get("device")}getAvailableFirmwares(){return this.get("availableFirmwares")}getAvailablePresets(){return this.get("availablePresets")}getPresets(){return this.get("availablePresets")}getPreset(){return this.get("preset")}fetch(){return this.getDevice().fetch().then(e=>(this.getConfig().set("deviceType",e.get("deviceType")),jquery.when(this.fetchConfig(e),this.fetchFirmwares(e),this.getPresets().fetch()))).then(()=>(this.getConfig().setChangesDetectorComparisonBasisModel(this.getDevice()),this.getConfig().syncWithDevice(this.getDevice()),this.findCurrentPreset(),this.setUIVariables(),this))}save(){return jquery.when(this.getDevice().save(),this.getConfig().save()).then(()=>{this.getConfig().setChangesDetectorComparisonBasisModel(new backbone.Model(this.getConfig().toJSON())),this.getConfig().syncWithDevice(this.getDevice()),this.findCurrentPreset()})}isBeacon(){const e=this.getDevice();return e.get("deviceType")===DeviceType.Beacon||e.get("deviceType")===DeviceType.External&&e.get("role")===ExternalRole$1.Sensor}isPortalBeam(){return this.getDevice().get("model")===BeaconModel.PortalBeam}isPortalBeamIr(){return this.getDevice().get("model")===BeaconModel.PortalBeamIr}isPortalBeamOrOnlyIr(){return this.isPortalBeam()||this.isPortalBeamIr()}seeInNewAppLink(){const e=this.getDevice();return"".concat(window.ENV.deviceManagementAppUrl,"devices/").concat(e.get("deviceType").toLowerCase(),"/").concat(e.get("uniqueId"),"/general")}toTemplate(){const e=this.getDevice(),t={isBeacon:this.isBeacon(),isPortalBeam:this.isPortalBeam(),isPortalBeamIr:this.isPortalBeamIr(),isPortalBeamOrOnlyIr:this.isPortalBeamOrOnlyIr(),deviceType:e.get("deviceType"),uniqueId:e.get("uniqueId"),name:e.get("name"),alias:e.get("alias"),product:e.get("product"),vendor:e.get("vendor"),deviceModel:"SMART_BEACON"===e.get("model")?e.get("specification"):e.get("model"),canSeePackets:securityService.allowOnDevice(DeviceAction.SeePackets,e),eddystoneSupportEnabled:!securityService.allowOnDevice(DeviceAction.EddystoneSupportDisabled,e),ibeaconSupportEnabled:!securityService.allowOnDevice(DeviceAction.IbeaconSupportDisabled,e),seeInNewAppLink:this.seeInNewAppLink()};return e.get("firmware")&&(t["isFirmware".concat(e.get("firmware").replace(".",""))]=!0),t}getIdentifiers(){return{deviceId:this.getDevice().get("id"),uniqueId:this.getDevice().get("uniqueId")}}findCurrentPreset(){const e=this.getAvailablePresets().filter(e=>{const t=[];return _$1.each(["txPower","proximity","interval"],n=>{const i=e.get(n);null===i?t.push(!0):t.push(this.getConfig().get(n)===i)}),-1===t.indexOf(!1)});e.length?(this.getPreset().set(_$1.first(e).toJSON()),this.set("_currentPreset",this.getPreset().get("name"))):this.set("_currentPreset",null)}updateCurrentPreset(){const e=this.getAvailablePresets().findWhere({name:this.get("_currentPreset")});if(e){const t=e.toJSON();this.getPreset().set(t),this.getConfig().set(PresetModel.pickApplicableProperties(t,securityService.allowOnDevice(DeviceAction.EditPropertyProximity,this.getDevice()))),this.getConfig().isValid()}else this.getPreset().set(this.getPreset().defaults())}removeConfig(){return this.getConfig().destroy()}fetchFirmwares(e){return securityService.allowOnDevice(DeviceAction.FetchFirmware,e)?this.getAvailableFirmwares().fetch().then(()=>{this.set("_availableRegularFirmware",this.getRegularFirmware()?this.getRegularFirmware().get("name"):""),this.set("_availableOptionalFirmware",this.getOptionalFirmware()?this.getOptionalFirmware().get("name"):""),this.set("_scheduledFirmware",this.get
88ScheduledOptionalFirmware()?this.getScheduledOptionalFirmware().get("name"):"")}):jquery.Deferred().resolve(this.getAvailableFirmwares()).promise()}fetchConfig(e){return securityService.allowOnDevice(DeviceAction.FetchConfig,e)?this.getConfig().fetch():jquery.Deferred().resolve(this.getConfig()).promise()}getOptionalFirmware(){return this.getAvailableFirmwares().findWhere({scheduled:!1,optional:!0})}getScheduledOptionalFirmware(){return this.getAvailableFirmwares().findWhere({scheduled:!0,optional:!0})}getRegularFirmware(){return this.getAvailableFirmwares().findWhere({optional:!1})}setUIVariables(){this.set("_maintenanceWindow","00:00"===this.getConfig().get("maintenanceStart")&&"00:00"===this.getConfig().get("maintenanceEnd"))}}class TabsModel extends backbone.Model{constructor(e){super({active:e})}}class TabsView extends ContainerView{constructor(e){objectValidator.hasProperties(e,"template","tabs");for(const t in e.tabs)objectValidator.is(e.tabs[t],backbone.View);const t=Object.keys(e.tabs);super(_$1.extend(e,{containerSelector:".js-tab-content",events:{"click .js-tab-link":"onTabClick"},logger:new Logger("TabsView","SteelBlue"),model:new TabsModel(e.active||t[0])})),this.template=_$1.isFunction(e.template)?e.template:()=>'<div class="js-tab-content"></div>',this.tabs=e.tabs,this.routeConfig=_$1.defaults(e.routeConfig||{},{replaceUrl:!1,route:"",routeParams:{}})}render(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.cid=this.cid,super.render(e),this.stickit(),this}load(e){return this.loadModel=e,this}attach(){this.listenTo(this.model,"change:active",this.changeTab),this.model.trigger("change:active")}detach(){this.stopListening();const e=this.active();_$1.isFunction(e.detach)&&e.detach()}onTabClick(e){e.preventDefault(),jquery(e.currentTarget).hasClass("js-tab-link-".concat(this.cid))&&this.model.set("active",jquery(e.currentTarget).data("tab-id"))}changeTab(){const e=this.model.get("active");this.$el.find(".js-tab-link-".concat(this.cid)).removeClass("active"),this.$el.find(".js-tab-link-".concat(this.cid,'[data-tab-id="').concat(e,'"]')).addClass("active");const t=this.setContent(this.active(),this.loadModel).then(()=>{this.routeConfig.replaceUrl&&this.routeConfig.route&&(this.routeConfig.routeParams.tabId=e,navigationService.go2(this.routeConfig.route,this.routeConfig.routeParams,{replace:!0,trigger:!1}),pageTrackingService.pushView()),this.trigger("tabChanged",this.model)});l.pushPromise(t)}active(){return this.tabs[this.model.get("active")]}doAfterAttach(){const e=this.active();_$1.isFunction(e.afterAttach)&&(this.logger.log("Tab attached, view: [%s]:%s",e.constructor.name,e.cid),e.afterAttach())}remove(){_$1.each(this.tabs,e=>e.remove()),super.remove()}setRouteParams(e){return this.routeConfig.routeParams=e,this}setRoute(e){return this.routeConfig.route=e,this}setDefaultActiveTab(e){return _$1.has(this.tabs,e)&&this.model.set("active",e,{silent:!0}),this}setActiveTab(e){return _$1.has(this.tabs,e)&&this.model.set("active",e),this}}class TxPowerSliderSettings extends backbone.Model{constructor(e,t){super(e,t)}defaults(){return{step:1,range:{min:0,max:0},connect:"lower",pips:{mode:"steps"},format:{to:e=>parseInt(e,10),from:e=>parseInt(e,10)}}}getCollection(){const{min:e,max:t}=this.get("range"),n=this.get("step");return _$1.range(e,t+1,n).map(e=>({value:e,label:String(e)}))}}var Template$1h=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group">\n'+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltipClass:"brand-sapphire preformatted",tooltip:"-",property:"rssi1m"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"},3:function(e,t,n,i,r,o,a){e.lookupProperty;return""},4:function(e,t,n,i,r){return""},6:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"canSeePackets"):t,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.program(9,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:88,column:16},end:{line:92,column:23}}}))?o:""},7:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Profile"):t)?a(o,"IBeacon"):o,label:"device.editor.packets.IBEACON.switchLabel",name:"packets[]",property:"packets-IBEACON"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},9:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{radio:!0,class:"device-profiles",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"IBeacon"):o,label:"device.properties.property.profile.values.ibeacon.label",name:"profile[]",property:"profile-IBEACON"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},11:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-6 padding-left--small md-no-padding sm-no-padding sm-margin-top md-margin-top">\n <div class="panel-info packets">\n'+(null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"canSeePackets"):t,{name:"if",hash:{},fn:e.program(12,r,0),inverse:e.program(14,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:102,column:16},end:{line:118,column:23}}}))?o:"")+" </div>\n </div>\n"},12:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneUID"):o,label:"device.editor.packets.EDDYSTONE_UID.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_UID"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"namespace"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.instanceId.help",property:"instanceId"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneURL"):o,label:"device.editor.packets.EDDYSTONE_URL.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_URL"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.url.help",property:"url"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneTLM"):o,label:"device.editor.packets.EDDYSTONE_TLM.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_TLM"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")},14:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{radio:!0,class:"device-profiles",value:null!=(o=null!=t?a(t,"Profile"):t)?a(o,"Eddystone"):o,label:"device.properties.property.profile.values.eddystone.label",name:"profile[]",property:"profile-EDDYSTONE"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"namespace"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.instanceId.help",property:"instanceId"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.url.help",property:"url"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="device-properties-form" class="js-event-form" data-event="post-beaconProperties" class="clearfix">\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.deviceInformationHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:56}}}))+':\n </h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="sm-grid-column-12 grid-column-6 padding-right--small">\n <dl class="device-additional-information">\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.model.label",property:"model"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" <dt>\n "+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.firmware.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:20},end:{line:10,column:67}}}))+':\n </dt>\n <dd>
88\n <span id="device-firmware"></span>\n <span id="device-available-regular-firmware" class="hidden">\n <i class="icon icon-update firmware-update-available"></i>\n </span>\n <button id="device-optional-firmware-schedule"\n class="button optional-firmware-button primary-light hidden" type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateScheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:19,column:24},end:{line:19,column:85}}}))+'\n </button>\n <button id="device-optional-firmware-unschedule" class="button optional-firmware-button grey hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateUnscheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:23,column:24},end:{line:23,column:87}}}))+"\n </button>\n </dd>\n"+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.access.label",property:"access"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.battery.header",property:"status-batteryLevel"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.lastEventTimestamp.header",property:"status-lastEventTimestamp"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n <dt>"+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.password.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:30,column:20},end:{line:30,column:65}}}))+':</dt>\n <dd id="device-password">\n <span class="clickable js-show-password show-password-link js-event-click"\n data-event="click-showPassword">show</span>\n </dd>\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.mac.header",property:"mac"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+'\n </dl>\n </div>\n <div class="sm-grid-column-12 grid-column-3 padding-left--small sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group--textarea-partial"),t,{name:"common-form-group--textarea-partial",hash:{placeholder:"beacon.manage.notes.placeholder",label:"beacon.manage.notes",entity:"device",property:"alias"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <h3 class="bordered-header">General settings:</h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-4 padding-right--small md-no-padding sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"beacon.manage.data.name.description",property:"name"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"beacon.manage.data.customPreset.description",select:!0,property:"preset"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n <div class="grid-column-4 padding-horizontal--small md-no-padding sm-no-padding">\n <div class="device-txPower">\n <label for="device-txPower" class="form-label">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.properties.property.txPower.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:52,column:20},end:{line:52,column:73}}}))+'\n </label>\n <div>\n <select name="txPower" id="device-txPower" class="slider"></select>\n </div>\n </div>\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowEditRssiCalibration"):t,{name:"if",hash:{},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:58,column:12},end:{line:62,column:19}}}))?s:"")+' </div>\n <div class="grid-column-4 padding-left--small md-no-padding sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{allowedValues:!0,property:"interval"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n\n <h3 class="bordered-header">Device tags:</h3>\n <div class="grid-row margin-top-negative">\n <div class="grid-column-12">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"tags"},fn:e.program(3,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div id="device-tags-readonly" class="hidden"></div>\n </div>\n </div>\n\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.profilesHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:81,column:8},end:{line:81,column:47}}}))+':\n </h3>\n <div id="device-packets-error" class="alert-box error hidden"></div>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-6 padding-right--small md-no-padding sm-no-padding">\n <div class="panel-info packets">\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"isBeacon"):t,{name:"if",hash:{},fn:e.program(6,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:87,column:16},end:{line:93,column:23}}}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"proximity"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"major"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"minor"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"+(null!=(s=u(n,"if").call(c,null!=t?u(t,"isBeacon"):t,{name:"if",hash:{},fn:e.program(11,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:99,column:8},end:{line:121,column:15}}}))?s:"")+" </div>\n"+(null!=(s=e.invokePartial(u(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</form>\n"},"3_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(4,r,0,o,a),inverse:n.noop,args:["form-label"],data:r,loc:{source:"Dropdown.hbs",start:{line:73,column:12},end:{line:74,column:23}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function baseTemplate(e,t,n){const i=Template$1h(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1i=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group">\n'+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltipClass:"brand-sapphire preformatted",tooltip:"-",property:"rssi1m"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"},3:function(e,t,n,i,r,o,a){e.lookupProperty;return""},4:function(e,t,n,i,r){return""},6:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"canSeePackets"):t,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.program(9,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:88,column:20},end:{line:92,column:27}}}))?o:""},7:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Profile"):t)?a(o,"IBeacon"):o,label:"device.editor.packets.IBEACON.switchLabel",name:"packets[]",property:"packets-IBEACON"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},9:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{radio:!0,class:"device-profiles",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"IBeacon"):o,label:"device.properties.property.profile.values.ibeacon.label",name:"profile[]",property:"profile-IBEACON"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},11:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneUID"):o,label:"device.editor.packets.EDDYSTONE_UID.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_UID"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"namespace"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.instanceId.help",property:"instanceId"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneURL"):o,label:"device.editor.packets.EDDYSTONE_URL.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_URL"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.url.help",property:"url"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneTLM"):o,label:"device.editor.packets.EDDYSTONE_TLM.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_TLM"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")},13:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{radio:!0,class:"device-profiles",value:null!=(o=null!=t?a(t,"Profile"):t)?a(o,"Eddystone"):o,label:"device.properties.property.profile.values.eddystone.label",name:"profile[]",property:"profile-EDDYSTONE"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"namespace"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.instanceId.help",property:"instanceId"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.url.help",property:"url"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="device-properties-form" class="js-event-form" data-event="post-beaconProperties">\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.deviceInformationHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:56}}}))+':\n </h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="sm-grid-column-12 grid-column-6 padding-right--small">\n <dl class="device-additional-information">\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.model.label",property:"model"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" <dt>\n "+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.firmware.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:20},end:{line:10,column:67}}}))+':\n </dt>\n <dd>
88\n <span id="device-firmware"></span>\n <span id="device-available-regular-firmware" class="hidden">\n <i class="icon icon-update firmware-update-available"></i>\n </span>\n <button id="device-optional-firmware-schedule"\n class="button optional-firmware-button primary-light hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateScheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:24},end:{line:20,column:85}}}))+'\n </button>\n <button id="device-optional-firmware-unschedule"\n class="button optional-firmware-button grey hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateUnscheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:25,column:24},end:{line:25,column:87}}}))+"\n </button>\n </dd>\n"+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.access.label",property:"access"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.battery.header",property:"status-batteryLevel"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.lastEventTimestamp.header",property:"status-lastEventTimestamp"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n <dt>"+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.password.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:32,column:20},end:{line:32,column:65}}}))+':</dt>\n <dd id="device-password">\n <span class="clickable js-show-password show-password-link js-event-click" data-event="click-showPassword">show</span>\n </dd>\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.mac.header",property:"mac"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+'\n </dl>\n </div>\n <div class="sm-grid-column-12 grid-column-3 padding-left--small sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group--textarea-partial"),t,{name:"common-form-group--textarea-partial",hash:{placeholder:"beacon.manage.notes.placeholder",label:"beacon.manage.notes",entity:"device",property:"alias"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <h3 class="bordered-header">General settings:</h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-4 padding-right--small md-no-padding sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"beacon.manage.data.name.description",property:"name"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n <div class="grid-column-4 padding-horizontal--small md-no-padding sm-no-padding">\n <div class="device-txPower">\n <label for="device-txPower" class="form-label">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.properties.property.txPower.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:52,column:20},end:{line:52,column:73}}}))+'\n </label>\n <div>\n <select name="txPower" id="device-txPower" class="slider"></select>\n </div>\n </div>\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowEditRssiCalibration"):t,{name:"if",hash:{},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:58,column:12},end:{line:62,column:19}}}))?s:"")+' </div>\n <div class="grid-column-4 padding-left--small md-no-padding sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{allowedValues:!0,property:"interval"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n\n <h3 class="bordered-header">Device tags:</h3>\n <div class="grid-row margin-top-negative">\n <div class="grid-column-12">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"tags"},fn:e.program(3,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div id="device-tags-readonly" class="hidden"></div>\n </div>\n </div>\n\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.profilesHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:81,column:8},end:{line:81,column:47}}}))+':\n </h3>\n <div id="device-packets-error" class="alert-box error hidden"></div>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-6 padding-right--small md-no-padding sm-no-padding">\n <div class="panel-info packets">\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"isBeacon"):t,{name:"if",hash:{},fn:e.program(6,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:87,column:16},end:{line:93,column:23}}}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"proximity"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"major"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"minor"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <div class="grid-column-6 padding-left--small md-no-padding sm-no-padding sm-margin-top md-margin-top">\n <div class="panel-info packets">\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"canSeePackets"):t,{name:"if",hash:{},fn:e.program(11,r,0,o,a),inverse:e.program(13,r,0,o,a),data:r,loc:{source:"Dropdown.hbs",start:{line:101,column:16},end:{line:117,column:23}}}))?s:"")+" </div>\n </div>\n </div>\n"+(null!=(s=e.invokePartial(u(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</form>\n"},"3_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(4,r,0,o,a),inverse:n.noop,args:["form-label"],data:r,loc:{source:"Dropdown.hbs",start:{line:73,column:16},end:{line:74,column:27}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function cardBeaconTemplate(e,t,n){const i=Template$1i(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1j=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"Vendor",property:"vendor"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},3:function(e,t,n,i,r,o,a){e.lookupProperty;return""},4:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="device-properties-form" class="js-event-form" data-event="post-beaconProperties">\n <h3 class="bordered-header">\n '+e.escapeExpression((l(n,"i18n")||t&&l(t,"i18n")||e.hooks.helperMissing).call(c,"device.editor.deviceInformationHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:56}}}))+':\n </h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="sm-grid-column-12 grid-column-6 padding-right--small sm-no-padding">\n <dl class="device-additional-information">\n'+(null!=(s=l(n,"if").call(c,null!=t?l(t,"vendor"):t,{name:"if",hash:{},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:16},end:{line:10,column:23}}}))?s:"")+(null!=(s=e.invokePartial(l(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"ID",property:"uniqueId"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(l(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"MAC address",property:"mac"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(l(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.access.label",property:"access"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </dl>\n </div>\n <div class="grid-column-3 padding-left--small sm-grid-column-12 sm-no-padding">\n'+(null!=(s=e.invokePartial(l(i,"common-form-group--textarea-partial"),t,{name:"common-form-group--textarea-partial",hash:{placeholder:"beacon.manage.notes.placeholder",label:"device.properties.property.notes",entity:"device",property:"alias"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <h3 class="bordered-header">Device tags:</h3>\n <div class="grid-row margin-top-negative">\n <div class="grid-column-12">\n'+(null!=(s=e.invokePartial(l(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"tags"},fn:e.program(3,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div id="device-tags-readonly" class="hidden"></div>\n </div>\n </div>\n\n'+(null!=(s=e.invokePartial(l(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</form>\n"},"3_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(4,r,0,o,a),inverse:n.noop,args:["form-label"],data:r,loc:{source:"Dropdown.hbs",start:{line:24,column:16},end:{line:25,column:27}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function externalTemplate(e,t,n){const i=Template$1j(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1k=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group">\n'+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltipClass:"brand-sapphire preformatted",tooltip:"-",property:"rssi1m"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"},3:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{value:null!=(o=null!=t?a(t,"ButtonFeatures"):t)?a(o,"LongPressOff"):o,label:"device.properties.property.disableButton.label",name:"buttonFeatures",class:"device-buttonFeatures",property:"buttonFeatures-longPress"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:""},5:function(e,t,n,i,r,o,a){e.lookupProperty;return""},6:function(e,t,n,i,r){return""},8:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <h3 class="bordered-header">IR settings:</h3>\n <div class="ir-toggle">\n <div class="toggle-wrap">\n <h3 class="toggle-label">
88\n <span id="device-ir-enbled-label">IR enabled</span>\n </h3>\n <div class="toggle">\n <input id="device-irEnabled" type="checkbox" '+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"irEnabled")||(null!=t?a(t,"irEnabled"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"irEnabled",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:93,column:61},end:{line:93,column:76}}}):o)+'>\n <label for="device-irEnabled"></label>\n </div>\n </div>\n </div>\n'},10:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12">\n <div class="panel-info packets">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"IBeacon"):o,label:"device.editor.packets.IBEACON.switchLabel",name:"packets[]",property:"packets-IBEACON"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"proximity"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"major"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"minor"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n </div>\n"},12:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n'+(null!=(s=e.invokePartial(c(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(13,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="panel-info packets">\n'+(null!=(s=e.invokePartial(c(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(s=null!=t?c(t,"Packet"):t)?c(s,"Telemetry"):s,label:"device.editor.packets.TELEMETRY.switchLabel",name:"packets[]",property:"packets-TELEMETRY"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"},13:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},14:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"device.editor.packets.TELEMETRY.info",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:120,column:55},end:{line:120,column:102}}}))},16:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n <div class="panel-info packets">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"Location"):o,label:"device.editor.packets.LOCATION.switchLabel",name:"packets[]",property:"packets-LOCATION"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n </div>\n"},18:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n'+(null!=(s=e.invokePartial(c(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(19,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="panel-info packets">\n'+(null!=(s=e.invokePartial(c(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(s=null!=t?c(t,"Packet"):t)?c(s,"ButtoniBeacon"):s,label:"device.editor.packets.BUTTON.switchLabel",name:"packets[]",property:"packets-BUTTON_IBEACON"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"},19:function(e,t,n,i,r,o,a){e.lookupProperty;return""},20:function(e,t,n,i,r){return' Broadcast additional <a href="https://developer.kontakt.io/hardware/button/" target="_blank"\n class="info-box-link">iBeacon packet</a> after button press.\n'},22:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n <div class="panel-info packets">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"TT_FRAME"):o,label:"device.editor.packets.TT_FRAME.switchLabel",name:"packets[]",property:"packets-TT_FRAME"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n </div>\n"},24:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="panel-info packets">\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneUID"):o,label:"device.editor.packets.EDDYSTONE_UID.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_UID"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"namespace"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.instanceId.help",property:"instanceId"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneURL"):o,label:"device.editor.packets.EDDYSTONE_URL.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_URL"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.url.help",property:"url"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneTLM"):o,label:"device.editor.packets.EDDYSTONE_TLM.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_TLM"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EID"):o,label:"device.editor.packets.EID.switchLabel",name:"packets[]",property:"packets-EID"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"ETLM"):o,label:"device.editor.packets.ETLM.switchLabel",name:"packets[]",property:"packets-ETLM"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"},26:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n'+(null!=(s=e.invokePartial(c(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(27,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="panel-info packets">\n'+(null!=(s=e.invokePartial(c(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(s=null!=t?c(t,"Packet"):t)?c(s,"Kontakt"):s,label:"device.editor.packets.KONTAKT.switchLabel",name:"packets[]",property:"packets-KONTAKT"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"},27:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},28:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"device.editor.packets.KONTAKT.info",{name:"i18n",hash:{}
88,data:r,loc:{source:"Dropdown.hbs",start:{line:181,column:55},end:{line:181,column:100}}}))},30:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=c(n,"if").call(null!=t?t:e.nullContext||{},null!=t?c(t,"AllowKontaktPacketDisabled"):t,{name:"if",hash:{},fn:e.program(31,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:188,column:16},end:{line:197,column:23}}}))?s:""},31:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 '+(null!=(s=c(n,"if").call(null!=t?t:e.nullContext||{},null!=t?c(t,"eddystoneSupportEnabled"):t,{name:"if",hash:{},fn:e.program(32,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:189,column:43},end:{line:189,column:92}}}))?s:"")+'">\n'+(null!=(s=e.invokePartial(c(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(34,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="panel-info packets">\n'+(null!=(s=e.invokePartial(c(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets",value:null!=(s=null!=t?c(t,"Packet"):t)?c(s,"Kontakt"):s,label:"device.editor.packets.KONTAKT.switchLabel",name:"packets[]",property:"packets-KONTAKT",disabled:!0},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"},32:function(e,t,n,i,r){return"padding-top"},34:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},35:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"device.editor.packets.KONTAKT.infoDisabled",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:191,column:55},end:{line:191,column:108}}}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="device-properties-form" class="js-event-form" data-event="post-beaconProperties" class="clearfix">\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.deviceInformationHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:56}}}))+':\n </h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="sm-grid-column-12 grid-column-6 padding-right--small">\n <dl class="device-additional-information">\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.model.label",property:"model"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" <dt>\n "+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.firmware.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:20},end:{line:10,column:67}}}))+':\n </dt>\n <dd>\n <span id="device-firmware"></span>\n <span id="device-available-regular-firmware" class="hidden">\n <i class="icon icon-update firmware-update-available"></i>\n </span>\n <button id="device-optional-firmware-schedule"\n class="button optional-firmware-button primary-light hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateScheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:24},end:{line:20,column:85}}}))+'\n </button>\n <button id="device-optional-firmware-unschedule"\n class="button optional-firmware-button grey hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateUnscheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:25,column:24},end:{line:25,column:87}}}))+"\n </button>\n </dd>\n"+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.access.label",property:"access"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.battery.header",property:"status-batteryLevel"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.lastEventTimestamp.header",property:"status-lastEventTimestamp"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n <dt>"+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.password.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:32,column:20},end:{line:32,column:65}}}))+':</dt>\n <dd id="device-password">
88\n <span class="clickable js-show-password show-password-link js-event-click"\n data-event="click-showPassword">show</span>\n </dd>\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.mac.header",property:"mac"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+'\n </dl>\n </div>\n <div class="sm-grid-column-12 grid-column-3 padding-left--small sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group--textarea-partial"),t,{name:"common-form-group--textarea-partial",hash:{placeholder:"beacon.manage.notes.placeholder",label:"beacon.manage.notes",entity:"device",property:"alias"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <h3 class="bordered-header">General settings:</h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-4 padding-right--small md-no-padding sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"beacon.manage.data.name.description",property:"name"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"beacon.manage.data.customPreset.description",select:!0,property:"preset"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n <div class="grid-column-4 padding-horizontal--small md-no-padding sm-no-padding">\n <div class="device-txPower">\n <label for="device-txPower" class="form-label">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.properties.property.txPower.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:54,column:20},end:{line:54,column:73}}}))+'\n </label>\n <div>\n <select name="txPower" id="device-txPower" class="slider"></select>\n </div>\n </div>\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowEditRssiCalibration"):t,{name:"if",hash:{},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:60,column:12},end:{line:64,column:19}}}))?s:"")+' </div>\n <div class="grid-column-4 padding-left--small md-no-padding sm-no-padding longPress-toggle-container">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{allowedValues:!0,property:"interval"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowButtonFeatures"):t,{name:"if",hash:{},fn:e.program(3,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:68,column:12},end:{line:70,column:19}}}))?s:"")+' </div>\n </div>\n\n <h3 class="bordered-header">Device tags:</h3>\n <div class="grid-row margin-top-negative">\n <div class="grid-column-12">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"tags"},fn:e.program(5,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div id="device-tags-readonly" class="hidden"></div>\n </div>\n </div>\n\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"isPortalBeamOrOnlyIr"):t,{name:"if",hash:{},fn:e.program(8,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:85,column:4},end:{line:98,column:11}}}))?s:"")+'\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.profilesHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:101,column:8},end:{line:101,column:47}}}))+':\n </h3>\n <div id="device-packets-error" class="alert-box error hidden"></div>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-6 padding-right--small md-no-padding sm-no-padding">\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"ibeaconSupportEnabled"):t,{name:"if",hash:{},fn:e.program(10,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:106,column:12},end:{line:116,column:19}}}))?s:"")+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowTelemetry"):t,{name:"if",hash:{},fn:e.program(12,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:117,column:12},end:{line:126,column:19}}}))?s:"")+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowLocation"):t,{name:"if",hash:{},fn:e.program(16,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:127,column:12},end:{line:133,column:19}}}))?s:"")+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowButtonIBeacon"):t,{name:"if",hash:{},fn:e.program(18,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:134,column:12},end:{line:146,column:19}}}))?s:"")+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowTTFrame"):t,{name:"if",hash:{},fn:e.program(22,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:147,column:10},end:{line:153,column:17}}}))?s:"")+' </div>\n <div class="grid-column-6 padding-left--small md-no-padding sm-no-padding sm-margin-top md-margin-top">\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"eddystoneSupportEnabled"):t,{name:"if",hash:{},fn:e.program(24,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:156,column:12},end:{line:176,column:19}}}))?s:"")+"\n"+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowKontaktPacket"):t,{name:"if",hash:{},fn:e.program(26,r,0,o,a),inverse:e.program(30,r,0,o,a),data:r,loc:{source:"Dropdown.hbs",start:{line:178,column:12},end:{line:198,column:19}}}))?s:"")+" </div>\n </div>\n"+(null!=(s=e.invokePartial(u(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</form>\n"},"5_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(6,r,0,o,a),inverse:n.noop,args:["form-label"],data:r,loc:{source:"Dropdown.hbs",start:{line:78,column:16},end:{line:79,column:27}}})||e},useDecorators:!0,"13_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(14,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:120,column:24},end:{line:120,column:113}}})||e},"19_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(20,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:137,column:24},end:{line:140,column:35}}})||e},"27_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(28,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:181,column:24},end:{line:181,column:111}}})||e},"34_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(35,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:191,column:24},end:{line:191,column:119}}})||e},usePartial:!0,useData:!0,useDepths:!0});function beaconProTemplate(e,t,n){const i=Template$1k(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1l=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="device-properties-form" class="js-event-form panel" data-event="post-beaconProperties" class="clearfix">\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.deviceInformationHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:56}}}))+':\n </h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="sm-grid-column-12 grid-column-6 padding-right--small sm-no-padding">\n <dl class="device-additional-information">\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.model.label",property:"model"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" <dt>\n "+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.firmware.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:20},end:{line:10,column:67}}}))+':\n </dt>\n <dd>
88\n <span id="device-firmware"></span>\n <span id="device-available-regular-firmware" class="hidden">\n <i class="icon icon-update firmware-update-available"></i>\n </span>\n <button id="device-optional-firmware-schedule"\n class="button optional-firmware-button primary-light hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateScheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:24},end:{line:20,column:85}}}))+'\n </button>\n <button id="device-optional-firmware-unschedule"\n class="button optional-firmware-button grey hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateUnscheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:25,column:24},end:{line:25,column:87}}}))+"\n </button>\n </dd>\n"+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.access.label",property:"access"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.battery.header",property:"status-batteryLevel"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.lastEventTimestamp.header",property:"status-lastEventTimestamp"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n <dt>"+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.password.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:32,column:20},end:{line:32,column:65}}}))+':</dt>\n <dd id="device-password">\n <span class="clickable js-show-password show-password-link js-event-click" data-event="click-showPassword">show</span>\n </dd>\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.mac.header",property:"mac"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+'\n </dl>\n </div>\n <div class="sm-grid-column-12 grid-column-3 padding-left--small sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group--textarea-partial"),t,{name:"common-form-group--textarea-partial",hash:{placeholder:"beacon.manage.notes.placeholder",label:"beacon.manage.notes",entity:"device",property:"alias"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n\n <h3 class="bordered-header">Device tags:</h3>\n <div class="grid-row margin-top-negative">\n <div class="grid-column-12">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"tags"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div id="device-tags-readonly" class="hidden"></div>\n </div>\n </div>\n\n'+(null!=(s=e.invokePartial(u(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</form>\n"},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["form-label"],data:r,loc:{source:"Dropdown.hbs",start:{line:49,column:16},end:{line:50,column:27}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function cloudBeaconTemplate(e,t,n){const i=Template$1l(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1m=Handlebars.template({1:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group">\n'+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltipClass:"brand-sapphire preformatted",tooltip:"-",property:"rssi1m"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n"},3:function(e,t,n,i,r,o,a){e.lookupProperty;return""},4:function(e,t,n,i,r){return""},6:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12">\n <div class="panel-info packets">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"IBeacon"):o,label:"device.editor.packets.IBEACON.switchLabel",name:"packets[]",property:"packets-IBEACON"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"proximity"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"major"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"minor"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n </div>\n"},8:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n'+(null!=(s=e.invokePartial(c(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(9,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="panel-info packets">\n'+(null!=(s=e.invokePartial(c(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(s=null!=t?c(t,"Packet"):t)?c(s,"Telemetry"):s,label:"device.editor.packets.TELEMETRY.switchLabel",name:"packets[]",property:"packets-TELEMETRY"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"},9:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},10:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"device.editor.packets.TELEMETRY.info",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:103,column:55},end:{line:103,column:102}}}))},12:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n <div class="panel-info packets">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"Location"):o,label:"device.editor.packets.LOCATION.switchLabel",name:"packets[]",property:"packets-LOCATION"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n </div>\n"},14:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n'+(null!=(s=e.invokePartial(c(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(15,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="panel-info packets">\n'+(null!=(s=e.invokePartial(c(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(s=null!=t?c(t,"Packet"):t)?c(s,"ButtoniBeacon"):s,label:"device.editor.packets.BUTTON.switchLabel",name:"packets[]",property:"packets-BUTTON_IBEACON"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"},15:function(e,t,n,i,r,o,a){e.lookupProperty;return""},16:function(e,t,n,i,r){return' Broadcast additional <a href="https://developer.kontakt.io/hardware/button/" target="_blank"\n class="info-box-link">iBeacon packet</a> after button press.\n'},18:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="panel-info packets">\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneUID"):o,label:"device.editor.packets.EDDYSTONE_UID.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_UID"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"\n"+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:!0,property:"namespace"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.instanceId.help",property:"instanceId"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneURL"):o,label:"device.editor.packets.EDDYSTONE_URL.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_URL"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"device.properties.property.url.help",property:"url"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="border-bottom--gray-2">\n'+(null!=(o=e.invokePartial(a(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(o=null!=t?a(t,"Packet"):t)?a(o,"EddystoneTLM"):o,label:"device.editor.packets.EDDYSTONE_TLM.switchLabel",name:"packets[]",property:"packets-EDDYSTONE_TLM"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+" </div>\n </div>\n"},20:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 padding-top">\n'+(null!=(s=e.invokePartial(c(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(21,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="panel-info packets">\n'+(null!=(s=e.invokePartial(c(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets device-packets-attr",value:null!=(s=null!=t?c(t,"Packet"):t)?c(s,"Kontakt"):s,label:"device.editor.packets.KONTAKT.switchLabel",name:"packets[]",property:"packets-KONTAKT"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"},21:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},22:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"device.editor.packets.KONTAKT.info",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:153,column:55},end:{line:153,column:100}}}))},24:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=c(n,"if").call(null!=t?t:e.nullContext||{},null!=t?c(t,"AllowKontaktPacketDisabled"):t,{name:"if",hash:{},fn:e.program(25,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:160,column:16},end:{line:169,column:23}}}))?s:""},25:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="grid-column-12 '+(null!=(s=c(n,"if").call(null!=t?t:e.nullContext||{},null!=t?c(t,"eddystoneSupportEnabled"):t,{name:"if",hash:{},fn:e.program(26,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:161,column:43},end:{line:161,column:92}}}))?s:"")+'">\n'+(null!=(s=e.invokePartial(c(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(28,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="panel-info packets">\n'+(null!=(s=e.invokePartial(c(i,"common-toggle-partial"),t,{name:"common-toggle-partial",hash:{errorContainer:"#device-packets-error",class:"device-packets",value:null!=(s=null!=t?c(t,"Packet"):t)?c(s,"Kontakt"):s,label:"device.editor.packets.KONTAKT.switchLabel",name:"packets[]",property:"packets-KONTAKT",disabled:!0},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" </div>\n </div>\n"},26:function(e,t,n,i,r){return"padding-top"},28:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},29:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"device.editor.packets.KONTAKT.infoDisabled",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:163,column:55},end:{line:163,column:108}}}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="device-properties-form" class="js-event-form" data-event="post-beaconProperties" class="clearfix">\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.deviceInformationHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:56}}}))+':\n </h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="sm-grid-column-12 grid-column-6 padding-right--small">\n <dl class="device-additional-information"
88>\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.model.label",property:"model"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.vendor.label",property:"vendor"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" <dt>\n "+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.firmware.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:20},end:{line:11,column:67}}}))+':\n </dt>\n <dd>\n <span id="device-firmware"></span>\n <span id="device-available-regular-firmware" class="hidden">\n <i class="icon icon-update firmware-update-available"></i>\n </span>\n <button id="device-optional-firmware-schedule"\n class="button optional-firmware-button primary-light hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateScheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:21,column:24},end:{line:21,column:85}}}))+'\n </button>\n <button id="device-optional-firmware-unschedule"\n class="button optional-firmware-button grey hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateUnscheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:26,column:24},end:{line:26,column:87}}}))+"\n </button>\n </dd>\n"+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.access.label",property:"access"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.battery.header",property:"status-batteryLevel"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.lastEventTimestamp.header",property:"status-lastEventTimestamp"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n <dt>"+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.password.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:33,column:20},end:{line:33,column:65}}}))+':</dt>\n <dd id="device-password">\n <span class="clickable js-show-password show-password-link js-event-click"\n data-event="click-showPassword">show</span>\n </dd>\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.mac.header",property:"mac"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+'\n </dl>\n </div>\n <div class="sm-grid-column-12 grid-column-3 padding-left--small sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group--textarea-partial"),t,{name:"common-form-group--textarea-partial",hash:{placeholder:"beacon.manage.notes.placeholder",label:"beacon.manage.notes",entity:"device",property:"alias"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <h3 class="bordered-header">General settings:</h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-4 padding-right--small md-no-padding sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"beacon.manage.data.name.de
88scription",property:"name"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{tooltip:"beacon.manage.data.customPreset.description",select:!0,property:"preset"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n <div class="grid-column-4 padding-horizontal--small md-no-padding sm-no-padding">\n <div class="device-txPower">\n <label for="device-txPower" class="form-label">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.properties.property.txPower.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:55,column:20},end:{line:55,column:73}}}))+'\n </label>\n <div>\n <select name="txPower" id="device-txPower" class="slider"></select>\n </div>\n </div>\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowEditRssiCalibration"):t,{name:"if",hash:{},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:61,column:12},end:{line:65,column:19}}}))?s:"")+' </div>\n <div class="grid-column-4 padding-left--small md-no-padding sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{allowedValues:!0,property:"interval"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n\n <h3 class="bordered-header">Device tags:</h3>\n <div class="grid-row margin-top-negative">\n <div class="grid-column-12">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"tags"},fn:e.program(3,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div id="device-tags-readonly" class="hidden"></div>\n </div>\n </div>\n\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.profilesHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:84,column:8},end:{line:84,column:47}}}))+':\n </h3>\n <div id="device-packets-error" class="alert-box error hidden"></div>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-6 padding-right--small md-no-padding sm-no-padding">\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"ibeaconSupportEnabled"):t,{name:"if",hash:{},fn:e.program(6,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:89,column:12},end:{line:99,column:19}}}))?s:"")+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowTelemetry"):t,{name:"if",hash:{},fn:e.program(8,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:100,column:12},end:{line:109,column:19}}}))?s:"")+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowLocation"):t,{name:"if",hash:{},fn:e.program(12,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:110,column:12},end:{line:116,column:19}}}))?s:"")+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowButtonIBeacon"):t,{name:"if",hash:{},fn:e.program(14,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:117,column:12},end:{line:129,column:19}}}))?s:"")+' </div>\n <div class="grid-column-6 padding-left--small md-no-padding sm-no-padding sm-margin-top md-margin-top">\n'+(null!=(s=u(n,"if").call(c,null!=t?u(t,"eddystoneSupportEnabled"):t,{name:"if",hash:{},fn:e.program(18,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:132,column:12},end:{line:148,column:19}}}))?s:"")+"\n"+(null!=(s=u(n,"if").call(c,null!=t?u(t,"AllowKontaktPacket"):t,{name:"if",hash:{},fn:e.program(20,r,0,o,a),inverse:e.program(24,r,0,o,a),data:r,loc:{source:"Dropdown.hbs",start:{line:150,column:12},end:{line:170,column:19}}}))?s:"")+" </div>\n </div>\n"+(null!=(s=e.invokePartial(u(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</form>\n"},"3_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(4,r,0,o,a),inverse:n.noop,args:["form-label"],data:r,loc:{source:"Dropdown.hbs",start:{line:76,column:16},end:{line:77,column:27}}})||e},useDecorators:!0,"9_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(10,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:103,column:24},end:{line:103,column:113}}})||e},"15_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(16,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:120,column:24},end:{line:123,column:35}}})||e},"21_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(22,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:153,column:24},end:{line:153,column:111}}})||e},"28_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(29,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:163,column:24},end:{line:163,column:119}}})||e},usePartial:!0,useData:!0,useDepths:!0});function partnerDeviceTemplate(e,t,n){const i=Template$1m(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1n=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="device-properties-form" class="js-event-form" data-event="post-beaconProperties" class="clearfix">\n <h3 class="bordered-header">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.deviceInformationHeader",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:3,column:56}}}))+':\n </h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="sm-grid-column-12 grid-column-6 padding-right--small">\n <dl class="device-additional-information">\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.model.label",property:"model"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+" <dt>\n "+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.firmware.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:20},end:{line:10,column:67}}}))+':\n </dt>\n <dd>
88\n <span id="device-firmware"></span>\n <span id="device-available-regular-firmware" class="hidden">\n <i class="icon icon-update firmware-update-available"></i>\n </span>\n <button id="device-optional-firmware-schedule"\n class="button optional-firmware-button primary-light hidden" type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateScheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:19,column:24},end:{line:19,column:85}}}))+'\n </button>\n <button id="device-optional-firmware-unschedule" class="button optional-firmware-button grey hidden"\n type="button">\n '+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"device.editor.firmware.optionalUpdateUnscheduleLabel",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:23,column:24},end:{line:23,column:87}}}))+"\n </button>\n </dd>\n"+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.share.access.label",property:"access"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.battery.header",property:"status-batteryLevel"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.lastEventTimestamp.header",property:"status-lastEventTimestamp"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"\n <dt>"+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.data.password.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:30,column:20},end:{line:30,column:65}}}))+':</dt>\n <dd id="device-password">\n <span class="clickable js-show-password show-password-link js-event-click"\n data-event="click-showPassword">show</span>\n </dd>\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.mac.header",property:"mac"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+'\n </dl>\n </div>\n <div class="sm-grid-column-12 grid-column-3 padding-left--small sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group--textarea-partial"),t,{name:"common-form-group--textarea-partial",hash:{placeholder:"beacon.manage.notes.placeholder",label:"beacon.manage.notes",entity:"device",property:"alias"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <h3 class="bordered-header">General settings:</h3>\n <div class="grid-row sm-flex-direction--column md-flex-direction--column">\n <div class="grid-column-6 padding-right--small md-no-padding sm-no-padding">\n <dl class="device-additional-information">\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.name.label",property:"name"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"beacon.manage.data.customPreset.label",property:"preset"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </dl>\n </div>\n <div class="grid-column-6 padding-left--small md-no-padding sm-no-padding">\n <dl class="device-additional-information">\n'+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.txPower.label",property:"txPower"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"device-additional-info-partial"),t,{name:"device-additional-info-partial",hash:{label:"device.properties.property.interval.label",property:"interval"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </dl>\n </div>\n </div>\n\n <h3 class="bordered-header">Device tags:</h3>\n <div class="grid-row margin-top-negative">\n <div class="grid-column-12">\n'+(null!=(s=e.invokePartial(u(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{property:"tags"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div id="device-tags-readonly" class="hidden"></div>\n </div>\n </div>\n\n <div id="device-packets-error" class="alert-box error hidden"></div>\n'+(null!=(s=e.invokePartial(u(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</form>\n"},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["form-label"],data:r,loc:{source:"Dropdown.hbs",start:{line:63,column:12},end:{line:64,column:23}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function nanoSeriesTemplate(e,t,n){const i=Template$1n(e,t);return n||"undefined"==typeof $?i:$(i)}const TxPowerSettingsMap={[Model.CardBeacon]:new TxPowerSliderSettings({range:{min:1,max:6},step:5}),[Model.SmartBeacon]:new TxPowerSliderSettings({range:{min:0,max:7}}),[Model.UsbBeacon]:new TxPowerSliderSettings({range:{min:0,max:7}}),[Model.SensorBeacon]:new TxPowerSliderSettings({range:{min:0,max:7}}),standard:new TxPowerSliderSettings({range:{min:1,max:7}})},IntervalSettingsMin={[Model.BeaconPro]:100,[Model.TagBeacon]:100,[Model.HeavyDutyBeacon]:100,[Model.ToughBeaconTwo]:100,[Model.TTBeacon]:100,[Model.BraceletTag]:100,[Model.BraceletTagTwo]:100,[Model.UniversalTag]:100,[Model.SmartBeaconThree]:100,[Model.AnchorBeacon2]:100,[Model.MinewS1]:100,[Model.MinewI3]:100,[Model.MinewI7]:100,[Model.CardBeaconTwo]:100,[Model.NanoTag]:100,[Model.PuckTag]:100,[Model.LanyardTag]:100,standard:DEVICE_PROPERTY_INTERVAL_MIN};class GeneralPropertiesView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.extend(e,{events:{"submit #device-properties-form":"onFormSubmit","click #device-
88optional-firmware-schedule":"scheduleFirmwareUpdate","click #device-optional-firmware-unschedule":"unScheduleFirmwareUpdate","click .js-show-password":"showDevicePassword","change #device-irEnabled":"toggleIrState"},className:"general-properties-view"})),this.tooltips=new Tooltip(this),this.irEnabled=!0}load(){return this.template=this.getTemplate(),Promise.resolve()}render(){return this.$el.html(this.template(_$1.extend(this.viewModel(),{irEnabled:this.isIrEnabled()}))),this.model.getDevice().startTracking(),this.model.getConfig().startTracking(),this.model.getDevice().get("model")===Model.BeaconPro&&this.listenTo(this.model.getConfig(),"change:packets",this.toggleBeaconProPackets.bind(this)),this}detach(){validationService.unbind(this,{model:this.model.getDevice()}),validationService.unbind(this,{model:this.model.getConfig()}),this.txPowerSliderObserver.disconnect(),this.unstickit(this.model.getConfig()),this.unstickit(this.model.getDevice()),this.unstickit(this.model),this.$el.detach()}attach(){validationService.bind(this,{model:this.model.getDevice(),skipEmptyProperties:!1}),validationService.bind(this,{model:this.model.getConfig(),skipEmptyProperties:!1,attributes:this.model.getConfig().validationGroup(VALIDATE_GENERAL_PROPERTIES)}),this.stickit(this.model.getConfig(),this.configBindings()),this.stickit(this.model.getDevice(),this.deviceBindings()),this.stickit(this.model,this.viewModelBindings()),this.tooltips.bindTooltips()}remove(){this.model.getDevice().stopTracking(),this.model.getConfig().stopTracking(),super.remove()}deviceBindings(){return{"#device-firmware":"firmware","#device-access":"access","#device-model":"product","#device-status-batteryLevel":{observe:"batteryLevel",onGet:e=>e?-1===e?"External Power":"".concat(e,"%"):i18n.get("beacon.manage.data.notSynchronized")},"#device-status-lastEventTimestamp":this.statusBindingFactory("lastSeen","",e=>hooks$1(e,"X").format("DD/MM/YYYY HH:mm")),"#icon-model":{attributes:[{name:"class",observe:["product","specification","deviceType","model"],onGet:e=>{let[t,n,i,r]=e;return kontaktTheme.beaconIcon(t,n,i,r)}}]},"#device-mac":"mac","#device-uniqueId":"uniqueId","#device-alias":{observe:"alias",setOptions:{validate:!0}},"#device-vendor":"vendor",".device-tags":{classes:securityService.visibleClassBinding("allowOnDevice",DeviceAction.EditVirtualProperties,this.model.getDevice()
88)},"#device-tags":{observe:"tags",initialize:(e,t)=>{e.tagEditor({initialTags:t.get("tags"),maxTags:DEVICE_PROPERTY_TAGS_MAX,maxLength:DEVICE_PROPERTY_TAG_MAX_LENGTH,placeholder:"+ADD A TAG",beforeTagSave:(e,t,n,i,r)=>r.replace(NON_ALPHANUMERIC_REGEXP,""),onChange:(e,n,i)=>{t.set("tags",i)}})},destroy:e=>e.tagEditor("destroy"),update:(e,t,n)=>{const i=n.get("tags");if(!i||0===i.length){const t=e.tagEditor("getTags")[0].tags;t&&t.forEach(t=>e.tagEditor("removeTag",t))}}},"#device-tags-readonly":{observe:"tags",classes:securityService.hiddenClassBinding("allowOnDevice",DeviceAction.EditVirtualProperties,this.model.getDevice()),update:(e,t)=>{e.html(tagsInlineTemplate({tags:t}))}},"#device-previous-interval":this.previousValueBindingFactory("interval"),"#device-previous-txPower":this.previousValueBindingFactory("txPower"),"#device-previous-proximity":this.previousValueBindingFactory("proximity"),"#device-previous-major":this.previousValueBindingFactory("major"),"#device-previous-minor":this.previousValueBindingFactory("minor"),"#device-previous-name":this.previousValueBindingFactory("name"),"#device-previous-namespace":this.previousValueBindingFactory("namespace"),"#device-previous-instanceId":this.previousValueBindingFactory("instanceId"),"#device-previous-url":this.previousValueBindingFactory("url"),"#device-previous-irBlinkInterval":this.previousValueBindingFactory("irBlinkInterval"),"#device-previous-irRoomNumber":this.previousValueBindingFactory("irRoomNumber"),".device-interval .device-allowed-values":{observe:"model",onGet:e=>"from ".concat(IntervalSettingsMin.hasOwnProperty(e)?IntervalSettingsMin[e]:IntervalSettingsMin.standard," to ").concat(DEVICE_PROPERTY_INTERVAL_MAX)},".device-irBlinkInterval .device-allowed-values":{observe:"model",onGet:e=>e===Model.PortalBeam?i18n.get("device.properties.property.irBlinkInterval.allowedValues"):null},".device-irRoomNumber .device-allowed-values":{observe:"model",onGet:e=>e===Model.PortalBeam?i18n.get("device.properties.property.irRoomNumber.allowedValues"):null},"#device-security-hashingPolicy-label":{observe:"hashingPolicy",onGet:e=>e===HashingPolicy.On?i18n.get("general.enabled"):i18n.get("general.disabled"),classes:{enabled:{observe:"hashingPolicy",onGet:e=>e===HashingPolicy.On},disabled:{observe:"hashingPolicy",onGet:e=>e===HashingPolicy.Off}}},"#device-security-hashingPolicy":{observe:"hashingPolicy",onGet:e=>e===HashingPolicy.On,onSet:e=>e?HashingPolicy.On:HashingPolicy.Off}}}configBindings(){return{"#device-interval":{observe:"interval",attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPhysicalProperties,this.model.getDevice()
88)],setOptions:{validate:!0}},"#device-proximity":{observe:"proximity",attributes:[{name:"disabled",observe:["packets","profiles"],onGet:e=>{let[t,n]=e;return!securityService.allowOnDevice(DeviceAction.EditPropertyProximity,this.model.getDevice())||(securityService.allowOnDevice(DeviceAction.SeePackets,this.model.getDevice())?t.length>0&&!_$1.contains(t,Packet.IBeacon):n.length>0&&!_$1.contains(n,Profile.IBeacon))}}],setOptions:{validate:!0}},"#device-major":{observe:"major",attributes:[{name:"disabled",observe:["packets","profiles"],onGet:e=>{let[t,n]=e;return!securityService.allowOnDevice(DeviceAction.EditPropertyMajor,this.model.getDevice())||(securityService.allowOnDevice(DeviceAction.SeePackets,this.model.getDevice())?t.length>0&&!_$1.contains(t,Packet.IBeacon):n.length>0&&!_$1.contains(n,Profile.IBeacon))}}],setOptions:{validate:!0}},"#device-minor":{observe:"minor",attributes:[{name:"disabled",observe:["packets","profiles"],onGet:e=>{let[t,n]=e;return!securityService.allowOnDevice(DeviceAction.EditPropertyMinor,this.model.getDevice()
88)||(securityService.allowOnDevice(DeviceAction.SeePackets,this.model.getDevice())?t.length>0&&!_$1.contains(t,Packet.IBeacon):n.length>0&&!_$1.contains(n,Profile.IBeacon))}}],setOptions:{validate:!0}},"#device-name":{observe:"name",attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPhysicalProperties,this.model.getDevice())],setOptions:{validate:!0}},"#device-namespace":{observe:"namespace",attributes:[{name:"disabled",observe:["packets","profiles"],onGet:e=>{let[t,n]=e;return!securityService.allowOnDevice(DeviceAction.EditPropertyNamespace,this.model.getDevice())||(securityService.allowOnDevice(DeviceAction.SeePackets,this.model.getDevice())?!_$1.contains(t,Packet.EddystoneUID):!_$1.contains(n,Profile.Eddystone))}}],setOptions:{validate:!0}},"#device-instanceId":{observe:"instanceId",attributes:[{name:"disabled",observe:["packets","profiles"],onGet:e=>{let[t,n]=e;return!securityService.allowOnDevice(DeviceAction.EditPropertyInstanceId,this.model.getDevice())||(securityService.allowOnDevice(DeviceAction.SeePackets,this.model.getDevice()
88)?!_$1.contains(t,Packet.EddystoneUID):!_$1.contains(n,Profile.Eddystone))}}],setOptions:{validate:!0}},"#device-url":{observe:"url",attributes:[{name:"disabled",observe:["packets","profiles"],onGet:e=>{let[t,n]=e;return!securityService.allowOnDevice(DeviceAction.EditPropertyUrl,this.model.getDevice())||(securityService.allowOnDevice(DeviceAction.SeePackets,this.model.getDevice())?!_$1.contains(t,Packet.EddystoneURL):!_$1.contains(n,Profile.Eddystone))}}],setOptions:{validate:!0}},"#device-txPower":this.getTxPowerBinding(this.model.getDevice().get("model")),".device-packets":{observe:"packets",onSet:e=>_$1.isArray(e)?e:e?[e]:[],setOptions:{validate:!0}},".device-packets-attr":{attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyPackets,this.model.getDevice())]},".device-buttonFeatures":{observe:"buttonFeatures",onGet:e=>!(!e||!e.includes(ButtonFeatures.LongPressOff))&&ButtonFeatures.LongPressOff,onSet:e=>e?[e]:[],setOptions:{validate:!0}},".device-profiles":{observe:"profiles",onSet:e=>_$1.isArray(e)?e:[e],onGet:e=>_$1.isArray(e)&&e.length?e[0]:e,attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyProfiles,this.model.getDevice()
88)],setOptions:{validate:!0}},"#device-proximity-help":{attributes:[{name:"data-tooltip-content",observe:"shuffled",onGet:e=>e?i18n.get("device.properties.property.proximity.help.shuffled"):i18n.get("device.properties.property.proximity.help")}]},"#device-namespace-help":{attributes:[{name:"data-tooltip-content",observe:"shuffled",onGet:e=>e?i18n.get("device.properties.property.namespace.help.shuffled"):i18n.get("device.properties.property.namespace.help")}]},'label[for="device-rssi1m"]':{observe:"txPower",onGet:e=>i18n.get("device.properties.property.rssi1m.label",e)},"#device-rssi1m":validationService.observe({observe:["rssi1m","txPower"],onGet:e=>{let[t,n]=e;return this.rssiCalibrationGetter(t,n)},onSet:e=>this.rssiCalibrationSetter(e)}),"#device-rssi1m-help":{attributes:[{name:"data-tooltip-content",observe:"rssi1m",onGet:e=>e.map((e,t)=>"".concat(t," | ").concat(e)).join("\n")}]},"#device-irBlinkInterval":{observe:"irBlinkInterval",setOptions:{validate:!0}},"#device-irRoomNumber":{observe:"irRoomNumber",setOptions:{validate:!0}}}}formatModelName(e){return DeviceModelLabels[e]}viewModelBindings(){return{"#device-preset":{observe:"_currentPreset",selectOptions:{collection:this.model.getAvailablePresets(),labelPath:"name",valuePath:"name",defaultOption:{label:i18n.get("device.presets.default.name"),value:null}},attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPhysicalProperties,this.model.getDevice()
88)]},"#device-preset-help":{attributes:[{name:"data-tooltip-content",observe:["preset","_currentPreset"],onGet:e=>{let[t]=e;return t.get("description")||i18n.get("beacon.manage.data.customPreset.description")}}]},"#device-firmware":{classes:{"hilight-firmware":"_availableOptionalFirmware"}},"#device-available-regular-firmware":{classes:{hidden:{observe:"_availableRegularFirmware",onGet:e=>!e}},attributes:[{name:"data-tooltip-content",observe:"_availableRegularFirmware",onGet:e=>e?i18n.get("table.row.notice.firmware",e):""}]},"#device-optional-firmware-schedule":{classes:{hidden:{observe:"_availableOptionalFirmware",onGet:e=>!e}},attributes:[{name:"data-tooltip-content",observe:"_availableOptionalFirmware",onGet:e=>e?i18n.get("device.properties.property.firmware.upgrade.available.label",e):""}]},"#device-optional-firmware-unschedule":{classes:{hidden:{observe:"_scheduledFirmware",onGet:e=>!e}},attributes:[{name:"data-tooltip-content",observe:"_scheduledFirmware",onGet:e=>e?i18n.get("device.properties.property.firmware.upgrade.pending.label",e):""}]}}}previousValueBindingFactory(e){return{observe:"previous.".concat(e),classes:{hidden:{observe:"previous.".concat(e),onGet:e=>_$1.isNull(e)||_$1.isUndefined(e)}},attributes:[{name:"data-value",observe:"previous.".concat(e)}]}}statusBindingFactory(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_$1.identity;return{observe:e,onGet:e=>e?n(e)+(t.length?t:""):i18n.get("beacon.manage.data.notSynchronized")}}saveModel(){const e=this.model.save();e.then(()=>{toastr.success(i18n.get("device.updated.message"))},e=>{toastr.detailedError(e)}),l.pushPromise(e)}onFormSubmit(e){e.preventDefault();let t=!0;if(this.model.getDevice().get("deviceType")!==DeviceType.External&&(t=this.model.getConfig().isValid(!0)),this.model.getDevice().isValid(!0)&&t){securityService.allowOnDevice(DeviceAction.KontaktPacket,this.model.getDevice()
88)&&this.model.getConfig().previous("packets").includes(Packet.Kontakt)&&!this.model.getConfig().get("packets").includes(Packet.Kontakt)?new Confirm({title:"Confirm disabling Kontakt packet",description:"Disabling Kontakt packet will make your device unable to be configured. If you want to apply configuration on your device after disabling Kontakt packet, you have to press the button to temporarily enable it. Are you sure?",confirmText:"Yes",cancelText:"No"}).then(()=>{this.saveModel()}):this.saveModel()}}scheduleFirmwareUpdate(){new Confirm({description:i18n.get("device.properties.property.firmware.upgrade.warning1")}).then(()=>new Confirm({description:i18n.get("device.properties.property.firmware.upgrade.warning2")})).then(()=>{const e=this.model.getOptionalFirmware();if(!e)return;const t=e.schedule().then(()=>this.model.fetchFirmwares(this.model.get("device")).then(()=>{toastr.success(i18n.get("device.updated.message"))}),e=>{toastr.detailedError(e)});l.pushPromise(t)})}unScheduleFirmwareUpdate(){const e=this.model.getScheduledOptionalFirmware();if(!e)return;const t=e.unschedule().then(()=>this.model.fetchFirmwares(this.model.get("device")).then(()=>{toastr.success(i18n.get("device.updated.message"))}),e=>{toastr.detailedError(e)});l.pushPromise(t)}showDevicePassword(){const e=this.model.getDevice().fetchPassword();e.then(()=>{this.$el.find("#device-password").text(this.model.getDevice().get("password"))}),l.pushPromise(e)}getTemplate(){const e=this.model.getDevice().get("deviceType"),t=this.model.getDevice().get("model");return e===DeviceType.CloudBeacon?cloudBeaconTemplate:t===Model.CardBeacon?cardBeaconTemplate:t===Model.NanoSeries?nanoSeriesTemplate:[Model.BeaconPro,Model.HeavyDutyBeacon,Model.SmartBeaconThree,Model.MinewS1,Model.MinewI3,Model.MinewI7,Model.TagBeacon,Model.CardBeaconTwo,Model.ToughBeaconTwo,Model.BraceletTag,Model.BraceletTagTwo,Model.UniversalTag,Model.TTBeacon,Model.PuckTag,Model.LanyardTag,Model.NanoTag,Model.PortalBeam,Model.PortalBeamIr,Model.SmartBadge,Model.AssetTag2,Model.BeamMini,Model.DispenserBeacon,Model.AnchorBeacon2].includes(t)?beaconProTemplate:e!==DeviceType.External&&managedModel(this.model.getDevice()
88)?t===Model.PartnerDevice||t.startsWith("MINEW")?partnerDeviceTemplate:baseTemplate:externalTemplate}getTxPowerBinding(e){const t=TxPowerSettingsMap.hasOwnProperty(e)?TxPowerSettingsMap[e]:TxPowerSettingsMap.standard;return{observe:"txPower",selectOptions:{collection:t.getCollection()},sliderSettings:t.toJSON(),attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPhysicalProperties,this.model.getDevice())]}}viewModel(){return _$1.extend(this.model.toTemplate(),{Packet:Packet,ButtonFeatures:ButtonFeatures,Profile:Profile,AllowEditRssiCalibration:securityService.allowOnDevice(DeviceAction.EditRssiCalibration,this.model.getDevice()),AllowTelemetry:securityService.allowOnDevice(DeviceAction.EditTelemetry,this.model.getDevice()),AllowLocation:securityService.allowOnDevice(DeviceAction.EditLocation,this.model.getDevice()),AllowTTFrame:securityService.allowOnDevice(DeviceAction.EditTTFrame,this.model.getDevice()),AllowButtonIBeacon:securityService.allowOnDevice(DeviceAction.ButtoniBeacon,this.model.getDevice()
88),AllowButtonFeatures:securityService.allowOnDevice(DeviceAction.ButtonFeatures,this.model.getDevice()),AllowKontaktPacket:securityService.allowOnDevice(DeviceAction.KontaktPacket,this.model.getDevice()),AllowKontaktPacketDisabled:securityService.allowOnDevice(DeviceAction.KontaktPacketDisabled,this.model.getDevice())})}toggleBeaconProPackets(e,t){const n=e=>Array.isArray(t)&&-1!==t.indexOf(e);!n(Packet.EID)&&n(Packet.ETLM)&&(t.push(Packet.EID),e.set({packets:t},{silent:!0}),e.trigger("change:packets",e,t))}getRssiCalibrationIndex(e,t){return e===Model.CardBeacon?Math.floor(t/6):t}rssiCalibrationSetter(e){const t=this.model.getDevice().get("model"),n=this.model.getConfig().get("rssi1m").slice(),i=this.model.getConfig().get("txPower");return n[this.getRssiCalibrationIndex(t,i)]=e,[n,i]}rssiCalibrationGetter(e,t){const n=this.model.getDevice().get("model");return e[this.getRssiCalibrationIndex(n,t)]}isIrEnabled(){return this.model.getConfig().get("irBlinkInterval")>0?(this.isEnabled=!0,"checked"):(this.isEnabled=!1,"")}toggleIrState(){this.isEnabled?this.model.getConfig().set("irBlinkInterval",0):this.model.getConfig().set("irBlinkInterval",2),this.isEnabled=!this.isEnabled}}class ListElementView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super(_$1.defaults(e,{tagName:"li"})),t&&!e.template&&(e.template=_$1.constant("<a></a>")),this.template=e.template||_$1.constant(""),this.bindings=e.bindings||{},this.listModel=e.listModel||{}}getBindings(){const e=_$1.result(this,"bindings");return _$1.extend({":el":{attributes:[{name:"data-element-id",observe:"id"}]}},e)}render(){return this.unstickit(),this.$el.html(this.template(_$1.extend(this.listModel,this.model.toJSON()))),this.stickit(this.model,this.getBindings()),this}}class ListView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=_$1.defaults(e,{tagName:"ul",childBindings:{},addOrderNumber:!0}),super(e),this.template=e.template,this.listContainer=e.listContainer,this.onChildInit=e.onChildInit,this.addOrderNumber=e.addOrderNumber,this.childViewOptions=this.pickChildViewOptions(e),this.childViews=[]}render(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(_$1.isFunction(this.template)){const e=this.model?this.model.toJSON():{};this.$el.html(this.template(e))}return this.resetNumeration(),e&&this.addAll(),this}addOne(e,t,n){this.addOrderNumber&&!t.get("lp")&&t.set("lp",this.collection.length);const i=this.createChildView(t,n);return e.append(i.render().el),this.childViews.push(i),_$1.isFunction(this.onChildInit)&&this.onChildInit.call(i,t),i}addAll(){const e=this.$listContainer=this.listContainer?this.$el.find(this.listContainer):this.$el,t=jquery(document.createDocumentFragment());this.removeAll();const n=this.model?this.model.toJSON():{};this.collection.each(e=>{this.addOne(t,e,n)}),e.append(t)}removeAll(){const e=this.$listContainer=this.listContainer?this.$el.find(this.listContainer):this.$el;this.childViews.forEach(e=>e.remove()),this.childViews=[],e.empty()}removeOne(e){this.childViews.forEach(t=>{t.model.get("id")===e&&(t.remove(),this.resetNumeration())})}remove(){this.removeAll(),super.remove()}pickChildViewOptions(e){const t={};return _$1.each(e,(e,n)=>{startsWith(n,"child")&&(n=(n=n.substr("child".length)).charAt(0).toLowerCase()+n.slice(1),t[n]=e)}),t}createChildView(e,t){return new ListElementView(_$1.extend(this.childViewOptions,{model:e,listModel:t}))}resetNumeration(){if(!this.addOrderNumber)return;let e=0;this.collection.forEach(t=>{t.set("lp",++e)})}}const START_DATE$1=hooks$1().add(1,"month").format("YYYY-MM-DD"),SHARE_AS_VIEWER=DeviceAccess.Viewer,SHARE_AS_EDITOR=DeviceAccess.Editor,SHARE_AS_SUBORDINATE=DeviceAccess.Subordinate,MOVE="MOVE";class SingleDeviceShareModel extends backbone.Model{constructor(e,t){super(e,t)}defaults(){return{access:null,expirationDate:START_DATE$1,shareForever:!1,managerId:null,managerMail:null,uniqueId:null,deviceId:null}}validation(){return{access:{oneOf:[SHARE_AS_VIEWER,SHARE_AS_EDITOR,SHARE_AS_SUBORDINATE,MOVE]},managerMail:{pattern:"email"},managerId:{required:!0}}}save(){const e=this.getSharingMethod(this.get("access"));return _$1.isUndefined(e)?jquery.Deferred().reject("Unknown access level").promise():e.call(this).then(()=>this)}destroy(){const e=this.getUsharingMethod(this.get("access"));return _$1.isUndefined(e)?jquery.Deferred().reject("Unknown access level").promise():e.call(this).then(()=>{this.stopListening(),this.trigger("destroy",this,this.collection,{})})}getSharingMethod(e){return this.getAvailableSharingMethods()[e]}getAvailableSharingMethods(){return{[SHARE_AS_VIEWER]:this.share,[SHARE_AS_EDITOR]:this.share,[SHARE_AS_SUBORDINATE]:this.assign,[MOVE]:this.move}}getUsharingMethod(e){return this.getAvailableUnsharingMethods()[e]}getAvailableUnsharingMethods(){return{[SHARE_AS_VIEWER]:this.unshare,[SHARE_AS_EDITOR]:this.unshare,[SHARE_AS_SUBORDINATE]:this.unassign}}share(){return deviceService.share(this.compose(this.toJSON()))}assign(){return deviceService.assignToManager(this.get("deviceId"),this.get("managerId")).then(()=>{this.set({managerMail:applicationService.managers[this.get("managerId")].email,expirationDate:null})})}move(){return deviceService.move(this.get("uniqueId"),this.get("managerMail"))}unassign(){return deviceService.assignToManager(this.get("deviceId"),applicationService.manager.id)}unshare(){return deviceService.unshare(this.toJSON())}parse(e){return e.expirationDate?e.expirationDate=hooks$1(e.expirationDate,"X").format("YYYY-MM-DD"):e.shareForever=!0,e}compose(e){return!0===e.shareForever&&delete e.expirationDate,e.expirationDate&&(e.expirationDate=hooks$1(e.expirationDate,"YYYY-MM-DD").format("X")),e}toTemplate(){return{SHARE_AS_VIEWER:SHARE_AS_VIEWER,SHARE_AS_EDITOR:SHARE_AS_EDITOR,SHARE_AS_SUBORDINATE:SHARE_AS_SUBORDINATE,MOVE:MOVE}}}class SingleDeviceShareCollection extends backbone.Collection{constructor(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],_$1.defaults(e,{model:SingleDeviceShareModel}))}setFromDeviceModel(e){const t=e.get("shares").map(t=>{const n=_$1.extend({},t);return n.uniqueId=e.get("uniqueId"),n.deviceId=e.get("id"),n});e.get("access")===DeviceAccess.Supervisor&&_$1.has(applicationService.subordinates,e.get("managerId"))&&t.push({managerMail:applicationService.subordinates[e.get("managerId")].email,access:DeviceAccess.Subordinate,uniqueId:e.get("uniqueId"),deviceId:e.get("id")}),this.reset(t,{parse:!0})}}SingleDeviceShareCollection.prototype.model=SingleDeviceShareModel;var Template$1o=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form class="sharing sharing-view js-event-form" data-event="post-sharingForm">\n\n <h2 class="bordered-header">
88'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.share.header",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:32},end:{line:3,column:64}}}))+'</h2>\n\n <div class="grid-row">\n <div class="grid-column-6 padding-right--small">\n <label class="form-label">\n '+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.share.access.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:16},end:{line:8,column:54}}}))+':\n <i class="icon icon-question-mark" data-tooltip-content="'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.share.access.help",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:73},end:{line:9,column:110}}}))+'"></i>\n </label>\n <ul class="radios styled-radios">\n <li class="margin-bottom--small">\n <input type="radio" value="'+l("function"==typeof(a=null!=(a=d(n,"SHARE_AS_SUBORDINATE")||(null!=t?d(t,"SHARE_AS_SUBORDINATE"):t))?a:c)?a.call(s,{name:"SHARE_AS_SUBORDINATE",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:47},end:{line:13,column:71}}}):a)+'"\n id="share-access-SUBORDINATE"\n name="access"\n class="radio share-access"/>\n <label for="share-access-SUBORDINATE">'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.share.access.option.subordinate.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:17,column:58},end:{line:17,column:115}}}))+'</label>\n </li>\n <li>\n <input type="radio" value="'+l("function"==typeof(a=null!=(a=d(n,"SHARE_AS_VIEWER")||(null!=t?d(t,"SHARE_AS_VIEWER"):t))?a:c)?a.call(s,{name:"SHARE_AS_VIEWER",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:20,column:47},end:{line:20,column:66}}}):a)+'"\n id="share-access-VIEWER"\n name="access"\n class="radio share-access"/>\n <label for="share-access-VIEWER">'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.share.access.option.viewer.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:24,column:53},end:{line:24,column:105}}}))+'</label>\n </li>\n <li class="margin-bottom--small">\n <input type="radio" value="'+l("function"==typeof(a=null!=(a=d(n,"SHARE_AS_EDITOR")||(null!=t?d(t,"SHARE_AS_EDITOR"):t))?a:c)?a.call(s,{name:"SHARE_AS_EDITOR",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:27,column:47},end:{line:27,column:66}}}):a)+'"\n id="share-access-EDITOR"\n name="access"\n class="radio share-access"/>\n <label for="share-access-EDITOR">'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.share.access.option.editor.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:31,column:53},end:{line:31,column:105}}}))+'</label>\n </li>\n <li>\n <input type="radio" value="'+l("function"==typeof(a=null!=(a=d(n,"MOVE")||(null!=t?d(t,"MOVE"):t))?a:c)?a.call(s,{name:"MOVE",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:34,column:47},end:{line:34,column:55}}}):a)+'" id="share-access-OWNER"\n name="access"\n class="radio share-access"/>\n <label for="share-access-OWNER">'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.share.access.option.owner.label",{name:"i18n",hash:{}
88,data:r,loc:{source:"Dropdown.hbs",start:{line:37,column:52},end:{line:37,column:103}}}))+'</label>\n </li>\n </ul>\n\n <div class="margin-vertical share-managerMail form-group hidden" id="share-managerMail-group">\n <div class="form-label-container">\n <label for="share-managerMail" class="form-label">\n '+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.sharing.input.shareWith.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:44,column:24},end:{line:44,column:73}}}))+'\n </label>\n <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container">\n <input name="managerMail" id="share-managerMail"\n type="text"\n class="form-input">\n <span class="form-input-add-on transparent">\n <i class="icon icon-question-mark" id="share-managerMail-help"\n data-tooltip-content="'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.sharing.input.shareWith.help",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:54,column:49},end:{line:54,column:95}}}))+'"></i>\n </span>\n </div>\n </div>\n <div class="margin-vertical share-managerId form-group hidden" id="share-managerId-group">\n <div class="form-label-container">\n <label for="share-managerId" class="form-label">\n '+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.sharing.input.shareWith.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:61,column:24},end:{line:61,column:73}}}))+'\n </label>\n <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container">\n <select name="managerId" id="share-managerId" class="form-input dropdown"></select>\n </div>\n </div>\n\n <div class="form-group hidden" id="share-expirationDate-group">\n <div class="form-label-container">\n <label for="share-expirationDate" class="form-label">\n '+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.sharing.input.expirationDate.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:73,column:24},end:{line:73,column:78}}}))+'\n </label>\n <span class="error-container hidden">\x3c!-- validation errors --\x3e</span>\n </div>\n <div class="form-input-container">\n <input id="share-expirationDate" name="expirationDate" type="text"\n class="form-input js-date-picker" data-date-format="YYYY-MM-DD">\n <span class="form-input-add-on transparent">\n <i class="icon icon-question-mark"\n data-tooltip-content="'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.sharing.input.expirationDate.help",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:82,column:49},end:{line:82,column:102}}}))+'"></i>\n </span>\n <div class="align-self--center styled-checkboxes">\n <input type="checkbox" id="share-shareForever"\n name="expirationDateForever"\n class="checkbox"/>\n <label for="share-shareForever">'+l((d(n,"i18n")||t&&d(t,"i18n")||c).call(s,"device.share.expirationDate.forever.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:88,column:56},end:{line:88,column:110}}}))+"</label>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n\n"+(null!=(o=e.invokePartial(d(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+'\n <div class="section shares-list" id="shares-list"></div>\n\n</form>'},usePartial:!0,useData:!0}
88);function template$l(e,t,n){const i=Template$1o(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1p=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 class="bordered-header">\n '+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.share.list.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:2,column:38}}}))+'\n</h3>\n<table class="common-table condensed dark-header">\n <thead>\n <tr>\n <th class="col-no align-center">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.lp",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:40},end:{line:7,column:66}}}))+'</th>\n <th class="col-type width-13">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.share.list.managerMail.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:38},end:{line:8,column:84}}}))+'</th>\n <th class="col-content hidden-sm width-13">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.share.list.access.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:9,column:51},end:{line:9,column:92}}}))+'</th>\n <th class="col-content width-8">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"device.share.expirationDate.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:40},end:{line:10,column:84}}}))+'</th>\n <th class="col-actions align-right width-5"></th>\n </tr>\n </thead>\n <tbody id="shares-list-element-container"></tbody>\n</table>'},useData:!0});function shareListTemplate(e,t,n){const i=Template$1p(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1q=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<td class="col-no align-center device-sharing-list-no"></td>\n<td class="device-sharing-list-manager-mail user-name"></td>\n<td class="device-sharing-list-access hidden-sm"></td>\n<td class="device-sharing-list-expiration-date"></td>\n<td class="col-actions align-right">\n <span class="js-unshare unshare delete button transparent" data-tooltip-content="_">\n <i class="icon icon-trash"></i>\n </span>\n</td>'},useData:!0});function shareListElementTemplate(e,t,n){const i=Template$1q(e,t);return n||"undefined"==typeof $?i:$(i)}class SharingView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{events:{"submit form":"submitForm","click .js-navigation-link-back":"resetModel"}})),this.deviceModel=this.model,this.model=new SingleDeviceShareModel,this.tooltips=new Tooltip(this),this.collection=new SingleDeviceShareCollection,this.shareListView=new ListView({collection:this.collection,tagName:"div",className:"condensed dark-header",listContainer:"#shares-list-element-container",template:shareListTemplate,childTagName:"tr",childTemplate:shareListElementTemplate,childEvents:{"click .js-unshare":this.unshare},childBindings:{".col-no":"lp",".device-sharing-list-manager-mail":"managerMail",".device-sharing-list-access":{observe:"access",onGet:e=>i18n.get("device.editor.shareAccess.".concat(e,".label"))},".device-sharing-list-no":"lp",".device-sharing-list-expiration-date":{observe:["expirationDate","shareForever"],onGet:function(e){let[t,n]=e;return n?"-":t||"-"}},".js-unshare":{attributes:[{name:"data-tooltip-content",observe:"access",onGet:function(e){return e===SHARE_AS_SUBORDINATE?i18n.get("device.share.reassignToMe.label"):e===SHARE_AS_EDITOR||e===SHARE_AS_VIEWER?i18n.get("device.share.unshare.label"):""}}],classes:{disabled:{observe:"access",onGet:e=>(e===SHARE_AS_EDITOR||e===SHARE_AS_VIEWER)&&!securityService.allowOnDevice(DeviceAction.Share,{access:this.deviceModel.getDevice().get("access")})}}}}}),this.listenTo(this.collection,"remove",this.removeShareRow.bind(this)),this.listenTo(this.collection,"add",this.addShareRow.bind(this)),validationService.bind(this,{model:this.model,attributes:()=>{const e=["access"],t=this.model.get("access");return _$1.contains([SHARE_AS_EDITOR,SHARE_AS_VIEWER,MOVE],t)?e.push("managerMail"):e.push("managerId"),e}}),this.template=template$l}load(){this.model.set({uniqueId:this.deviceModel.getDevice().get("uniqueId"),deviceId:this.deviceModel.getDevice().get("id")}),this.collection.setFromDeviceModel(this.deviceModel.getDevice()
88)}bindings(){return{"#share-managerMail-group":{classes:{hidden:{observe:"access",onGet:e=>!_$1.contains([MOVE,SHARE_AS_EDITOR,SHARE_AS_VIEWER],e)}}},"#share-managerId-group":{classes:{hidden:{observe:"access",onGet:e=>!_$1.contains([SHARE_AS_SUBORDINATE],e)}}},"#share-expirationDate-group":{classes:{hidden:{observe:"access",onGet:e=>!_$1.contains([SHARE_AS_EDITOR,SHARE_AS_VIEWER],e)}}},".share-access":{observe:"access",setOptions:{validate:!1}},"#share-managerId":{observe:"managerId",selectOptions:{collection:_$1.toArray(applicationService.subordinates),labelPath:"fullName",valuePath:"id"},setOptions:{validate:!0}},"#share-managerMail":{observe:"managerMail",setOptions:{validate:!0}},"#share-expirationDate":{observe:"expirationDate",attributes:[{name:"disabled",observe:"shareForever"}]},"#share-shareForever":{observe:"shareForever"},".js-submit":{attributes:[{name:"disabled",observe:"access",onGet:e=>!e}]}}}deviceBindings(){return{"#share-access-VIEWER":{attributes:[{name:"disabled",observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.Share,this.deviceModel.getDevice()
88)}}]},"#share-access-EDITOR":{attributes:[{name:"disabled",observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.Share,this.deviceModel.getDevice())}}]},"#share-access-SUBORDINATE":{attributes:[{name:"disabled",observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.ManagerAssign,this.deviceModel.getDevice())}}]},"#share-access-OWNER":{attributes:[{name:"disabled",observe:"access",onGet:function(){return!securityService.allowOnDevice(DeviceAction.Move,{access:this.deviceModel.getDevice().get("access"),shuffled:this.deviceModel.getDevice().get("shuffled")})}}]}}}render(){return this.$el.html(this.template(this.model.toTemplate())),this.$el.find("#shares-list").append(this.shareListView.render().$el),this}detach(){this.unstickit(this.model),this.unstickit(this.deviceModel),this.$el.detach()}attach(){this.stickit(this.model,this.bindings()),this.stickit(this.deviceModel,this.deviceBindings()),this.tooltips.bindTooltips()}remove(){validationService.unbind(this,{model:this.model}),super.remove()}submitForm(e){if(e.preventDefault(),!this.model.isValid(!0))return;(this.model.get("access")===MOVE?new Confirm({description:i18n.get("device.share.move.warning")}):jquery.Deferred().resolve().promise()).then(()=>{l.pushPromise(this.model.save().then(e=>{const t=e.get("access");t===SHARE_AS_SUBORDINATE?(navigationService.refresh(),toastr.success(i18n.get("device.unassigned.message"))):t===MOVE?(navigationService.goTo("device.list"),toastr.success(i18n.get("device.moved.message"))):(this.collection.add(e),toastr.success(i18n.get("device.shared.message")))},e=>{toastr.detailedError(e)}))})}unshare(){const e=this.model,t=e.get("access")===SHARE_AS_SUBORDINATE?"Are you sure you want to reassign this device to yourself?":"Are you sure you want to unshare this device?";Confirm.that(t).then(()=>{l.pushPromise(e.destroy().then(()=>{const t=e.get("access");t===SHARE_AS_SUBORDINATE?(navigationService.refresh(),toastr.success(i18n.get("device.unassigned.message"))):t!==SHARE_AS_EDITOR&&t!==SHARE_AS_VIEWER||toastr.success(i18n.get("device.unshared.message"))},e=>toastr.detailedError(e)))})}removeShareRow(e){_$1.find(this.shareListView.childViews,{model:e}).remove(),this.shareListView.resetNumeration(),this.tooltips.bindTooltips()}addShareRow(e){this.resetModel(),this.shareListView.addOne(this.shareListView.$listContainer,e),this.tooltips.bindTooltips()}resetModel(){this.unstickit(this.model),this.model=new SingleDeviceShareModel({uniqueId:this.deviceModel.getDevice().get("uniqueId"),deviceId:this.deviceModel.getDevice().get("id")}),this.stickit(this.model,this.bindings())}}class ShufflingView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{events:{"submit form":"submitForm"},className:"device-manage"})),this.tooltips=new Tooltip(this),this.template=template$i}deviceBindings(){return{"#device-properties-secureProximity":"secureProximity","#device-properties-secureNamespace":"secureNamespace","#device-security-shuffled-label":{classes:{readonly:{observe:"access",onGet:()=>!securityService.allowOnDevice(DeviceAction.EditPropertyShuffle,this.model.getDevice()
88)}}}}}configBindings(){return{"#device-security-shuffled-label":{observe:"shuffled",onGet:function(e){return e?i18n.get("general.enabled"):i18n.get("general.disabled")},classes:{enabled:{observe:"shuffled",onGet:function(e){return e}},disabled:{observe:"shuffled",onGet:function(e){return!e}}}},"#device-security-shuffled":{observe:"shuffled",attributes:[securityService.disabledAttributeBinding("allowOnDevice",DeviceAction.EditPropertyShuffle,this.model.getDevice())]}}}render(){return this.$el.html(this.template({device:this.model.getDevice().toJSON()})),this.model.getConfig().startTracking(),this}detach(){this.unstickit(this.model.getConfig()),this.unstickit(this.model.getDevice()),this.$el.detach()}attach(){this.stickit(this.model.getConfig(),this.configBindings()),this.stickit(this.model.getDevice(),this.deviceBindings()),this.tooltips.bindTooltips()}remove(){this.model.getConfig().stopTracking(),super.remove()}submitForm(e){e.preventDefault();const t=this.model.save();t.then(()=>{toastr.success(i18n.get("device.updated.message"))},e=>{toastr.detailedError(e)}),l.pushPromise(t)}}var Template$1r=Handlebars.template({1:function(e,t,n,i,r){return' <h3 class="bordered-header">Occupancy</h3>\n'},3:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group form-group--preset">\n <div class="form-label-container">\n <label for="occupancy-mode" class="form-label">\n Occupancy mode\n </label>\n </div>\n <div class="form-input-container">\n <div class="dropdown-js-wrap">\n <div class="dropdown-menu-wrap">\n <input type="checkbox" class="hidden dropdown-trigger" id="occupancy-mode">\n <label for="occupancy-mode" class="button block default dropdown-label" id="occupancy-mode-label">Select...</label>\n <label for="occupancy-mode" class="dropdown-menu-mask"></label>\n <div class="dropdown-menu default">\n <ul id="occupancy-mode-menu">\n <li>\n <a class="occupancy-mode-change" id="occupancy-mode-change-0" data-slug="OCCUPANCY">Occupancy</a>\n </li>\n <li>\n <a class="occupancy-mode-change" id="occupancy-mode-change-1" data-slug="FOOTFALL">Footfall</a>\n </li>\n <li>\n <a class="occupancy-mode-change" id="occupancy-mode-change-2" data-slug="NO_OCCUPANCY">No Occupancy</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div id="footfall-warning" class="sensors-warning">Footfall mode requires mains power, please make sure the device is powered from the mains.</div>\n <div id="mains-warning" class="sensors-warning">Selected rate requires mains power, please make sure the device is powered from the mains.</div>\n\n <div id="form-group-minInterval" class="form-group form-group--preset">\n <label class="form-label margin-top">'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"device.properties.property.occupancy-minInterval-dropdown.label",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:43,column:43},end:{line:43,column:119}}}))+'</label>\n <ul class="radios styled-radios">\n <li class="margin-bottom--small">\n <input type="radio" value="2" id="occupancy-minInterval-2"\n name="occupancy-minInterval" class="radio radio-occupancy-minInterval"/>\n <label for="occupancy-minInterval-2">2s</label>\n </li>\n </ul>\n <ul class="radios styled-radios">\n <li class="margin-bottom--small">\n <input type="radio" value="10" id="occupancy-minInterval-10"\n name="occupancy-minInterval" class="radio radio-occupancy-minInterval" />\n <label for="occupancy-minInterval-10">10s</label>\n </li>\n </ul>\n <ul class="radios styled-radios">\n <li class="margin-bottom--small">\n <input type="radio" value="60" id="occupancy-minInterval-60"\n name="occupancy-minInterval" class="radio radio-occupancy-minInterval" />\n <label for="occupancy-minInterval-60">60s</label>\n </li>\n </ul>\n <ul class="radios styled-radios">\n <li class="margin-bottom--small">\n <input type="radio" value="120" id="occupancy-minInterval-120"\n name="occupancy-minInterval" class="radio radio-occupancy-minInterval" />\n <label for="occupancy-minInterval-120">120s</label>\n </li>\n </ul>\n </div>\n'},5:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group">\n'+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{allowedValues:!0,property:"occupancy-minInterval"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="form-group">\n'+(null!=(o=e.invokePartial(a(i,"device-input-group-partial"),t,{name:"device-input-group-partial",hash:{allowedValues:!0,property:"occupancy-maxInterval"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n\n <div class="form-group">\n <div class="form-label-container">\n <label for="occupancy-sensitivity" class="form-label">Sensitivity:</label>\n </div>\n <div class="sensitivity-form-input-container">\n <input type="range" min="0" max="100" step="1" id="device-occupancy-sensitivity">\n <div id="device-occupancy-sensitivity-value" class="sensors-value-container"></div>\n <div id="device-previous-occupancy-sensitivity" class="previous-value previous-value-sensitivity"></div>\n </div>\n\n </div>\n\n <div class="form-group form-group--preset">\n <div class="form-label-container">\n <label for="model-id" class="form-label">\n Model ID\n </label>\n </div>\n <div class="form-input-container">\n <div class="dropdown-js-wrap">\n <div class="dropdown-menu-wrap">\n <input type="checkbox" class="hidden dropdown-trigger" id="model-id" disabled>\n <label for="model-id" class="button block default dropdown-label" id="model-id-label">0</label>\n <label for="device-preset" class="dropdown-menu-mask"></label>\n <div class="dropdown-menu default">\n <ul id="device-preset-menu">\n <li>\n <a class="model-id-change" id="model-id-change-0">0</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n'},7:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <h3 class="bordered-header">Motion sensor</h3>\n <div class="motion-sensor">\n <div class="motion-sensor-toggle">\n <div class="toggle-wrap">\n <h3 class="toggle-label">
88\n <span id="device-motion-sensor-enbled-label">Motion sensor</span>\n </h3>\n <div class="toggle">\n <input id="device-motionSensorEnabled" type="checkbox" '+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"motionSensorEnabled")||(null!=t?a(t,"motionSensorEnabled"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"motionSensorEnabled",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:195,column:67},end:{line:195,column:90}}}):o)+'>\n <label for="device-motionSensorEnabled"></label>\n </div>\n </div>\n </div>\n </div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form id="device-sensors-form" class="js-event-form single-device-sensors-view" class="clearfix"\n data-event="post-sensors">\n\n'+(null!=(o=u(n,"unless").call(s,null!=t?u(t,"isPortalBeamIr"):t,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:4,column:2},end:{line:6,column:13}}}))?o:"")+"\n"+(null!=(o=u(n,"if").call(s,null!=t?u(t,"isPortalBeam"):t,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:2},end:{line:73,column:9}}}))?o:"")+"\n"+(null!=(o=u(n,"unless").call(s,null!=t?u(t,"isPortalBeamOrOnlyIr"):t,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:75,column:2},end:{line:118,column:13}}}))?o:"")+'\n <h3 class="bordered-header">Air sensor</h3>\n <div class="air-sensor">\n <div class="air-sensor-toggle">\n <div class="toggle-wrap">\n <h3 class="toggle-label">\n <span id="device-air-sensor-enbled-label">Air sensor</span>\n </h3>\n <div class="toggle">\n <input id="device-airSensorEnabled" type="checkbox" '+l("function"==typeof(a=null!=(a=u(n,"airSensorEnabled")||(null!=t?u(t,"airSensorEnabled"):t))?a:c)?a.call(s,{name:"airSensorEnabled",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:128,column:62},end:{line:128,column:82}}}):a)+'>\n <label for="device-airSensorEnabled"></label>\n </div>\n </div>\n </div>\n </div>\n <label class="form-label margin-top">Air sensor probing interval</label>\n <ul class="radios styled-radios">\n <li class="margin-bottom--small">\n <input type="radio" value="'+l(d(null!=(o=null!=t?u(t,"AIR_QUALITY_VALUES"):t)?u(o,"AIR_QUALITY_SENSOR_60"):o,t))+'" id="air-sensor-interval-60"\n name="air-sensor-interval" class="radio air-sensor-interval" checked />\n <label for="air-sensor-interval-60">1 min</label>\n </li>\n <li>\n <input type="radio" value="'+l(d(null!=(o=null!=t?u(t,"AIR_QUALITY_VALUES"):t)?u(o,"AIR_QUALITY_SENSOR_600"):o,t))+'" id="air-sensor-interval-600"\n name="air-sensor-interval" class="radio air-sensor-interval" />\n <label for="air-sensor-interval-600">10 min</label>\n </li>\n <li class="margin-bottom--small">\n <input type="radio" value="'+l(d(null!=(o=null!=t?u(t,"AIR_QUALITY_VALUES"):t)?u(o,"AIR_QUALITY_SENSOR_3600"):o,t))+'" id="air-sensor-interval-3600"\n name="air-sensor-interval" class="radio air-sensor-interval" />\n <label for="air-sensor-interval-3600">1 hour</label>\n </li>\n </ul>\n\n <h3 class="bordered-header">Light sensor</h3>\n <div class="light-sensor">\n <div class="light-sensor-toggle">\n <div class="toggle-wrap">\n <h3 class="toggle-label">\n <span id="device-light-sensor-enbled-label">Light sensor</span>\n </h3>\n <div class="toggle">\n <input id="device-lightSensorEnabled" type="checkbox" '+l("function"==typeof(a=null!=(a=u(n,"lightSensorEnabled")||(null!=t?u(t,"lightSensorEnabled"):t))?a:c)?a.call(s,{name:"lightSensorEnabled",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:161,column:64},end:{line:161,column:86}}}):a)+'>\n <label for="device-lightSensorEnabled"></label>\n </div>\n </div>\n </div>\n </div>\n <label class="form-label margin-top">Light sensor probing interval</label>\n <ul class="radios styled-radios">\n <li class="margin-bottom--small">\n <input type="radio" value="'+l(d(null!=(o=null!=t?u(t,"LIGHT_SENSOR_INTERVAL_VALUES"):t)?u(o,"LIGHT_SENSOR_10"):o,t))+'" id="light-sensor-interval-10"\n name="light-sensor-interval" class="radio light-sensor-interval" />\n <label for="light-sensor-interval-10">10s</label>\n </li>\n <li>\n <input type="radio" value="'+l(d(null!=(o=null!=t?u(t,"LIGHT_SENSOR_INTERVAL_VALUES"):t)?u(o,"LIGHT_SENSOR_60"):o,t))+'" id="light-sensor-interval-60"\n name="light-sensor-interval" class="radio light-sensor-interval" />\n <label for="light-sensor-interval-60">1min</label>\n </li>\n <li class="margin-bottom--small">\n <input type="radio" value="'+l(d(null!=(o=null!=t?u(t,"LIGHT_SENSOR_INTERVAL_VALUES"):t)?u(o,"LIGHT_SENSOR_300"):o,t))+'" id="light-sensor-interval-300"\n name="light-sensor-interval" class="radio light-sensor-interval" />\n <label for="light-sensor-interval-300">5min</label>\n </li>\n </ul>\n\n'+(null!=(o=u(n,"unless").call(s,null!=t?u(t,"isPortalBeamOrOnlyIr"):t,{name:"unless",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:186,column:2},end:{line:201,column:13}}}))?o:"")+"\n"+(null!=(o=e.invokePartial(u(i,"device-manage-common-submit-partial"),t,{name:"device-manage-common-submit-partial",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"</form>"},usePartial:!0,useData:!0}
88);function template$m(e,t,n){const i=Template$1r(e,t);return n||"undefined"==typeof $?i:$(i)}const AIR_QUALITY_VALUES={AIR_QUALITY_SENSOR_60:60,AIR_QUALITY_SENSOR_600:600,AIR_QUALITY_SENSOR_3600:3600},LIGHT_SENSOR_INTERVAL_VALUES={LIGHT_SENSOR_10:10,LIGHT_SENSOR_60:60,LIGHT_SENSOR_300:300},AVAILABLE_SENSORS={AIR_QUALITY:"AIR_QUALITY",LIGHT_LEVEL:"LIGHT_LEVEL",MOVEMENT_EVENT:"MOVEMENT_EVENT"},OCCUPANCY_RATES={OCCUPANCY_2:2,OCCUPANCY_10:10,OCCUPANCY_60:60,OCCUPANCY_120:120},OCCUPANCY_MODELS={OCCUPANCY:0,OCCUPANCY_ALTERNATIVE:1,FOOTFALL:2,FOOTFALL_CORRIDOR:3,NO_OCCUPANCY:4};class SensorsView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.defaults(e,{events:{"submit #device-sensors-form":"onFormSubmit","click .occupancy-mode-change":"changeOccupancyMode","change .radio-occupancy-minInterval":"changeOccupancyMinInterval","change #device-airSensorEnabled":()=>this.onSensorChange(AVAILABLE_SENSORS.AIR_QUALITY),"change #device-lightSensorEnabled":()=>this.onSensorChange(AVAILABLE_SENSORS.LIGHT_LEVEL),"change #device-motionSensorEnabled":()=>this.onSensorChange(AVAILABLE_SENSORS.MOVEMENT_EVENT)}})),this.template=template$m;this.model.getConfig().get("telemetryFields")||this.model.getConfig().set("telemetryFields",[])}render(){return this.$el.html(this.template(_$1.extend(this.viewModel(),{AIR_QUALITY_VALUES:AIR_QUALITY_VALUES,LIGHT_SENSOR_INTERVAL_VALUES:LIGHT_SENSOR_INTERVAL_VALUES,airSensorEnabled:this.isSensorEnabled(AVAILABLE_SENSORS.AIR_QUALITY),lightSensorEnabled:this.isSensorEnabled(AVAILABLE_SENSORS.LIGHT_LEVEL),motionSensorEnabled:this.isSensorEnabled(AVAILABLE_SENSORS.MOVEMENT_EVENT)}))),this.model.getDevice().startTracking(),this.model.getConfig().startTracking(),this}viewModel(){return _$1.extend(this.model.toTemplate())}attach(){validationService.bind(this,{model:this.model.getConfig(),skipEmptyProperties:!1,attributes:this.model.getConfig().validationGroup(VALIDATE_GENERAL_PROPERTIES)}),this.stickit(this.model.getConfig(),this.configBindings()),this.stickit(this.model.getDevice(),this.deviceBindings())}detach(){validationService.unbind(this,{model:this.model.getConfig()}),this.unstickit(this.model.getConfig()),this.unstickit(this.model.getDevice()
88),this.$el.detach()}deviceBindings(){return{"#device-previous-occupancy-minInterval":this.previousValueBindingFactory("occupancy.minInterval"),"#device-previous-occupancy-maxInterval":this.previousValueBindingFactory("occupancy.maxInterval"),"#device-previous-occupancy-sensitivity":this.previousValueBindingFactory("occupancy.sensitivity"),".device-occupancy-minInterval .device-allowed-values":{observe:"model",onGet:e=>e===Model.PortalBeam?i18n.get("device.properties.property.occupancy.minInterval.allowedValues"):null},".device-occupancy-maxInterval .device-allowed-values":{observe:"model",onGet:e=>e===Model.PortalBeam?i18n.get("device.properties.property.occupancy.maxInterval.allowedValues"):null}}}configBindings(){return{"#occupancy-mode-label":{observe:["occupancy.model","occupancy.minInterval"],onGet:function(e){let[t,n]=e;switch(t){case OCCUPANCY_MODELS.OCCUPANCY_ALTERNATIVE:case OCCUPANCY_MODELS.OCCUPANCY:return 0===n?"No Occupancy":"Occupancy";case OCCUPANCY_MODELS.FOOTFALL:case OCCUPANCY_MODELS.FOOTFALL_CORRIDOR:return"Footfall";default:return"No Occupancy"}}},"#occupancy-mode":{observe:["occupancy.model"],onGet:function(e){return e},updateModel:!1},"#footfall-warning":{observe:"occupancy.model",onGet:function(e){return e===OCCUPANCY_MODELS.FOOTFALL||e===OCCUPANCY_MODELS.FOOTFALL_CORRIDOR?"Footfall mode requires mains power, please make sure the device is powered from the mains.":""}},"#mains-warning":{observe:["occupancy.minInterval","occupancy.model"],onGet:function(e){let[t,n]=e;return t=parseInt(t),n!==OCCUPANCY_MODELS.OCCUPANCY||t!==OCCUPANCY_RATES.OCCUPANCY_2&&t!==OCCUPANCY_RATES.OCCUPANCY_10?"":"Selected rate requires mains power, please make sure the device is powered from the mains."}},"#form-group-minInterval":{observe:["occupancy.minInterval","occupancy.model"],onGet:function(e){let[t,n]=e;return n!==OCCUPANCY_MODELS.OCCUPANCY&&n!==OCCUPANCY_MODELS.OCCUPANCY_ALTERNATIVE||0===t?"none":"block"},update:function(e,t){e.css("display",t)}},".radio-occupancy-minInterval":{observe:"occupancy.minInterval"},".air-sensor-interval":{observe:"airQualityInterval"},".light-sensor-interval":{observe:"lightSensorSamplingInterval"},"#device-occupancy-minInterval":{observe:"occupancy.minInterval"},"#device-occupancy-maxInterval":{observe:"occupancy.maxInterval"},"#device-occupancy-sensitivity":{observe:"occupancy.sensitivity"},"#device-occupancy-sensitivity-value":{observe:"occupancy.sensitivity",update:(e,t)=>e.html("Value: ".concat(t))}}}saveModel(){const e=this.model.save();e.then(()=>{toastr.success(i18n.get("device.updated.message"))},e=>{toastr.detailedError(e)}),l.pushPromise(e)}onFormSubmit(e){e.preventDefault();this.model.getConfig().isValid(!0)&&this.saveModel()}previousValueBindingFactory(e){return{observe:"previous.".concat(e),classes:{hidden:{observe:"previous.".concat(e),onGet:e=>_$1.isNull(e)||_$1.isUndefined(e)}},attributes:[{name:"data-value",observe:"previous.".concat(e)}]}}onSensorChange(e){let t=[...this.model.getConfig().get("telemetryFields")];t.some(t=>t===e)?t=t.filter(t=>t!==e):t.push(e),this.model.getConfig().set("telemetryFields",t)}isSensorEnabled(e){return[...this.model.getConfig().get("telemetryFields")].some(t=>t===e)?"checked":""}changeOccupancyMode(e){e.preventDefault();const t=jquery(e.target),n=OCCUPANCY_MODELS[t.data("slug")];t.parents(".dropdown-menu-wrap").find(".dropdown-trigger").prop("checked",!1),isNumber(n)&&(this.model.getConfig().set("occupancy.model",n),n!==OCCUPANCY_MODELS.OCCUPANCY&&n!==OCCUPANCY_MODELS.OCCUPANCY_ALTERNATIVE||this.model.getConfig().set("occupancy.minInterval",60),n===OCCUPANCY_MODELS.NO_OCCUPANCY&&(this.model.getConfig().set("occupancy.minInterval",0),this.model.getConfig().set("occupancy.model",0)))}changeOccupancyMinInterval(e){e.preventDefault(),this.model.getConfig().set("occupancy.minInterval",e.target.value)}}var Template$1s=Handlebars.template({1:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <a "+s((c(n,"href")||t&&c(t,"href")||a).call(o,"device.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:31},end:{line:8,column:53}}}))+' title="Beacons" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"device.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:31}
vendor: 4,640 bytes, line 88
88,end:{line:11,column:53}}}))+' title="Beacons" class="navigation-link nav-link router-link-active">Beacons</a> /\n'},3:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <a "+s((c(n,"href")||t&&c(t,"href")||a).call(o,"gateway.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:31},end:{line:13,column:54}}}))+' title="Gateways" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+s((c(n,"href")||t&&c(t,"href")||a).call(o,"gateway.list",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:16,column:31},end:{line:16,column:54}}}))+' title="Gateways" class="navigation-link nav-link router-link-active">Gateways</a> /\n'},5:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"alias"):t,{name:"if",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:25,column:24},end:{line:25,column:55}}}))?o:"")+"\n"},6:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"("+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"alias")||(null!=t?a(t,"alias"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"alias",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:25,column:38},end:{line:25,column:47}}}):o)+")"},8:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"name"):t,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:27,column:24},end:{line:27,column:53}}}))?o:"")+"\n"},9:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"("+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"name")||(null!=t?a(t,"name"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:27,column:37},end:{line:27,column:45}}}):o)+")"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,l=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="page-grey column">\n <div class="column">\n <div class="single-device-editor">\n <div class="content-wrapper">\n <div class="smart-location-view">\n <div class="nav-links">\n'+(null!=(o=d(n,"if").call(s,null!=t?d(t,"isBeacon"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:7,column:24},end:{line:17,column:31}}}))?o:"")+' <span class="nav-target--case-sensitive">'+l("function"==typeof(a=null!=(a=d(n,"uniqueId")||(null!=t?d(t,"uniqueId"):t))?a:c)?a.call(s,{name:"uniqueId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:18,column:65},end:{line:18,column:77}}}):a)+'</span>\n </div>\n </div>\n <h2 class="main-header">\n <span class="device-type"></span>:\n <span class="device-id"><strong>'+l("function"==typeof(a=null!=(a=d(n,"uniqueId")||(null!=t?d(t,"uniqueId"):t))?a:c)?a.call(s,{name:"uniqueId",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:23,column:52},end:{line:23,column:64}}}):a)+"</strong></span>\n"+(null!=(o=d(n,"unless").call(s,null!=t?d(t,"isBeacon"):t,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.program(8,r,0),data:r,loc:{source:"Dropdown.hbs",start:{line:24,column:20},end:{line:28,column:31}}}))?o:"")+'\n <a class="beta-link" href="'+l("function"==typeof(a=null!=(a=d(n,"seeInNewAppLink")||(null!=t?d(t,"seeInNewAppLink"):t))?a:c)?a.call(s,{name:"seeInNewAppLink",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:30,column:47},end:{line:30,column:66}}}):a)+'" target="_blank">SEE IN NEW INTERFACE</a>\n </h2>\n </div>\n\n <div id="el-tabs-view"></div>\n </div>\n </div>\n</div>\n'},useData:!0}
88);function template$n(e,t,n){const i=Template$1s(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1t=Handlebars.template({1:function(e,t,n,i,r,o,a){var s,c=e.escapeExpression,l=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li class="js-tabs-nav">\n <a class="js-tab-link js-event-click js-tab-link-'+c(e.lambda(null!=a[1]?u(a[1],"cid"):a[1],t))+'" data-tab-id="'+c("function"==typeof(s=null!=(s=u(n,"identifier")||(null!=t?u(t,"identifier"):t))?s:d)?s.call(l,{name:"identifier",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:90},end:{line:5,column:104}}}):s)+'" data-event="changeTab-'+c("function"==typeof(s=null!=(s=u(n,"identifier")||(null!=t?u(t,"identifier"):t))?s:d)?s.call(l,{name:"identifier",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:128},end:{line:5,column:142}}}):s)+'">\n '+c("function"==typeof(s=null!=(s=u(n,"label")||(null!=t?u(t,"label"):t))?s:d)?s.call(l,{name:"label",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:6,column:20},end:{line:6,column:29}}}):s)+"\n </a>\n </li>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="tabs">\n <ul class="tabs-nav">\n'+(null!=(s=u(n,"each").call(c,null!=t?u(t,"links"):t,{name:"each",hash:{},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,loc:{source:"Dropdown.hbs",start:{line:3,column:8},end:{line:9,column:17}}}))?s:"")+' </ul>\n <div class="tab-content">\n <div class="alert-box warning hidden flex-alert" id="js-pending-config-box">\n <span id="js-pending-config-text">'+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"config.pending.alert",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:46},end:{line:13,column:77}}}))+'</span>\n <span id="js-pending-config-text-portal-light">'+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"config.pending.alert.portal-light",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:59},end:{line:14,column:103}}}))+' \n (<a href="https://support.kontakt.io/hc/en-gb/articles/360014830420-How-to-setup-Portal-Light-Panel-and-network-configuration-" target="_blank">'+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"config.pending.alert.link",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:160},end:{line:15,column:198}}}))+'</a>) </span>\n <span class="js-delete-config delete-config-message clickable learn-more js-event-click" data-event="click-cancelConfig">Cancel config</span>\n </div>\n <div id="access-warning" class="alert-box warning">\n <span>'+d((u(n,"i18n")||t&&u(t,"i18n")||l).call(c,"beacon.manage.warning.access",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:19,column:18},end:{line:19,column:58}}}))+'</span>\n </div>\n <div class="js-tab-content"></div>\n </div>\n</div>'},useData:!0,useDepths:!0});function tabsTemplate(e,t,n){const i=Template$1t(e,t);return n||"undefined"==typeof $?i:$(i)}class GenericErrorHandler{handle(e){e.code&&e.code===AuthenticationErrorCodes.CredentialsException?jquery.magnificPopup.instance.isOpen||securityService.handleAuthError(e.code):navigationService.pageNotFound({trigger:!0,replace:!0})}}const genericErrorHandler=new GenericErrorHandler;class SingleDeviceManageView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.extend(e,{events:{"click .js-delete-config":"deleteConfig"}}));const t=e.uniqueId;this.model=new SingleDeviceViewModel({uniqueId:t,deviceModel:new DeviceModelTrackable({uniqueId:t}),configModel:new ConfigModel({uniqueId:t}),availableFirmwares:new FirmwareCollection([],{uniqueId:t})}),this.tabs={},this.tabsView=new TabsView({template:tabsTemplate,active:"general",tabs:this.tabs,routeC
88onfig:{replaceUrl:!0,route:"device.manage",routeParams:{uniqueId:t}}}),this.template=template$n}async load(e){let{tabId:t}=e;try{await this.model.fetch(),this.addAdditionalTabs(),this.tabsView.setDefaultActiveTab(t).setRoute(this.model.isBeacon()?"device.manage":"gateway.manage")}catch(e){genericErrorHandler.handle(e)}}render(){return this.$el.html(this.template(this.model.toTemplate())),this.$el.find("#el-tabs-view").append(this.tabsView.render({links:this.getTabsLinks()}).$el),this}attach(){this.tabsView.attach(),this.stickit(this.model.getConfig(),this.configBindings()),this.stickit(this.model.getDevice(),this.deviceBindings())}remove(){this.unstickit(this.model.getConfig()),this.unstickit(this.model.getDevice()),this.tabsView.remove(),super.remove()}addAdditionalTabs(){if(this.model.getDevice().get("deviceType")===DeviceType.Gateway?this.tabs.general=new GatewayConfigurationView({model:new GatewayConfigurationModel({uniqueId:this.model.getDevice().get("uniqueId"),deviceType:this.model.getDevice().get("deviceType"),model:this.model.getDevice().get("model"),name:this.model.getDevice().get("name"),product:this.model.getDevice().get("product"),alias:this.model.getDevice().get("alias"),lastSeen:this.model.getDevice().get("lastSeen"),tags:this.model.getDevice().get("tags"),firmware:this.model.getDevice().get("firmware"),access:this.model.getDevice().get("access"),venue:this.model.getDevice().get("venue"),subscriptionPlans:this.model.getDevice().get("subscriptionPlans"),applications:this.model.getConfig().get("applications"),mac:this.model.getDevice().get("properties").mac},{parse:!0}),whenModelSaved:()=>this.model.fetch()}):this.tabs.general=new GeneralPropertiesView({model:this.model}),securityService.allowOnDevice(DeviceAction.ViewSharingTab,this.model.getDevice()
88)&&(this.tabs.sharing=new SharingView({model:this.model})),securityService.allowOnDevice(DeviceAction.ViewShufflingTab,this.model.getDevice())&&(this.tabs.shuffling=new ShufflingView({model:this.model})),securityService.allowOnDevice(DeviceAction.ViewSensorsTab,this.model.getDevice())&&(this.tabs.sensors=new SensorsView({model:this.model})),securityService.allowOnDevice(DeviceAction.ViewNextGenerationPowerSavingTab,this.model.getDevice())){const e=this.model.getDevice().get("powerSaving"),t=this.model.getConfig().get("powerSaving"),n=_$1.mapObject(e,(e,n)=>t.hasOwnProperty(n)&&null!==t[n]?t[n]:e);this.tabs["beacon-pro-power-saving"]=new NextGenerationPowerSavingView({model:new NextGenerationPowerSavingModel(_$1.extend({uniqueId:this.model.getDevice().get("uniqueId"),deviceType:this.model.getDevice().get("deviceType"),model:this.model.getDevice().get("model")},n),{parse:!0}),configModel:this.model.getConfig(),deviceModel:this.model.getDevice()})}this.sortTabs(["general","sensors","wifi","device-health","power-saving","card-power-saving","beacon-pro-power-saving","tag-beacon-power-saving","shuffling","sharing","edit-item","create-item"])}getTabsLinks(){const e=[];return _$1.each(this.tabs,(t,n)=>{e.push({identifier:n,label:i18n.get("device.editor.tabs.".concat(n))})}),e}configBindings(){return{"#js-pending-config-box":{classes:{hidden:{observe:"_id",onGet:e=>null===e}}},"#js-pending-config-text":{classes:{hidden:{observe:"model",onGet:e=>e===DeviceModel.PortalLight}}},"#js-pending-config-text-portal-light":{classes:{hidden:{observe:"model",onGet:e=>e!==DeviceModel.PortalLight}}}}}allowOnFirmware(e){return versionLesserThan("firmware","4.1")(e)}deviceBindings(){return{".device-type":{observe:["product","deviceType"],onGet:e=>{let[t,n]=e;return t||DeviceModelLabels[n]}},"#access-warning":{classes:{hidden:{observe:"access",onGet:()=>securityService.allowOnDevice(DeviceAction.EditAnyProperties,{access:this.model.getDevice().get("access")})}}},"#js-old-firmware-box":{classes:{hidden:{observe:"firmware",onGet:()=>
88{const e=this.allowOnFirmware(this.model.getDevice());return!(this.model.getDevice().get("model")===BeaconModel.SmartBeacon&&e)}}}}}}deleteConfig(){const e=this.model.removeConfig().then(()=>{navigationService.refresh()});l.pushPromise(e)}sortTabs(e){const t={},n=_$1.sortBy(_$1.keys(this.tabs),t=>e.indexOf(t));_$1.each(n,e=>{t[e]=this.tabs[e]}),this.tabs=t}}class BeaconsNavigator{addToNavigation(){this.groups={beaconsElement:{icon:"beacon",navigation:!0,isSecondLevelMain:!0,dataEvent:"expand-beaconsCategory",entries:{beacons:{getLink:()=>navigationService.getDevicesListLink(),navigation:!0,showInTree:!0,icon:"beacon",preventCollapse:!0,dataEvent:"click-beacons"},beacon:{getLink:e=>{let{uniqueId:t,tabId:n}=e;return navigationService.getDeviceEditorLink(t,n)},showInTree:!1},"bulk-edit-beacon-legacy":{getLink:e=>{let{uniqueIds:t,tabId:n}=e;return navigationService.getDeviceLegacyBulkEditorLink(t,n)},showInTree:!1},batchConfiguration:{showInTree:!1,entries:{batchConfigurationImport:{getLink:()=>navigationService.getBatchConfigurationImportLink(),showInTree:!1},batchConfigurationImportResult:{getLink:()=>navigationService.getBatchConfigurationImportResultLink(),showInTree:!1},batchConfigurationExport:{getLink:()=>navigationService.getBatchConfigurationExportLink(),showInTree:!1}}}}}},navigationView.addToNavigation(this.groups)}}class BeaconsModule extends backbone.Router{init(){devicesModule.init(),batchConfigurationModule.init(),navigationService.registerRoutes("device.list",this,"goDevicesList"),navigationService.registerRoutes("device.bulkManage",this,"goDeviceBulkEditLegacy"),navigationService.registerRoutes("device.manage",this,"goSingleDeviceEdit"),this.navigator=new BeaconsNavigator,this.navigator.addToNavigation()}goDevicesList(){this.devicesList(devicesModule.getDevices())}goDeviceBulkEditLegacy(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"device-properties";e=e.split(",");const n=new DeviceMangeViewModel({uniqueId:e}),i=new DeviceManageView({model:n,tab:t,deviceType:DeviceType.Beacon});this.deviceBulkEditLegacy(i,e,t)}goSingleDeviceEdit(e,t){const n=new SingleDeviceManageView({uniqueId:e});this.deviceEdit(n,e,t)}devicesList(e){this.showModule({entryId:"beacons",view:e})}deviceEdit(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"general";this.showModule({entryId:"beacon",view:e,loadModel:{uniqueId:t,tabId:n}})}deviceBulkEditLegacy(e,t,n){this.showModule({entryId:"bulk-edit-beacon-legacy",view:e,loadModel:{uniqueIds:t,tabId:n}})}showModule(e){navigationView.showModule(e)}}const beaconsModule=new BeaconsModule;var Template$1u=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="page-grey wizard-view">\n\n <div class="">\n <div class="js-step-panel"></div>\n </div>\n\n</div>\n'},useData:!0});function template$o(e,t,n){const i=Template$1u(e,t);return n||"undefined"==typeof $?i:$(i)}class WizardModel extends backbone.Model{constructor(e,t){super(e,t)}defaults(){return{steps:[],currentStep:null,previousStep:null,wizardEnd:!1,path:[]}}start(e){this.fillPreviousSteps(),e||(e=this.firstStepId()),this.set({currentStep:e,path:[e]})}fillPreviousSteps(){this.get("steps").forEach(e=>{e.nextSteps.forEach(t=>{this.getStep(t).previousSteps.push(e)})})}currentStepConfig(){const e=this.get("currentStep");return this.getStep(e)}firstStepId(){return this.get("steps")[0].stepId}previousStep(){return this.get("previousStep")}getStep(e){return _$1.findWhere(this.get("steps"),{stepId:e})}getSteps(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return _$1.filter(this.get("steps"),t=>-1!==e.indexOf(t.stepId))}addStep(e){return e=_$1.defaults(e,{stepId:_$1.uniqueId("step_"),nextSteps:[],previousSteps:[],entryPredicate:()=>!0,exitPredicate:()=>!0,view:null,viewSubmit:()=>this.model}),this.get("steps").push(e),e}stepIs(e){return t=>t.get("currentStep")===e}}class WizardView extends ContainerView{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.events=e.events||{},e.model=e.model||new WizardModel,e.template=e.template||template$o,e.events["click .js-next-step"]="goToNextStep",e.events["click .js-previous-step"]="goToPreviousStep",super(_$1.extend(e,{containerSelector:".js-step-panel",logger:new Logger("WizardView","#93004a")}))}start(e){this.model.start(e);const t=_$1.find(this.model.get("steps"),e=>e.entryPredicate.call(e.view,this.model));t&&this.model.set({currentStep:t.stepId})}addStep(e){this.model.addStep(e)}load(e){return this.stepsModel=e,this.model.stepsModel=e,e}render(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return super.render(e),this}attach(){return this.changeStep()}detach(){this.$el.detach();const e=this.activeStepView();_$1.isFunction(e.detach)&&e.detach()}activeStep(){return this.model.currentStepConfig()}activeStepView(){return this.activeStep().view}getStep(e){return this.model.getStep(e)}goToNextStep(e){e.preventDefault(),e.stopPropagation();const t=this.activeStep();if(t.exitPredicate.call(t.view,this.model)){const e=jquery.when(t.viewSubmit.call(t.view));l.pushPromise(e),e.then(()=>{const e=this.model.getSteps(t.nextSteps),n=_$1.find(e,e=>e.entryPredicate.call(e.view,this.model));if(n){pageTrackingService.sendEvent("Click","Next step: ".concat(n.stepId
88));let e=this.model.get("path").concat(n.stepId);e=_$1.uniq(e);const i={previousStep:t.stepId,currentStep:n.stepId,wizardEnd:n.nextSteps.length>0,path:e};return this.model.set(i),this.logger.log("Wizard next step: %s",n.stepId),this.changeStep()}this.logger.log("No next step available. Current: %s",t.stepId)},e=>{this.logger.log("Wizard step %s submit error: ",t.stepId,e)})}}goToPreviousStep(e){e.preventDefault(),e.stopPropagation();const t=this.activeStep(),n=t.previousSteps,i=_$1.find(n,e=>-1!==e.nextSteps.indexOf(t.stepId));if(i){pageTrackingService.sendEvent("Click","Back to previous step: ".concat(i.stepId));let e=this.model.get("path").concat(i.stepId);e=_$1.uniq(e);const n={previousStep:t.stepId,currentStep:i.stepId,path:e};return this.model.set(n),this.logger.log("Wizard previous step: %s",i.stepId),this.changeStep()}this.logger.log("No previous step available. Current: %s",t.stepId)}changeStep(){const e=this.activeStep(),t=this.setContent(e.view,this.stepsModel);return t.then(()=>pageTrackingService.pushView()),l.pushPromise(t),t}}class GatewaysModel extends backbone.Model{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return super(e,t),this.searchModel=new GatewaysSearchModel,this.searchModel.whereDeviceTypes(t.deviceTypes||[DeviceType.CloudBeacon,DeviceType.Gateway,DeviceType.External]),this.searchModel.whereRole(ExternalRole$1.Source),this.cloudBeacons=new DeviceCollection({model:t.model||DeviceViewModel,fetchGraph:t.fetchGraph,actions:t.actions,searchMeta:t.searchMeta}),this.gateways=this.cloudBeacons,this.deviceCounters=t.deviceCounters||(new DeviceCountersBuilder).gateways().build(),this.venueModel=null,this.actions=this.cloudBeacons.actions,this.cloudBeacons.deviceCounters=this.deviceCounters,this}defaults(){return{hasNoElements:!1}}fetch(){const e=this.searchModel.buildQuery();return this.cloudBeacons.newSearch(e)}sortGatewaysListByVenues(e){this.gateways.orderBy("venue.name",e)}}var Template$1v=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="grid-row">\n <div class="grid-column-3">\n <div id="el-uniqueId"></div>\n <div id="el-name"></div>\n <div id="el-mac"></div>\n </div>\n <div class="grid-column-4 padding-horizontal">\n <div id="el-orderId"></div>\n <div id="el-tags"></div>\n </div>\n <div class="grid-column-5 select-fields-column">\n <div id="el-venue"></div>\n <div id="el-manager"></div>\n </div>\n</div>\n'},useData:!0});function filtersLayoutTemplate(e,t,n){const i=Template$1v(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1w=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="quick-filters display--flex flex-wrap--wrap">\n <div id="el-types" class="quick-filter-container"></div>\n</div>\n'},useData:!0});function quickFiltersTemplate$1(e,t,n){const i=Template$1w(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1x=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){return""},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.invokePartial(c(i,"search-view-partial"),t,{name:"search-view-partial",fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:""},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["search-view-header"],data:r,loc:{source:"Dropdown.hbs",start:{line:2,column:4},end:{line:3,column:15}}})||e},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0});function gatewaysSearchTemplate(e,t,n){const i=Template$1x(e,t);return n||"undefined"==typeof $?i:$(i)}class GatewaysSearchView extends SearchView{constructor(e){e.advancedFiltersTemplate=filtersLayoutTemplate,e.quickFiltersTemplate=quickFiltersTemplate$1,e.template=e.template||gatewaysSearchTemplate,e.className="gateways-search-view",super(e),this.logger=new Logger("GatewaysSearchView","#f4a742"),this.listenTo(this.model,"refresh",this.refreshLists)}createAdvancedFilterViews(e){return[new InputSearchFieldView({el:e.find("#el-uniqueId"),model:this.model.advancedField("uniqueId")}),new InputSearchFieldView({el:e.find("#el-orderId"),model:this.model.advancedField("orderId")}),new TagsSearchFieldView({el:e.find("#el-tags"),model:this.model.advancedField("tags")}),new SelectSearchFieldView({el:e.find("#el-manager"),model:this.model.advancedField("managersIds")}),new InputSearchFieldView({el:e.find("#el-mac"),model:this.model.advancedField("mac")})]}createQuickFilterViews(e){return[new SelectSearchFieldView({el:e.find("#el-types"),model:this.model.quickField("types")})]}load(){return jquery.Deferred().resolve(this).promise()}attachViews(e){this.devicesView=e}fetchDevices(){const e=this.model.buildQuery();return this.logger.log("Gateways search query: %s, mode: %s",e,this.model.get("mode")),this.devicesView.model.newSearch(e)}refreshLists(){const e=this.fetchDevices().then(()=>(this.devicesView.renderList(),this.renderActiveFilters(),jquery.Deferred().resolve().promise()),toastService.detailedError);return l.pushPromise(e),e}}var Template$1y=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="js-list-control
88s">\n</div>\n<div class="js-list-table">\n</div>\n'},useData:!0});function template$p(e,t,n){const i=Template$1y(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1z=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<table class="common-table page-list devices-list js-table-view">\n <thead>\n <tr>\n <th class="col-select"></th>\n <th class="col-no">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.lp",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:27},end:{line:5,column:53}}}))+'</th>\n <th class="col-alerts"></th>\n <th class="col-uniqueId-name gateway-name sortable">\n <span class="js-sort col-uniqueId" data-field="uniqueId">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.id.short",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:69},end:{line:8,column:101}}}))+'</span>\n </th>\n <th class="col-mac sortable js-sort align-left" data-field="mac">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.mac",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:73},end:{line:10,column:100}}}))+'</th>\n <th class="col-firmware hidden-sm hidden-md align-center" data-field="firmware">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.firmware",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:12,column:88},end:{line:12,column:120}}}))+'</th>\n <th class="col-tags hidden-sm hidden-md" data-field="tags">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.tags",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:67},end:{line:13,column:95}}}))+'</th>\n <th class="col-type sortable js-sort" data-field="deviceType">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.type",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:14,column:70},end:{line:14,column:98}}}))+'</th>\n <th class="col-online">'+s((c(n,"i18n")||t&&c(t,"i18n")||a).call(o,"table.header.online",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:15,column:31},end:{line:15,column:61}}}))+'</th>\n <th class="col-orderId sortable js-sort hidden-sm hidden-md" data-field="orderId">Order ID</th>\n <th class="col-actions hidden-sm"></th>\n </tr>\n </thead>\n <tbody>\n </tbody>\n</table>\n'},useData:!0});function tableTemplate$1(e,t,n){const i=Template$1z(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1A=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((o(n,"href2")||t&&o(t,"href2")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"gateway.manage",{name:"href2",hash:{uniqueId:null!=t?o(t,"uniqueId"):t},data:r,loc:{source:"Dropdown.hbs",start:{line:31,column:12},end:{line:31,column:56}}}))+"\n"},4:function(e,t,n,i,r,o,a){e.lookupProperty;return""},5:function(e,t,n,i,r){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((o(n,"href2")||t&&o(t,"href2")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"gateway.manage",{name:"href2",hash:{uniqueId:null!=t?o(t,"uniqueId"):t},data:r,loc:{source:"Dropdown.hbs",start:{line:37,column:8}
88,end:{line:37,column:52}}}))+"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<td class="col-select styled-checkboxes align-center">\n <input type="checkbox" name="select-device" class="checkbox select-device"/>\n <label></label>\n</td>\n<td class="col-no align-center">\n <span></span>.\n</td>\n<td class="col-alert-info align-left">\n <div class="alerts-box">\n <div class="synch-info" data-tooltip-position="top right">'+e.escapeExpression((c(n,"i18n")||t&&c(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"table.row.sync",{name:"i18n",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:10,column:66},end:{line:10,column:91}}}))+'</div>\n </div>\n</td>\n<td class="col-uniqueId-name align-left">\n <a class="col-uniqueId unchanged-value navigation-link" data-event="click-gatewayName"></a>\n <span class="col-name"></span>\n</td>\n<td class="col-mac align-left" data-field="mac"></td>\n<td class="col-firmware align-center hidden-sm hidden-md" data-field="firmware"></td>\n<td class="col-tags align-left hidden-sm hidden-md"></td>\n<td class="col-type align-left">\n <span class="col-type-icon"></span>\n <span class="col-type-text hidden-sm"></span>\n</td>\n<td class="col-status align-center">\n</td>\n<td class="col-orderId align-left hidden-sm hidden-md"></td>\n<td class="col-actions actions-gateway hidden-sm">\n'+(null!=(s=e.invokePartial(c(i,"table-edit-partial"),t,{name:"table-edit-partial",hash:{class:"edit-device",tooltip:"device.edit",label:"device.edit.short"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+"</td>\n"+(null!=(s=e.invokePartial(c(i,"table-edit-and-delete-partial"),t,{name:"table-edit-and-delete-partial",hash:{class:"actions-external",labelDelete:"device.remove.external",tooltipEdit:"device.edit",labelEdit:"device.edit.short"},fn:e.program(4,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["edit-link-table"],data:r,loc:{source:"Dropdown.hbs",start:{line:30,column:8},end:{line:32,column:19}}})||e},useDecorators:!0,"4_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(5,r,0,o,a),inverse:n.noop,args:["edit-link-table"],data:r,loc:{source:"Dropdown.hbs",start:{line:36,column:4},end:{line:38,column:15}}})||e},usePartial:!0,useData:!0,useDepths:!0});function tableElementTemplate$1(e,t,n){const i=Template$1A(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1B=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=e.invokePartial(a(i,"table-actions-partial"),t,{name:"table-actions-partial",hash:{counted:!0,showDeviceActions:!0},data:r,helpers:n,partials:i,decorators:e.decorators}))?o:""},usePartial:!0,useData:!0});function tableActionsTemplate$1(e,t,n){const i=Template$1B(e,t);return n||"undefined"==typeof $?i:$(i)}class GatewayListView extends backbone.View{constructor(e){super(_$1.extend(e,{className:"gateway-list-view"})),this.template=template$p,this.searchView=e.searchView,this.tableView=new TableView({model:this.model,template:e.tableTemplate||tableTemplate$1,elementTemplate:e.tableElementTemplate||tableElementTemplate$1,elementViewClass:DeviceElementView}),this.tableActionsView=e.tableActionsView||new DeviceActionsView({template:tableActionsTemplate$1,model:this.model}),this.tableActionsView.tableView=this.tableView,this.tableActionsView.devicesView=this}render(){return this.$el.html(this.template()),this.$el.find(".js-list-controls").append(this.tableActionsView.render().$el),this.$el.find(".js-list-table").append(this.tableView.render().$el),this.stickit(this.model.actions,this.actionsBindings()),this}renderList(){this.tableView.renderElements()}actionsBindings(){return{":el":{classes:{hidden:{observe:"listEnabled",onGet:e=>!e}}},".devices-header":{classes:{hidden:"buyDevices"}},".js-devices-header":{observe:"emptyResult",onGet:function(e){return e?i18n.get("search.cloudBeacons.noResults"):i18n.get("table.header.cloudBeacons")}}}}research(){return this.searchView.refreshLists()}remove(){this.tableActionsView.remove(),this.tableView.remove(),super.remove()}bulkEdit(e){navigationService.goToGatewayBulkManage(e.join(","))}}var Template$1C=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<section class="devices page-grey padding-top--none">\n <div class="content-wrapper">\n <h2 class="js-devices-header text main-header">Gateway list</h2>\n <div id="el-no-devices-view"></div>\n <div class="devices-search-query" id="el-devices-filters"></div>\n </div>\n <div class="devices-clouds" id="el-devices-clouds"></div>\n</section>\n'},useData:!0}
88);function gatewaysTemplate(e,t,n){const i=Template$1C(e,t);return n||"undefined"==typeof $?i:$(i)}class GatewaysView extends backbone.View{constructor(e){super(e),this.template=gatewaysTemplate,this.searchView=new GatewaysSearchView({model:this.model.searchModel}),this.gatewayListView=new GatewayListView({model:this.model.cloudBeacons,searchView:this.searchView}),this.searchView.attachViews(this.gatewayListView),this.noDevicesView=new NoDevicesView({model:new backbone.Model({deviceType:"gateways"})})}load(){return jquery.when(this.searchView.load(),this.model.deviceCounters.fetch()).always(()=>{const e=this.model.deviceCounters.get("hasGateways");this.model.cloudBeacons.actions.set("buyDevices",!e),this.model.set("hasNoElements",!e)})}render(){return this.$el.html(this.template()),this.renderZeroDeviceView(),this.renderLists(),this}attach(){this.model.get("hasNoElements")||this.searchView.refreshLists(),this.stickit(this.model.cloudBeacons.actions,this.gatewaysActionsModelBindings()),this.stickit()}detach(){this.stopListening(),this.unstickit(),this.$el.detach()}renderZeroDeviceView(){this.$el.find("#el-no-devices-view").append(this.noDevicesView.render().$el)}renderLists(){this.$el.find("#el-devices-filters").append(this.searchView.render().$el),this.$el.find("#el-devices-clouds").append(this.gatewayListView.render().$el),this.stickit(this.model.cloudBeacons.actions,this.gatewaysActionsModelBindings())}remove(){this.noDevicesView.remove(),this.searchView.remove(),this.gatewayListView.remove(),super.remove()}gatewaysActionsModelBindings(){return{"#el-devices-filters":{classes:{hidden:{observe:"buyDevices",onGet:e=>e&&this.model.cloudBeacons.actions.get("buyDevices")}}}}}bindings(){const e=e=>({classes:{hidden:{observe:"hasNoElements",onGet:t=>t!==e}}});return{"#el-no-devices-view":e(!0),"#el-devices-filters":e(!1),"#el-devices-clouds":e(!1)}}}class ExternalProvidersService{constructor(){this.logger=new Logger(this,"#a46286")}fetchVendors(){return apiCaller.get("/device/vendor")}checkVendor(e){return this.fetchVendors().then(t=>t.includes(e))}fetchVendor(e){return apiCaller.get("/device/vendor/".concat(e.toLowerCase()))}removeVendor(e){return apiCaller.post("/device/vendor/".concat(e.toLowerCase(),"/delete"))}addVendor(e,t){return apiCaller.post("/device/vendor/".concat(e.toLowerCase(),"/create"),t)}updateVendor(e,t){return apiCaller.post("/device/vendor/".concat(e.toLowerCase(),"/update"),t)}addLocation(e,t){return apiCaller.post("/venue/locationengine/".concat(e),JSON.stringify(t))}getLocation(e){return apiCaller.get("/venue/locationengine?venueId=".concat(e.id)).then(t=>(t.id=e.id,t.name=e.get("name"),t)).catch(e=>null)}addDevice(e){return apiCaller.post("/device/register",e).then(e=>(applicationEventBus.pushAddExternal(e),e))}}const externalProvidersService=new ExternalProvidersService;class IntegrationWidgetView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.extend(e,{events:{"click .js-remove-integration":"removeIntegration"}})),this.modelBindings=e.modelBindings,this.template=e.template}async load(e){const t=this.model.get("vendor"),n=!!e.find(e=>e===t);return n&&await this.model.fetch(),this.model.set({enabled:n}),this}bindings(){return _$1.extend({".integration":{classes:{hidden:{observe:"enabled",onGet:e=>!e}}},".no-integration":{classes:{hidden:"enabled"}}},this.modelBindings)}attach(){this.stickit()}detach(){this.unstickit()}render(){return this.$el.html(this.template(this.model.toJSON())),this}removeIntegration(){Confirm.that("Remove the integration?").then(()=>{l.pushPromise(externalProvidersService.removeVendor(this.model.get("vendor")).then(()=>{toastr.success("Integration successfully removed."),navigationService.refresh()},e=>{toastr.detailedError(e)}))})}}class ExternalProviderModel extends backbone.Model{constructor(e,t){return super(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),this.vendorFields=e,this}fetch(){return externalProvidersService.fetchVendor(this.get("vendor")).then(e=>(this.set(e),this),e=>{if(404===e.status)return this;toastr.detailedError(e)})}addVendor(){const e=this.toJSON();return externalProvidersService.addVendor(e.vendor,_$1.pick(e,this.vendorFields))}updateVendor(){const e=this.toJSON();return externalProvidersService.updateVendor(e.vendor,_$1.pick(e,this.vendorFields))}addDevice(){return externalProvidersService.addDevice({uniqueId:this.get("currentDevice"),vendor:this.get("vendor")})}async findDevices(){const e=await deviceService.findByDeviceType([DeviceType.External]),t=this.get("vendor"),n=e.filter(e=>
88e.vendor===t);this.set("devices",n)}}const ALPHANUMERIC_CHARS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";function randomAlphanumeric(e){let t="";const n=ALPHANUMERIC_CHARS.length;for(let i=0;i<e;i++)t+=ALPHANUMERIC_CHARS.charAt(Math.floor(Math.random()*n));return t}const VendorFields=["apiKey","validator","secret"];class MerakiProviderModel extends ExternalProviderModel{constructor(){return super(VendorFields),this}defaults(){return{apiKey:null,validator:null,secret:null,vendor:Vendor.Meraki,enabled:!1,currentDevice:null,devices:[],merakiPanelUrlV2Signals:"".concat(applicationService.settings.merakiUrl,"v2/signals/").concat(applicationService.manager.companyId),merakiPanelUrlV3Signals:"".concat(applicationService.settings.merakiUrl,"v3/signals/").concat(applicationService.manager.companyId),merakiPanelUrlV3Positions:"".concat(applicationService.settings.merakiUrl,"v3/positions/").concat(applicationService.manager.companyId),helpUrl:applicationService.settings.merakiHelpUrl}}validation(){return{apiKey:{required:!0},validator:{required:!0},secret:{required:!0,minLength:2,maxLength:64},currentDevice:{required:!0,msg:"Device MAC address is required"}}}generateSecret(){const e=randomAlphanumeric(20);return this.set("secret",e),e}}var Template$1D=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="integration widget display--flex flex-direction--column hidden">\n <header class="widget-header border-bottom">\n <h3 class="widget-heading">Meraki integration</h3><i class="icon icon-tick color--green margin-left--small"></i>\n </header>\n <div>\n'+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{disabled:"true",fieldType:"password",label:"vendor.apiKey",entity:"vendor",property:"apiKey"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{disabled:"true",fieldType:"password",label:"vendor.validator",entity:"vendor",property:"validator"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+(null!=(o=e.invokePartial(l(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{disabled:"true",fieldType:"password",label:"vendor.secret",entity:"vendor",property:"secret"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+' </div>\n <div class="border-top--gray-2 margin-bottom display--flex justify-content--space-between flex-wrap--wrap">\n <a class="navigation-link button link primary edit-integration" '+c((l(n,"href")||t&&l(t,"href")||s).call(a,"gateway.meraki",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:11,column:72},end:{line:11,column:97}}}))+' data-event="click-editMerakiIntegration">Edit integration</a>\n <a class="button danger js-remove-integration remove-integration">Remove integration</a>\n </div>\n</div>\n<div class="no-integration widget display--flex flex-direction--column">\n <header class="widget-header border-bottom">\n <h3 class="widget-heading">Meraki integration</h3>\n </header>\n <div class="display--flex flex-direction--column justify-content--space-around flex-grow--1 margin-bottom--large">\n <div class="display--flex justify-content--space-around margin-vertical--huge margin-top">\n <a class="navigation-link button primary sm-no-margin sm-margin-top" '+c((l(n,"href")||t&&l(t,"href")||s).call(a,"gateway.meraki",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:21,column:81},end:{line:21,column:106}}}))+' data-event="click-startMerakiIntegration">Start Meraki integration</a>\n </div>\n </div>\n</div>'},usePartial:!0,useData:!0});function merakiTemplate(e,t,n){const i=Template$1D(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1E=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<div class="widget display--flex flex-direction--column">\n <div class="widget-content coming-soon display--flex flex-direction--column justify-content--space-around flex-grow--1 text-align--center margin-top--large margin-bottom--large">\n <p>Coming soon...</p>\n </div>\n</div>'},useData:!0}
88);function comingSoonTemplate(e,t,n){const i=Template$1E(e,t);return n||"undefined"==typeof $?i:$(i)}var Template$1F=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){return'<section class="page-grey actions-view">\n <div class="gateways-external-view">\n <div class="content-wrapper">\n <div class="list-header">\n <h2 class="main-header">External providers</h2>\n </div> \n </div>\n <div class="widgets widgets-container grid-row flex-wrap--wrap">\n <div class="grid-column-6 sm-grid-column-12 md-grid-column-6 el-widget-1"></div>\n <div class="grid-column-6 sm-grid-column-12 md-grid-column-6 el-widget-2"></div>\n <div class="grid-column-6 sm-grid-column-12 md-grid-column-6 el-widget-3"></div>\n <div class="grid-column-6 sm-grid-column-12 md-grid-column-6 el-widget-4"></div>\n </div>\n </div>\n</section>'},useData:!0});function template$q(e,t,n){const i=Template$1F(e,t);return n||"undefined"==typeof $?i:$(i)}class GatewaysExternalView extends backbone.View{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),this.template=template$q,this.initializeWidgets()}initializeWidgets(){this.widgets=[{parent:".el-widget-1",view:new IntegrationWidgetView({template:merakiTemplate,modelBindings:{"#vendor-apiKey":"apiKey","#vendor-validator":"validator","#vendor-secret":"secret"},model:new MerakiProviderModel,className:"widget-container",id:"el-meraki-view"})},{parent:".el-widget-2",view:new PlainTemplateView({template:comingSoonTemplate,className:"widget-container",id:"el-coming-soon-view"})}]}async load(){const e=await externalProvidersService.fetchVendors(),t=this.widgets.map(t=>t.view.load(e));return Promise.all(t)}render(){return this.$el.html(this.template()),this.widgets.forEach(e=>this.$el.find(e.parent).append(e.view.render().$el)),this}attach(){this.widgets.filter(e=>_$1.isFunction(e.view.attach)).forEach(e=>e.view.attach())}afterAttach(){this.widgets.filter(e=>_$1.isFunction(e.view.afterAttach)).forEach(e=>e.view.afterAttach())}detach(){this.$el.detach()}remove(){super.remove()}}class VendorDevicesView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(_$1.extend(e,{events:{"click .js-add-device":"addDevice"}})),this.template=e.template}render(){return this.$el.html(this.template()),this.stickit(),this}attach(){return validationService.bind(this),this.model.findDevices().then(()=>{this.showDevices()})}detach(){validationService.unbind(this),this.$el.detach()}bindings(){return{"#vendor-currentDevice":"currentDevice"}}remove(){super.remove()}finishWizard(){navigationService.goToGatewayExternal()}showDevices(){const e=this.$el.find(".elements-integration"),t=this.model.get("devices");t.length>0&&(e.html('<h3 class="bordered-header">Added devices</h3>'),e.append(t.map(e=>{const t=document.createElement("li");return t.className="element",t.innerHTML=e.uniqueId,t})))}addDevice(){if(this.model.isValid(["currentDevice"])){const e=this.model.addDevice().then(()=>(this.model.set("currentDevice",""),this.model.findDevices().then(()=>{this.showDevices()})),e=>{409===e.status?toastr.detailedError(e):toastr.detailedError({message:"MAC address is invalid."})});l.pushPromise(e)}}}class GatewayNavigator{addToNavigation(){this.groups={gatewaysElement:{navigation:!0,icon:"gateway",isSecondLevelMain:!0,dataEvent:"expand-gatewaysCategory",entries:{gateways:{getLink:()=>navigationService.getGatewaysListLink(),navigation:!0,showInTree:!0,icon:"gateway",preventCollapse:!0,dataEvent:"click-gateways"},externalProviders:{getLink:()=>navigationService.getGatewaysExternalLink(),navigation:!0,showInTree:!0,icon:"gateway",preventCollapse:!0,dataEvent:"click-externalProviders"},merakiIntegration:{getLink:()=>navigationService.getGatewaysStartMerakiIntegrationLink(),showInTree:!1},gateway:{getLink:e=>{let{uniqueId:t,tabId:n}=e;return navigationService.getGatewayEditorLink(t,n)},showInTree:!1},"bulk-edit-gateway-legacy":{getLink:e=>{let{uniqueIds:t,tabId:n}=e;return navigationService.getGatewayLegacyBulkEditorLink(t,n)},showInTree:!1}}}},navigationView.addToNavigation(this.groups)}}var Template$1G=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},2:function(e,t,n,i,r){return'<button class="button primary-light margin-left--small js-generate-secret sm-no-margin sm-no-padding">Generate secret</button>'},4:function(e,t,n,i,r,o,a){e.lookupProperty;return""},5:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <p>You can find <b>Api Key</b> in your Meraki Panel under "My Profile" section. Api-key needs at least read-only access to your Meraki organization.</p>\n <p><b>Validator</b> value is in your Meraki Panel in "Network-wide / General / Location and scanning" section.</p>\n <p>In your Meraki Panel in "Network-wide / General / Location and scanning" section, add post url and paste one of the given values: <b id="merakiPanelUrlV2Signals"></b> or <b id="merakiPanelUrlV3Signals"></b> or <b id="merakiPanelUrlV3Positions"></b>.<br/>Next, use button to generate <b>SECRET</b> or enter your own value, then paste it next to url in Meraki Panel. </p>\n <p>\n For further information please see <a class="info-box-link" href="'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"helpUrl")||(null!=t?a(t,"helpUrl"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"helpUrl",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:33,column:90},end:{line:33,column:101}}}):o)+'" target="_blank">
88tutorial</a>.\n </p>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div>\n <div class="content-wrapper">\n <div class="smart-location-view">\n <div class="nav-links">\n <a '+d((u(n,"href")||t&&u(t,"href")||l).call(c,"gateway.external",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:19},end:{line:5,column:46}}}))+' title="External providers" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+d((u(n,"href")||t&&u(t,"href")||l).call(c,"gateway.external",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:19},end:{line:8,column:46}}}))+' title="External providers" class="navigation-link nav-link router-link-active">External providers</a> /\n <span class="nav-target">Configure Meraki integration</span>\n </div>\n </div>\n <br/>\n <div class="form-label">'+d((u(n,"i18n2p")||t&&u(t,"i18n2p")||l).call(c,"subscription.wizard.step",1,2,{name:"i18n2p",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:32},end:{line:13,column:73}}}))+'</div>\n <h2 class="main-header">Configure Meraki integration</h2>\n </div>\n</div>\n<div class="panel-standard">\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 padding-right sm-grid-column-12 sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"vendor.apiKey",entity:"vendor",property:"apiKey"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"vendor.validator",entity:"vendor",property:"validator"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{label:"vendor.secret",entity:"vendor",property:"secret"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n <div class="grid-column-6 padding-left sm-grid-column-12 sm-no-padding word-break--all">\n'+(null!=(s=e.invokePartial(u(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(4,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <div class="margin-top border-top--gray-2 padding-top--large display--flex justify-content--flex-end flex-wrap--wrap">\n <a '+d((u(n,"href")||t&&u(t,"href")||l).call(c,"gateway.external",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:40,column:11},end:{line:40,column:38}}}))+' class="button link cancel-new navigation-link" data-event="click-skipIntegration">Cancel</a>\n <button type="submit" class="button primary js-next-step margin-left">Enable Meraki integration</button>\n </div>\n</div>\n'},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["form-input-sibling"],data:r,loc:{source:"Dropdown.hbs",start:{line:23,column:16},end:{line:23,column:186}}})||e},useDecorators:!0,"4_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(5,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:28,column:16},end:{line:35,column:27}}})||e},usePartial:!0,useData:!0,useDepths:!0});function template$r(e,t,n){const i=Template$1G(e,t);return n||"undefined"==typeof $?i:$(i)}class MerakiKeysView extends backbone.View{constructor(e){e.events={"click .js-generate-secret":"generateSecret"},super(e),this.template=template$r}render(){return this.$el.html(this.template(this.model.toJSON())),this.stickit(),this}attach(){validationService.bind(this)}detach(){validationService.unbind(this),this.$el.detach()}
88bindings(){return{"#vendor-apiKey":validationService.observe("apiKey"),"#vendor-validator":validationService.observe("validator"),"#vendor-secret":validationService.observe("secret"),"#merakiPanelUrlV2Signals":"merakiPanelUrlV2Signals","#merakiPanelUrlV3Signals":"merakiPanelUrlV3Signals","#merakiPanelUrlV3Positions":"merakiPanelUrlV3Positions"}}remove(){super.remove(),this.unstickit()}modelIsValid(){return this.model.isValid(this.model.vendorFields)}saveKeys(){const e=this.model.addVendor().then(()=>(toastr.success("Meraki configuration was successfully validated."),Promise.resolve()),e=>(409===e.status?toastr.detailedError({message:"Meraki integration is already enabled."}):toastr.detailedError({message:"Meraki configuration is invalid."}),Promise.reject(e)));return l.pushPromise(e),e}generateSecret(){this.model.generateSecret()}}var Template$1H=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},2:function(e,t,n,i,r){return'<button class="button primary-light margin-left--small js-generate-secret sm-no-margin sm-no-padding" disabled>Generate secret</button>'},4:function(e,t,n,i,r,o,a){e.lookupProperty;return""},5:function(e,t,n,i,r){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <p>You can find <b>Api Key</b> in your Meraki Panel under "My Profile" section. Api-key needs at least read-only access to your Meraki organization.</p>\n <p><b>Validator</b> value is in your Meraki Panel in "Network-wide / General / Location and scanning" section.</p>\n <p>In your Meraki Panel in "Network-wide / General / Location and scanning" section, add post url and paste one of the given values: <b id="merakiPanelUrlV2Signals"></b> or <b id="merakiPanelUrlV3Signals"></b> or <b id="merakiPanelUrlV3Positions"></b>.<br/>Next, use button to generate <b>SECRET</b> or enter your own value, then paste it next to url in Meraki Panel. </p>\n <p>\n For further information please see <a class="info-box-link" href="'+e.escapeExpression("function"==typeof(o=null!=(o=a(n,"helpUrl")||(null!=t?a(t,"helpUrl"):t))?o:e.hooks.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"helpUrl",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:35,column:90},end:{line:35,column:101}}}):o)+'" target="_blank">tutorial</a>.\n </p>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div>\n <div class="content-wrapper">\n <div class="smart-location-view">\n <div class="nav-links">\n <a '+d((u(n,"href")||t&&u(t,"href")||l).call(c,"gateway.external",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:19},end:{line:5,column:46}}}))+' title="External providers" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+d((u(n,"href")||t&&u(t,"href")||l).call(c,"gateway.external",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:19},end:{line:8,column:46}}}))+' title="External providers" class="navigation-link nav-link router-link-active">External providers</a> /\n <span class="nav-target">Edit Meraki integration</span>\n </div>\n </div>\n <br/>\n <div class="form-label">'+d((u(n,"i18n2p")||t&&u(t,"i18n2p")||l).call(c,"subscription.wizard.step",1,2,{name:"i18n2p",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:32},end:{line:13,column:73}}}))+'</div>\n <h2 class="main-header">Edit Meraki integration</h2>\n </div>\n</div>\n<div class="panel-standard">\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 padding-right sm-grid-column-12 sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{disabled:"true",label:"vendor.apiKey",entity:"vendor",property:"apiKey"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{disabled:"true",label:"vendor.validator",entity:"vendor",property:"validator"},data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(u(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{disabled:"true",label:"vendor.secret",entity:"vendor",property:"secret"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <a class="button neutral js-edit-credentials">Edit configuration</a>\n <a class="button primary-light js-save-credentials hidden">Save new configuration</a>\n </div>\n <div class="grid-column-6 padding-left sm-grid-column-12 sm-no-padding word-break--all">\n'+(null!=(s=e.invokePartial(u(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(4,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n <div class="margin-top border-top--gray-2 padding-top--large display--flex justify-content--flex-end flex-wrap--wrap">\n <a '+d((u(n,"href")||t&&u(t,"href")||l).call(c,"gateway.external",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:42,column:11},end:{line:42,column:38}}}))+' class="button link cancel-new navigation-link" data-event="click-skipIntegration">Cancel</a>\n <button type="submit" class="button primary js-next-step margin-left">Add Meraki devices</button>\n </div>\n</div>\n'},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["form-input-sibling"],data:r,loc:{source:"Dropdown.hbs",start:{line:23,column:16},end:{line:23,column:195}}})||e},useDecorators:!0,"4_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(5,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:30,column:16},end:{line:37,column:27}}})||e},usePartial:!0,useData:!0,useDepths:!0});function template$s(e,t,n){const i=Template$1H(e,t);return n||"undefined"==typeof $?i:$(i)}class EditMerakiKeysView extends backbone.View{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.events={"click .js-edit-credentials":"editCredentials","click .js-save-credentials":"saveCredentials","click .js-generate-secret":"generateSecret"},super(e),this.template=template$s,this.viewModel=new backbone.Model({editing:!1})}load(){return this.model.fetch()}render(){return this.$el.html(this.template(this.model.toJSON())),this.stickit(this.model,this.bindings()),this.stickit(this.viewModel,this.viewBindings()),this}attach(){validationService.bind(this)}detach(){validationService.unbind(this),this.$el.detach()}
88bindings(){return{"#vendor-apiKey":validationService.observe("apiKey"),"#vendor-validator":validationService.observe("validator"),"#vendor-secret":validationService.observe("secret"),"#merakiPanelUrlV2Signals":"merakiPanelUrlV2Signals","#merakiPanelUrlV3Signals":"merakiPanelUrlV3Signals","#merakiPanelUrlV3Positions":"merakiPanelUrlV3Positions"}}viewBindings(){const e=e=>({hidden:{observe:"editing",onGet:t=>t===e}});return{".js-edit-credentials":{classes:e(!0)},".js-save-credentials":{classes:e(!1)},"#vendor-apiKey":{attributes:[{name:"disabled",observe:"editing",onGet:e=>!e}]},"#vendor-validator":{attributes:[{name:"disabled",observe:"editing",onGet:e=>!e}]},"#vendor-secret":{attributes:[{name:"disabled",observe:"editing",onGet:e=>!e}]},".js-generate-secret":{attributes:[{name:"disabled",observe:"editing",onGet:e=>!e}]}}}editCredentials(){this.viewModel.set("editing",!0)}remove(){super.remove(),this.unstickit(),this.unstickit(this.viewModel,this.viewBindings())}modelIsValid(){return this.model.isValid(this.model.vendorFields)}saveCredentials(){if(this.modelIsValid()){const e=this.model.updateVendor().then(()=>(this.viewModel.set("editing",!1),toastr.success("Developer keys were successfully validated."),Promise.resolve()),e=>(409===e.status?toastr.detailedError({message:"Meraki integration is already enabled."}):toastr.detailedError({message:"Developer keys are invalid."}),Promise.reject(e)));return l.pushPromise(e),e}}generateSecret(){this.model.generateSecret()}}var Template$1I=Handlebars.template({1:function(e,t,n,i,r,o,a){e.lookupProperty;return""},2:function(e,t,n,i,r){return' <button type="submit" class="button primary js-add-device margin-left sm-width-max sm-no-margin">Add device</button>\n'},4:function(e,t,n,i,r,o,a){e.lookupProperty;return" \n"},5:function(e,t,n,i,r){return'Mac addresses can be found in Meraki panel Wireless - Access points section; for further information please see <a class="navigation-link info-box-link">tutorial</a>.'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,a){var s,c=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div>\n <div class="content-wrapper">\n <div class="smart-location-view">\n <div class="nav-links">\n <a '+d((u(n,"href")||t&&u(t,"href")||l).call(c,"gateway.external",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:5,column:19},end:{line:5,column:46}}}))+' title="External providers" class="navigation-link router-link-active">\n <img class="menu-back-icon" src="img/icon/png/backIcon.png"/>\n </a>\n <a '+d((u(n,"href")||t&&u(t,"href")||l).call(c,"gateway.external",{name:"href",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:8,column:19},end:{line:8,column:46}}}))+' title="External providers" class="navigation-link nav-link router-link-active">External providers</a> /\n <span class="nav-target">Add Meraki devices</span>\n </div>\n </div>\n <br/>\n <div class="form-label">'+d((u(n,"i18n2p")||t&&u(t,"i18n2p")||l).call(c,"subscription.wizard.step",2,2,{name:"i18n2p",hash:{},data:r,loc:{source:"Dropdown.hbs",start:{line:13,column:32},end:{line:13,column:73}}}))+'</div>\n <h2 class="main-header">Add Meraki devices</h2>\n </div>\n</div>\n\n<div class="panel-standard vendor-integration-view">\n <div class="grid-row flex-wrap--wrap">\n <div class="grid-column-6 padding-right sm-grid-column-12 sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"common-form-group-partial"),t,{name:"common-form-group-partial",hash:{classes:"grid-column-4 sm-grid-column-12 md-grid-column-8",label:"vendor.deviceMacAddress",entity:"vendor",property:"currentDevice"},fn:e.program(1,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' <div class="devices">\n <ul class="elements-integration"></ul>\n </div>\n </div>\n <div class="grid-column-6 padding-left sm-grid-column-12 sm-no-padding">\n'+(null!=(s=e.invokePartial(u(i,"info-box-partial"),t,{name:"info-box-partial",fn:e.program(4,r,0,o,a),inverse:e.noop,data:r,helpers:n,partials:i,decorators:e.decorators}))?s:"")+' </div>\n </div>\n\n <div class="margin-top border-top--gray-2 padding-top--large display--flex justify-content--flex-end">\n <a class="button link cancel-new margin-right js-event-click js-previous-step">Back</a>\n <button type="submit" class="button primary js-next-step">Finish integration</button>\n </div>\n\n</div>\n'},"1_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(2,r,0,o,a),inverse:n.noop,args:["form-input-sibling"],data:r,loc:{source:"Dropdown.hbs",start:{line:22,column:16},end:{line:24,column:27}}})||e},useDecorators:!0,"4_d":function(e,t,n,i,r,o,a){var s=n.decorators;return e=(n.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(s,"inline")(e,t,n,{name:"inline",hash:{},fn:n.program(5,r,0,o,a),inverse:n.noop,args:["info-box-content"],data:r,loc:{source:"Dropdown.hbs",start:{line:32,column:16},end:{line:32,column:224}}})||e},usePartial:!0,useData:!0,useDepths:!0});function merakiDevicesTemplate(e,t,n){const i=Template$1I(e,t);return n||"undefined"==typeof $?i:$(i)}class GatewayModule extends backbone.Router{init(){this.initGatewaysList(),this.initGatewaysExternal(),navigationService.registerRoutes("gateway.list",this,"gatewaysList"),navigationService.registerRoutes("gateway.bulkManage",this,"goGatewayBulkEditLegacy"),navigationService.registerRoutes("gateway.manage",this,"goSingleGatewayEdit"),navigationService.registerRoutes("gateway.external",this,"openGatewaysExternal"),navigationService.registerRoutes("gateway.meraki",this,"startMerakiIntegration"),this.navigator=new GatewayNavigator,this.navigator.addToNavigation()}initGatewaysList(){this.gatewaysModel=new GatewaysModel(null,{deviceCounters:(new DeviceCountersBuilder).saasGateways().gateways().build()}),this.gatewaysView=new GatewaysView({model:this.gatewaysModel})}initGatewaysExternal(){this.gatewaysExternalView=new GatewaysExternalView}openGatewaysExternal(){this.showModule({entryId:"externalProviders",view:this.gatewaysExternalView})}async startMerakiIntegration(){const e=new WizardView,t=await externalProvidersService.checkVendor(Vendor.Meraki),n=new MerakiProviderModel;if(t){const t=new EditMerakiKeysView({model:n});e.addStep({stepId:"developer-keys",nextSteps:["devices"],view:t,viewSubmit:t.saveKeys})}else{const t=new MerakiKeysView({model:n});e.addStep({stepId:"developer-keys",nextSteps:["devices"],view:t,exitPredicate:t.modelIsValid,viewSubmit:t.saveKeys})}const i=new VendorDevicesView({model:n,template:merakiDevicesTemplate});e.addStep({stepId:"devices",view:i,viewSubmit:i.finishWizard}),e.start(),this.showModule({entryId:"merakiIntegration",view:e})}goGatewayBulkEditLegacy(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"device-properties";e=e.split(",");const n=new DeviceMangeViewModel({uniqueId:e}),i=new DeviceManageView({model:n,tab:t});this.gatewayBulkEditLegacy(i,e,t)}goSingleGatewayEdit(e,t){const n=new SingleDeviceManageView({uniqueId:e});this.gatewayEdit(n,e,t)}gatewaysList(){this.showModule({entryId:"gateways",view:this.gatewaysView})}gatewayEdit(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"general";this.showModule({entryId:"gateway",view:e,loadModel:{uniqueId:t,tabId:n}})}gatewayBulkEditLegacy(e,t,n){this.showModule({entryId:"bulk-edit-gateway-legacy",view:e,loadModel:{uniqueIds:t,tabId:n}})}showModule(e){navigationView.showModule(e)}sortGatewaysListByVenues(e){this.gatewaysModel.sortGatewaysListByVenues(e)}}const gatewayModule=new GatewayModule; 89/*! 90 * LiquorTree v0.2.70 91 * (c) 2019 amsik 92 * Released under the MIT License. 93 */var NodeContent={name:"node-content",props:["node"],render:function(e){var t=this,n=this.node,i=this.node.tree.vm;if(n.isEditing){var r=n.text;
93return this.$nextTick((function(e){t.$refs.editCtrl.focus()})),e("input",{domProps:{value:n.text,type:"text"},class:"tree-input",on:{input:function(e){r=e.target.value},blur:function(){n.stopEditing(r)},keyup:function(e){13===e.keyCode&&n.stopEditing(r)},mouseup:function(e){e.stopPropagation()}},ref:"editCtrl"})}return i.$scopedSlots.default?i.$scopedSlots.default({node:this.node}):e("span",{domProps:{innerHTML:n.text}})}};function normalizeComponent$1(e,t,n,i,r,o,a,s,c,l){"function"==typeof a&&(c=s,s=a,a=!1);var d,u="function"==typeof n?n.options:n;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,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=d):t&&(d=a?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(u.functional){var p=u.render;u.render=function(e,t){return d.call(t),p(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,d):[d]}return n}var __vue_script__$2=NodeContent;NodeContent.__file="NodeContent.vue";var __vue_inject_styles__$2=void 0,__vue_scope_id__$2=void 0,__vue_module_identifier__$2=void 0,__vue_is_functional_template__$2=void 0,NodeContent$1=normalizeComponent$1({},__vue_inject_styles__$2,__vue_script__$2,__vue_scope_id__$2,__vue_is_functional_template__$2,__vue_module_identifier__$2,void 0,void 0),TreeNode={name:"Node",inject:["tree"],props:["node","options"],components:{NodeContent:NodeContent$1},watch:{node:function(){this.node.vm=this}},data:function(){return this.node.vm=this,{loading:!1}},computed:{padding:function(){return this.node.depth*(this.options.paddingLeft?this.options.paddingLeft:this.options.nodeIndent)+"px"},nodeClass:function(){var e=this.node.states,t=this.hasChildren(),n={"has-child":t,expanded:t&&e.expanded,selected:e.selected,disabled:e.disabled,matched:e.matched,dragging:e.dragging,loading:this.loading,draggable:e.draggable};return this.options.checkbox&&(n.checked=e.checked,n.indeterminate=e.indeterminate),n},visibleChildren:function(){return this.node.children.filter((function(e){return e&&e.visible()}))}},methods:{onNodeFocus:function(){this.tree.activeElement=this.node},focus:function(){this.$refs.anchor.focus(),this.node.select()},check:function(){this.node.checked()?this.node.uncheck():this.node.check()},select:function(e){void 0===e&&(e=evnt);var t=e.ctrlKey,n=this.options,i=this.tree,r=this.node;if(i.$emit("node:clicked",r),!n.editing||!r.isEditing){if(n.editing&&r.editable())return this.startEditing();if(n.checkbox&&n.checkOnSelect)return!n.parentSelect&&this.hasChildren()?this.toggleExpand():this.check(t);!n.parentSelect&&this.hasChildren()&&this.toggleExpand(),n.multiple?r.selected()?t?r.unselect():1!=this.tree.selectedNodes.length&&(i.unselectAll(),r.select()):r.select(t):r.selected()&&t?r.unselect():r.select()}},toggleExpand:function(){this.hasChildren()&&this.node.toggleExpand()},hasChildren:function(){return this.node.hasChildren()},startEditing:function(){this.tree._editingNode&&this.tree._editingNode.stopEditing(),this.node.startEditing()},stopEditing:function(){this.node.stopEditing()},handleMouseDown:function(e){this.options.dnd&&this.tree.vm.startDragging(this.node,e)}}},isOldIE="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function createInjector(e){return function(e,t){return addStyle(e,t)}}var HEAD=document.head||document.getElementsByTagName("head")[0],styles={};function addStyle(e,t){var n=isOldIE?t.media||"default":e,i=styles[n]||(styles[n]={ids:new Set,styles:[]});if(!i.ids.has(e)){i.ids.add(e);var r=t.source;if(t.map&&(r+="\n/*# sourceURL="+t.map.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",t.media&&i.element.setAttribute("media",t.media),HEAD.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(r),i.element.styleSheet.cssText=i.styles.filter(
93Boolean).join("\n");else{var o=i.ids.size-1,a=document.createTextNode(r),s=i.element.childNodes;s[o]&&i.element.removeChild(s[o]),s.length?i.element.insertBefore(a,s[o]):i.element.appendChild(a)}}}var __vue_script__$1$1=TreeNode;TreeNode.__file="TreeNode.vue";var __vue_render__$2=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"tree-node",class:e.nodeClass,attrs:{"data-id":e.node.id},on:{mousedown:function(t){return t.stopPropagation(),e.handleMouseDown(t)}}},[n("div",{staticClass:"tree-content",style:["ltr"==e.options.direction?{"padding-left":e.padding}:{"padding-right":e.padding}],on:{click:function(t){return t.stopPropagation(),e.select(t)}}},[n("i",{staticClass:"tree-arrow",class:[{expanded:e.node.states.expanded,"has-child":e.node.children.length||e.node.isBatch},e.options.direction],on:{click:function(t){return t.stopPropagation(),e.toggleExpand(t)}}}),e._v(" "),e.options.checkbox?n("i",{staticClass:"tree-checkbox",class:{checked:e.node.states.checked,indeterminate:e.node.states.indeterminate},on:{click:function(t){return t.stopPropagation(),e.check(t)}}}):e._e(),e._v(" "),n("span",{ref:"anchor",staticClass:"tree-anchor",attrs:{tabindex:"-1"},on:{focus:e.onNodeFocus,dblclick:function(t){return e.tree.$emit("node:dblclick",e.node)}}},[n("node-content",{attrs:{node:e.node}})],1)]),e._v(" "),n("transition",{attrs:{name:"l-fade"}},[e.hasChildren()&&e.node.states.expanded?n("ul",{staticClass:"tree-children"},e._l(e.visibleChildren,(function(t){return n("node",{key:t.id,attrs:{node:t,options:e.options}})})),1):e._e()])],1)},__vue_staticRenderFns__$2=[],__vue_inject_styles__$1$1=function(e){e&&e("data-v-20094490_0",{source:'.tree-node{white-space:nowrap;display:flex;flex-direction:column;position:relative;box-sizing:border-box}.tree-content{display:flex;align-items:center;padding:3px;cursor:pointer;width:100%;box-sizing:border-box}.tree-node:not(.selected)>.tree-content:hover{background:#f6f8fb}.tree-node.selected>.tree-content{background-color:#e7eef7}.tree-node.disabled>.tree-content:hover{background:inherit}.tree-arrow{flex-shrink:0;height:30px;cursor:pointer;margin-left:30px;width:0}.tree-arrow.has-child{margin-left:0;width:30px;position:relative}.tree-arrow.has-child:after{border:1.5px solid #494646;position:absolute;border-left:0;border-top:0;left:9px;top:50%;height:9px;width:9px;transform:rotate(-45deg) translateY(-50%) translateX(0);transition:transform .25s;transform-origin:center}.tree-arrow.has-child.rtl:after{border:1.5px solid #494646;position:absolute;border-right:0;border-bottom:0;right:0;top:50%;height:9px;width:9px;transform:rotate(-45deg) translateY(-50%) translateX(0);transition:transform .25s;transform-origin:center}.tree-arrow.expanded.has-child:after{transform:rotate(45deg) translateY(-50%) translateX(-5px)}.tree-checkbox{flex-shrink:0;position:relative;width:30px;height:30px;box-sizing:border-box;border:1px solid #dadada;border-radius:2px;background:#fff;transition:border-color .25s,background-color .25s}.tree-arrow:after,.tree-checkbox:after{position:absolute;display:block;content:""}.tree-checkbox.checked,.tree-checkbox.indeterminate{background-color:#3a99fc;border-color:#218eff}.tree-checkbox.checked:after{box-sizing:content-box;border:1.5px solid #fff;border-left:0;border-top:0;left:9px;top:3px;height:15px;width:8px;transform:rotate(45deg) scaleY(0);transition:transform .25s;transform-origin:center}.tree-checkbox.checked:after{transform:rotate(45deg) scaleY(1)}.tree-checkbox.indeterminate:after{background-color:#fff;top:50%;left:20%;right:20%;height:2px}.tree-anchor{flex-grow:2;outline:0;display:flex;text-decoration:none;color:#343434;vertical-align:top;margin-left:3px;line-height:24px;padding:3px 6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tree-node.selected>.tree-content>.tree-anchor{outline:0}.tree-node.disabled>.tree-content>.tree-anchor{color:#989191;background:#fff;opacity:.6;cursor:default;outline:0}.tree-input{display:block;width:100%;height:24px;line-height:24px;outline:0;border:1px solid #3498db;padding:0 4px}.l-fade-enter-active,.l-fade-leave-active{transition:opacity .3s,transform .3s;transform:translateX(0)}.l-fade-enter,.l-fade-leave-to{opacity:0;transform:translateX(-2em)}.tree--small .tree-anchor{line-height:19px}.tree--small .tree-checkbox{width:23px;height:23px}.tree--small .tree-arrow{height:23px}.tree--small .tree-checkbox.checked:after{left:7px;top:3px;height:11px;width:5px}.tree-node.has-child.loading>.tree-content>.tree-arrow,.tree-node.has-child.loading>.tree-content>.tree-arrow:after{border-radius:50%;width:15px;height:15px;border:0}.tree-node.has-child.loading>.tree-content>.tree-arrow{font-size:3px;position:relative;border-top:1.1em solid rgba(45,45,45,.2);border-right:1.1em solid rgba(45,45,45,.2);border-bottom:1.1em solid rgba(45,45,45,.2);border-left:1.1em solid #2d2d2d;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);left:5px;-webkit-animation:loading 1.1s infinite linear;animation:loading 1.1s infinite linear;margin-right:8px}@-webkit-keyframes loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}',map:void 0,media:void 0})},__vue_scope_id__$1$1=void 0,__vue_module_identifier__$1$1=void 0,__vue_is_functional_template__$1$1=!1,TreeNode$1=normalizeComponent$1({render:__vue_render__$2,staticRenderFns:__vue_staticRenderFns__$2},__vue_inject_styles__$1$1,__vue_script__$1$1,__vue_scope_id__$1$1,__vue_is_functional_template__$1$1,__vue_module_identifier__$1$1,createInjector,void 0),script$2={name:"DragNode",props:["target"],computed:{style:function(){return void 0===this.target.top?"display: none":"top: "+this.target.top+"px; left: "+this.target.left+"px"}}},__vue_script__$2$1=script$2;script$2.__file="DraggableNode.vue";var __vue_render__$1$1=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"tree-dragnode",style:this.style},[this._v("\n "+this._s(this.target.node.text)+"\n")])},__vue_staticRenderFns__$1$1=[],__vue_inject_styles__$2$1=function(e){e&&e("data-v-7a41ac3e_0",{source:".tree-dragnode{padding:10px;border:1px solid #e7eef7;position:fixed;border-radius:8px;background:#fff;transform:translate(-50%,-110%);z-index:10}",map:void 0,media:void 0})},__vue_scope_id__$2$1=void 0,__vue_module_identifier__$2$1=void 0,__vue_is_functional_template__$2$1=!1,DraggableNode=normalizeComponent$1({render:__vue_render__$1$1,staticRenderFns:__vue_staticRenderFns__$1$1},__vue_inject_styles__$2$1,__vue_script__$2$1,__vue_scope_id__$2$1,__vue_is_functional_template__$2$1,__vue_module_identifier__$2$1,createInjector,void 0);function recurseDown(e,t){var n;return Array.isArray(e)?e.map((function(e){return recurseDown(e,t)})):(!1!==(n=t(e))&&e.children&&e.children.length&&(n=recurseDown(e.children,t)),n)}function striptags(e){return!1==!!document?e:(striptags.__element||(striptags.__element=document.createElement("div")),striptags.__element.innerHTML=e,striptags.__element.innerText)}function finder(e){return function(t){return Object.keys(e).every((function(n){if("text"===n||"id"===n){var i=e[n],r=t[n];return r=striptags(r),isRegExp$2(i)?i.test(r):i===r}var o=e[n];return"state"===n&&(n="states"),Object.keys(o).every((function(e){return t[n][e]===o[e]}))}))}}function isRegExp$2(e){return e instanceof RegExp}function getAllChildren(e){var t=[];return e.forEach((function e(n){t.push(n),n.children&&n.children.forEac
93h(e)})),t}function find$2(e,t,n){if(void 0===n&&(n=!0),!e||!e.length||!t)return null;if(n&&(e=getAllChildren(e)),"number"==typeof t)return e[t]||null;("string"==typeof t||t instanceof RegExp)&&(t={text:t}),"function"!=typeof t&&(t=finder(t));var i=e.filter(t);return i.length?i:null}function s4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function uuidV4(){return s4()+s4()+"-"+s4()+"-"+s4()+"-"+s4()+"-"+s4()+s4()+s4()}function nodeIterator(e,t){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];e.forEach((function(e){return e[t].apply(e,n)}))}var Selection=function(e){function t(t,n){var i;void 0===n&&(n=[]),e.call(this),this.tree=t,(i=this).push.apply(i,n)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.remove=function(){return nodeIterator(this,"remove"),this},t.prototype.expand=function(){return nodeIterator(this,"expand"),this},t.prototype.collapse=function(){return nodeIterator(this,"collapse"),this},t.prototype.select=function(e){return nodeIterator(this,"select",e),this},t.prototype.unselect=function(){return nodeIterator(this,"unselect"),this},t.prototype.check=function(){return this.tree.options.checkbox&&nodeIterator(this,"check"),this},t.prototype.uncheck=function(){return this.tree.options.checkbox&&nodeIterator(this,"uncheck"),this},t.prototype.disable=function(){return nodeIterator(this,"disable"),this},t.prototype.enable=function(){return nodeIterator(this,"enable"),this},t}(Array),Node$1=function(e,t){if(!t)throw new Error("Node can not be empty");if(this.id=t.id||uuidV4(),this.states=t.state||{},this.showChildren=!0,this.children=t.children||[],this.parent=t.parent||null,this.isBatch=t.isBatch||!1,this.isEditing=!1,this.data=Object.assign({},t.data||{},{text:t.text}),!e)throw new Error("Node must have a Tree context!");this.tree=e},prototypeAccessors$2={key:{configurable:!0},depth:{configurable:!0},text:{configurable:!0}};Node$1.prototype.$emit=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];(t=this.tree).$emit.apply(t,["node:"+e,this].concat(n))},Node$1.prototype.getPath=function(){if(!this.parent)return[this];for(var e=[this],t=this;null!==(t=t.parent);)e.push(t);return e},prototypeAccessors$2.key.get=function(){return this.id+this.text},prototypeAccessors$2.depth.get=function(){var e=0,t=this.parent;if(!t||!1===this.showChildren)return e;do{e++}while(t=t.parent);return e},prototypeAccessors$2.text.get=function(){return this.data.text},prototypeAccessors$2.text.set=function(e){var t=this.text;t!==e&&(this.data.text=e,this.$emit("text:changed",e,t))},Node$1.prototype.setData=function(e){return this.data=Object.assign({},this.data,e),this.$emit("data:changed",this.data),this.data},Node$1.prototype.state=function(e,t){return void 0===t?this.states[e]:(this.states[e]=t,this)},Node$1.prototype.recurseUp=function(e,t){if(void 0===t&&(t=this),t.parent)return!1!==e(t.parent)?this.recurseUp(e,t.parent):void 0},Node$1.prototype.recurseDown=function(e,t){!0!==t&&e(this),this.hasChildren()&&recurseDown(this.children,e)},Node$1.prototype.refreshIndeterminateState=function(){if(!this.tree.options.autoCheckChildren)return this;if(this.state("indeterminate",!1),this.hasChildren()){var e=this.children.length,t=0,n=0,i=0;this.children.forEach((function(e){e.checked()&&t++,e.disabled()&&i++,e.indeterminate()&&n++})),t>0&&t===e-i?this.checked()||(this.state("checked",!0),this.tree.check(this),this.$emit("checked")):(this.checked()&&(this.state("checked",!1),this.tree.uncheck(this),this.$emit("unchecked")),this.state("indeterminate",n>0||t>0&&t<e))}this.parent&&this.parent.refreshIndeterminateState()},Node$1.prototype.indeterminate=function(){return this.state("indeterminate")},Node$1.prototype.editable=function(){return!this.state("disabled")&&this.state("editable")},Node$1.prototype.selectable=function(){return!this.state("disabled")&&this.state("selectable")},Node$1.prototype.selected=function(){return this.state("selected")},Node$1.prototype.select=function(e){return!this.selectable()||this.selected()||(this.tree.select(this,e),this.state("selected",!0),this.$emit("selected")),this},Node$1.prototype.unselect=function(){return this.selectable()&&this.selected()?(this.tree.unselect(this),this.state("selected",!1),this.$emit("unselected"),this):this},Node$1.prototype.checked=function(){return this.state("checked")},Node$1.prototype.check=function(){var e=this;if(this.checked()||this.disabled())return this;if(this.indeterminate())return this.uncheck();var t=this.tree.options.checkDisabledChildren,n=this;return this.tree.options.autoCheckChildren?(this.recurseDown((function(i){i.state("indeterminate",!1),i.disabled()&&!t||i.checked()||(e.tree.check(i),i.state("checked",!0),i.$emit("checked",i.id===n.id?void 0:n))})),this.parent&&this.parent.refreshIndeterminateState()):(this.tree.check(this),this.state("checked",!0),this.$emit("checked")),this},Node$1.prototype.uncheck=function(){var e=this;if(!this.indeterminate()&&!this.checked()||this.disabled())return this;var t=this;return this.tree.options.autoCheckChildren?(this.recurseDown((function(n){n.state("indeterminate",!1),n.checked()&&(e.tree.uncheck(n),n.state("checked",!1),n.$emit("unchecked",n.id===t.id?void 0:t))})),this.parent&&this.parent.refreshIndeterminateState()):(this.tree.uncheck(this),this.state("checked",!1),this.$emit("unchecked")),this},Node$1.prototype.show=function(){return this.visible()||(this.state("visible",!0),this.$emit("shown")),this},Node$1.prototype.hide=function(){return this.hidden()||(this.state("visible",!1),this.$emit("hidden")),this},Node$1.prototype.visible=function(){return this.state("visible")},Node$1.prototype.hidden=function(){return!this.state("visible")},Node$1.prototype.enable=function(){return this.enabled()||(this.tree.options.autoDisableChildren?this.recurseDown((function(e){e.disabled()&&(e.state("disabled",!1),e.$emit("enabled"))})):(this.state("disabled",!1),this.$emit("enabled"))),this},Node$1.prototype.enabled=function(){return!this.state("disabled")},Node$1.prototype.disable=function(){return this.disabled()||(this.tree.options.autoDisableChildren?this.recurseDown((function(e){e.enabled()&&(e.state("disabled",!0),e.$emit("disabled"))})):(this.state("disabled",!0),this.$emit("disabled"))),this},Node$1.prototype.disabled=function(){return this.state("disabled")},Node$1.prototype.expandTop=function(e){var t=this;
93this.recurseUp((function(n){n.state("expanded",!0),!0!==e&&t.$emit("expanded",n)}))},Node$1.prototype.expand=function(){var e=this;return this.canExpand()?(this.isBatch?this.tree.loadChildren(this).then((function(t){e.state("expanded",!0),e.$emit("expanded")})):(this.state("expanded",!0),this.$emit("expanded")),this):this},Node$1.prototype.canExpand=function(){return!(this.disabled()||!this.hasChildren())&&(this.collapsed()&&(!this.tree.autoDisableChildren||this.disabled()))},Node$1.prototype.canCollapse=function(){return!(this.disabled()||!this.hasChildren())&&(this.expanded()&&(!this.tree.autoDisableChildren||this.disabled()))},Node$1.prototype.expanded=function(){return this.state("expanded")},Node$1.prototype.collapse=function(){return this.canCollapse()?(this.state("expanded",!1),this.$emit("collapsed"),this):this},Node$1.prototype.collapsed=function(){return!this.state("expanded")},Node$1.prototype.toggleExpand=function(){return this._toggleOpenedState()},Node$1.prototype.toggleCollapse=function(){return this._toggleOpenedState()},Node$1.prototype._toggleOpenedState=function(){return this.canCollapse()?this.collapse():this.canExpand()?this.expand():void 0},Node$1.prototype.isDropable=function(){return this.enabled()&&this.state("dropable")},Node$1.prototype.isDraggable=function(){return this.enabled()&&this.state("draggable")&&!this.isEditing},Node$1.prototype.startDragging=function(){return!(!this.isDraggable()||this.state("dragging"))&&((!this.isRoot()||1!==this.tree.model.length)&&(this.tree.options.store&&(this.tree.__silence=!0),this.select(),this.state("dragging",!0),this.$emit("dragging:start"),this.tree.__silence=!1,!0))},Node$1.prototype.finishDragging=function(e,t){if(e.isDropable()||"drag-on"!==t){var n=this.tree,i=this.clone(),r=this.parent;i.id=this.id,n.__silence=!0,this.remove(),"drag-on"===t?n.append(e,i):"drag-below"===t?n.after(e,i):"drag-above"===t&&n.before(e,i),e.refreshIndeterminateState(),r&&r.refreshIndeterminateState(),n.__silence=!1,i.state("dragging",!1),this.state("dragging",!1),i.$emit("dragging:finish",e,t),i.state("selected")&&(n.selectedNodes.remove(this),n.selectedNodes.add(i),n.vm.$set(this.state,"selected",!1),n.vm.$set(i.state,"selected",!0)),this.tree.options.store&&this.tree.vm.$emit("LIQUOR_NOISE")}},Node$1.prototype.startEditing=function(){if(this.disabled())return!1;this.isEditing||(this.tree._editingNode=this,this.tree.activeElement=this,this.isEditing=!0,this.$emit("editing:start"))},Node$1.prototype.stopEditing=function(e){if(this.isEditing){this.isEditing=!1,this.tree._editingNode=null,this.tree.activeElement=null;var t=this.text;e&&!1!==e&&this.text!==e&&(this.text=e),this.$emit("editing:stop",t)}},Node$1.prototype.index=function(e){return this.tree.index(this,e)},Node$1.prototype.first=function(){return this.hasChildren()?this.children[0]:null},Node$1.prototype.last=function(){return this.hasChildren()?this.children[this.children.length-1]:null},Node$1.prototype.next=function(){return this.tree.nextNode(this)},Node$1.prototype.prev=function(){return this.tree.prevNode(this)},Node$1.prototype.insertAt=function(e,t){var n=this;if(void 0===t&&(t=this.children.length),e)return e=this.tree.objectToNode(e),Array.isArray(e)?(e.reverse().map((function(e){return n.insertAt(e,t)})),new Selection(this.tree,[].concat(e))):(e.parent=this,this.children.splice(t,0,e),e.disabled()&&e.hasChildren()&&e.recurseDown((function(e){e.state("disabled",!0)})),this.isBatch||this.$emit("added",e),e)},Node$1.prototype.addChild=function(e){return this.insertAt(e)},Node$1.prototype.append=function(e){return this.addChild(e)},Node$1.prototype.prepend=function(e){return this.insertAt(e,0)},Node$1.prototype.before=function(e){return this.tree.before(this,e)},Node$1.prototype.after=function(e){return this.tree.after(this,e)},Node$1.prototype.empty=function(){for(var e;e=this.children.pop();)e.remove();return this},Node$1.prototype.remove=function(){return this.tree.removeNode(this)},Node$1.prototype.removeChild=function(e){var t=this.find(e);return t?this.tree.removeNode(t):null},Node$1.prototype.find=function(e,t){return this.tree.isNode(e)?e:find$2(this.children,e,t)}
93,Node$1.prototype.focus=function(){this.vm&&this.vm.focus()},Node$1.prototype.hasChildren=function(){return this.showChildren&&this.isBatch||this.children.length>0},Node$1.prototype.isRoot=function(){return null===this.parent},Node$1.prototype.clone=function(){return this.tree.objectToNode(this.toJSON())},Node$1.prototype.toJSON=function(){var e=this;return{text:this.text,data:this.data,state:this.states,children:this.children.map((function(t){return e.tree.objectToNode(t).toJSON()}))}},Object.defineProperties(Node$1.prototype,prototypeAccessors$2);var nodeStates={selected:!1,selectable:!0,checked:!1,expanded:!1,disabled:!1,visible:!0,indeterminate:!1,matched:!1,editable:!0,dragging:!1,draggable:!0,dropable:!0};function merge(e){return void 0===e&&(e={}),Object.assign({},nodeStates,e)}function objectToNode(e,t){var n=null;if(t instanceof Node$1)return t;if("string"==typeof t)n=new Node$1(e,{text:t,state:merge(),id:uuidV4()});else{if(Array.isArray(t))return t.map((function(t){return objectToNode(e,t)}));(n=new Node$1(e,t)).states=merge(n.states),n.id||(n.id=uuidV4()),n.children.length&&(n.children=n.children.map((function(t){return(t=objectToNode(e,t)).parent=n,t})))}return n}var List=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.empty=function(){return this.splice(0,this.length),this},t.prototype.has=function(e){return this.includes(e)},t.prototype.add=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this).push.apply(e,t),this},t.prototype.remove=function(e){var t=this.indexOf(e);return-1===t||this.splice(t,1),this},t.prototype.removeAll=function(e){for(;this.includes(e);)this.remove(e);return this},t.prototype.top=function(){return this[this.length-1]},t}(Array),defaultPropertyNames={id:"id",text:"text",children:"children",state:"state",data:"data",isBatch:"isBatch"};function convertNames(e,t){return{id:e[t.id],text:e[t.text],children:e[t.children],state:e[t.state],data:e[t.data],isBatch:e[t.isBatch]}}var TreeParser={parse:function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)||(e=[e]);var i=Object.assign({},defaultPropertyNames,n);return e.map((function e(t){var n=convertNames(t,i);return n.children&&!Array.isArray(n.children)&&(n.children=[n.children]),n.children&&(n.children=n.children.map(e)),n})).map((function(e){return objectToNode(t,e)}))}};function request(e){return new Promise((function(t,n){var i=new XMLHttpRequest;i.open("GET",e),i.setRequestHeader("Content-Type","application/json"),i.addEventListener("load",(function(e){try{var r=JSON.parse(i.response);t(r)}catch(e){n(e)}})),i.send(null)}))}function get$4(e){return request(e)}function createTemplate(e){return function(t){for(var n,i=/{([^}]+)}/,r=e;n=i.exec(r);)r=r.replace(n[0],t[n[1]]);return r}}function orderAsc(e,t){return e.text<t.text?-1:e.text>t.text?1:0}function orderDesc(e,t){return e.text<t.text?1:e.text>t.text?-1:0}function getCompareFunction(e){switch(e.toLowerCase()){case"asc":return orderAsc;case"desc":return orderDesc}}function sort(e,t){"string"==typeof t&&(t=getCompareFunction(t)),Array.isArray(e)&&"function"==typeof t&&e.sort(t)}function fetchDelay(e){return new Promise((function(t){setTimeout(t,e)}))}var Tree=function(e){var t=this;this.vm=e,this.options=e.opts,this.activeElement=null;var n=this.options.fetchData;"string"==typeof n&&(this.options.fetchData=function(e){var n=createTemplate(e);return function(e){return get$4(n(e)).catch(t.options.onFetchError)}}(n))};Tree.prototype.$on=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];(t=this.vm).$on.apply(t,[e].concat(n))},Tree.prototype.$once=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];(t=this.vm).$once.apply(t,[e].concat(n))},Tree.prototype.$off=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];(t=this.vm).$off.apply(t,[e].concat(n))},Tree.prototype.$emit=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];this.__silence||((t=this.vm).$emit.apply(t,[e].concat(n)),this.options.store&&this.vm.$emit("LIQUOR_NOISE"))},Tree.prototype._sort=function(e,t,n){!1!==n&&this.recurseDown(e,(function(e){e.hasChildren()&&sort(e.children,t)})),sort(e,t)},Tree.prototype.sortTree=function(e,t){this._sort(this.model,e,t)},Tree.prototype.sort=function(e,t,n){var i=this,r=this.find(e,!0);r&&t&&r.forEach((function(e){i._sort(e.children,t,n)}))},Tree.prototype.clearFilter=function(){this.recurseDown((function(e){e.state("matched",!1),e.state("visible",!0),e.state("exp
93anded",e.__expanded),e.__expanded=void 0,e.showChildren=!0})),this.vm.matches.length=0,this.vm.$emit("tree:filtered",[],"")},Tree.prototype.filter=function(e){if(!e)return this.clearFilter();var t=[],n=this.options.filter.matcher,i=this.options.filter,r=i.showChildren,o=i.plainList;return this.recurseDown((function(i){n(e,i)&&t.push(i),i.showChildren=!0,void 0===i.__expanded&&(i.__expanded=i.state("expanded")),i.state("visible",!1),i.state("matched",!1),i.state("expanded",!0)})),t.reverse().forEach((function(e){e.state("matched",!0),e.state("visible",!0),e.showChildren=!o,e.hasChildren()&&e.recurseDown((function(e){e.state("visible",!!r)}),!0),e.recurseUp((function(e){e.state("visible",!0),e.state("expanded",!0)})),e.hasChildren()&&e.state("expanded",!1)})),this.vm.matches=t,this.vm.$emit("tree:filtered",t,e),t},Tree.prototype.selected=function(){return new(Function.prototype.bind.apply(Selection,[null].concat([this],this.selectedNodes)))},Tree.prototype.checked=function(){return this.options.checkbox?new(Function.prototype.bind.apply(Selection,[null].concat([this],this.checkedNodes))):null},Tree.prototype.loadChildren=function(e){var t=this;if(e){this.$emit("tree:data:fetch",e),this.options.minFetchDelay>0&&e.vm&&(e.vm.loading=!0);var n=this.fetch(e).then((function(n){e.append(n),e.isBatch=!1,t.options.autoCheckChildren&&(e.checked()&&e.recurseDown((function(e){e.state("checked",!0)})),e.refreshIndeterminateState()),t.$emit("tree:data:received",e)}));return Promise.all([fetchDelay(this.options.minFetchDelay),n]).then((function(t){return e.vm&&(e.vm.loading=!1),n}))}},Tree.prototype.fetch=function(e,t){var n=this,i=this.options.fetchData(e);return i.then||(i=get$4(i).catch(this.options.onFetchError)),!1===t?i:i.then((function(e){try{return n.parse(e,n.options.modelParse)}catch(e){throw new Error(e)}})).catch(this.options.onFetchError)},Tree.prototype.fetchInitData=function(){return this.fetch({id:"root",name:"root"},!1)},Tree.prototype.setModel=function(e){var t=this;return new Promise((function(n){if(t.model=t.parse(e,t.options.modelParse),requestAnimationFrame((function(e){t.vm.model=t.model,n()})),t.selectedNodes=new List,t.checkedNodes=new List,recurseDown(t.model,(function(e){e.tree=t,e.selected()&&t.selectedNodes.add(e),e.checked()&&(t.checkedNodes.add(e),e.parent&&e.parent.refreshIndeterminateState()),t.options.autoDisableChildren&&e.disabled()&&e.recurseDown((function(e){e.state("disabled",!0)}))})),!t.options.multiple&&t.selectedNodes.length){var i=t.selectedNodes.top();t.selectedNodes.forEach((function(e){i!==e&&e.state("selected",!1)})),t.selectedNodes.empty().add(i)}t.options.checkOnSelect&&t.options.checkbox&&t.unselectAll()}))},Tree.prototype.recurseDown=function(e,t){return!t&&e&&(t=e,e=this.model),recurseDown(e,t)},Tree.prototype.select=function(e,t){var n=this.getNode(e);return!!n&&(this.options.multiple&&t?this.selectedNodes.add(n):(this.unselectAll(),this.selectedNodes.empty().add(n)),!0)},Tree.prototype.selectAll=function(){var e=this;return!!this.options.multiple&&(this.selectedNodes.empty(),this.recurseDown((function(t){e.selectedNodes.add(t.select(!0))})),!0)},Tree.prototype.unselect=function(e){var t=this.getNode(e);return!!t&&(this.selectedNodes.remove(t),!0)},Tree.prototype.unselectAll=function(){for(var e;e=this.selectedNodes.pop();)e.unselect();return!0},Tree.prototype.check=function(e){this.checkedNodes.add(e)},Tree.prototype.uncheck=function(e){this.checkedNodes.remove(e)},Tree.prototype.checkAll=function(){this.recurseDown((function(e){0===e.depth&&(e.indeterminate()&&e.state("indeterminate",!1),e.check())}))},Tree.prototype.uncheckAll=function(){for(var e;e=this.checkedNodes.pop();)e.uncheck();return!0},Tree.prototype.expand=function(e){return!e.expanded()&&(e.expand(),!0)},Tree.prototype.collapse=function(e){return!e.collapsed()&&(e.collapse(),!0)},Tree.prototype.toggleExpand=function(e){return!!e.hasChildren()&&(e.toggleExpand(),!0)},Tree.prototype.toggleCollapse=function(e){return!!e.hasChildren()&&(e.toggleCollapse(),!0)},Tree.prototype.expandAll=function(){this.recurseDown((function(e){e.hasChildren()&&e.collapsed()&&e.expand()}))},Tree.prototype.collapseAll=function(){this.recurseDown((function(e){e.hasChildren()&&e.expanded()&&e.collapse()}))},Tree.prototype.index=function(e,t){var n=e.parent,i=(n=n?n.children:this.model).indexOf(e);return t?{index:i,target:n,node:n[i]}:i},Tree.prototype.nextNode=function(e){var t=this.index(e,!0);return t.target[t.index+1]||null},Tree.prototype.nextVisibleNode=function(e){if(e.hasChildren()&&e.expanded())return e.first();var t=this.nextNode(e);return!t&&e.parent?e.parent.next():t},Tree.prototype.prevNode=function(e){var t=this.index(e,!0);return t.target[t.index-1]||null},Tree.prototype.prevVisibleNode=function(e){var t=this.prevNode(e);return t?t.hasChildren()&&t.expanded()?t.last():t:e.parent},Tree.prototype.addToModel=function(e,t){var n=this;return void 0===t&&(t=this.model.length),e=this.objectToNode(e),this.model.splice(t,0,e),this.recurseDown(e,(function(e){e.tree=n})),this.$emit("node:added",e),e},Tree.prototype.append=function(e,t){var n=this.find(e);return!!n&&n.append(t)},Tree.prototype.prepend=function(e,t){var n=this.find(e);return!!n&&n.prepend(t)},Tree.prototype.before=function(e,t){e=this.find(e);var n=this.index(e,!0),i=this.objectToNode(t);return!!~n.index&&(n.target.splice(n.index,0,i),i.parent=e.parent,this.$emit("node:added",i),i)},Tree.prototype.after=function(e,t){e=this.find(e);var n=this.index(e,!0),i=this.objectToNode(t);return!!~n.index&&(n.target.splice(n.index+1,0,i),i.parent=e.parent,this.$emit("node:added",i),i)},Tree.prototype.addNode=function(e){var t=this.model.length;return e=objectToNode(e),this.model.splice(t,0,e),this.$emit("node:added",e),e},Tree.prototype.remove=function(e,t){return this.removeNode(this.find(e,t))},Tree.prototype.removeNode=function(e){if(e instanceof Selection)return e.remove();if(!e)return!1;if(e.parent){var t=e.parent.children;~t.indexOf(e)&&t.splice(t.indexOf(e),1)}else~this.model.indexOf(e)&&this.model.splice(this.model.indexOf(e),1);e.parent&&e.parent.indeterminate()&&!e.parent.hasChildren()&&e.parent.state("indeterminate",!1),null!==this.activeElement&&e.id===this.activeElement.id&&(this.activeElement=null),e.parent=null,this.$emit("node:removed",e),this.selectedNodes.remove(e),this.checkedNodes.remove(e);var n=this.vm.matches;return n&&n.length&&n.includes(e)&&n.splice(n.indexOf(e),1),e},Tree.prototype.isNode=function(e){return e instanceof Node$1},Tree.prototype.find=function(e,t){if(this.isNode(e))return e;var n=find$2(this.model,e);return n&&n.length?new Selection(this,!0===t?n:[n[0]]):new Selection(this,[])},Tree.prototype.updateData=function(e,t){var n=this.find(e);
93return n.forEach((function(e){return e.setData(t(e))})),n},Tree.prototype.getNodeById=function(e){var t=null;return recurseDown(this.model,(function(n){if(""+n.id===e)return t=n,!1})),t},Tree.prototype.getNode=function(e){return this.isNode(e)?e:null},Tree.prototype.objectToNode=function(e){return objectToNode(this,e)},Tree.prototype.parse=function(e,t){t||(t=this.options.propertyNames);try{return TreeParser.parse(e,this,t)}catch(e){return[]}};var keyCodes$1={ARROW_LEFT:37,ARROW_TOP:38,ARROW_RIGHT:39,ARROW_BOTTOM:40,SPACE:32,DELETE:46,ENTER:13,ESC:27},codesArr=[37,38,39,40,32];function focusUp(e,t){var n=e.prevVisibleNode(t);if(n)return n.disabled()?focusUp(e,n):void n.focus()}function focusdDown(e,t){var n=e.nextVisibleNode(t);if(n)return n.disabled()?focusdDown(e,n):void n.focus()}function checkNode(e,t){e.options.checkbox&&(t.checked()?t.uncheck():t.check())}function leftArrow(e,t){if(t.expanded())t.collapse();else{var n=t.parent;n&&n.focus()}}function rightArrow(e,t){if(t.collapsed())t.expand();else{var n=t.first();n&&n.focus()}}function deleteNode(e,t){var n=e.options.deletion;n&&("function"==typeof n?!0===n(t)&&t.remove():!0===n&&t.remove())}function initKeyboardNavigation(e){e.vm.$el.addEventListener("keydown",(function(t){var n=t.keyCode,i=e.activeElement;if(e.isNode(i))if(i.isEditing)switch(n){case keyCodes$1.ESC:return i.stopEditing(!1)}else switch(codesArr.includes(n)&&(t.preventDefault(),t.stopPropagation()),n){case keyCodes$1.ARROW_LEFT:return leftArrow(e,i);case keyCodes$1.ARROW_RIGHT:return rightArrow(e,i);case keyCodes$1.ARROW_TOP:return focusUp(e,i);case keyCodes$1.ARROW_BOTTOM:return focusdDown(e,i);case keyCodes$1.SPACE:case keyCodes$1.ENTER:return checkNode(e,i);case keyCodes$1.DELETE:return deleteNode(e,i)}}),!0)}function assert$1(e,t){if(!1===e)throw new Error(t)}function initEvents$1(e){var t=e.opts,n=t.multiple,i=t.checkbox,r=e.tree,o=function(t){var r=e.selected();i?e.$emit("input",{selected:n?r:r[0]||null,checked:e.checked()}):e.$emit("input",n?r:r[0]||null)};o(),r.$on("node:selected",o),r.$on("node:unselected",o),i&&(r.$on("node:checked",o),r.$on("node:unchecked",o)),r.$on("node:added",(function(e,t){var n=t||e;i&&(n.state("checked")&&!r.checkedNodes.has(n)&&r.checkedNodes.add(n),n.refreshIndeterminateState()),n.state("selected")&&!r.selectedNodes.has(n)&&r.select(n),o()}))}var TreeMixin={mounted:function(){var e,t=this,n=new Tree(this);this.tree=n,this._provided.tree=n,!this.data&&this.opts.fetchData?e=n.fetchInitData():this.data&&this.data.then?(e=this.data,this.loading=!0):e=Promise.resolve(this.data),e.then((function(e){e||(e=[]),t.opts.store?t.connectStore(t.opts.store):t.tree.setModel(e),t.loading&&(t.loading=!1),t.$emit("tree:mounted",t),initEvents$1(t)})),!1!==this.opts.keyboardNavigation&&initKeyboardNavigation(n)},methods:{connectStore:function(e){var t=this,n=e.store,i=e.mutations,r=e.getter,o=e.dispatcher;assert$1("function"==typeof r,"`getter` must be a function"),assert$1("function"==typeof o,"`dispatcher` must be a function"),void 0!==i&&assert$1(Array.isArray(i),"`mutations` must be an array"),n.subscribe((function(e,n){i?i.includes(e.type)&&t.tree.setModel(r()):t.tree.setModel(r())})),this.tree.setModel(r()),this.$on("LIQUOR_NOISE",(function(){t.$nextTick((function(e){o(t.toJSON())}))}))},recurseDown:function(e){this.tree.recurseDown(e)},selected:function(){return this.tree.selected()},checked:function(){return this.tree.checked()},append:function(e,t){return t?this.tree.append(e,t):this.tree.addToModel(e,this.tree.model.length)},prepend:function(e,t){return t?this.tree.prepend(e,t):this.tree.addToModel(e,0)},addChild:function(e,t){return this.append(e,t)},remove:function(e,t){return this.tree.remove(e,t)},before:function(e,t){return t?this.tree.before(e,t):this.prepend(e)},after:function(e,t){return t?this.tree.after(e,t):this.append(e)},find:function(e,t){return this.tree.find(e,t)},findAll:function(e){return this.tree.find(e,!0)},expandAll:function(){return this.tree.expandAll()},updateData:function(e,t){return this.tree.updateData(e,t)},collapseAll:function(){return this.tree.collapseAll()},sortTree:function(e,t){return this.tree.sortTree(e,t)},sort:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.tree).sort.apply(e,t)},setModel:function(e){return this.tree.setModel(e)},getRootNode:function(){return 1===this.tree.model.length?this.tree.model[0]:this.tree.model},toJSON:function(){return JSON.parse(JSON.stringify(this.model))}}},DropPosition={ABOVE:"drag-above",BELOW:"drag-below",ON:"drag-on"};function isMovingStarted(e,t){return Math.abs(e.clientX-t[0])>5||Math.abs(e.clientY-t[1])>5}function composedPath(e){for(var t=e.target,n=[];t;){if(n.push(t),"HTML"===t.tagName)return n.push(document),n.push(window),n;t=t.parentElement}return n}function getPath(e){return e.path?e.path:e.composedPath?e.composedPath():composedPath(e)}function getSelectedNode(e){for(var t,n=0,i=getPath(e);n<i.length;n++)if(t=i[n].className||"",/tree-node/.test(t))return i[n];return null}function getDropDestination(e){var t=getSelectedNode(e);return t||null}function updateHelperClasses(e,t){if(e){var n=e.className;if(t)new RegExp(t).test(n)||(n+=" "+t);else{for(var i in DropPosition)n=n.replace(DropPosition[i],"");n.replace("dragging","")}e.className=n.replace(/\s+/g," ")}}function getDropPosition(e,t){var n=t.getBoundingClientRect(),i=n.height/3,r=DropPosition.ON;return n.top+i>=e.clientY?r=DropPosition.ABOVE:n.top+2*i<=e.clientY&&(r=DropPosition.BELOW),r}function callDndCb(e,t,n){if(t&&t[n]&&"function"==typeof t[n])return!1!==t[n].apply(t,e)}function clearDropClasses(e){for(var t in DropPosition)for(var n=e.querySelectorAll("."+DropPosition[t]),i=0;i<n.length;i++)updateHelperClasses(n[i])}var TreeDnd={methods:{onDragStart:function(e){e.preventDefault()},startDragging:function(e,t){e.isDraggable()&&!1!==callDndCb([e],this.tree.options.dnd,"onDragStart")&&(this.$$
93startDragPosition=[t.clientX,t.clientY],this.$$possibleDragNode=e,this.initDragListeners())},initDragListeners:function(){var e,t=this,n=function(){window.removeEventListener("mouseup",i,!0),window.removeEventListener("mousemove",r,!0)},i=function(i){(t.$$startDragPosition||i.stopPropagation(),t.draggableNode&&t.draggableNode.node.state("dragging",!1),t.$$dropDestination&&t.tree.isNode(t.$$dropDestination)&&t.$$dropDestination.vm)&&(updateHelperClasses(t.$$dropDestination.vm.$el,null),!1!==callDndCb([t.draggableNode.node,t.$$dropDestination,e],t.tree.options.dnd,"onDragFinish")&&(t.$$dropDestination.isDropable()||e!==DropPosition.ON)&&e&&(t.draggableNode.node.finishDragging(t.$$dropDestination,e),t.draggableNode.node.parent=t.$$dropDestination),t.$$dropDestination=null);t.$$possibleDragNode=null,t.$set(t,"draggableNode",null),n()},r=function(i){if(!t.$$startDragPosition||isMovingStarted(i,t.$$startDragPosition)){if(t.$$startDragPosition=null,t.$$possibleDragNode){if(!1===t.$$possibleDragNode.startDragging())return n(),void(t.$$possibleDragNode=null);t.$set(t,"draggableNode",{node:t.$$possibleDragNode,left:0,top:0}),t.$$possibleDragNode=null}t.draggableNode.left=i.clientX,t.draggableNode.top=i.clientY;var r=getDropDestination(i);if(clearDropClasses(t.$el),r){var o=r.getAttribute("data-id");if(t.draggableNode.node.id===o)return;if(t.$$dropDestination&&t.$$dropDestination.id===o||(t.$$dropDestination=t.tree.getNodeById(o)),t.$$dropDestination&&t.draggableNode.node)if(t.$$dropDestination.getPath().includes(t.draggableNode.node))return void(t.$$dropDestination=null);e=getDropPosition(i,r);var a=callDndCb([t.draggableNode.node,t.$$dropDestination,e],t.tree.options.dnd,"onDragOn");t.$$dropDestination.isDropable()&&!1!==a||e!==DropPosition.ON||(e=null),updateHelperClasses(r,e)}}};window.addEventListener("mouseup",i,!0),window.addEventListener("mousemove",r,!0)}}},defaults$2={direction:"ltr",multiple:!0,checkbox:!1,checkOnSelect:!1,autoCheckChildren:!0,autoDisableChildren:!0,checkDisabledChildren:!0,parentSelect:!1,keyboardNavigation:!0,nodeIndent:24,minFetchDelay:0,fetchData:null,propertyNames:null,deletion:!1,dnd:!1,editing:!1,onFetchError:function(e){throw e}},filterDefaults={emptyText:"Nothing found!",matcher:function(e,t){var n=new RegExp(e,"i").test(t.text);return!(n&&t.parent&&new RegExp(e,"i").test(t.parent.text))&&n},plainList:!1,showChildren:!0},script$1$1={name:"Tree",components:{TreeNode:TreeNode$1,DraggableNode:DraggableNode},mixins:[TreeMixin,TreeDnd],provide:function(e){return{tree:null}},props:{data:{},options:{type:Object,default:function(e){return{}}},filter:String,tag:{type:String,default:"div"}},watch:{filter:function(e){this.tree.filter(e)}},computed:{visibleModel:function(){return this.model.filter((function(e){return e&&e.visible()}))},visibleMatches:function(){return this.matches.filter((function(e){return e&&e.visible()}))}},data:function(){var e=Object.assign({},defaults$2,this.options);return e.filter=Object.assign({},filterDefaults,e.filter),{model:[],tree:null,loading:!1,opts:e,matches:[],draggableNode:null}}},__vue_script__$3=script$1$1;script$1$1.__file="TreeRoot.vue";var __vue_render__$2$1=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.tag,{tag:"component",class:{tree:!0,"tree-loading":this.loading,"tree--draggable":!!this.draggableNode},attrs:{role:"tree"}},[e.filter&&0==e.matches.length?[n("div",{staticClass:"tree-filter-empty",domProps:{innerHTML:e._s(e.opts.filter.emptyText)}})]:[n("ul",{staticClass:"tree-root",on:{dragstart:e.onDragStart}},[e.opts.filter.plainList&&e.matches.length>0?e._l(e.visibleMatches,(function(t){return n("TreeNode",{key:t.id,attrs:{node:t,options:e.opts}})})):e._l(e.visibleModel,(function(t){return n("TreeNode",{key:t.id,attrs:{node:t,options:e.opts}})}))],2)],e._v(" "),e.draggableNode?n("DraggableNode",{attrs:{target:e.draggableNode}}):e._e()],2)},__vue_staticRenderFns__$2$1=[],__vue_inject_styles__$3=function(e){e&&e("data-v-6db2091d_0",{source:".tree{overflow:auto}.tree-children,.tree-root{list-style:none;padding:0}.tree>.tree-filter-empty,.tree>.tree-root{padding:3px;box-sizing:border-box}.tree.tree--draggable .tree-node:not(.selected)>.tree-content:hover{background:0 0}.drag-above,.drag-below,.drag-on{position:relative;z-index:1}.drag-on>.tree-content{background:#fafcff;outline:1px solid #7baff2}.drag-above>.tree-content::before,.drag-below>.tree-content::after{display:block;content:'';position:absolute;height:8px;left:0;right:0;z-index:2;box-sizing:border-box;background-color:#3367d6;border:3px solid #3367d6;background-clip:padding-box;border-bottom-color:transparent;border-top-color:transparent;border-radius:0}.drag-above>.tree-content::before{top:0;transform:translateY(-50%)}.drag-below>.tree-content::after{bottom:0;transform:translateY(50%)}",map:void 0,media:void 0})},__vue_scope_id__$3=void 0,__vue_module_identifier__$3=void 0,__vue_is_functional_template__$3=!1,TreeRoot=normalizeComponent$1({render:__vue_render__$2$1,staticRenderFns:__vue_staticRenderFns__$2$1},__vue_inject_styles__$3,__vue_script__$3,__vue_scope_id__$3,__vue_is_functional_template__$3,__vue_module_identifier__$3,createInjector,void 0),install$2=function(e){e.component(TreeRoot.name,TreeRoot)};TreeRoot.install=install$2,"undefined"!=typeof window&&window.Vue&&window.Vue.use(TreeRoot);var vueSelect=createCommonjsModule((function(e,t){"undefined"!=typeof self&&self,e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};
93return 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=8)}([function(e,t,n){var i=n(4),r=n(5),o=n(6);e.exports=function(e){return i(e)||r(e)||o()}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=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}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){var i=n(2);n.n(i).a},function(e,t,n){n.r(t);var i=n(0),r=n.n(i),o=n(1),a=n.n(o),s=n(3),c=n.n(s),l={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()}},methods:{maybeAdjustScroll:function(){var e,t=(null===(e=this.$refs.dropdownMenu)||void 0===e?void 0:e.children[this.typeAheadPointer])||!1;if(t){var n=this.getDropdownViewport(),i=t.getBoundingClientRect(),r=i.top,o=i.bottom,a=i.height;if(r<n.top)return this.$refs.dropdownMenu.scrollTop=t.offsetTop;if(o>n.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(n.height-a)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},d={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){for(var e=0;e<this.filteredOptions.length;e++)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}}},methods:{typeAheadUp:function(){for(var e=this.typeAheadPointer-1;e>=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown:function(){for(var e=this.typeAheadPointer+1;e<this.filteredOptions.length;e++)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadSelect:function(){var e=this.filteredOptions[this.typeAheadPointer];e&&this.select(e)}}},u={props:{loading:{type:Boolean,default:!1}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.$emit("search",this.search,this.toggleLoading)},loading:function(e){this.mutableLoading=e}},methods:{toggleLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==e?!this.mutableLoading:e}}};function p(e,t,n,i,r,o,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=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)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}var h={Deselect:p({},(function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[t("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])}),[],!1,null,null,null).exports,OpenIndicator:p({},(function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[t("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])}),[],!1,null,null,null).exports},f={inserted:function(e,t,n){var i=n.context;if(i.appendToBody){var r=i.$refs.toggle.getBoundingClientRect(),o=r.height,a=r.top,s=r.left,c=r.width,l=window.scrollX||window.pageXOffset,d=window.scrollY||window.pageYOffset;e.unbindPosition=i.calculatePosition(e,i,{width:c+"px",left:l+s+"px",top:d+a+o+"px"}),document.body.appendChild(e)}},unbind:function(e,t,n){n.context.appendToBody&&(e.unbindPosition&&"function"==typeof e.unbindPosition&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}},m=0;function v(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}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 11,655 bytes, line 93
93t%2?v(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b={components:g({},h),directives:{appendToBody:f},mixins:[l,d,u],props:{value:{},components:{type:Object,default:function(){return{}}},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:function(e){return e}},selectable:{type:Function,default:function(e){return!0}},getOptionLabel:{type:Function,default:function(e){return"object"===a()(e)?e.hasOwnProperty(this.label)?e[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not')+" exist in options object ".concat(JSON.stringify(e),".\n")+"https://vue-select.org/api/props.html#getoptionlabel"):e}},getOptionKey:{type:Function,default:function(e){if("object"!==a()(e))return e;try{return e.hasOwnProperty("id")?e.id:function(e){var t={};return Object.keys(e).sort().forEach((function(n){t[n]=e[n]})),JSON.stringify(t)}(e)}catch(t){return console.warn("[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.\nhttps://vue-select.org/api/props.html#getoptionkey",e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(e,t,n){return(t||"").toLowerCase().indexOf(n.toLowerCase())>-1}},filter:{type:Function,default:function(e,t){var n=this;return e.filter((function(e){var i=n.getOptionLabel(e);return"number"==typeof i&&(i=i.toString()),n.filterBy(e,i,t)}))}},createOption:{type:Function,default:function(e){return"object"===a()(this.optionList[0])?c()({},this.label,e):e}},resetOnOptionsChange:{default:!1,validator:function(e){return["function","boolean"].includes(a()(e))}},clearSearchOnBlur:{type:Function,default:function(e){var t=e.clearSearchOnSelect,n=e.multiple;return t&&!n}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(e,t){return e}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(e,t,n){var i=n.width,r=n.top,o=n.left;e.style.top=r,e.style.left=o,e.style.width=i}},dropdownShouldOpen:{type:Function,default:function(e){var t=e.noDrop,n=e.open,i=e.mutableLoading;return!t&&n&&!i}}},data:function(){return{uid:++m,search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}},computed:{isTrackingValues:function(){return void 0===this.value||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var e=this.value;return this.isTrackingValues&&(e=this.$data._value),e?[].concat(e):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var e=this,t={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:g({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:function(){return e.isComposing=!0},compositionend:function(){return e.isComposing=!1},keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(t){return e.search=t.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:t,listFooter:t,header:g({},t,{deselect:this.deselect}),footer:g({},t,{deselect:this.deselect})}},childComponents:function(){return g({},h,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return this.dropdownShouldOpen(this)},searchPlaceholder:function(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions:function(){var e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;var t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){var n=this.createOption(this.search);this.optionExists(n)||t.unshift(n)}return t},isValueEmpty:function(){return 0===this.selectedValue.length},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(e,t){var n=this;!this.taggable&&("function"==typeof n.resetOnOptionsChange?n.resetOnOptionsChange(e,t,n.selectedValue):n.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:function(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)},multiple:function(){this.clearSelection()},open:function(e){this.$emit(e?"open":"close")}},created:function(){this.mutableLoading=this.loading,void 0!==this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value),this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(e){var t=this;Array.isArray(e)?this.$data._value=e.map((function(e){return t.findOptionFromReducedValue(e)})):this.$data._value=this.findOptionFromReducedValue(e)},select:function(e){this.$emit("option:selecting",e),this.isOptionSelected(e)||(this.taggable&&!this.optionExists(e)&&this.$emit("option:created",e),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect:function(e){var t=this;this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter((function(n){return!t.optionComparator(n,e)}))),this.$emit("option:deselected",e)},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue:function(e){var t=this;void 0===this.value&&(this.$data._value=e),null!==e&&(e=Array.isArray(e)?e.map((function(e){return t.reduce(e)})):this.reduce(e)),this.$emit("input",e)},toggleDropdown:function(e){var t=e.target!==this.searchEl;t&&e.preventDefault();var n=[].concat(r()(this.$refs.deselectButtons||[]),r()([this.$refs.clearButton]||!1));void 0===this.searchEl||n.filter(Boolean).some((function(t){return t.contains(e.target)||t===e.target}))?e.preventDefault():this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(e){var t=this;return this.selectedValue.some((function(n){return t.optionComparator(n,e)}))},optionComparator:function(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue:function(e){var t=this,n=[].concat(r()(this.options),r()(this.pushedTags)).filter((function(n){return JSON.stringify(t.reduce(n))===JSON.stringify(e)}));return 1===n.length?n[0]:n.find((function(e){return t.optionComparator(e,t.$data._value)}))||e},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var e=null;this.multiple&&(e=r()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(e)}},optionExists:function(e){var t=this;return this.optionList.some((function(n){return t.optionComparator(n,e)}))},normalizeOptionForSlot:function(e){return"object"===a()(e)?e:c()({},this.label,e)},pushTag:function(e){this.pushedTags.push(e)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){if(!this.mousedown||this.searching){var e=this.clearSearchOnSelect,t=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,0!==this.search.length||0!==this.options.length||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(e){var t=this,n=function(e){return e.preventDefault(),!t.isComposing&&t.typeAheadSelect()},i={8:function(e){return t.maybeDeleteValue()},9:function(e){return t.onTab()},27:function(e){return t.onEscape()},38:function(e){return e.preventDefault(),t.typeAheadUp()},40:function(e){return e.preventDefault(),t.typeAheadDown()}};this.selectOnKeyCodes.forEach((function(e){return i[e]=n}));var r=this.mapKeydown(i,this);if("function"==typeof r[e.keyCode])return r[e.keyCode](e)}}},y=(n(7),p(b,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-select",class:e.stateClasses,attrs:{dir:e.dir}},[e._t("header",null,null,e.scope.header),e._v(" "),n("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:"vs"+e.uid+"__combobox",role:"combobox","aria-expanded":e.dropdownOpen.toString(),"aria-owns":"vs"+e.uid+"__listbox","aria-label":"Search for option"},on:{mousedown:function(t){return e.toggleDropdown(t)}}},[n("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[e._l(e.selectedValue,(function(t){return e._t("selected-option-container",[n("span",{key:e.getOptionKey(t),staticClass:"vs__selected"},[e._t("selected-option",[e._v("\n "+e._s(e.getOptionLabel(t))+"\n ")],null,e.normalizeOptionForSlot(t)),e._v(" "),e.multiple?n("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:e.disabled,type:"button",title:"Deselect "+e.getOptionLabel(t),"aria-label":"Deselect "+e.getOptionLabel(t)},on:{click:function(n){return e.deselect(t)}}},[n(e.childComponents.Deselect,{tag:"component"})],1):e._e()],2)],{option:e.normalizeOptionForSlot(t),deselect:e.deselect,multiple:e.multiple,disabled:e.disabled})})),e._v(" "),e._t("search",[n("input",e._g(e._b({staticClass:"vs__search"},"input",e.scope.search.attributes,!1),e.scope.search.events))],null,e.scope.search)],2),e._v(" "),n("div",{ref:"actions",staticClass:"vs__actions"},[n("button",{directives:[{name:"show",rawName:"v-show",value:e.showClearButton,expression:"showClearButton"}
93],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:e.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:e.clearSelection}},[n(e.childComponents.Deselect,{tag:"component"})],1),e._v(" "),e._t("open-indicator",[e.noDrop?e._e():n(e.childComponents.OpenIndicator,e._b({tag:"component"},"component",e.scope.openIndicator.attributes,!1))],null,e.scope.openIndicator),e._v(" "),e._t("spinner",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[e._v("Loading...")])],null,e.scope.spinner)],2)]),e._v(" "),n("transition",{attrs:{name:e.transition}},[e.dropdownOpen?n("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs"+e.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs"+e.uid+"__listbox",role:"listbox",tabindex:"-1"},on:{mousedown:function(t){return t.preventDefault(),e.onMousedown(t)},mouseup:e.onMouseUp}},[e._t("list-header",null,null,e.scope.listHeader),e._v(" "),e._l(e.filteredOptions,(function(t,i){return n("li",{key:e.getOptionKey(t),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--selected":e.isOptionSelected(t),"vs__dropdown-option--highlight":i===e.typeAheadPointer,"vs__dropdown-option--disabled":!e.selectable(t)},attrs:{id:"vs"+e.uid+"__option-"+i,role:"option","aria-selected":i===e.typeAheadPointer||null},on:{mouseover:function(n){e.selectable(t)&&(e.typeAheadPointer=i)},click:function(n){n.preventDefault(),n.stopPropagation(),e.selectable(t)&&e.select(t)}}},[e._t("option",[e._v("\n "+e._s(e.getOptionLabel(t))+"\n ")],null,e.normalizeOptionForSlot(t))],2)})),e._v(" "),0===e.filteredOptions.length?n("li",{staticClass:"vs__no-options"},[e._t("no-options",[e._v("Sorry, no matching options.")],null,e.scope.noOptions)],2):e._e(),e._v(" "),e._t("list-footer",null,null,e.scope.listFooter)],2):n("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs"+e.uid+"__listbox",role:"listbox"}})]),e._v(" "),e._t("footer",null,null,e.scope.footer)],2)}),[],!1,null,null,null).exports),A={ajax:u,pointer:d,pointerScroll:l};n.d(t,"VueSelect",(function(){return y})),n.d(t,"mixins",(function(){return A})),t.default=y}])})),vSelect=unwrapExports(vueSelect),vueSelect_1=vueSelect.VueSelect,_typeof_1=createCommonjsModule((function(e){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),_typeof=unwrapExports(_typeof_1),defineProperty=createCommonjsModule((function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0})),_defineProperty$1=unwrapExports(defineProperty),classCallCheck=createCommonjsModule((function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0})),_classCallCheck=unwrapExports(classCallCheck),createClass=createCommonjsModule((function(e){function t(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)}}e.exports=function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e},e.exports.default=e.exports,e.exports.__esModule=!0})),_createClass=unwrapExports(createClass),isBrowser="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,timeoutDuration=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(isBrowser&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function microtaskDebounce(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}function taskDebounce(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),timeoutDuration))}}var supportsMicroTasks=isBrowser&&window.Promise,debounce$1=supportsMicroTasks?microtaskDebounce:taskDebounce;function isFunction$3(e){return e&&"[object Function]"==={}.toString.call(e)}function getStyleComputedProperty(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}
vendor: 4,622 bytes, line 93
93function getParentNode(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function getScrollParent(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=getStyleComputedProperty(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:getScrollParent(getParentNode(e))}function getReferenceNode(e){return e&&e.referenceNode?e.referenceNode:e}var isIE11$1=isBrowser&&!(!window.MSInputMethodContext||!document.documentMode),isIE10=isBrowser&&/MSIE 10/.test(navigator.userAgent);function isIE$1(e){return 11===e?isIE11$1:10===e?isIE10:isIE11$1||isIE10}function getOffsetParent(e){if(!e)return document.documentElement;for(var t=isIE$1(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"===getStyleComputedProperty(n,"position")?getOffsetParent(n):n:e?e.ownerDocument.documentElement:document.documentElement}function isOffsetContainer(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||getOffsetParent(e.firstElementChild)===e)}function getRoot(e){return null!==e.parentNode?getRoot(e.parentNode):e}function findCommonOffsetParent(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=o.commonAncestorContainer;if(e!==a&&t!==a||i.contains(r))return isOffsetContainer(a)?a:getOffsetParent(a);var s=getRoot(e);return s.host?findCommonOffsetParent(s.host,t):findCommonOffsetParent(e,getRoot(t).host)}function getScroll(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var r=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||r;return o[n]}return e[n]}function includeScroll(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=getScroll(t,"top"),r=getScroll(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}function getBordersSize(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}function getSize(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],isIE$1(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function getWindowSizes(e){var t=e.body,n=e.documentElement,i=isIE$1(10)&&getComputedStyle(n);return{height:getSize("Height",t,n,i),width:getSize("Width",t,n,i)}}var classCallCheck$1=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},createClass$1=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}}(),defineProperty$1=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},_extends=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 getClientRect(e){return _extends({},e,{right:e.left+e.width,bottom:e.top+e.height})}function getBoundingClientRect(e){var t={};try{if(isIE$1(10)){t=e.getBoundingClientRect();var n=getScroll(e,"top"),i=getScroll(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?getWindowSizes(e.ownerDocument):{},a=o.width||e.clientWidth||r.width,s=o.height||e.clientHeight||r.height,c=e.offsetWidth-a,l=e.offsetHeight-s;if(c||l){var d=getStyleComputedProperty(e);c-=getBordersSize(d,"x"),l-=getBordersSize(d,"y"),r.width-=c,r.height-=l}return getClientRect(r)}function getOffsetRectRelativeToArbitraryNode(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=isIE$1(10),r="HTML"===t.nodeName,o=getBoundingClientRect(e),a=getBoundingClientRect(t),s=getScrollParent(e),c=getStyleComputedProperty(t),l=parseFloat(c.borderTopWidth),d=parseFloat(c.borderLeftWidth);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=getClientRect({top:o.top-a.top-l,left:o.left-a.left-d,width:o.width,height:o.height});
vendor: 15,075 bytes, line 93
93if(u.marginTop=0,u.marginLeft=0,!i&&r){var p=parseFloat(c.marginTop),h=parseFloat(c.marginLeft);u.top-=l-p,u.bottom-=l-p,u.left-=d-h,u.right-=d-h,u.marginTop=p,u.marginLeft=h}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(u=includeScroll(u,t)),u}function getViewportOffsetRectRelativeToArtbitraryNode(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=getOffsetRectRelativeToArbitraryNode(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:getScroll(n),s=t?0:getScroll(n,"left"),c={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o};return getClientRect(c)}function isFixed(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===getStyleComputedProperty(e,"position"))return!0;var n=getParentNode(e);return!!n&&isFixed(n)}function getFixedPositionOffsetParent(e){if(!e||!e.parentElement||isIE$1())return document.documentElement;for(var t=e.parentElement;t&&"none"===getStyleComputedProperty(t,"transform");)t=t.parentElement;return t||document.documentElement}function getBoundaries(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?getFixedPositionOffsetParent(e):findCommonOffsetParent(e,getReferenceNode(t));if("viewport"===i)o=getViewportOffsetRectRelativeToArtbitraryNode(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=getScrollParent(getParentNode(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var c=getOffsetRectRelativeToArbitraryNode(s,a,r);if("HTML"!==s.nodeName||isFixed(a))o=c;else{var l=getWindowSizes(e.ownerDocument),d=l.height,u=l.width;o.top+=c.top-c.marginTop,o.bottom=d+c.top,o.left+=c.left-c.marginLeft,o.right=u+c.left}}var p="number"==typeof(n=n||0);return o.left+=p?n:n.left||0,o.top+=p?n:n.top||0,o.right-=p?n:n.right||0,o.bottom-=p?n:n.bottom||0,o}function getArea(e){return e.width*e.height}function computeAutoPlacement(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=getBoundaries(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}},c=Object.keys(s).map((function(e){return _extends({key:e},s[e],{area:getArea(s[e])})})).sort((function(e,t){return t.area-e.area})),l=c.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),d=l.length>0?l[0].key:c[0].key,u=e.split("-")[1];return d+(u?"-"+u:"")}function getReferenceOffsets(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=i?getFixedPositionOffsetParent(t):findCommonOffsetParent(t,getReferenceNode(n));return getOffsetRectRelativeToArbitraryNode(n,r,i)}function getOuterSizes(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 getOppositePlacement(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 getPopperOffsets(e,t,n){n=n.split("-")[0];var i=getOuterSizes(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return r[a]=t[a]+t[c]/2-i[c]/2,r[s]=n===s?t[s]-i[l]:t[getOppositePlacement(s)],r}function find$3(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function findIndex$1(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=find$3(e,(function(e){return e[t]===n}));return e.indexOf(i)}function runModifiers(e,t,n){return(void 0===n?e:e.slice(0,findIndex$1(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&&isFunction$3(n)&&(t.offsets.popper=getClientRect(t.offsets.popper),t.offsets.reference=getClientRect(t.offsets.reference),t=n(t,e))})),t}function update$2(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=computeAutoPlacement(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=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function isModifierEnabled(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function getSupportedPropertyName(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 destroy(){return this.state.isDestroyed=!0,isModifierEnabled(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[getSupportedPropertyName("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function getWindow(e){var t=e.ownerDocument;return t?t.defaultView:window}function attachToScrollParents(e,t,n,i){var r="BODY"===e.nodeName,o=r?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),r||attachToScrollParents(getScrollParent(o.parentNode),t,n,i),i.push(o)}function setupEventListeners(e,t,n,i){n.updateBound=i,getWindow(e).addEventListener("resize",n.updateBound,{passive:!0});var r=getScrollParent(e);return attachToScrollParents(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function removeEventListeners(e,t){return getWindow(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 disableEventListeners(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=removeEventListeners(this.reference,this.state))}function isNumeric(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function setStyles(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&isNumeric(t[n])&&(i="px"),e.style[n]=t[n]+i}))}function setAttributes(e,t){Object.keys(t).forEach((function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)}))}function applyStyle(e){return setStyles(e.instance.popper,e.styles),setAttributes(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&setStyles(e.arrowElement,e.arrowStyles),e}function applyStyleOnLoad(e,t,n,i,r){var o=getReferenceOffsets(r,t,e,n.positionFixed),a=computeAutoPlacement(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),setStyles(t,{position:n.positionFixed?"fixed":"absolute"}),n}function getRoundedOffsets(e,t){var n=e.offsets,i=n.popper,r=n.reference,o=Math.round,a=Math.floor,s=function(e){return e},c=o(r.width),l=o(i.width),d=-1!==["left","right"].indexOf(e.placement),u=-1!==e.placement.indexOf("-"),p=t?d||u||c%2==l%2?o:a:s,h=t?o:s;return{left:p(c%2==1&&l%2==1&&!u&&t?i.left-1:i.left),top:h(i.top),bottom:h(i.bottom),right:p(i.right)}}var isFirefox=isBrowser&&/Firefox/i.test(navigator.userAgent);function computeStyle(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=find$3(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=getOffsetParent(e.instance.popper),c=getBoundingClientRect(s),l={position:r.position},d=getRoundedOffsets(e,window.devicePixelRatio<2||!isFirefox),u="bottom"===n?"top":"bottom",p="right"===i?"left":"right",h=getSupportedPropertyName("transform"),f=void 0,m=void 0;if(m="bottom"===u?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-c.height+d.bottom:d.top,f="right"===p?"HTML"===s.nodeName?-s.clientWidth+d.right:-c.width+d.right:d.left,a&&h)l[h]="translate3d("+f+"px, "+m+"px, 0)",l[u]=0,l[p]=0,l.willChange="transform";else{var v="bottom"===u?-1:1,g="right"===p?-1:1;l[u]=m*v,l[p]=f*g,l.willChange=u+", "+p}var b={"x-placement":e.placement};return e.attributes=_extends({},b,e.attributes),e.styles=_extends({},l,e.styles),e.arrowStyles=_extends({},e.offsets.arrow,e.arrowStyles),e}function isModifierRequired(e,t,n){var i=find$3(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}function arrow(e,t){var n;if(!isModifierRequired(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,a=o.popper,s=o.reference,c=-1!==["left","right"].indexOf(r),l=c?"height":"width",d=c?"Top":"Left",u=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",f=getOuterSizes(i)[l];s[h]-f<a[u]&&(e.offsets.popper[u]-=a[u]-(s[h]-f)),s[u]+f>a[h]&&(e.offsets.popper[u]+=s[u]+f-a[h]),e.offsets.popper=getClientRect(e.offsets.popper);var m=s[u]+s[l]/2-f/2,v=getStyleComputedProperty(e.instance.popper),g=parseFloat(v["margin"+d]),b=parseFloat(v["border"+d+"Width"]),y=m-e.offsets.popper[u]-g-b;return y=Math.max(Math.min(a[l]-f,y),0),e.arrowElement=i,e.offsets.arrow=(defineProperty$1(n={},u,Math.round(y)),defineProperty$1(n,p,""),n),e}function getOppositeVariation(e){return"end"===e?"start":"start"===e?"end":e}var placements=["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"],validPlacements=placements.slice(3);function clockwise(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=validPlacements.indexOf(e),i=validPlacements.slice(n+1).concat(validPlacements.slice(0,n));return t?i.reverse():i}var BEHAVIORS={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function flip(e,t){if(isModifierEnabled(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=getBoundaries(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=getOppositePlacement(i),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case BEHAVIORS.FLIP:a=[i,r];break;case BEHAVIORS.CLOCKWISE:a=clockwise(i);break;case BEHAVIORS.COUNTERCLOCKWISE:a=clockwise(i,!0);break;default:a=t.behavior}return a.forEach((function(s,c){if(i!==s||a.length===c+1)return e;i=e.placement.split("-")[0],r=getOppositePlacement(i);var l=e.offsets.popper,d=e.offsets.reference,u=Math.floor,p="left"===i&&u(l.right)>u(d.left)||"right"===i&&u(l.left)<u(d.right)||"top"===i&&u(l.bottom)>u(d.top)||"bottom"===i&&u(l.top)<u(d.bottom),h=u(l.left)<u(n.left),f=u(l.right)>u(n.right),m=u(l.top)<u(n.top),v=u(l.bottom)>u(n.bottom),g="left"===i&&h||"right"===i&&f||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(b&&"start"===o&&h||b&&"end"===o&&f||!b&&"start"===o&&m||!b&&"end"===o&&v),A=!!t.flipVariationsByContent&&(b&&"start"===o&&f||b&&"end"===o&&h||!b&&"start"===o&&v||!b&&"end"===o&&m),_=y||A;(p||g||_)&&(e.flipped=!0,(p||g)&&(i=a[c+1]),_&&(o=getOppositeVariation(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=_extends({},e.offsets.popper,getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement)),e=runModifiers(e.instance.modifiers,e,"flip"))})),e}function keepTogether(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",c=a?"left":"top",l=a?"width":"height";return n[s]<o(i[c])&&(e.offsets.popper[c]=o(i[c])-n[l]),n[c]>o(i[s])&&(e.offsets.popper[c]=o(i[s])),e}function toValue(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 getClientRect(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}function parseOffset(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(find$3(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 c=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(l=l.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 toValue(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){isNumeric(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))}))})),r}function offset$1(e,t){var n=t.offset,i=e.placement,r=e.offsets,o=r.popper,a=r.reference,s=i.split("-")[0],c=void 0;return c=isNumeric(+n)?[+n,0]:parseOffset(n,o,a,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),e.popper=o,e}function preventOverflow(e,t){var n=t.boundariesElement||getOffsetParent(e.instance.popper);e.instance.reference===n&&(n=getOffsetParent(n));var i=getSupportedPropertyName("transform"),r=e.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var c=getBoundaries(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=o,r.left=a,r[i]=s,t.boundaries=c;var l=t.priority,d=e.offsets.popper,u={primary:function(e){var n=d[e];return d[e]<c[e]&&!t.escapeWithReference&&(n=Math.max(d[e],c[e])),defineProperty$1({}
93,e,n)},secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>c[e]&&!t.escapeWithReference&&(i=Math.min(d[n],c[e]-("right"===e?d.width:d.height))),defineProperty$1({},n,i)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=_extends({},d,u[t](e))})),e.offsets.popper=d,e}function shift(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),c=s?"left":"top",l=s?"width":"height",d={start:defineProperty$1({},c,o[c]),end:defineProperty$1({},c,o[c]+o[l]-a[l])};e.offsets.popper=_extends({},a,d[i])}return e}function hide(e){if(!isModifierRequired(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=find$3(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}function inner(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=getOppositePlacement(t),e.offsets.popper=getClientRect(r),e}var modifiers={shift:{order:100,enabled:!0,fn:shift},offset:{order:200,enabled:!0,fn:offset$1,offset:0},preventOverflow:{order:300,enabled:!0,fn:preventOverflow,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:keepTogether},arrow:{order:500,enabled:!0,fn:arrow,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:flip,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:inner},hide:{order:800,enabled:!0,fn:hide},computeStyle:{order:850,enabled:!0,fn:computeStyle,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:applyStyle,onLoad:applyStyleOnLoad,gpuAcceleration:void 0}},Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:modifiers},Popper=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};classCallCheck$1(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=debounce$1(this.update.bind(this)),this.options=_extends({},e.Defaults,r),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(_extends({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){i.options.modifiers[t]=_extends({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return _extends({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&isFunction$3(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return createClass$1(e,[{key:"update",value:function(){return update$2.call(this)}},{key:"destroy",value:function(){return destroy.call(this)}},{key:"enableEventListeners",value:function(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function(){return disableEventListeners.call(this)}}]),e}();function listCacheClear(){this.__data__=[],this.size=0}Popper.Utils=("undefined"!=typeof window?window:global$1).PopperUtils,Popper.placements=placements,Popper.Defaults=Defaults;var _listCacheClear=listCacheClear;function eq$1(e,t){return e===t||e!=e&&t!=t}var eq_1=eq$1;function assocIndexOf(e,t){for(var n=e.length;n--;)if(eq_1(e[n][0],t))return n;return-1}var _assocIndexOf=assocIndexOf,arrayProto$1=Array.prototype,splice$1=arrayProto$1.splice;function listCacheDelete(e){var t=this.__data__,n=_assocIndexOf(t,e);return!(n<0)&&(n==t.length-1?t.pop():splice$1.call(t,n,1),--this.size,!0)}var _listCacheDelete=listCacheDelete;function listCacheGet(e){var t=this.__data__,n=_assocIndexOf(t,e);return n<0?void 0:t[n][1]}var _listCacheGet=listCacheGet;function listCacheHas(e){return _assocIndexOf(this.__data__,e)>-1}var _listCacheHas=listCacheHas;function listCacheSet(e,t){var n=this.__data__,i=_assocIndexOf(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}var _listCacheSet=listCacheSet;function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}ListCache.prototype.clear=_listCacheClear,ListCache.prototype.delete=_listCacheDelete,ListCache.prototype.get=_listCacheGet,ListCache.prototype.has=_listCacheHas,ListCache.prototype.set=_listCacheSet;var _ListCache=ListCache;function stackClear(){this.__data__=new _ListCache,this.size=0}var _stackClear=stackClear;function stackDelete(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var _stackDelete=stackDelete;function stackGet(e){return this.__data__.get(e)}var _stackGet=stackGet;function stackHas(e){return this.__data__.has(e)}var _stackHas=stackHas,freeGlobal="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&c
93ommonjsGlobal,_freeGlobal=freeGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root$1=_freeGlobal||freeSelf||Function("return this")(),_root=root$1,Symbol$1=_root.Symbol,_Symbol=Symbol$1,objectProto=Object.prototype,hasOwnProperty$2=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=_Symbol?_Symbol.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty$2.call(e,symToStringTag),n=e[symToStringTag];try{e[symToStringTag]=void 0;var i=!0}catch(e){}var r=nativeObjectToString.call(e);return i&&(t?e[symToStringTag]=n:delete e[symToStringTag]),r}var _getRawTag=getRawTag,objectProto$1=Object.prototype,nativeObjectToString$1=objectProto$1.toString;function objectToString(e){return nativeObjectToString$1.call(e)}var _objectToString=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag$1=_Symbol?_Symbol.toStringTag:void 0;function baseGetTag(e){return null==e?void 0===e?undefinedTag:nullTag:symToStringTag$1&&symToStringTag$1 in Object(e)?_getRawTag(e):_objectToString(e)}var _baseGetTag=baseGetTag;function isObject$6(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var isObject_1=isObject$6,asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$4(e){if(!isObject_1(e))return!1;var t=_baseGetTag(e);return t==funcTag||t==genTag||t==asyncTag||t==proxyTag}var isFunction_1=isFunction$4,coreJsData=_root["__core-js_shared__"],_coreJsData=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(_coreJsData&&_coreJsData.keys&&_coreJsData.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var _isMasked=isMasked,funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(e){if(null!=e){try{return funcToString.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var _toSource=toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$2=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$3=objectProto$2.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$3).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){return!(!isObject_1(e)||_isMasked(e))&&(isFunction_1(e)?reIsNative:reIsHostCtor).test(_toSource(e))}var _baseIsNative=baseIsNative;function getValue$1(e,t){return null==e?void 0:e[t]}var _getValue=getValue$1;function getNative(e,t){var n=_getValue(e,t);return _baseIsNative(n)?n:void 0}var _getNative=getNative,Map$1=_getNative(_root,"Map"),_Map=Map$1,nativeCreate$1=_getNative(Object,"create"),_nativeCreate=nativeCreate$1;function hashClear(){this.__data__=_nativeCreate?_nativeCreate(null):{},this.size=0}var _hashClear=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var _hashDelete=hashDelete,HASH_UNDEFINED="__lodash_hash_undefined__",objectProto$3=Object.prototype,hasOwnProperty$4=objectProto$3.hasOwnProperty;function hashGet(e){var t=this.__data__;if(_nativeCreate){var n=t[e];return n===HASH_UNDEFINED?void 0:n}return hasOwnProperty$4.call(t,e)?t[e]:void 0}var _hashGet=hashGet,objectProto$4=Object.prototype,hasOwnProperty$5=objectProto$4.hasOwnProperty;function hashHas(e){var t=this.__data__;return _nativeCreate?void 0!==t[e]:hasOwnProperty$5.call(t,e)}var _hashHas=hashHas,HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_nativeCreate&&void 0===t?HASH_UNDEFINED$1:t,this}var _hashSet=hashSet;function Hash(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}Hash.prototype.clear=_hashClear,Hash.prototype.delete=_hashDelete,Hash.prototype.get=_hashGet,Hash.prototype.has=_hashHas,Hash.prototype.set=_hashSet;var _Hash=Hash;function mapCacheClear(){this.size=0,this.__data__={hash:new _Hash,map:new(_Map||_ListCache),string:new _Hash}}var _mapCacheClear=mapCacheClear;function isKeyable(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var _isKeyable=isKeyable;function getMapData(e,t){var n=e.__data__;return _isKeyable(t)?n["string"==typeof t?"string":"hash"]:n.map}var _getMapData=getMapData;function mapCacheDelete(e){var t=_getMapData(this,e).delete(e);return this.size-=t?1:0,t}var _mapCacheDelete=mapCacheDelete;function mapCacheGet(e){return _getMapData(this,e).get(e)}var _mapCacheGet=mapCacheGet;function mapCacheHas(e){return _getMapData(this,e).has(e)}var _mapCacheHas=mapCacheHas;function mapCacheSet(e,t){var n=_getMapData(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}var _mapCacheSet=mapCacheSet;function MapCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}MapCache.prototype.clear=_mapCacheClear,MapCache.prototype.delete=_mapCacheDelete,MapCache.prototype.get=_mapCacheGet,MapCache.prototype.has=_mapCacheHas,MapCache.prototype.set=_mapCacheSet;var _MapCache=MapCache,LARGE_ARRAY_SIZE=200;function stackSet(e,t){var n=this.__data__;if(n instanceof _ListCache){var i=n.__data__;if(!_Map||i.length<LARGE_ARRAY_SIZE-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new _MapCache(i)}return n.set(e,t),this.size=n.size,this}var _stackSet=stackSet;function Stack(e){var t=this.__data__=new _ListCache(e);this.size=t.size}Stack.prototype.clear=_stackClear,Stack.prototype.delete=_stackDelete,Stack.prototype.get=_stackGet,Stack.prototype.has=_stackHas,Stack.prototype.set=_stackSet;var _Stack=Stack,HASH_UNDEFINED$2="__lodash_hash_undefined__";
93function setCacheAdd(e){return this.__data__.set(e,HASH_UNDEFINED$2),this}var _setCacheAdd=setCacheAdd;function setCacheHas(e){return this.__data__.has(e)}var _setCacheHas=setCacheHas;function SetCache(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new _MapCache;++t<n;)this.add(e[t])}SetCache.prototype.add=SetCache.prototype.push=_setCacheAdd,SetCache.prototype.has=_setCacheHas;var _SetCache=SetCache;function arraySome(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var _arraySome=arraySome;function cacheHas(e,t){return e.has(t)}var _cacheHas=cacheHas,COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(e,t,n,i,r,o){var a=n&COMPARE_PARTIAL_FLAG,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e),d=o.get(t);if(l&&d)return l==t&&d==e;var u=-1,p=!0,h=n&COMPARE_UNORDERED_FLAG?new _SetCache:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var f=e[u],m=t[u];if(i)var v=a?i(m,f,u,t,e,o):i(f,m,u,e,t,o);if(void 0!==v){if(v)continue;p=!1;break}if(h){if(!_arraySome(t,(function(e,t){if(!_cacheHas(h,t)&&(f===e||r(f,e,n,i,o)))return h.push(t)}))){p=!1;break}}else if(f!==m&&!r(f,m,n,i,o)){p=!1;break}}return o.delete(e),o.delete(t),p}var _equalArrays=equalArrays,Uint8Array$1=_root.Uint8Array,_Uint8Array=Uint8Array$1;function mapToArray(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}var _mapToArray=mapToArray;function setToArray(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var _setToArray=setToArray,COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=_Symbol?_Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(e,t,n,i,r,o,a){switch(n){case dataViewTag:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case arrayBufferTag:return!(e.byteLength!=t.byteLength||!o(new _Uint8Array(e),new _Uint8Array(t)));case boolTag:case dateTag:case numberTag:return eq_1(+e,+t);case errorTag:return e.name==t.name&&e.message==t.message;case regexpTag:case stringTag:return e==t+"";case mapTag:var s=_mapToArray;case setTag:var c=i&COMPARE_PARTIAL_FLAG$1;if(s||(s=_setToArray),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;i|=COMPARE_UNORDERED_FLAG$1,a.set(e,t);var d=_equalArrays(s(e),s(t),i,r,o,a);return a.delete(e),d;case symbolTag:if(symbolValueOf)return symbolValueOf.call(e)==symbolValueOf.call(t)}return!1}var _equalByTag=equalByTag;function arrayPush(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}var _arrayPush=arrayPush,isArray$2=Array.isArray,isArray_1=isArray$2;function baseGetAllKeys(e,t,n){var i=t(e);return isArray_1(e)?i:_arrayPush(i,n(e))}var _baseGetAllKeys=baseGetAllKeys;function arrayFilter(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}var _arrayFilter=arrayFilter;function stubArray(){return[]}var stubArray_1=stubArray,objectProto$5=Object.prototype,propertyIsEnumerable=objectProto$5.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(e){return null==e?[]:(e=Object(e),_arrayFilter(nativeGetSymbols(e),(function(t){return propertyIsEnumerable.call(e,t)})))}:stubArray_1,_getSymbols=getSymbols;function baseTimes(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}var _baseTimes=baseTimes;function isObjectLike(e){return null!=e&&"object"==typeof e}var isObjectLike_1=isObjectLike,argsTag="[object Arguments]";function baseIsArguments(e){return isObjectLike_1(e)&&_baseGetTag(e)==argsTag}var _baseIsArguments=baseIsArguments,objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty,propertyIsEnumerable$1=objectProto$6.propertyIsEnumerable,isArguments$2=_baseIsArguments(function(){return arguments}())?_baseIsArguments:function(e){return isObjectLike_1(e)&&hasOwnProperty$6.c
93all(e,"callee")&&!propertyIsEnumerable$1.call(e,"callee")},isArguments_1=isArguments$2;function stubFalse(){return!1}var stubFalse_1=stubFalse,isBuffer_1=createCommonjsModule((function(e,t){var n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,r=i&&i.exports===n?_root.Buffer:void 0,o=(r?r.isBuffer:void 0)||stubFalse_1;e.exports=o})),MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var n=typeof e;return!!(t=null==t?MAX_SAFE_INTEGER:t)&&("number"==n||"symbol"!=n&&reIsUint.test(e))&&e>-1&&e%1==0&&e<t}var _isIndex=isIndex,MAX_SAFE_INTEGER$1=9007199254740991;function isLength(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER$1}var isLength_1=isLength,argsTag$1="[object Arguments]",arrayTag="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag$1="[object Function]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};function baseIsTypedArray(e){return isObjectLike_1(e)&&isLength_1(e.length)&&!!typedArrayTags[_baseGetTag(e)]}typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag$1]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag$1]=typedArrayTags[boolTag$1]=typedArrayTags[dataViewTag$1]=typedArrayTags[dateTag$1]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$1]=typedArrayTags[numberTag$1]=typedArrayTags[objectTag]=typedArrayTags[regexpTag$1]=typedArrayTags[setTag$1]=typedArrayTags[stringTag$1]=typedArrayTags[weakMapTag]=!1;var _baseIsTypedArray=baseIsTypedArray;function baseUnary(e){return function(t){return e(t)}}var _baseUnary=baseUnary,_nodeUtil=createCommonjsModule((function(e,t){var n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,r=i&&i.exports===n&&_freeGlobal.process,o=function(){try{var e=i&&i.require&&i.require("util").types;return e||r&&r.binding&&r.binding("util")}catch(e){}}();e.exports=o})),nodeIsTypedArray=_nodeUtil&&_nodeUtil.isTypedArray,isTypedArray$2=nodeIsTypedArray?_baseUnary(nodeIsTypedArray):_baseIsTypedArray,isTypedArray_1=isTypedArray$2,objectProto$7=Object.prototype,hasOwnProperty$7=objectProto$7.hasOwnProperty;function arrayLikeKeys(e,t){var n=isArray_1(e),i=!n&&isArguments_1(e),r=!n&&!i&&isBuffer_1(e),o=!n&&!i&&!r&&isTypedArray_1(e),a=n||i||r||o,s=a?_baseTimes(e.length,String):[],c=s.length;for(var l in e)!t&&!hasOwnProperty$7.call(e,l)||a&&("length"==l||r&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||_isIndex(l,c))||s.push(l);return s}var _arrayLikeKeys=arrayLikeKeys,objectProto$8=Object.prototype;function isPrototype(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||objectProto$8)}var _isPrototype=isPrototype;function overArg(e,t){return function(n){return e(t(n))}}var _overArg=overArg,nativeKeys$1=_overArg(Object.keys,Object),_nativeKeys=nativeKeys$1,objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function baseKeys(e){if(!_isPrototype(e))return _nativeKeys(e);var t=[];for(var n in Object(e))hasOwnProperty$8.call(e,n)&&"constructor"!=n&&t.push(n);return t}var _baseKeys=baseKeys;function isArrayLike$1(e){return null!=e&&isLength_1(e.length)&&!isFunction_1(e)}var isArrayLike_1=isArrayLike$1;function keys$2(e){return isArrayLike_1(e)?_arrayLikeKeys(e):_baseKeys(e)}var keys_1=keys$2;function getAllKeys(e){return _baseGetAllKeys(e,keys_1,_getSymbols)}var _getAllKeys=getAllKeys,COMPARE_PARTIAL_FLAG$2=1,objectProto$a=Object.prototype,hasOwnProperty$9=objectProto$a.hasOwnProperty;function equalObjects(e,t,n,i,r,o){var a=n&COMPARE_PARTIAL_FLAG$2,s=_getAllKeys(e),c=s.length;if(c!=_getAllKeys(t).length&&!a)return!1;for(var l=c;l--;){var d=s[l];if(!(a?d in t:hasOwnProperty$9.call(t,d)))return!1}var u=o.get(e),p=o.get(t);if(u&&p)return u==t&&p==e;var h=!0;o.set(e,t),o.set(t,e);for(var f=a;++l<c;){var m=e[d=s[l]],v=t[d];if(i)var g=a?i(v,m,d,t,e,o):i(m,v,d,e,t,o);if(!(void 0===g?m===v||r(m,v,n,i,o):g)){h=!1;break}f||(f="constructor"==d)}if(h&&!f){var b=e.constructor,y=t.constructor;b==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(h=!1)}return o.delete(e),o.delete(t),h}var _equalObjects=equalObjects,DataView$1=_getNative(_root,"DataView"),_DataView=DataView$1,Promise$1=_getNative(_root,"Promise"),_Promise=Promise$1,Set$1=_getNative(_root,"Set"),_Set$1=Set$1,WeakMap=_getNative(_root,"WeakMap"),_WeakMap=WeakMap,mapTag$2="[object Map]",objectTag$1="[object Object]",promiseTag="[object Promise]",
vendor: 1,573 bytes, line 93
93setTag$2="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$2="[object DataView]",dataViewCtorString=_toSource(_DataView),mapCtorString=_toSource(_Map),promiseCtorString=_toSource(_Promise),setCtorString=_toSource(_Set$1),weakMapCtorString=_toSource(_WeakMap),getTag=_baseGetTag;(_DataView&&getTag(new _DataView(new ArrayBuffer(1)))!=dataViewTag$2||_Map&&getTag(new _Map)!=mapTag$2||_Promise&&getTag(_Promise.resolve())!=promiseTag||_Set$1&&getTag(new _Set$1)!=setTag$2||_WeakMap&&getTag(new _WeakMap)!=weakMapTag$1)&&(getTag=function(e){var t=_baseGetTag(e),n=t==objectTag$1?e.constructor:void 0,i=n?_toSource(n):"";if(i)switch(i){case dataViewCtorString:return dataViewTag$2;case mapCtorString:return mapTag$2;case promiseCtorString:return promiseTag;case setCtorString:return setTag$2;case weakMapCtorString:return weakMapTag$1}return t});var _getTag=getTag,COMPARE_PARTIAL_FLAG$3=1,argsTag$2="[object Arguments]",arrayTag$1="[object Array]",objectTag$2="[object Object]",objectProto$b=Object.prototype,hasOwnProperty$a=objectProto$b.hasOwnProperty;function baseIsEqualDeep(e,t,n,i,r,o){var a=isArray_1(e),s=isArray_1(t),c=a?arrayTag$1:_getTag(e),l=s?arrayTag$1:_getTag(t),d=(c=c==argsTag$2?objectTag$2:c)==objectTag$2,u=(l=l==argsTag$2?objectTag$2:l)==objectTag$2,p=c==l;if(p&&isBuffer_1(e)){if(!isBuffer_1(t))return!1;a=!0,d=!1}if(p&&!d)return o||(o=new _Stack),a||isTypedArray_1(e)?_equalArrays(e,t,n,i,r,o):_equalByTag(e,t,c,n,i,r,o);if(!(n&COMPARE_PARTIAL_FLAG$3)){var h=d&&hasOwnProperty$a.call(e,"__wrapped__"),f=u&&hasOwnProperty$a.call(t,"__wrapped__");
93if(h||f){var m=h?e.value():e,v=f?t.value():t;return o||(o=new _Stack),r(m,v,n,i,o)}}return!!p&&(o||(o=new _Stack),_equalObjects(e,t,n,i,r,o))}var _baseIsEqualDeep=baseIsEqualDeep;function baseIsEqual(e,t,n,i,r){return e===t||(null==e||null==t||!isObjectLike_1(e)&&!isObjectLike_1(t)?e!=e&&t!=t:_baseIsEqualDeep(e,t,n,i,baseIsEqual,r))}var _baseIsEqual=baseIsEqual;function isEqual$1(e,t){return _baseIsEqual(e,t)}var isEqual_1=isEqual$1,isIE$2;function getInternetExplorerVersion(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}function initCompat(){initCompat.init||(initCompat.init=!0,isIE$2=-1!==getInternetExplorerVersion())}var script$3={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;initCompat(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",isIE$2&&this.$el.appendChild(t),t.data="about:blank",isIE$2||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!isIE$2&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function normalizeComponent$2(e,t,n,i,r,o,a,s,c,l){"boolean"!=typeof a&&(c=s,s=a,a=!1);var d,u="function"==typeof n?n.options:n;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,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=d):t&&(d=a?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(u.functional){var p=u.render;u.render=function(e,t){return d.call(t),p(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,d):[d]}return n}var __vue_script__$4=script$3,__vue_render__$3=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},__vue_staticRenderFns__$3=[];__vue_render__$3._withStripped=!0;var __vue_inject_styles__$4=void 0,__vue_scope_id__$4="data-v-8859cc6c",__vue_module_identifier__$4=void 0,__vue_is_functional_template__$4=!1,__vue_component__$2=normalizeComponent$2({render:__vue_render__$3,staticRenderFns:__vue_staticRenderFns__$3},__vue_inject_styles__$4,__vue_script__$4,__vue_scope_id__$4,__vue_is_functional_template__$4,__vue_module_identifier__$4,!1,void 0,void 0,void 0);function install$3(e){e.component("resize-observer",__vue_component__$2),e.component("ResizeObserver",__vue_component__$2)}var plugin={version:"1.0.1",install:install$3},GlobalVue=null;"undefined"!=typeof window?GlobalVue=window.Vue:void 0!==global$1&&(GlobalVue=global$1.Vue),GlobalVue&&GlobalVue.use(plugin);var defineProperty$2=function(){try{var e=_getNative(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),_defineProperty$2=defineProperty$2;function baseAssignValue(e,t,n){"__proto__"==t&&_defineProperty$2?_defineProperty$2(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var _baseAssignValue=baseAssignValue;function assignMergeValue(e,t,n){(void 0!==n&&!eq_1(e[t],n)||void 0===n&&!(t in e))&&_baseAssignValue(e,t,n)}var _assignMergeValue=assignMergeValue;function createBaseFor(e){return function(t,n,i){for(var r=-1,o=Object(t),a=i(t),s=a.length;s--;){var c=a[e?s:++r];if(!1===n(o[c],c,o))break}return t}}var _createBaseFor=createBaseFor,baseFor=_createBaseFor(),_baseFor=baseFor,_cloneBuffer=createCommonjsModule((function(e,t){var n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,r=i&&i.exports===n?_root.Buffer:void 0,o=r?r.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=o?o(n):new e.constructor(n);return e.copy(i),i}}));function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);return new _Uint8Array(t).set(new _Uint8Array(e)),t}var _cloneArrayBuffer=cloneArrayBuffer;function cloneTypedArray(e,t){var n=t?_cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var _cloneTypedArray=cloneTypedArray;function copyArray(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}var _copyArray=copyArray,objectCreate=Object.create,baseCreate$1=function(){function e(){}return function(t){if(!isObject_1(t))return{};if(objectCreate)return objectCreate(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),_baseCreate=baseCreate$1,getPrototype=_overArg(Object.getPrototypeOf,Object),_getPrototype=getPrototype;function initCloneObject(e){return"function"!=typeof e.constructor||_isPrototype(e)?{}:_baseCreate(_getPrototype(e))}
93var _initCloneObject=initCloneObject;function isArrayLikeObject(e){return isObjectLike_1(e)&&isArrayLike_1(e)}var isArrayLikeObject_1=isArrayLikeObject,objectTag$3="[object Object]",funcProto$2=Function.prototype,objectProto$c=Object.prototype,funcToString$2=funcProto$2.toString,hasOwnProperty$b=objectProto$c.hasOwnProperty,objectCtorString=funcToString$2.call(Object);function isPlainObject$1(e){if(!isObjectLike_1(e)||_baseGetTag(e)!=objectTag$3)return!1;var t=_getPrototype(e);if(null===t)return!0;var n=hasOwnProperty$b.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&funcToString$2.call(n)==objectCtorString}var isPlainObject_1=isPlainObject$1;function safeGet(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var _safeGet=safeGet,objectProto$d=Object.prototype,hasOwnProperty$c=objectProto$d.hasOwnProperty;function assignValue(e,t,n){var i=e[t];hasOwnProperty$c.call(e,t)&&eq_1(i,n)&&(void 0!==n||t in e)||_baseAssignValue(e,t,n)}var _assignValue=assignValue;function copyObject(e,t,n,i){var r=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=i?i(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),r?_baseAssignValue(n,s,c):_assignValue(n,s,c)}return n}var _copyObject=copyObject;function nativeKeysIn(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}var _nativeKeysIn=nativeKeysIn,objectProto$e=Object.prototype,hasOwnProperty$d=objectProto$e.hasOwnProperty;function baseKeysIn(e){if(!isObject_1(e))return _nativeKeysIn(e);var t=_isPrototype(e),n=[];for(var i in e)("constructor"!=i||!t&&hasOwnProperty$d.call(e,i))&&n.push(i);return n}var _baseKeysIn=baseKeysIn;function keysIn(e){return isArrayLike_1(e)?_arrayLikeKeys(e,!0):_baseKeysIn(e)}var keysIn_1=keysIn;function toPlainObject(e){return _copyObject(e,keysIn_1(e))}var toPlainObject_1=toPlainObject;function baseMergeDeep(e,t,n,i,r,o,a){var s=_safeGet(e,n),c=_safeGet(t,n),l=a.get(c);if(l)_assignMergeValue(e,n,l);else{var d=o?o(s,c,n+"",e,t,a):void 0,u=void 0===d;if(u){var p=isArray_1(c),h=!p&&isBuffer_1(c),f=!p&&!h&&isTypedArray_1(c);d=c,p||h||f?isArray_1(s)?d=s:isArrayLikeObject_1(s)?d=_copyArray(s):h?(u=!1,d=_cloneBuffer(c,!0)):f?(u=!1,d=_cloneTypedArray(c,!0)):d=[]:isPlainObject_1(c)||isArguments_1(c)?(d=s,isArguments_1(s)?d=toPlainObject_1(s):isObject_1(s)&&!isFunction_1(s)||(d=_initCloneObject(c))):u=!1}u&&(a.set(c,d),r(d,c,i,o,a),a.delete(c)),_assignMergeValue(e,n,d)}}var _baseMergeDeep=baseMergeDeep;function baseMerge(e,t,n,i,r){e!==t&&_baseFor(t,(function(o,a){if(r||(r=new _Stack),isObject_1(o))_baseMergeDeep(e,t,a,n,baseMerge,i,r);else{var s=i?i(_safeGet(e,a),o,a+"",e,t,r):void 0;void 0===s&&(s=o),_assignMergeValue(e,a,s)}}),keysIn_1)}var _baseMerge=baseMerge;function identity$3(e){return e}var identity_1=identity$3;function apply(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var _apply=apply,nativeMax=Math.max;function overRest(e,t,n){return t=nativeMax(void 0===t?e.length-1:t,0),function(){for(var i=arguments,r=-1,o=nativeMax(i.length-t,0),a=Array(o);++r<o;)a[r]=i[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=i[r];return s[t]=n(a),_apply(e,this,s)}}var _overRest=overRest;function constant$1(e){return function(){return e}}var constant_1=constant$1,baseSetToString=_defineProperty$2?function(e,t){return _defineProperty$2(e,"toString",{configurable:!0,enumerable:!1,value:constant_1(t),writable:!0})}:identity_1,_baseSetToString=baseSetToString,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(e){var t=0,n=0;return function(){var i=nativeNow(),r=HOT_SPAN-(i-n);if(n=i,r>0){if(++t>=HOT_COUNT)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var _shortOut=shortOut,setToString=_shortOut(_baseSetToString),_setToString=setToString;function baseRest(e,t){return _setToString(_overRest(e,t,identity_1),e+"")}var _baseRest=baseRest;function isIterateeCall(e,t,n){if(!isObject_1(n))return!1;var i=typeof t;return!!("number"==i?isArrayLike_1(n)&&_isIndex(t,n.length):"string"==i&&t in n)&&eq_1(n[t],e)}var _isIterateeCall=isIterateeCall;function createAssigner$1(e){return _baseRest((function(t,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(r--,o):void 0,a&&_isIterateeCall(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),t=Object(t);++i<r;){var s=n[i];s&&e(t,s,i,o)}return t}))}var _createAssigner=createAssigner$1,merge$1=_createAssigner((function(e,t,n){_baseMerge(e,t,n)})),merge_1=merge$1,SVGAnimatedString=function(){};function convertToArray(e){return"string"==typeof e&&(e=e.split(" ")),e}function addClasses(e,t){var n,i=convertToArray(t);n=e.className instanceof SVGAnimatedString?convertToArray(e.className.baseVal):convertToArray(e.className),i.forEac
93h((function(e){-1===n.indexOf(e)&&n.push(e)})),e instanceof SVGElement?e.setAttribute("class",n.join(" ")):e.className=n.join(" ")}function removeClasses(e,t){var n,i=convertToArray(t);n=e.className instanceof SVGAnimatedString?convertToArray(e.className.baseVal):convertToArray(e.className),i.forEach((function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)})),e instanceof SVGElement?e.setAttribute("class",n.join(" ")):e.className=n.join(" ")}"undefined"!=typeof window&&(SVGAnimatedString=window.SVGAnimatedString);var supportsPassive$1=!1;if("undefined"!=typeof window){supportsPassive$1=!1;try{var opts$1=Object.defineProperty({},"passive",{get:function(){supportsPassive$1=!0}});window.addEventListener("test",null,opts$1)}catch(e){}}function ownKeys$2(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}function _objectSpread$2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$2(Object(n),!0).forEach((function(t){_defineProperty$1(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$2(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var DEFAULT_OPTIONS={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},openTooltips=[],Tooltip$2=function(){function e(t,n){var i=this;_classCallCheck(this,e),_defineProperty$1(this,"_events",[]),_defineProperty$1(this,"_setTooltipNodeEvent",(function(e,t,n,r){var o=e.relatedreference||e.toElement||e.relatedTarget;return!!i._tooltipNode.contains(o)&&(i._tooltipNode.addEventListener(e.type,(function n(o){var a=o.relatedreference||o.toElement||o.relatedTarget;i._tooltipNode.removeEventListener(e.type,n),t.contains(a)||i._scheduleHide(t,r.delay,r,o)})),!0)})),n=_objectSpread$2(_objectSpread$2({},DEFAULT_OPTIONS),n),t.jquery&&(t=t[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=t,this.options=n,this._isOpen=!1,this._init()}return _createClass(e,[{key:"show",value:function(){this._show(this.reference,this.options)}},{key:"hide",value:function(){this._hide()}},{key:"dispose",value:function(){this._dispose()}},{key:"toggle",value:function(){return this._isOpen?this.hide():this.show()}},{key:"setClasses",value:function(e){this._classes=e}},{key:"setContent",value:function(e){this.options.title=e,this._tooltipNode&&this._setContent(e,this.options)}},{key:"setOptions",value:function(e){var t=!1,n=e&&e.classes||directive$1.options.defaultClass;isEqual_1(this._classes,n)||(this.setClasses(n),t=!0),e=getOptions(e);var i=!1,r=!1;for(var o in this.options.offset===e.offset&&this.options.placement===e.placement||(i=!0),(this.options.template!==e.template||this.options.trigger!==e.trigger||this.options.container!==e.container||t)&&(r=!0),e)this.options[o]=e[o];if(this._tooltipNode)if(r){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else i&&this.popperInstance.update()}},{key:"_init",value:function(){var e="string"==typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===e.indexOf("manual"),e=e.filter((function(e){return-1!==["click","hover","focus"].indexOf(e)})),this._setEventListeners(this.reference,e,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(e,t){var n=this,i=window.document.createElement("div");i.innerHTML=t.trim();var r=i.childNodes[0];return r.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),r.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(r.addEventListener("mouseenter",(function(t){return n._scheduleHide(e,n.options.delay,n.options,t)})),r.addEventListener("click",(function(t){return n._scheduleHide(e,n.options.delay,n.options,t)}))),r}},{key:"_setContent",value:function(e,t){var n=this;this.asyncContent=!1,this._applyContent(e,t).then((function(){n.popperInstance&&n.popperInstance.update(
93)}))}},{key:"_applyContent",value:function(e,t){var n=this;return new Promise((function(i,r){var o=t.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===e.nodeType){if(o){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(e)}}else{if("function"==typeof e){var c=e();return void(c&&"function"==typeof c.then?(n.asyncContent=!0,t.loadingClass&&addClasses(a,t.loadingClass),t.loadingContent&&n._applyContent(t.loadingContent,t),c.then((function(e){return t.loadingClass&&removeClasses(a,t.loadingClass),n._applyContent(e,t)})).then(i).catch(r)):n._applyContent(c,t).then(i).catch(r))}o?s.innerHTML=e:s.innerText=e}i()}}))}},{key:"_show",value:function(e,t){if(t&&"string"==typeof t.container&&!document.querySelector(t.container))return;clearTimeout(this._disposeTimer),delete(t=Object.assign({},t)).offset;var n=!0;this._tooltipNode&&(addClasses(this._tooltipNode,this._classes),n=!1);var i=this._ensureShown(e,t);return n&&this._tooltipNode&&addClasses(this._tooltipNode,this._classes),addClasses(e,["v-tooltip-open"]),i}},{key:"_ensureShown",value:function(e,t){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,openTooltips.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(t.title,t),this;var i=e.getAttribute("title")||t.title;if(!i)return this;var r=this._create(e,t.template);this._tooltipNode=r,e.setAttribute("aria-describedby",r.id);var o=this._findContainer(t.container,e);this._append(r,o);var a=_objectSpread$2(_objectSpread$2({},t.popperOptions),{},{placement:t.placement});return a.modifiers=_objectSpread$2(_objectSpread$2({},a.modifiers),{},{arrow:{element:this.options.arrowSelector}}),t.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new Popper(e,r,a),this._setContent(i,t),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&r.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var e=openTooltips.indexOf(this);-1!==e&&openTooltips.splice(e,1)}},{key:"_hide",value:function(){var e=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var t=directive$1.options.disposeTimeout;return null!==t&&(this._disposeTimer=setTimeout((function(){e._tooltipNode&&(e._tooltipNode.removeEventListener("mouseenter",e.hide),e._tooltipNode.removeEventListener("click",e.hide),e._removeTooltipNode())}),t)),removeClasses(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var e=this._tooltipNode.parentNode;e&&(e.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var e=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(t){var n=t.func,i=t.event;e.reference.removeEventListener(i,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||this._removeTooltipNode()):this._noLongerOpen(),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(e,t,n){var i=this,r=[],o=[];t.forEach((function(e){switch(e){case"hover":r.push("mouseenter"),o.push("mouseleave"),i.options.hideOnTargetClick&&o.push("click");break;case"focus":r.push("focus"),o.push("blur"),i.options.hideOnTargetClick&&o.push("click");break;case"click":r.push("click"),o.push("click")}})),r.forEach((function(t){var r=function(t){!0!==i._isOpen&&(t.usedByTooltip=!0,i._scheduleShow(e,n.delay,n,t))};i._events.push({event:t,func:r}),e.addEventListener(t,r)})),o.forEach((function(t){var r=function(t){!0!==t.usedByTooltip&&i._scheduleHide(e,n.delay,n,t)};i._events.push({event:t,func:r}),e.addEventListener(t,r)}))}},{key:"_onDocumentTouch",value:function(e){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,e)}},{key:"_scheduleShow",value:function(e,t,n){var i=this,r=t&&t.show||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return i._show(e,n)}),r)}},{key:"_scheduleHide",value:function(e,t,n,i){var r=this,o=t&&t.hide||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==r._isOpen&&r._tooltipNode.ownerDocument.body.contains(r._tooltipNode)){if("mouseleave"===i.type)if(r._setTooltipNodeEvent(i,e,t,n))return;r._hide(e,n)}}),o)}}]),e}();function ownKeys$1(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}function _objectSpread$1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
93t%2?ownKeys$1(Object(n),!0).forEach((function(t){_defineProperty$1(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$1(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}"undefined"!=typeof document&&document.addEventListener("touchstart",(function(e){for(var t=0;t<openTooltips.length;t++)openTooltips[t]._onDocumentTouch(e)}),!supportsPassive$1||{passive:!0,capture:!0});var state$7={enabled:!0},positions=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],defaultOptions={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultOpenClass:"open",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function getOptions(e){var t={placement:void 0!==e.placement?e.placement:directive$1.options.defaultPlacement,delay:void 0!==e.delay?e.delay:directive$1.options.defaultDelay,html:void 0!==e.html?e.html:directive$1.options.defaultHtml,template:void 0!==e.template?e.template:directive$1.options.defaultTemplate,arrowSelector:void 0!==e.arrowSelector?e.arrowSelector:directive$1.options.defaultArrowSelector,innerSelector:void 0!==e.innerSelector?e.innerSelector:directive$1.options.defaultInnerSelector,trigger:void 0!==e.trigger?e.trigger:directive$1.options.defaultTrigger,offset:void 0!==e.offset?e.offset:directive$1.options.defaultOffset,container:void 0!==e.container?e.container:directive$1.options.defaultContainer,boundariesElement:void 0!==e.boundariesElement?e.boundariesElement:directive$1.options.defaultBoundariesElement,autoHide:void 0!==e.autoHide?e.autoHide:directive$1.options.autoHide,hideOnTargetClick:void 0!==e.hideOnTargetClick?e.hideOnTargetClick:directive$1.options.defaultHideOnTargetClick,loadingClass:void 0!==e.loadingClass?e.loadingClass:directive$1.options.defaultLoadingClass,loadingContent:void 0!==e.loadingContent?e.loadingContent:directive$1.options.defaultLoadingContent,popperOptions:_objectSpread$1({},void 0!==e.popperOptions?e.popperOptions:directive$1.options.defaultPopperOptions)};if(t.offset){var n=_typeof(t.offset),i=t.offset;("number"===n||"string"===n&&-1===i.indexOf(","))&&(i="0, ".concat(i)),t.popperOptions.modifiers||(t.popperOptions.modifiers={}),t.popperOptions.modifiers.offset={offset:i}}return t.trigger&&-1!==t.trigger.indexOf("click")&&(t.hideOnTargetClick=!1),t}function getPlacement(e,t){for(var n=e.placement,i=0;i<positions.length;i++){var r=positions[i];t[r]&&(n=r)}return n}function getContent(e){var t=_typeof(e);return"string"===t?e:!(!e||"object"!==t)&&e.content}function createTooltip(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=getContent(t),r=void 0!==t.classes?t.classes:directive$1.options.defaultClass,o=_objectSpread$1({title:i},getOptions(_objectSpread$1(_objectSpread$1({},"object"===_typeof(t)?t:{}),{},{placement:getPlacement(t,n)}))),a=e._tooltip=new Tooltip$2(e,o);a.setClasses(r),a._vueEl=e;var s=void 0!==t.targetClasses?t.targetClasses:directive$1.options.defaultTargetClass;return e._tooltipTargetClasses=s,addClasses(e,s),a}function destroyTooltip(e){e._tooltip&&(e._tooltip.dispose(),delete e._tooltip,delete e._tooltipOldShow),e._tooltipTargetClasses&&(removeClasses(e,e._tooltipTargetClasses),delete e._tooltipTargetClasses)}function bind$2(e,t){var n=t.value;t.oldValue;var i,r=t.modifiers,o=getContent(n);o&&state$7.enabled?(e._tooltip?((i=e._tooltip).setContent(o),i.setOptions(_objectSpread$1(_objectSpread$1({},n),{},{placement:getPlacement(n,r)}))):i=createTooltip(e,n,r),void 0!==n.show&&n.show!==e._tooltipOldShow&&(e._tooltipOldShow=n.show,n.show?i.show():i.hide())):destroyTooltip(e)}var directive$1={options:defaultOptions,bind:bind$2,update:bind$2,unbind:function(e){destroyTooltip(e)}};function addListeners(e){e.addEventListener("click",onClick),e.addEventListener("touchstart",onTouchStart,!!supportsPassive$1&&{passive:!0})}function removeListeners(e){e.removeEventListener("click",onClick),e.removeEventListener("touchstart",onTouchStart),e.removeEventListener("touchend",onTouchEnd),e.removeEventListener("touchcancel",onTouchCancel)}function onClick(e){var t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function onTouchStart(e){if(1===e.changedTouches.length){var t=e.currentTarget;t.$_vclosepopover_touch=!0;var n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",onTouchEnd),t.addEventListener("touchcancel",onTouchCancel)}}function onTouchEnd(e){var t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){var n=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function onTouchCancel(e){e.currentTarget.$_vclosepopover_touch=!1}var vclosepopover={bind:function(e,t){var n=t.value,i=t.modifiers;e.$_closePopoverModifiers=i,(void 0===n||n)&&addListeners(e)},update:function(e,t){var n=t.value,i=t.oldValue,r=t.modifiers;e.$_closePopoverModifiers=r,n!==i&&(void 0===n||n?addListeners(e):removeListeners(e))},unbind:function(e){removeListeners(e)}};function ownKeys$3(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}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
93t%2?ownKeys$3(Object(n),!0).forEach((function(t){_defineProperty$1(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$3(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function getDefault(e){var t=directive$1.options.popover[e];return void 0===t?directive$1.options[e]:t}var isIOS$1=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(isIOS$1=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var openPopovers=[],Element$1=function(){};"undefined"!=typeof window&&(Element$1=window.Element);var script$4={name:"VPopover",components:{ResizeObserver:__vue_component__$2},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return getDefault("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return getDefault("defaultDelay")}},offset:{type:[String,Number],default:function(){return getDefault("defaultOffset")}},trigger:{type:String,default:function(){return getDefault("defaultTrigger")}},container:{type:[String,Object,Element$1,Boolean],default:function(){return getDefault("defaultContainer")}},boundariesElement:{type:[String,Element$1],default:function(){return getDefault("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return getDefault("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return getDefault("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return directive$1.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return directive$1.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return directive$1.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return directive$1.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return directive$1.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return directive$1.options.popover.defaultHandleResize}},openGroup:{type:String,default:null},openClass:{type:[String,Array],default:function(){return directive$1.options.popover.defaultOpenClass}},ariaId:{default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return _defineProperty$1({},this.openClass,this.isOpen)},popoverId:function(){return"popover_".concat(null!=this.ariaId?this.ariaId:this.id)}},watch:{open:function(e){e?this.show():this.hide()},disabled:function(e,t){e!==t&&(e?this.hide():this.open&&this.show())},container:function(e){if(this.isOpen&&this.popperInstance){var t=this.$refs.popover,n=this.$refs.trigger,i=this.$_findContainer(this.container,n);if(!i)return void console.warn("No container for popover",this);i.appendChild(t),this.popperInstance.scheduleUpdate()}},trigger:function(e){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(e){var t=this;this.$_updatePopper((function(){t.popperInstance.options.placement=e}))},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e),this.$_init(),this.open&&this.show()},deactivated:function(){this.hide()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.event;t.skipDelay;var i=t.force,r=void 0!==i&&i;!r&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){e.$_beingShowed=!1}))},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event;e.skipDelay,this.$_scheduleHide(t),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var e=this,t=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var i=this.$_findContainer(this.container,t);if(!i)return void console.warn("No container for popover",this);i.appendChild(n),this.$_mounted=!0,this.isOpen=!1,this.popperInstance&&requestAnimationFrame((function(){e.hidden||(e.isOpen=!0)}))}if(!this.popperInstance){var r=_objectSpread(_objectSpread({},this.popperOptions),{},{placement:this.placement});if(r.modifiers=_objectSpread(_objectSpread({},r.modifiers),{},{arrow:_objectSpread(_objectSpread({},r.modifiers&&r.modifiers.arrow),{},{element:this.$refs.arrow})}),this.offset){var o=this.$_getOffset();r.modifiers.offset=_objectSpread(_objectSpread({},r.modifiers&&r.modifiers.offset),{},{offset:o})}this.boundariesElement&&(r.modifiers.preventOverflow=_objectSpread(_objectSpread({},r.modifiers&&r.modifiers.preventOverflow),{},{boundariesElement:this.boundariesElement})),this.popperInstance=new Popper(t,n,r),requestAnimationFrame((function(){if(e.hidden)return e.hidden=!1,void e.$_hide();!e.$_isDisposed&&e.popperInstance?(e.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){if(e.hidden)return e.hidden=!1,void e.$_hide();e.$_isDisposed?e.dispose():e.isOpen=!0}))):e.dispose()}))}var a=this.openGroup;if(a)for(var s,c=0;c<openPopovers.length;c++)(s=openPopovers[c]).openGroup!==a&&(s.hide(),s.$emit("close-group"));openPopovers.push(this),this.$emit("apply-show")}},$_hide:function(){var e=this;if(this.isOpen){var t=openPopovers.indexOf(this);-1!==t&&openPopovers.splice(t,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=directive$1.options.popover.disposeTimeout||directive$1.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout((function(){var t=e.$refs.popover;t&&(t.parentNode&&t.parentNode.removeChild(t),e.$_mounted=!1)}),n)),this.$emit("apply-hide")}},$_findContainer:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e},$_getOffset:function(){var e=_typeof(this.offset),t=this.offset;return("number"===e||"string"===e&&-1===t.indexOf(","))&&(t="0, ".concat(t)),t},$_addEventListeners:function(){var e=this,t=this.$refs.trigger,n=[],i=[];("string"==typeof this.trigger?this.trigger.split(" ").filter((function(e){return-1!==["click","hover","focus"].indexOf(e)}
93)):[]).forEach((function(e){switch(e){case"hover":n.push("mouseenter"),i.push("mouseleave");break;case"focus":n.push("focus"),i.push("blur");break;case"click":n.push("click"),i.push("click")}})),n.forEach((function(n){var i=function(t){e.isOpen||(t.usedByTooltip=!0,!e.$_preventOpen&&e.show({event:t}),e.hidden=!1)};e.$_events.push({event:n,func:i}),t.addEventListener(n,i)})),i.forEach((function(n){var i=function(t){t.usedByTooltip||(e.hide({event:t}),e.hidden=!0)};e.$_events.push({event:n,func:i}),t.addEventListener(n,i)}))},$_scheduleShow:function(){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),e)this.$_show();else{var t=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),t)}},$_scheduleHide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var i=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(e.isOpen){if(t&&"mouseleave"===t.type)if(e.$_setTooltipNodeEvent(t))return;e.$_hide()}}),i)}},$_setTooltipNodeEvent:function(e){var t=this,n=this.$refs.trigger,i=this.$refs.popover,r=e.relatedreference||e.toElement||e.relatedTarget;return!!i.contains(r)&&(i.addEventListener(e.type,(function r(o){var a=o.relatedreference||o.toElement||o.relatedTarget;i.removeEventListener(e.type,r),n.contains(a)||t.hide({event:o})})),!0)},$_removeEventListeners:function(){var e=this.$refs.trigger;this.$_events.forEach((function(t){var n=t.func,i=t.event;e.removeEventListener(i,n)})),this.$_events=[]},$_updatePopper:function(e){this.popperInstance&&(e(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var e=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),e&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout((function(){t.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function handleGlobalClick(e){handleGlobalClose(e)}function handleGlobalTouchend(e){handleGlobalClose(e,!0)}function handleGlobalClose(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=function(n){var i=openPopovers[n];if(i.$refs.popover){var r=i.$refs.popover.contains(e.target);requestAnimationFrame((function(){(e.closeAllPopover||e.closePopover&&r||i.autoHide&&!r)&&i.$_handleGlobalClose(e,t)}))}},i=0;i<openPopovers.length;i++)n(i)}function normalizeComponent$3(e,t,n,i,r,o,a,s,c,l){"boolean"!=typeof a&&(c=s,s=a,a=!1);const d="function"==typeof n?n.options:n;let u;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),o?(u=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,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=u):t&&(u=a?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(d.functional){const e=d.render;d.render=function(t,n){return u.call(n),e(t,n)}}else{const e=d.beforeCreate;d.beforeCreate=e?[].concat(e,u):[u]}return n}"undefined"!=typeof document&&"undefined"!=typeof window&&(isIOS$1?document.addEventListener("touchend",handleGlobalTouchend,!supportsPassive$1||{passive:!0,capture:!0}):window.addEventListener("click",handleGlobalClick,!0));var __vue_script__$5=script$4,__vue_render__$4=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-popover",class:e.cssClass},[n("div",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":e.isOpen?e.popoverId:void 0,tabindex:-1!==e.trigger.indexOf("focus")?0:void 0}},[e._t("default")],2),e._v(" "),n("div",{ref:"popover",class:[e.popoverBaseClass,e.popoverClass,e.cssClass],style:{visibility:e.isOpen?"visible":"hidden"},attrs:{id:e.popoverId,"aria-hidden":e.isOpen?"false":"true",tabindex:e.autoHide?0:void 0},on:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;e.autoHide&&e.hide()}}},[n("div",{class:e.popoverWrapperClass},[n("div",{ref:"inner",class:e.popoverInnerClass,staticStyle:{position:"relative"}}
93,[n("div",[e._t("popover",null,{isOpen:e.isOpen})],2),e._v(" "),e.handleResize?n("ResizeObserver",{on:{notify:e.$_handleResize}}):e._e()],1),e._v(" "),n("div",{ref:"arrow",class:e.popoverArrowClass})])])])},__vue_staticRenderFns__$4=[];__vue_render__$4._withStripped=!0;var __vue_inject_styles__$5=void 0,__vue_scope_id__$5=void 0,__vue_module_identifier__$5=void 0,__vue_is_functional_template__$5=!1,__vue_component__$3=normalizeComponent$3({render:__vue_render__$4,staticRenderFns:__vue_staticRenderFns__$4},__vue_inject_styles__$5,__vue_script__$5,__vue_scope_id__$5,__vue_is_functional_template__$5,__vue_module_identifier__$5,!1,void 0,void 0,void 0);function styleInject(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}var css_248z=".resize-observer[data-v-8859cc6c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-8859cc6c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}";function install$4(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!install$4.installed){install$4.installed=!0;var n={};merge_1(n,defaultOptions,t),plugin$1.options=n,directive$1.options=n,e.directive("tooltip",directive$1),e.directive("close-popover",vclosepopover),e.component("VPopover",__vue_component__$3)}}styleInject(css_248z);var plugin$1={install:install$4,get enabled(){return state$7.enabled},set enabled(e){state$7.enabled=e}},GlobalVue$1=null;"undefined"!=typeof window?GlobalVue$1=window.Vue:void 0!==global$1&&(GlobalVue$1=global$1.Vue),GlobalVue$1&&GlobalVue$1.use(plugin$1) 94/*! 95 * Vue.js v2.6.14 96 * (c) 2014-2021 Evan You 97 * Released under the MIT License. 98 */;var emptyObject$1=Object.freeze({});function isUndef$1(e){return null==e}function isDef$1(e){return null!=e}function isTrue$1(e){return!0===e}function isFalse$1(e){return!1===e}function isPrimitive$1(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function isObject$7(e){return null!==e&&"object"==typeof e}var _toString$1=Object.prototype.toString;function toRawType$1(e){return _toString$1.call(e).slice(8,-1)}function isPlainObject$2(e){return"[object Object]"===_toString$1.call(e)}function isRegExp$3(e){return"[object RegExp]"===_toString$1.call(e)}function isValidArrayIndex$1(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function isPromise$3(e){return isDef$1(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function toString$3(e){return null==e?"":Array.isArray(e)||isPlainObject$2(e)&&e.toString===_toString$1?JSON.stringify(e,null,2):String(e)}function toNumber$2(e){var t=parseFloat(e);return isNaN(t)?e:t}function makeMap$1(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 isBuiltInTag$1=makeMap$1("slot,component",!0),isReservedAttribute$1=makeMap$1("key,ref,slot,slot-scope,is");function remove$3(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var hasOwnProperty$e=Object.prototype.hasOwnProperty;function hasOwn$1(e,t){return hasOwnProperty$e.call(e,t)}function cached$1(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var camelizeRE$1=/-(\w)/g,camelize$2=cached$1((function(e){return e.replace(camelizeRE$1,(function(e,t){return t?t.toUpperCase():""}))})),capitalize$2=cached$1((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),hyphenateRE$1=/\B([A-Z])/g,hyphenate$1=cached$1((function(e){return e.replace(hyphenateRE$1,"-$1").toLowerCase()}));function polyfillBind$1(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 nativeBind$1(e,t){return e.bind(t)}var bind$3=Function.prototype.bind?nativeBind$1:polyfillBind$1;function toArray$3(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function extend$3(e,t){for(var n in t)e[n]=t[n];return e}function toObject$2(e){for(var t={},n=0;n<e.length;n++)e[n]&&extend$3(t,e[n]);return t}function noop$3(e,t,n){}var no$1=function(e,t,n){return!1},identity$4=function(e){return e};function looseEqual$1(e,t){if(e===t)return!0;var n=isObject$7(e),i=isObject$7(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 looseEqual$1(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 looseEqual$1(e[n],t[n])}))}catch(e){return!1}}function looseIndexOf$1(e,t){for(var n=0;n<e.length;n++)if(looseEqual$1(e[n],t))return n;return-1}function once$3(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var SSR_ATTR$1="data-server-rendered",ASSET_TYPES$1=["component","directive","filter"],LIFECYCLE_HOOKS$1=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","
98serverPrefetch"],config$3={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:no$1,isReservedAttr:no$1,isUnknownElement:no$1,getTagNamespace:noop$3,parsePlatformTagName:identity$4,mustUseProp:no$1,async:!0,_lifecycleHooks:LIFECYCLE_HOOKS$1},unicodeRegExp$1=/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 isReserved$1(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function def$1(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var bailRE$1=new RegExp("[^"+unicodeRegExp$1.source+".$_\\d]");function parsePath$1(e){if(!bailRE$1.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}}}var hasProto$1="__proto__"in{},inBrowser$1="undefined"!=typeof window,inWeex$1="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,weexPlatform$1=inWeex$1&&WXEnvironment.platform.toLowerCase(),UA$1=inBrowser$1&&window.navigator.userAgent.toLowerCase(),isIE$3=UA$1&&/msie|trident/.test(UA$1),isIE9$1=UA$1&&UA$1.indexOf("msie 9.0")>0,isEdge$1=UA$1&&UA$1.indexOf("edge/")>0,isAndroid$1=UA$1&&UA$1.indexOf("android")>0||"android"===weexPlatform$1,isIOS$2=UA$1&&/iphone|ipad|ipod|ios/.test(UA$1)||"ios"===weexPlatform$1,isChrome$1=UA$1&&/chrome\/\d+/.test(UA$1)&&!isEdge$1,isPhantomJS$1=UA$1&&/phantomjs/.test(UA$1),isFF$1=UA$1&&UA$1.match(/firefox\/(\d+)/),nativeWatch$1={}.watch,supportsPassive$2=!1,_isServer$1;if(inBrowser$1)try{var opts$2={};Object.defineProperty(opts$2,"passive",{get:function(){supportsPassive$2=!0}}),window.addEventListener("test-passive",null,opts$2)}catch(e){}var isServerRendering$1=function(){return void 0===_isServer$1&&(_isServer$1=!inBrowser$1&&!inWeex$1&&void 0!==global$1&&(global$1.process&&"server"===global$1.process.env.VUE_ENV)),_isServer$1},devtools$1=inBrowser$1&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function isNative$1(e){return"function"==typeof e&&/native code/.test(e.toString())}var hasSymbol$1="undefined"!=typeof Symbol&&isNative$1(Symbol)&&"undefined"!=typeof Reflect&&isNative$1(Reflect.ownKeys),_Set$2;_Set$2="undefined"!=typeof Set&&isNative$1(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 warn$3=noop$3,uid$1=0,Dep$1=function(){this.id=uid$1++,this.subs=[]};Dep$1.prototype.addSub=function(e){this.subs.push(e)},Dep$1.prototype.removeSub=function(e){remove$3(this.subs,e)}
vendor: 4,844 bytes, line 98
98,Dep$1.prototype.depend=function(){Dep$1.target&&Dep$1.target.addDep(this)},Dep$1.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},Dep$1.target=null;var targetStack$1=[];function pushTarget$1(e){targetStack$1.push(e),Dep$1.target=e}function popTarget$1(){targetStack$1.pop(),Dep$1.target=targetStack$1[targetStack$1.length-1]}var VNode$1=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},prototypeAccessors$3={child:{configurable:!0}};prototypeAccessors$3.child.get=function(){return this.componentInstance},Object.defineProperties(VNode$1.prototype,prototypeAccessors$3);var createEmptyVNode$1=function(e){void 0===e&&(e="");var t=new VNode$1;return t.text=e,t.isComment=!0,t};function createTextVNode$1(e){return new VNode$1(void 0,void 0,void 0,String(e))}function cloneVNode$1(e){var t=new VNode$1(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 arrayProto$2=Array.prototype,arrayMethods$1=Object.create(arrayProto$2),methodsToPatch$1=["push","pop","shift","unshift","splice","sort","reverse"];methodsToPatch$1.forEach((function(e){var t=arrayProto$2[e];def$1(arrayMethods$1,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 arrayKeys$1=Object.getOwnPropertyNames(arrayMethods$1),shouldObserve$1=!0;function toggleObserving$1(e){shouldObserve$1=e}var Observer$1=function(e){this.value=e,this.dep=new Dep$1,this.vmCount=0,def$1(e,"__ob__",this),Array.isArray(e)?(hasProto$1?protoAugment$1(e,arrayMethods$1):copyAugment$1(e,arrayMethods$1,arrayKeys$1),this.observeArray(e)):this.walk(e)};function protoAugment$1(e,t){e.__proto__=t}function copyAugment$1(e,t,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];def$1(e,o,t[o])}}function observe$1(e,t){var n;if(isObject$7(e)&&!(e instanceof VNode$1))return hasOwn$1(e,"__ob__")&&e.__ob__ instanceof Observer$1?n=e.__ob__:shouldObserve$1&&!isServerRendering$1()&&(Array.isArray(e)||isPlainObject$2(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Observer$1(e)),t&&n&&n.vmCount++,n}function defineReactive$$1$1(e,t,n,i,r){var o=new Dep$1,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!r&&observe$1(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return Dep$1.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(t)&&dependArray$1(t))),t},set:function(t){var i=s?s.call(e):n;t===i||t!=t&&i!=i||s&&!c||(c?c.call(e,t):n=t,l=!r&&observe$1(t),o.notify())}})}}function set$3(e,t,n){if(Array.isArray(e)&&isValidArrayIndex$1(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?(defineReactive$$1$1(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function del$1(e,t){if(Array.isArray(e)&&isValidArrayIndex$1(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||hasOwn$1(e,t)&&(delete e[t],n&&n.dep.notify())}}function dependArray$1(e){for(var t=void 0,n=0,i=e.length;n<i;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&dependArray$1(t)}Observer$1.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)defineReactive$$1$1(e,t[n])},Observer$1.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)observe$1(e[t])};var strats$1=config$3.optionMergeStrategies;function mergeData$1(e,t){if(!t)return e;for(var n,i,r,o=hasSymbol$1?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(i=e[n],r=t[n],hasOwn$1(e,n)?i!==r&&isPlainObject$2(i)&&isPlainObject$2(r)&&mergeData$1(i,r):set$3(e,n,r));return e}function mergeDataOrFn$1(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?mergeData$1(i,r):r}:t?e?function(){return mergeData$1("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function mergeHook$2(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?dedupeHooks$1(n):n}function dedupeHooks$1(e){for(var t=[],n=0;n<e.length;
98n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function mergeAssets$1(e,t,n,i){var r=Object.create(e||null);return t?extend$3(r,t):r}strats$1.data=function(e,t,n){return n?mergeDataOrFn$1(e,t,n):t&&"function"!=typeof t?e:mergeDataOrFn$1(e,t)},LIFECYCLE_HOOKS$1.forEach((function(e){strats$1[e]=mergeHook$2})),ASSET_TYPES$1.forEach((function(e){strats$1[e+"s"]=mergeAssets$1})),strats$1.watch=function(e,t,n,i){if(e===nativeWatch$1&&(e=void 0),t===nativeWatch$1&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};for(var o in extend$3(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},strats$1.props=strats$1.methods=strats$1.inject=strats$1.computed=function(e,t,n,i){if(!e)return t;var r=Object.create(null);return extend$3(r,e),t&&extend$3(r,t),r},strats$1.provide=mergeDataOrFn$1;var defaultStrat$1=function(e,t){return void 0===t?e:t};function normalizeProps$1(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[camelize$2(r)]={type:null});else if(isPlainObject$2(n))for(var a in n)r=n[a],o[camelize$2(a)]=isPlainObject$2(r)?r:{type:r};e.props=o}}function normalizeInject$1(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(isPlainObject$2(n))for(var o in n){var a=n[o];i[o]=isPlainObject$2(a)?extend$3({from:o},a):{from:a}}}}function normalizeDirectives$2(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})}}function assertObjectType$1(e,t,n){isPlainObject$2(t)||warn$3('Invalid value for option "'+e+'": expected an Object, but got '+toRawType$1(t)+".",n)}function mergeOptions$1(e,t,n){if("function"==typeof t&&(t=t.options),normalizeProps$1(t),normalizeInject$1(t),normalizeDirectives$2(t),!t._base&&(t.extends&&(e=mergeOptions$1(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=mergeOptions$1(e,t.mixins[i],n);var o,a={};for(o in e)s(o);for(o in t)hasOwn$1(e,o)||s(o);function s(i){var r=strats$1[i]||defaultStrat$1;a[i]=r(e[i],t[i],n,i)}return a}function resolveAsset$1(e,t,n,i){if("string"==typeof n){var r=e[t];if(hasOwn$1(r,n))return r[n];var o=camelize$2(n);if(hasOwn$1(r,o))return r[o];var a=capitalize$2(o);return hasOwn$1(r,a)?r[a]:r[n]||r[o]||r[a]}}function validateProp$1(e,t,n,i){var r=t[e],o=!hasOwn$1(n,e),a=n[e],s=getTypeIndex$1(Boolean,r.type);if(s>-1)if(o&&!hasOwn$1(r,"default"))a=!1;else if(""===a||a===hyphenate$1(e)){var c=getTypeIndex$1(String,r.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=getPropDefaultValue$1(i,r,e);var l=shouldObserve$1;toggleObserving$1(!0),observe$1(a),toggleObserving$1(l)}return a}function getPropDefaultValue$1(e,t,n){if(hasOwn$1(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"!==getType$1(t.type)?i.call(e):i}}var functionTypeCheckRE$1=/^\s*function (\w+)/;function getType$1(e){var t=e&&e.toString().match(functionTypeCheckRE$1);return t?t[1]:""}function isSameType$1(e,t){return getType$1(e)===getType$1(t)}function getTypeIndex$1(e,t){if(!Array.isArray(t))return isSameType$1(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(isSameType$1(t[n],e))return n;return-1}function handleError$1(e,t,n){pushTarget$1();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){globalHandleError$1(e,i,"errorCaptured hook")}}globalHandleError$1(e,t,n)}finally{popTarget$1()}}function invokeWithErrorHandling$1(e,t,n,i,r){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&isPromise$3(o)&&!o._handled&&(o.catch((function(e){return handleError$1(e,i,r+" (Promise/async)")})),o._handled=!0)}catch(e){handleError$1(e,i,r)}return o}function globalHandleError$1(e,t,n){if(config$3.errorHandler)try{return config$3.errorHandler.call(null,e,t,n)}catch(t){t!==e&&logError$1(t)}logError$1(e)}function logError$1(e,t,n){if(!inBrowser$1&&!inWeex$1||"undefined"==typeof console)throw e;console.error(e)}var isUsingMicroTask$1=!1,callbacks$1=[],pending$1=!1,timerFunc$1;function flushCallbacks$1(){pending$1=!1;var e=callbacks$1.slice(0);callbacks$1.length=0;for(var t=0;t<e.length;t++)e[t]()}
vendor: 11,774 bytes, line 98
98if("undefined"!=typeof Promise&&isNative$1(Promise)){var p$1=Promise.resolve();timerFunc$1=function(){p$1.then(flushCallbacks$1),isIOS$2&&setTimeout(noop$3)},isUsingMicroTask$1=!0}else if(isIE$3||"undefined"==typeof MutationObserver||!isNative$1(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())timerFunc$1="undefined"!=typeof setImmediate&&isNative$1(setImmediate)?function(){setImmediate(flushCallbacks$1)}:function(){setTimeout(flushCallbacks$1,0)};else{var counter$1=1,observer$1=new MutationObserver(flushCallbacks$1),textNode$1=document.createTextNode(String(counter$1));observer$1.observe(textNode$1,{characterData:!0}),timerFunc$1=function(){counter$1=(counter$1+1)%2,textNode$1.data=String(counter$1)},isUsingMicroTask$1=!0}function nextTick$2(e,t){var n;if(callbacks$1.push((function(){if(e)try{e.call(t)}catch(e){handleError$1(e,t,"nextTick")}else n&&n(t)})),pending$1||(pending$1=!0,timerFunc$1()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var seenObjects$1=new _Set$2;function traverse$1(e){_traverse$1(e,seenObjects$1),seenObjects$1.clear()}function _traverse$1(e,t){var n,i,r=Array.isArray(e);if(!(!r&&!isObject$7(e)||Object.isFrozen(e)||e instanceof VNode$1)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(r)for(n=e.length;n--;)_traverse$1(e[n],t);else for(n=(i=Object.keys(e)).length;n--;)_traverse$1(e[i[n]],t)}}var normalizeEvent$1=cached$1((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 createFnInvoker$1(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return invokeWithErrorHandling$1(i,null,arguments,t,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)invokeWithErrorHandling$1(r[o],null,e,t,"v-on handler")}return n.fns=e,n}function updateListeners$1(e,t,n,i,r,o){var a,s,c,l;for(a in e)s=e[a],c=t[a],l=normalizeEvent$1(a),isUndef$1(s)||(isUndef$1(c)?(isUndef$1(s.fns)&&(s=e[a]=createFnInvoker$1(s,o)),isTrue$1(l.once)&&(s=e[a]=r(l.name,s,l.capture)),n(l.name,s,l.capture,l.passive,l.params)):s!==c&&(c.fns=s,e[a]=c));for(a in t)isUndef$1(e[a])&&i((l=normalizeEvent$1(a)).name,t[a],l.capture)}function mergeVNodeHook$1(e,t,n){var i;e instanceof VNode$1&&(e=e.data.hook||(e.data.hook={}));var r=e[t];function o(){n.apply(this,arguments),remove$3(i.fns,o)}isUndef$1(r)?i=createFnInvoker$1([o]):isDef$1(r.fns)&&isTrue$1(r.merged)?(i=r).fns.push(o):i=createFnInvoker$1([r,o]),i.merged=!0,e[t]=i}function extractPropsFromVNodeData$1(e,t,n){var i=t.options.props;if(!isUndef$1(i)){var r={},o=e.attrs,a=e.props;if(isDef$1(o)||isDef$1(a))for(var s in i){var c=hyphenate$1(s);checkProp$1(r,a,s,c,!0)||checkProp$1(r,o,s,c,!1)}return r}}function checkProp$1(e,t,n,i,r){if(isDef$1(t)){if(hasOwn$1(t,n))return e[n]=t[n],r||delete t[n],!0;if(hasOwn$1(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function simpleNormalizeChildren$1(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function normalizeChildren$1(e){return isPrimitive$1(e)?[createTextVNode$1(e)]:Array.isArray(e)?normalizeArrayChildren$1(e):void 0}function isTextNode$1(e){return isDef$1(e)&&isDef$1(e.text)&&isFalse$1(e.isComment)}function normalizeArrayChildren$1(e,t){var n,i,r,o,a=[];for(n=0;n<e.length;n++)isUndef$1(i=e[n])||"boolean"==typeof i||(o=a[r=a.length-1],Array.isArray(i)?i.length>0&&(isTextNode$1((i=normalizeArrayChildren$1(i,(t||"")+"_"+n))[0])&&isTextNode$1(o)&&(a[r]=createTextVNode$1(o.text+i[0].text),i.shift()),a.push.apply(a,i)):isPrimitive$1(i)?isTextNode$1(o)?a[r]=createTextVNode$1(o.text+i):""!==i&&a.push(createTextVNode$1(i)):isTextNode$1(i)&&isTextNode$1(o)?a[r]=createTextVNode$1(o.text+i.text):(isTrue$1(e._isVList)&&isDef$1(i.tag)&&isUndef$1(i.key)&&isDef$1(t)&&(i.key="__vlist"+t+"_"+n+"__"),a.push(i)));return a}function initProvide$1(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function initInjections$1(e){var t=resolveInject$1(e.$options.inject,e);t&&(toggleObserving$1(!1),Object.keys(t).forEach((function(n){defineReactive$$1$1(e,n,t[n])})),toggleObserving$1(!0))}function resolveInject$1(e,t){if(e){for(var n=Object.create(null),i=hasSymbol$1?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&&hasOwn$1(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var c=e[o].default;n[o]="function"==typeof c?c.call(t):c}}}return n}}function resolveSlots$1(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,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(isWhitespace$1)&&delete n[l];return n}function isWhitespace$1(e){return e.isComment&&!e.asyncFactory||" "===e.text}function isAsyncPlaceholder$1(e){return e.isComment&&e.asyncFactory}function normalizeScopedSlots$1(e,t,n){var i,r=Object.keys(t).length>0,o=e?!!e.$stable:!r,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==emptyObject$1&&a===n.$key&&!r&&!n.$hasNormal)return n;for(var s in i={},e)e[s]&&"$"!==s[0]&&(i[s]=normalizeScopedSlot$1(t,s,e[s]))}else i={};for(var c in t)c in i||(i[c]=proxyNormalSlot$1(t,c));return e&&Object.isExtensible(e)&&(e._normalized=i),def$1(i,"$stable",o),def$1(i,"$key",a),def$1(i,"$hasNormal",r),i}function normalizeScopedSlot$1(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({}),t=(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:normalizeChildren$1(e))&&e[0];return e&&(!t||1===e.length&&t.isComment&&!isAsyncPlaceholder$1(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function proxyNormalSlot$1(e,t){return function(){return e[t]}}function renderList$1(e,t){var n,i,r,o,a;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(isObject$7(e))if(hasSymbol$1&&e[Symbol.iterator]){n=[];for(var s=e[Symbol.iterator](),c=s.next();!c.done;)n.push(t(c.value,n.length)),c=s.next()}else for(o=Object.keys(e),n=new Array(o.length),i=0,r=o.length;i<r;i++)a=o[i],n[i]=t(e[a],a,i);return isDef$1(n)||(n=[]),n._isVList=!0,n}function renderSlot$1(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(n=extend$3(extend$3({},i),n)),r=o(n)||("function"==typeof t?t():t)):r=this.$slots[e]||("function"==typeof t?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function resolveFilter$1(e){return resolveAsset$1(this.$options,"filters",e)||identity$4}function isKeyNotMatch$1(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function checkKeyCodes$1(e,t,n,i,r){var o=config$3.keyCodes[t]||n;return r&&i&&!config$3.keyCodes[t]?isKeyNotMatch$1(r,i):o?isKeyNotMatch$1(o,e):i?hyphenate$1(i)!==t:void 0===e}function bindObjectProps$1(e,t,n,i,r){if(n)if(isObject$7(n)){var o;Array.isArray(n)&&(n=toObject$2(n));var a=function(a){if("class"===a||"style"===a||isReservedAttribute$1(a))o=e;else{var s=e.attrs&&e.attrs.type;o=i||config$3.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=camelize$2(a),l=hyphenate$1(a);c in o||l 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;return e}function renderStatic$1(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t||markStatic$2(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i}function markOnce$1(e,t,n){return markStatic$2(e,"__once__"+t+(n?"_"+n:""),!0),e}function markStatic$2(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&markStaticNode$1(e[i],t+"_"+i,n);else markStaticNode$1(e,t,n)}function markStaticNode$1(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function bindObjectListeners$1(e,t){if(t)if(isPlainObject$2(t)){var n=e.on=e.on?extend$3({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}else;return e}function resolveScopedSlots$1(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?resolveScopedSlots$1(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return i&&(t.$key=i),t}function bindDynamicKeys$1(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 prependModifier$1(e,t){return"string"==typeof e?t+e:e}function installRenderHelpers$1(e){e._o=markOnce$1,e._n=toNumber$2,e._s=toString$3,e._l=renderList$1,e._t=renderSlot$1,e._q=looseEqual$1,e._i=looseIndexOf$1,e._m=renderStatic$1,e._f=resolveFilter$1,e._k=checkKeyCodes$1,e._b=bindObjectProps$1,e._v=createTextVNode$1,e._e=createEmptyVNode$1,e._u=resolveScopedSlots$1,e._g=bindObjectListeners$1,e._d=bindDynamicKeys$1,e._p=prependModifier$1}function FunctionalRenderContext$1(e,t,n,i,r){var o,a=this,s=r.options;hasOwn$1(i,"_uid")?(o=Object.create(i))._original=i:(o=i,i=i._original);var c=isTrue$1(s._compiled),l=!c;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||emptyObject$1,this.injections=resolveInject$1(s.inject,i),this.slots=function(){return a.$slots||normalizeScopedSlots$1(e.scopedSlots,a.$slots=resolveSlots$1(n,i)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return normalizeScopedSlots$1(e.scopedSlots,this.slots())}}),c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=normalizeScopedSlots$1(e.scopedSlots,this.$slots)),s._scopeId?this._c=function(e,t,n,r){var a=createElement$2(o,e,t,n,r,l);return a&&!Array.isArray(a)&&(a.fnScopeId=s._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,i){return createElement$2(o,e,t,n,i,l)}}function createFunctionalComponent$1(e,t,n,i,r){var o=e.options,a={},s=o.props;if(isDef$1(s))for(var c in s)a[c]=validateProp$1(c,s,t||emptyObject$1);else isDef$1(n.attrs)&&mergeProps$1(a,n.attrs),isDef$1(n.props)&&mergeProps$1(a,n.props);var l=new FunctionalRenderContext$1(n,a,r,i,e),d=o.render.call(null,l._c,l);if(d instanceof VNode$1)return cloneAndMarkFunctionalResult$1(d,n,l.parent,o);if(Array.isArray(d)){for(var u=normalizeChildren$1(d)||[],p=new Array(u.length),h=0;h<u.length;h++)p[h]=cloneAndMarkFunctionalResult$1(u[h],n,l.parent,o);return p}}function cloneAndMarkFunctionalResult$1(e,t,n,i,r){var o=cloneVNode$1(e);return o.fnContext=n,o.fnOptions=i,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function mergeProps$1(e,t){for(var n in t)e[camelize$2(n)]=t[n]}installRenderHelpers$1(FunctionalRenderContext$1.prototype);var componentVNodeHooks$1={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;componentVNodeHooks$1.prepatch(n,n)}else{(e.componentInstance=createComponentInstanceForVnode$1(e,activeInstance$1)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;updateChildComponent$1(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,callHook$2(n,"mounted")),e.data.keepAlive&&(t._isMounted?queueActivatedComponent$1(n):activateChildComponent$1(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?deactivateChildComponent$1(t,!0):t.$destroy())}},hooksToMerge$1=Object.keys(componentVNodeHooks$1);function createComponent$1(e,t,n,i,r){if(!isUndef$1(e)){var o=n.$options._base;if(isObject$7(e)&&(e=o.extend(e)),"function"==typeof e){var a;if(isUndef$1(e.cid)&&void 0===(e=resolveAsyncComponent$1(a=e,o))
98)return createAsyncPlaceholder$1(a,t,n,i,r);t=t||{},resolveConstructorOptions$1(e),isDef$1(t.model)&&transformModel$1(e.options,t);var s=extractPropsFromVNodeData$1(t,e);if(isTrue$1(e.options.functional))return createFunctionalComponent$1(e,s,t,n,i);var c=t.on;if(t.on=t.nativeOn,isTrue$1(e.options.abstract)){var l=t.slot;t={},l&&(t.slot=l)}installComponentHooks$1(t);var d=e.options.name||r;return new VNode$1("vue-component-"+e.cid+(d?"-"+d:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:s,listeners:c,tag:r,children:i},a)}}}function createComponentInstanceForVnode$1(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;return isDef$1(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}function installComponentHooks$1(e){for(var t=e.hook||(e.hook={}),n=0;n<hooksToMerge$1.length;n++){var i=hooksToMerge$1[n],r=t[i],o=componentVNodeHooks$1[i];r===o||r&&r._merged||(t[i]=r?mergeHook$1$1(o,r):o)}}function mergeHook$1$1(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}function transformModel$1(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={}),o=r[i],a=t.model.callback;isDef$1(o)?(Array.isArray(o)?-1===o.indexOf(a):o!==a)&&(r[i]=[a].concat(o)):r[i]=a}var SIMPLE_NORMALIZE$1=1,ALWAYS_NORMALIZE$1=2;function createElement$2(e,t,n,i,r,o){return(Array.isArray(n)||isPrimitive$1(n))&&(r=i,i=n,n=void 0),isTrue$1(o)&&(r=ALWAYS_NORMALIZE$1),_createElement$1(e,t,n,i,r)}function _createElement$1(e,t,n,i,r){if(isDef$1(n)&&isDef$1(n.__ob__))return createEmptyVNode$1();if(isDef$1(n)&&isDef$1(n.is)&&(t=n.is),!t)return createEmptyVNode$1();var o,a,s;(Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0),r===ALWAYS_NORMALIZE$1?i=normalizeChildren$1(i):r===SIMPLE_NORMALIZE$1&&(i=simpleNormalizeChildren$1(i)),"string"==typeof t)?(a=e.$vnode&&e.$vnode.ns||config$3.getTagNamespace(t),o=config$3.isReservedTag(t)?new VNode$1(config$3.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!isDef$1(s=resolveAsset$1(e.$options,"components",t))?new VNode$1(t,n,i,void 0,void 0,e):createComponent$1(s,n,e,i,t)):o=createComponent$1(t,n,e,i);return Array.isArray(o)?o:isDef$1(o)?(isDef$1(a)&&applyNS$1(o,a),isDef$1(n)&®isterDeepBindings$1(n),o):createEmptyVNode$1()}function applyNS$1(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),isDef$1(e.children))for(var i=0,r=e.children.length;i<r;i++){var o=e.children[i];isDef$1(o.tag)&&(isUndef$1(o.ns)||isTrue$1(n)&&"svg"!==o.tag)&&applyNS$1(o,t,n)}}function registerDeepBindings$1(e){isObject$7(e.style)&&traverse$1(e.style),isObject$7(e.class)&&traverse$1(e.class)}function initRender$1(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=resolveSlots$1(t._renderChildren,i),e.$scopedSlots=emptyObject$1,e._c=function(t,n,i,r){return createElement$2(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return createElement$2(e,t,n,i,r,!0)};var r=n&&n.data;defineReactive$$1$1(e,"$attrs",r&&r.attrs||emptyObject$1,null,!0),defineReactive$$1$1(e,"$listeners",t._parentListeners||emptyObject$1,null,!0)}var currentRenderingInstance$1=null,target$4;function renderMixin$1(e){installRenderHelpers$1(e.prototype),e.prototype.$nextTick=function(e){return nextTick$2(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=normalizeScopedSlots$1(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{currentRenderingInstance$1=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){handleError$1(n,t,"render"),e=t._vnode}finally{currentRenderingInstance$1=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof VNode$1||(e=createEmptyVNode$1()),e.parent=r,e}}function ensureCtor$1(e,t){return(e.__esModule||hasSymbol$1&&"Module"===e[Symbol.toStringTag])&&(e=e.default),isObject$7(e)?t.extend(e):e}function createAsyncPlaceholder$1(e,t,n,i,r){var o=createEmptyVNode$1();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}function resolveAsyncComponent$1(e,t){if(isTrue$1(e.error)&&isDef$1(e.errorComp))return e.errorComp;if(isDef$1(e.resolved))return e.resolved;var n=currentRenderingInstance$1;if(n&&isDef$1(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),isTrue$1(e.loading)&&isDef$1(e.loadingComp))return e.loadingComp;if(n&&!isDef$1(e.owners)){var i=e.owners=[n],r=!0,o=null,a=null;n.$on("hook:destroyed",(function(){return remove$3(i,n)}));var s=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==o&&(clearTimeout(o),o=null),null!==a&&(clearTimeout(a),a=null))},c=once$3((function(n){e.resolved=ensureCtor$1(n,t),r?i.length=0:s(!0)})),l=once$3((function(t){isDef$1(e.errorComp)&&(e.error=!0,s(!0))})),d=e(c,l);
98return isObject$7(d)&&(isPromise$3(d)?isUndef$1(e.resolved)&&d.then(c,l):isPromise$3(d.component)&&(d.component.then(c,l),isDef$1(d.error)&&(e.errorComp=ensureCtor$1(d.error,t)),isDef$1(d.loading)&&(e.loadingComp=ensureCtor$1(d.loading,t),0===d.delay?e.loading=!0:o=setTimeout((function(){o=null,isUndef$1(e.resolved)&&isUndef$1(e.error)&&(e.loading=!0,s(!1))}),d.delay||200)),isDef$1(d.timeout)&&(a=setTimeout((function(){a=null,isUndef$1(e.resolved)&&l(null)}),d.timeout)))),r=!1,e.loading?e.loadingComp:e.resolved}}function getFirstComponentChild$1(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(isDef$1(n)&&(isDef$1(n.componentOptions)||isAsyncPlaceholder$1(n)))return n}}function initEvents$2(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&updateComponentListeners$1(e,t)}function add$4(e,t){target$4.$on(e,t)}function remove$1$1(e,t){target$4.$off(e,t)}function createOnceHandler$2(e,t){var n=target$4;return function i(){var r=t.apply(null,arguments);null!==r&&n.$off(e,i)}}function updateComponentListeners$1(e,t,n){target$4=e,updateListeners$1(t,n||{},add$4,remove$1$1,createOnceHandler$2,e),target$4=void 0}function eventsMixin$1(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=t._events[e];if(n){n=n.length>1?toArray$3(n):n;for(var i=toArray$3(arguments,1),r='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)invokeWithErrorHandling$1(n[o],t,i,t,r)}return t}}var activeInstance$1=null;function setActiveInstance$1(e){var t=activeInstance$1;return activeInstance$1=e,function(){activeInstance$1=t}}function initLifecycle$1(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}function lifecycleMixin$1(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=setActiveInstance$1(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){callHook$2(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;
vendor: 5,533 bytes, line 98
98!t||t._isBeingDestroyed||e.$options.abstract||remove$3(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),callHook$2(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function mountComponent$1(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=createEmptyVNode$1),callHook$2(e,"beforeMount"),i=function(){e._update(e._render(),n)},new Watcher$1(e,i,noop$3,{before:function(){e._isMounted&&!e._isDestroyed&&callHook$2(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,callHook$2(e,"mounted")),e}function updateChildComponent$1(e,t,n,i,r){var o=i.data.scopedSlots,a=e.$scopedSlots,s=!!(o&&!o.$stable||a!==emptyObject$1&&!a.$stable||o&&e.$scopedSlots.$key!==o.$key||!o&&e.$scopedSlots.$key),c=!!(r||e.$options._renderChildren||s);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=r,e.$attrs=i.data.attrs||emptyObject$1,e.$listeners=n||emptyObject$1,t&&e.$options.props){toggleObserving$1(!1);for(var l=e._props,d=e.$options._propKeys||[],u=0;u<d.length;u++){var p=d[u],h=e.$options.props;l[p]=validateProp$1(p,h,t,e)}toggleObserving$1(!0),e.$options.propsData=t}n=n||emptyObject$1;var f=e.$options._parentListeners;e.$options._parentListeners=n,updateComponentListeners$1(e,n,f),c&&(e.$slots=resolveSlots$1(r,i.context),e.$forceUpdate())}function isInInactiveTree$1(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function activateChildComponent$1(e,t){if(t){if(e._directInactive=!1,isInInactiveTree$1(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++)activateChildComponent$1(e.$children[n]);callHook$2(e,"activated")}}function deactivateChildComponent$1(e,t){if(!(t&&(e._directInactive=!0,isInInactiveTree$1(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)deactivateChildComponent$1(e.$children[n]);callHook$2(e,"deactivated")}}function callHook$2(e,t){pushTarget$1();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,o=n.length;r<o;r++)invokeWithErrorHandling$1(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),popTarget$1()}var queue$2=[],activatedChildren$1=[],has$3={},waiting$1=!1,flushing$1=!1,index$3=0;function resetSchedulerState$1(){index$3=queue$2.length=activatedChildren$1.length=0,has$3={},waiting$1=flushing$1=!1}var currentFlushTimestamp$1=0,getNow$1=Date.now;if(inBrowser$1&&!isIE$3){var performance$3=window.performance;performance$3&&"function"==typeof performance$3.now&&getNow$1()>document.createEvent("Event").timeStamp&&(getNow$1=function(){return performance$3.now()})}function flushSchedulerQueue$1(){var e,t;for(currentFlushTimestamp$1=getNow$1(),flushing$1=!0,queue$2.sort((function(e,t){return e.id-t.id})),index$3=0;index$3<queue$2.length;index$3++)(e=queue$2[index$3]).before&&e.before(),t=e.id,has$3[t]=null,e.run();var n=activatedChildren$1.slice(),i=queue$2.slice();resetSchedulerState$1(),callActivatedHooks$1(n),callUpdatedHooks$1(i),devtools$1&&config$3.devtools&&devtools$1.emit("flush")}function callUpdatedHooks$1(e){for(var t=e.length;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&callHook$2(i,"updated")}}function queueActivatedComponent$1(e){e._inactive=!1,activatedChildren$1.push(e)}function callActivatedHooks$1(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,activateChildComponent$1(e[t],!0)}function queueWatcher$1(e){var t=e.id;if(null==has$3[t]){if(has$3[t]=!0,flushing$1){for(var n=queue$2.length-1;n>index$3&&queue$2[n].id>e.id;)n--;queue$2.splice(n+1,0,e)}else queue$2.push(e);waiting$1||(waiting$1=!0,nextTick$2(flushSchedulerQueue$1))}}var uid$2$1=0,Watcher$1=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=++uid$2$1,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new _Set$2,this.newDepIds=new _Set$2,this.expression="","function"==typeof t?this.getter=t:(this.getter=parsePath$1(t),this.getter||(this.getter=noop$3)),this.value=this.lazy?void 0:this.get()};Watcher$1.prototype.get=function(){var e;pushTarget$1(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;handleError$1(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&traverse$1(e),popTarget$1(),this.cleanupDeps()}return e},Watcher$1.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))},Watcher$1.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},Watcher$1.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():queueWatcher$1(this)},Watcher$1.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||isObject$7(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'+this.expression+'"';invokeWithErrorHandling$1(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},Watcher$1.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1}
98,Watcher$1.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Watcher$1.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||remove$3(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var sharedPropertyDefinition$1={enumerable:!0,configurable:!0,get:noop$3,set:noop$3};function proxy$1(e,t,n){sharedPropertyDefinition$1.get=function(){return this[t][n]},sharedPropertyDefinition$1.set=function(e){this[t][n]=e},Object.defineProperty(e,n,sharedPropertyDefinition$1)}function initState$1(e){e._watchers=[];var t=e.$options;t.props&&initProps$2(e,t.props),t.methods&&initMethods$1(e,t.methods),t.data?initData$1(e):observe$1(e._data={},!0),t.computed&&initComputed$2(e,t.computed),t.watch&&t.watch!==nativeWatch$1&&initWatch$1(e,t.watch)}function initProps$2(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[];!e.$parent||toggleObserving$1(!1);var o=function(o){r.push(o);var a=validateProp$1(o,t,n,e);defineReactive$$1$1(i,o,a),o in e||proxy$1(e,"_props",o)};for(var a in t)o(a);toggleObserving$1(!0)}function initData$1(e){var t=e.$options.data;isPlainObject$2(t=e._data="function"==typeof t?getData$1(t,e):t||{})||(t={});for(var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);r--;){var o=n[r];i&&hasOwn$1(i,o)||isReserved$1(o)||proxy$1(e,"_data",o)}observe$1(t,!0)}function getData$1(e,t){pushTarget$1();try{return e.call(t,t)}catch(e){return handleError$1(e,t,"data()"),{}}finally{popTarget$1()}}var computedWatcherOptions$1={lazy:!0};function initComputed$2(e,t){var n=e._computedWatchers=Object.create(null),i=isServerRendering$1();for(var r in t){var o=t[r],a="function"==typeof o?o:o.get;i||(n[r]=new Watcher$1(e,a||noop$3,noop$3,computedWatcherOptions$1)),r in e||defineComputed$1(e,r,o)}}function defineComputed$1(e,t,n){var i=!isServerRendering$1();"function"==typeof n?(sharedPropertyDefinition$1.get=i?createComputedGetter$1(t):createGetterInvoker$1(n),sharedPropertyDefinition$1.set=noop$3):(sharedPropertyDefinition$1.get=n.get?i&&!1!==n.cache?createComputedGetter$1(t):createGetterInvoker$1(n.get):noop$3,sharedPropertyDefinition$1.set=n.set||noop$3),Object.defineProperty(e,t,sharedPropertyDefinition$1)}function createComputedGetter$1(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Dep$1.target&&t.depend(),t.value}}function createGetterInvoker$1(e){return function(){return e.call(this,this)}}function initMethods$1(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?noop$3:bind$3(t[n],e)}function initWatch$1(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)createWatcher$1(e,n,i[r]);else createWatcher$1(e,n,i)}}function createWatcher$1(e,t,n,i){return isPlainObject$2(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}function stateMixin$1(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=set$3,e.prototype.$delete=del$1,e.prototype.$watch=function(e,t,n){if(isPlainObject$2(t))return createWatcher$1(this,e,t,n);(n=n||{}).user=!0;var i=new Watcher$1(this,e,t,n);if(n.immediate){var r='callback for immediate watcher "'+i.expression+'"';pushTarget$1(),invokeWithErrorHandling$1(t,this,[i.value],this,r),popTarget$1()}return function(){i.teardown()}}}var uid$3$1=0;function initMixin$2(e){e.prototype._init=function(e){var t=this;t._uid=uid$3$1++,t._isVue=!0,e&&e._isComponent?initInternalComponent$1(t,e):t.$options=mergeOptions$1(resolveConstructorOptions$1(t.constructor),e||{},t),t._renderProxy=t,t._self=t,initLifecycle$1(t),initEvents$2(t),initRender$1(t),callHook$2(t,"beforeCreate"),initInjections$1(t),initState$1(t),initProvide$1(t),callHook$2(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function initInternalComponent$1(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)}
98function resolveConstructorOptions$1(e){var t=e.options;if(e.super){var n=resolveConstructorOptions$1(e.super);if(n!==e.superOptions){e.superOptions=n;var i=resolveModifiedOptions$1(e);i&&extend$3(e.extendOptions,i),(t=e.options=mergeOptions$1(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function resolveModifiedOptions$1(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}function Vue$3(e){this._init(e)}function initUse$1(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=toArray$3(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}}function initMixin$1$1(e){e.mixin=function(e){return this.options=mergeOptions$1(this.options,e),this}}function initExtend$1(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=mergeOptions$1(n.options,e),a.super=n,a.options.props&&initProps$1$1(a),a.options.computed&&initComputed$1$1(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,ASSET_TYPES$1.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=extend$3({},a.options),r[i]=a,a}}function initProps$1$1(e){var t=e.options.props;for(var n in t)proxy$1(e.prototype,"_props",n)}function initComputed$1$1(e){var t=e.options.computed;for(var n in t)defineComputed$1(e.prototype,n,t[n])}function initAssetRegisters$1(e){ASSET_TYPES$1.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&isPlainObject$2(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]}}))}function getComponentName$1(e){return e&&(e.Ctor.options.name||e.tag)}function matches$1(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!isRegExp$3(e)&&e.test(t)}function pruneCache$1(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=a.name;s&&!t(s)&&pruneCacheEntry$1(n,o,i,r)}}}function pruneCacheEntry$1(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,remove$3(n,t)}initMixin$2(Vue$3),stateMixin$1(Vue$3),eventsMixin$1(Vue$3),lifecycleMixin$1(Vue$3),renderMixin$1(Vue$3);var patternTypes$1=[String,RegExp,Array],KeepAlive$1={name:"keep-alive",abstract:!0,props:{include:patternTypes$1,exclude:patternTypes$1,max:[String,Number]},methods:{cacheVNode:function(){var e=this.cache,t=this.keys,n=this.vnodeToCache,i=this.keyToCache;if(n){var r=n.tag,o=n.componentInstance,a=n.componentOptions;e[i]={name:getComponentName$1(a),tag:r,componentInstance:o},t.push(i),this.max&&t.length>parseInt(this.max)&&pruneCacheEntry$1(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)pruneCacheEntry$1(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){pruneCache$1(e,(function(e){return matches$1(t,e)}))})),this.$watch("exclude",(function(t){pruneCache$1(e,(function(e){return!matches$1(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=getFirstComponentChild$1(e),n=t&&t.componentOptions;if(n){var i=getComponentName$1(n),r=this.include,o=this.exclude;if(r&&(!i||!matches$1(r,i))||o&&i&&matches$1(o,i))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,remove$3(s,c),s.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},builtInComponents$1={KeepAlive:KeepAlive$1};function initGlobalAPI$1(e){var t={get:function(){return config$3}};Object.defineProperty(e,"config",t),e.util={warn:warn$3,extend:extend$3,mergeOptions:mergeOptions$1,defineReactive:defineReactive$$1$1},e.set=set$3,e.delete=del$1,e.nextTick=nextTick$2,e.observable=function(e){return observe$1(e),e}
98,e.options=Object.create(null),ASSET_TYPES$1.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,extend$3(e.options.components,builtInComponents$1),initUse$1(e),initMixin$1$1(e),initExtend$1(e),initAssetRegisters$1(e)}initGlobalAPI$1(Vue$3),Object.defineProperty(Vue$3.prototype,"$isServer",{get:isServerRendering$1}),Object.defineProperty(Vue$3.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Vue$3,"FunctionalRenderContext",{value:FunctionalRenderContext$1}),Vue$3.version="2.6.14";var isReservedAttr$1=makeMap$1("style,class"),acceptValue$1=makeMap$1("input,textarea,option,select,progress"),mustUseProp$1=function(e,t,n){return"value"===n&&acceptValue$1(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},isEnumeratedAttr$1=makeMap$1("contenteditable,draggable,spellcheck"),isValidContentEditableValue$1=makeMap$1("events,caret,typing,plaintext-only"),convertEnumeratedValue$1=function(e,t){return isFalsyAttrValue$1(t)||"false"===t?"false":"contenteditable"===e&&isValidContentEditableValue$1(t)?t:"true"},isBooleanAttr$1=makeMap$1("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),xlinkNS$1="http://www.w3.org/1999/xlink",isXlink$1=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},getXlinkProp$1=function(e){return isXlink$1(e)?e.slice(6,e.length):""},isFalsyAttrValue$1=function(e){return null==e||!1===e};function genClassForVnode$1(e){for(var t=e.data,n=e,i=e;isDef$1(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=mergeClassData$1(i.data,t));for(;isDef$1(n=n.parent);)n&&n.data&&(t=mergeClassData$1(t,n.data));return renderClass$1(t.staticClass,t.class)}function mergeClassData$1(e,t){return{staticClass:concat$1(e.staticClass,t.staticClass),class:isDef$1(e.class)?[e.class,t.class]:t.class}}function renderClass$1(e,t){return isDef$1(e)||isDef$1(t)?concat$1(e,stringifyClass$1(t)):""}function concat$1(e,t){return e?t?e+" "+t:e:t||""}function stringifyClass$1(e){return Array.isArray(e)?stringifyArray$1(e):isObject$7(e)?stringifyObject$1(e):"string"==typeof e?e:""}function stringifyArray$1(e){for(var t,n="",i=0,r=e.length;i<r;i++)isDef$1(t=stringifyClass$1(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function stringifyObject$1(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var namespaceMap$1={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},isHTMLTag$1=makeMap$1("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"),isSVG$1=makeMap$1("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),isReservedTag$1=function(e){return isHTMLTag$1(e)||isSVG$1(e)};function getTagNamespace$1(e){return isSVG$1(e)?"svg":"math"===e?"math":void 0}var unknownElementCache$1=Object.create(null);function isUnknownElement$1(e){if(!inBrowser$1)return!0;if(isReservedTag$1(e))return!1;if(e=e.toLowerCase(),null!=unknownElementCache$1[e])return unknownElementCache$1[e];var t=document.createElement(e);return e.indexOf("-")>-1?unknownElementCache$1[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:unknownElementCache$1[e]=/HTMLUnknownElement/.test(t.toString())}var isTextInputType$1=makeMap$1("text,number,password,search,email,tel,url");function query$1(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function createElement$1$1(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function createElementNS$1(e,t){return document.createElementNS(namespaceMap$1[e],t)}function createTextNode$1(e){return document.createTextNode(e)}function createComment$1(e){return document.createComment(e)}
vendor: 28,732 bytes, line 98
98function insertBefore$1(e,t,n){e.insertBefore(t,n)}function removeChild$1(e,t){e.removeChild(t)}function appendChild$1(e,t){e.appendChild(t)}function parentNode$1(e){return e.parentNode}function nextSibling$1(e){return e.nextSibling}function tagName$1(e){return e.tagName}function setTextContent$1(e,t){e.textContent=t}function setStyleScope$1(e,t){e.setAttribute(t,"")}var nodeOps$1=Object.freeze({createElement:createElement$1$1,createElementNS:createElementNS$1,createTextNode:createTextNode$1,createComment:createComment$1,insertBefore:insertBefore$1,removeChild:removeChild$1,appendChild:appendChild$1,parentNode:parentNode$1,nextSibling:nextSibling$1,tagName:tagName$1,setTextContent:setTextContent$1,setStyleScope:setStyleScope$1}),ref$2={create:function(e,t){registerRef$1(t)},update:function(e,t){e.data.ref!==t.data.ref&&(registerRef$1(e,!0),registerRef$1(t))},destroy:function(e){registerRef$1(e,!0)}};function registerRef$1(e,t){var n=e.data.ref;if(isDef$1(n)){var i=e.context,r=e.componentInstance||e.elm,o=i.$refs;t?Array.isArray(o[n])?remove$3(o[n],r):o[n]===r&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(r)<0&&o[n].push(r):o[n]=[r]:o[n]=r}}var emptyNode$1=new VNode$1("",{},[]),hooks$2=["create","activate","update","remove","destroy"];function sameVnode$1(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&isDef$1(e.data)===isDef$1(t.data)&&sameInputType$1(e,t)||isTrue$1(e.isAsyncPlaceholder)&&isUndef$1(t.asyncFactory.error))}function sameInputType$1(e,t){if("input"!==e.tag)return!0;var n,i=isDef$1(n=e.data)&&isDef$1(n=n.attrs)&&n.type,r=isDef$1(n=t.data)&&isDef$1(n=n.attrs)&&n.type;return i===r||isTextInputType$1(i)&&isTextInputType$1(r)}function createKeyToOldIdx$1(e,t,n){var i,r,o={};for(i=t;i<=n;++i)isDef$1(r=e[i].key)&&(o[r]=i);return o}function createPatchFunction$1(e){var t,n,i={},r=e.modules,o=e.nodeOps;for(t=0;t<hooks$2.length;++t)for(i[hooks$2[t]]=[],n=0;n<r.length;++n)isDef$1(r[n][hooks$2[t]])&&i[hooks$2[t]].push(r[n][hooks$2[t]]);function a(e){var t=o.parentNode(e);isDef$1(t)&&o.removeChild(t,e)}function s(e,t,n,r,a,s,u){if(isDef$1(e.elm)&&isDef$1(s)&&(e=s[u]=cloneVNode$1(e)),e.isRootInsert=!a,!function(e,t,n,r){var o=e.data;if(isDef$1(o)){var a=isDef$1(e.componentInstance)&&o.keepAlive;if(isDef$1(o=o.hook)&&isDef$1(o=o.init)&&o(e,!1),isDef$1(e.componentInstance))return c(e,t),l(n,e.elm,r),isTrue$1(a)&&function(e,t,n,r){var o,a=e;for(;a.componentInstance;)if(a=a.componentInstance._vnode,isDef$1(o=a.data)&&isDef$1(o=o.transition)){for(o=0;o<i.activate.length;++o)i.activate[o](emptyNode$1,a);t.push(a);break}l(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var f=e.data,m=e.children,v=e.tag;isDef$1(v)?(e.elm=e.ns?o.createElementNS(e.ns,v):o.createElement(v,e),h(e),d(e,m,t),isDef$1(f)&&p(e,t),l(n,e.elm,r)):isTrue$1(e.isComment)?(e.elm=o.createComment(e.text),l(n,e.elm,r)):(e.elm=o.createTextNode(e.text),l(n,e.elm,r))}}function c(e,t){isDef$1(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,u(e)?(p(e,t),h(e)):(registerRef$1(e),t.push(e))}function l(e,t,n){isDef$1(e)&&(isDef$1(n)?o.parentNode(n)===e&&o.insertBefore(e,t,n):o.appendChild(e,t))}function d(e,t,n){if(Array.isArray(t))for(var i=0;i<t.length;++i)s(t[i],n,e.elm,null,!0,t,i);else isPrimitive$1(e.text)&&o.appendChild(e.elm,o.createTextNode(String(e.text)))}function u(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return isDef$1(e.tag)}function p(e,n){for(var r=0;r<i.create.length;++r)i.create[r](emptyNode$1,e);isDef$1(t=e.data.hook)&&(isDef$1(t.create)&&t.create(emptyNode$1,e),isDef$1(t.insert)&&n.push(e))}function h(e){var t;if(isDef$1(t=e.fnScopeId))o.setStyleScope(e.elm,t);else for(var n=e;n;)isDef$1(t=n.context)&&isDef$1(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t),n=n.parent;isDef$1(t=activeInstance$1)&&t!==e.context&&t!==e.fnContext&&isDef$1(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t)}function f(e,t,n,i,r,o){for(;i<=r;++i)s(n[i],o,e,t,!1,n,i)}function m(e){var t,n,r=e.data;if(isDef$1(r))for(isDef$1(t=r.hook)&&isDef$1(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(isDef$1(t=e.children))for(n=0;n<e.children.length;++n)m(e.children[n])}function v(e,t,n){for(;t<=n;++t){var i=e[t];isDef$1(i)&&(isDef$1(i.tag)?(g(i),m(i)):a(i.elm))}}function g(e,t){if(isDef$1(t)||isDef$1(e.data)){var n,r=i.remove.length+1;for(isDef$1(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&a(e)}return n.listeners=t,n}(e.elm,r),isDef$1(n=e.componentInstance)&&isDef$1(n=n._vnode)&&isDef$1(n.data)&&g(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);isDef$1(n=e.data.hook)&&isDef$1(n=n.remove)?n(e,t):t()}else a(e.elm)}function b(e,t,n,i){for(var r=n;r<i;r++){var o=t[r];if(isDef$1(o)&&sameVnode$1(e,o))return r}}function y(e,t,n,r,a,c){if(e!==t){isDef$1(t.elm)&&isDef$1(r)&&(t=r[a]=cloneVNode$1(t));var l=t.elm=e.elm;if(isTrue$1(e.isAsyncPlaceholder))isDef$1(t.asyncFactory.resolved)?w(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(isTrue$1(t.isStatic)&&isTrue$1(e.isStatic)&&t.key===e.key&&(isTrue$1(t.isCloned)||isTrue$1(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,p=t.data;isDef$1(p)&&isDef$1(d=p.hook)&&isDef$1(d=d.prepatch)&&d(e,t);var h=e.children,m=t.children;if(isDef$1(p)&&u(t)){for(d=0;d<i.update.length;++d)i.update[d](e,t);isDef$1(d=p.hook)&&isDef$1(d=d.update)&&d(e,t)}isUndef$1(t.text)?isDef$1(h)&&isDef$1(m)?h!==m&&function(e,t,n,i,r){for(var a,c,l,d=0,u=0,p=t.length-1,h=t[0],m=t[p],g=n.length-1,A=n[0],_=n[g],w=!r;d<=p&&u<=g;)isUndef$1(h)?h=t[++d]:isUndef$1(m)?m=t[--p]:sameVnode$1(h,A)?(y(h,A,i,n,u),h=t[++d],A=n[++u]):sameVnode$1(m,_)?(y(m,_,i,n,g),m=t[--p],_=n[--g]):sameVnode$1(h,_)?(y(h,_,i,n,g),w&&o.insertBefore(e,h.elm,o.nextSibling(m.elm)),h=t[++d],_=n[--g]):sameVnode$1(m,A)?(y(m,A,i,n,u),w&&o.insertBefore(e,m.elm,h.elm),m=t[--p],A=n[++u]):(isUndef$1(a)&&(a=createKeyToOldIdx$1(t,d,p)),isUndef$1(c=isDef$1(A.key)?a[A.key]:b(A,t,d,p))?s(A,i,e,h.elm,!1,n,u):sameVnode$1(l=t[c],A)?(y(l,A,i,n,u),t[c]=void 0,w&&o.insertBefore(e,l.elm,h.elm)):s(A,i,e,h.elm,!1,n,u),A=n[++u]);d>p?f(e,isUndef$1(n[g+1])?null:n[g+1].elm,n,u,g,i):u>g&&v(t,d,p)}(l,h,m,n,c):isDef$1(m)?(isDef$1(e.text)&&o.setTextContent(l,""),f(l,null,m,0,m.length-1,n)):isDef$1(h)?v(h,0,h.length-1):isDef$1(e.text)&&o.setTextContent(l,""):e.text!==t.text&&o.setTextContent(l,t.text),isDef$1(p)&&isDef$1(d=p.hook)&&isDef$1(d=d.postpatch)&&d(e,t)}}}function A(e,t,n){if(isTrue$1(n)&&isDef$1(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var _=makeMap$1("attrs,class,staticClass,staticStyle,key");function w(e,t,n,i){var r,o=t.tag,a=t.data,s=t.children;if(i=i||a&&a.pre,t.elm=e,isTrue$1(t.isComment)&&isDef$1(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(isDef$1(a)&&(isDef$1(r=a.hook)&&isDef$1(r=r.init)&&r(t,!0),isDef$1(r=t.componentInstance)))return c(t,n),!0;if(isDef$1(o)){if(isDef$1(s))if(e.hasChildNodes())if(isDef$1(r=a)&&isDef$1(r=r.domProps)&&isDef$1(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{for(var l=!0,u=e.firstChild,h=0;h<s.length;h++){if(!u||!w(u,s[h],n,i)){l=!1;break}u=u.nextSibling}if(!l||u)return!1}else d(t,s,n);if(isDef$1(a)){var f=!1;for(var m in a)if(!_(m)){f=!0,p(t,n);break}!f&&a.class&&traverse$1(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,r){if(!isUndef$1(t)){var a,c=!1,l=[];if(isUndef$1(e))c=!0,s(t,l);else{var d=isDef$1(e.nodeType);if(!d&&sameVnode$1(e,t))y(e,t,l,null,null,r);else{if(d){if(1===e.nodeType&&e.hasAttribute(SSR_ATTR$1)&&(e.removeAttribute(SSR_ATTR$1),n=!0),isTrue$1(n)&&w(e,t,l))return A(t,l,!0),e;a=e,e=new VNode$1(o.tagName(a).toLowerCase(),{},[],void 0,a)}var p=e.elm,h=o.parentNode(p);if(s(t,l,p._leaveCb?null:h,o.nextSibling(p)),isDef$1(t.parent))for(var f=t.parent,g=u(t);f;){for(var b=0;b<i.destroy.length;++b)i.destroy[b](f);if(f.elm=t.elm,g){for(var _=0;_<i.create.length;++_)i.create[_](emptyNode$1,f);var M=f.data.hook.insert;if(M.merged)for(var k=1;k<M.fns.length;k++)M.fns[k]()}else registerRef$1(f);f=f.parent}isDef$1(h)?v([e],0,0):isDef$1(e.tag)&&m(e)}}return A(t,l,c),t.elm}isDef$1(e)&&m(e)}}var directives$2={create:updateDirectives$1,update:updateDirectives$1,destroy:function(e){updateDirectives$1(e,emptyNode$1)}};function updateDirectives$1(e,t){(e.data.directives||t.data.directives)&&_update$1(e,t)}function _update$1(e,t){var n,i,r,o=e===emptyNode$1,a=t===emptyNode$1,s=normalizeDirectives$1$1(e.data.directives,e.context),c=normalizeDirectives$1$1(t.data.directives,t.context),l=[],d=[];for(n in c)i=s[n],r=c[n],i?(r.oldValue=i.value,r.oldArg=i.arg,callHook$1$1(r,"update",t,e),r.def&&r.def.componentUpdated&&d.push(r)):(callHook$1$1(r,"bind",t,e),r.def&&r.def.inserted&&l.push(r));if(l.length){var u=function(){for(var n=0;n<l.length;n++)callHook$1$1(l[n],"inserted",t,e)};o?mergeVNodeHook$1(t,"insert",u):u()}if(d.length&&mergeVNodeHook$1(t,"postpatch",(function(){for(var n=0;n<d.length;n++)callHook$1$1(d[n],"componentUpdated",t,e)})),!o)for(n in s)c[n]||callHook$1$1(s[n],"unbind",e,e,a)}var emptyModifiers$1=Object.create(null);function normalizeDirectives$1$1(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=emptyModifiers$1),r[getRawDirName$1(i)]=i,i.def=resolveAsset$1(t.$options,"directives",i.name);return r}function getRawDirName$1(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function callHook$1$1(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(i){handleError$1(i,n.context,"directive "+e.name+" "+t+" hook")}}var baseModules$1=[ref$2,directives$2];function updateAttrs$1(e,t){var n=t.componentOptions;if(!(isDef$1(n)&&!1===n.Ctor.options.inheritAttrs||isUndef$1(e.data.attrs)&&isUndef$1(t.data.attrs))){var i,r,o=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(i in isDef$1(s.__ob__)&&(s=t.data.attrs=extend$3({},s)),s)r=s[i],a[i]!==r&&setAttr$1(o,i,r,t.data.pre);for(i in(isIE$3||isEdge$1)&&s.value!==a.value&&setAttr$1(o,"value",s.value),a)isUndef$1(s[i])&&(isXlink$1(i)?o.removeAttributeNS(xlinkNS$1,getXlinkProp$1(i)):isEnumeratedAttr$1(i)||o.removeAttribute(i))}}function setAttr$1(e,t,n,i){i||e.tagName.indexOf("-")>-1?baseSetAttr$1(e,t,n):isBooleanAttr$1(t)?isFalsyAttrValue$1(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):isEnumeratedAttr$1(t)?e.setAttribute(t,convertEnumeratedValue$1(t,n)):isXlink$1(t)?isFalsyAttrValue$1(n)?e.removeAttributeNS(xlinkNS$1,getXlinkProp$1(t)):e.setAttributeNS(xlinkNS$1,t,n):baseSetAttr$1(e,t,n)}function baseSetAttr$1(e,t,n){if(isFalsyAttrValue$1(n))e.removeAttribute(t);else{if(isIE$3&&!isIE9$1&&"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 attrs$1={create:updateAttrs$1,update:updateAttrs$1};function updateClass$1(e,t){var n=t.elm,i=t.data,r=e.data;if(!(isUndef$1(i.staticClass)&&isUndef$1(i.class)&&(isUndef$1(r)||isUndef$1(r.staticClass)&&isUndef$1(r.class)))){var o=genClassForVnode$1(t),a=n._transitionClasses;isDef$1(a)&&(o=concat$1(o,stringifyClass$1(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var klass$2={create:updateClass$1,update:updateClass$1},RANGE_TOKEN$1="__r",CHECKBOX_RADIO_TOKEN$1="__c",target$1$1;function normalizeEvents$1(e){if(isDef$1(e[RANGE_TOKEN$1])){var t=isIE$3?"change":"input";e[t]=[].concat(e[RANGE_TOKEN$1],e[t]||[]),delete e[RANGE_TOKEN$1]}isDef$1(e[CHECKBOX_RADIO_TOKEN$1])&&(e.change=[].concat(e[CHECKBOX_RADIO_TOKEN$1],e.change||[]),delete e[CHECKBOX_RADIO_TOKEN$1])}function createOnceHandler$1$1(e,t,n){var i=target$1$1;return function r(){var o=t.apply(null,arguments);null!==o&&remove$2$1(e,r,n,i)}}var useMicrotaskFix$1=isUsingMicroTask$1&&!(isFF$1&&Number(isFF$1[1])<=53);function add$1$1(e,t,n,i){if(useMicrotaskFix$1){var r=currentFlushTimestamp$1,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)}}target$1$1.addEventListener(e,t,supportsPassive$2?{capture:n,passive:i}:n)}function remove$2$1(e,t,n,i){(i||target$1$1).removeEventListener(e,t._wrapper||t,n)}function updateDOMListeners$1(e,t){if(!isUndef$1(e.data.on)||!isUndef$1(t.data.on)){var n=t.data.on||{},i=e.data.on||{};target$1$1=t.elm,normalizeEvents$1(n),updateListeners$1(n,i,add$1$1,remove$2$1,createOnceHandler$1$1,t.context),target$1$1=void 0}}var events$1={create:updateDOMListeners$1,update:updateDOMListeners$1},svgContainer$1;function updateDOMProps$1(e,t){if(!isUndef$1(e.data.domProps)||!isUndef$1(t.data.domProps)){var n,i,r=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};for(n in isDef$1(a.__ob__)&&(a=t.data.domProps=extend$3({},a)),o)n in a||(r[n]="");for(n in a){if(i=a[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===o[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var s=isUndef$1(i)?"":String(i);shouldUpdateValue$1(r,s)&&(r.value=s)}else if("innerHTML"===n&&isSVG$1(r.tagName)&&isUndef$1(r.innerHTML)){(svgContainer$1=svgContainer$1||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var c=svgContainer$1.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;c.firstChild;)r.appendChild(c.firstChild)}else if(i!==o[n])try{r[n]=i}catch(e){}}}}function shouldUpdateValue$1(e,t){return!e.composing&&("OPTION"===e.tagName||isNotInFocusAndDirty$1(e,t)||isDirtyWithModifiers$1(e,t))}function isNotInFocusAndDirty$1(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function isDirtyWithModifiers$1(e,t){var n=e.value,i=e._vModifiers;if(isDef$1(i)){if(i.number)return toNumber$2(n)!==toNumber$2(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var domProps$1={create:updateDOMProps$1,update:updateDOMProps$1},parseStyleText$1=cached$1((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 normalizeStyleData$1(e){var t=normalizeStyleBinding$1(e.style);return e.staticStyle?extend$3(e.staticStyle,t):t}function normalizeStyleBinding$1(e){return Array.isArray(e)?toObject$2(e):"string"==typeof e?parseStyleText$1(e):e}function getStyle$1(e,t){var n,i={};if(t)for(var r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=normalizeStyleData$1(r.data))&&extend$3(i,n);(n=normalizeStyleData$1(e.data))&&extend$3(i,n);for(var o=e;o=o.parent;)o.data&&(n=normalizeStyleData$1(o.data))&&extend$3(i,n);return i}var cssVarRE$1=/^--/,importantRE$1=/\s*!important$/,setProp$1=function(e,t,n){if(cssVarRE$1.test(t))e.style.setProperty(t,n);else if(importantRE$1.test(n))e.style.setProperty(hyphenate$1(t),n.replace(importantRE$1,""),"important");else{var i=normalize$1(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}},vendorNames$1=["Webkit","Moz","ms"],emptyStyle$1,normalize$1=cached$1((function(e){if(emptyStyle$1=emptyStyle$1||document.createElement("div").style,"filter"!==(e=camelize$2(e))&&e in emptyStyle$1)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<vendorNames$1.length;n++){var i=vendorNames$1[n]+t;if(i in emptyStyle$1)return i}}));function updateStyle$1(e,t){var n=t.data,i=e.data;if(!(isUndef$1(n.staticStyle)&&isUndef$1(n.style)&&isUndef$1(i.staticStyle)&&isUndef$1(i.style))){var r,o,a=t.elm,s=i.staticStyle,c=i.normalizedStyle||i.style||{},l=s||c,d=normalizeStyleBinding$1(t.data.style)||{};t.data.normalizedStyle=isDef$1(d.__ob__)?extend$3({},d):d;var u=getStyle$1(t,!0);for(o in l)isUndef$1(u[o])&&setProp$1(a,o,"");for(o in u)(r=u[o])!==l[o]&&setProp$1(a,o,null==r?"":r)}}var style$2={create:updateStyle$1,update:updateStyle$1},whitespaceRE$2=/\s+/;function addClass$1(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(whitespaceRE$2).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 removeClass$1(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(whitespaceRE$2).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 resolveTransition$1(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&extend$3(t,autoCssTransition$1(e.name||"v")),extend$3(t,e),t}return"string"==typeof e?autoCssTransition$1(e):void 0}}var autoCssTransition$1=cached$1((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"}})),hasTransition$1=inBrowser$1&&!isIE9$1,TRANSITION$1="transition",ANIMATION$1="animation",transitionProp$1="transition",transitionEndEvent$1="transitionend",animationProp$1="animation",animationEndEvent$1="animationend";hasTransition$1&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(transitionProp$1="WebkitTransition",transitionEndEvent$1="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(animationProp$1="WebkitAnimation",animationEndEvent$1="webkitAnimationEnd"));var raf$1=inBrowser$1?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function nextFrame$1(e){raf$1((function(){raf$1(e)}))}function addTransitionClass$1(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),addClass$1(e,t))}function removeTransitionClass$1(e,t){e._transitionClasses&&remove$3(e._transitionClasses,t),removeClass$1(e,t)}function whenTransitionEnds$1(e,t,n){var i=getTransitionInfo$1(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===TRANSITION$1?transitionEndEvent$1:animationEndEvent$1,c=0,l=function(){e.removeEventListener(s,d),n()},d=function(t){t.target===e&&++c>=a&&l()};setTimeout((function(){c<a&&l()}),o+1),e.addEventListener(s,d)}var transformRE$1=/\b(transform|all)(,|$)/;function getTransitionInfo$1(e,t){var n,i=window.getComputedStyle(e),r=(i[transitionProp$1+"Delay"]||"").split(", "),o=(i[transitionProp$1+"Duration"]||"").split(", "),a=getTimeout$1(r,o),s=(i[animationProp$1+"Delay"]||"").split(", "),c=(i[animationProp$1+"Duration"]||"").split(", "),l=getTimeout$1(s,c),d=0,u=0;return t===TRANSITION$1?a>0&&(n=TRANSITION$1,d=a,u=o.length):t===ANIMATION$1?l>0&&(n=ANIMATION$1,d=l,u=c.length):u=(n=(d=Math.max(a,l))>0?a>l?TRANSITION$1:ANIMATION$1:null)?n===TRANSITION$1?o.length:c.length:0,{type:n,timeout:d,propCount:u,hasTransform:n===TRANSITION$1&&transformRE$1.test(i[transitionProp$1+"Property"])}}function getTimeout$1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return toMs$1(t)+toMs$1(e[n])})))}function toMs$1(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function enter$1(e,t){var n=e.elm;isDef$1(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=resolveTransition$1(e.data.transition);if(!isUndef$1(i)&&!isDef$1(n._enterCb)&&1===n.nodeType){for(var r=i.css,o=i.type,a=i.enterClass,s=i.enterToClass,c=i.enterActiveClass,l=i.appearClass,d=i.appearToClass,u=i.appearActiveClass,p=i.beforeEnter,h=i.enter,f=i.afterEnter,m=i.enterCancelled,v=i.beforeAppear,g=i.appear,b=i.afterAppear,y=i.appearCancelled,A=i.duration,_=activeInstance$1,w=activeInstance$1.$vnode;w&&w.parent;)_=w.context,w=w.parent;var M=!_._isMounted||!e.isRootInsert;if(!M||g||""===g){var k=M&&l?l:a,C=M&&u?u:c,S=M&&d?d:s,E=M&&v||p,x=M&&"function"==typeof g?g:h,O=M&&b||f,T=M&&y||m,D=toNumber$2(isObject$7(A)?A.enter:A),$=!1!==r&&!isIE9$1,P=getHookArgumentsLength$1(x),N=n._enterCb=once$3((function(){$&&(removeTransitionClass$1(n,S),removeTransitionClass$1(n,C)),N.cancelled?($&&removeTransitionClass$1(n,k),T&&T(n)):O&&O(n),n._enterCb=null}));e.data.show||mergeVNodeHook$1(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(),x&&x(n,N)})),E&&E(n),$&&(addTransitionClass$1(n,k),addTransitionClass$1(n,C),nextFrame$1((function(){removeTransitionClass$1(n,k),N.cancelled||(addTransitionClass$1(n,S),P||(isValidDuration$1(D)?setTimeout(N,D):whenTransitionEnds$1(n,o,N)))}))),e.data.show&&(t&&t(),x&&x(n,N)),$||P||N()}}}function leave$1(e,t){var n=e.elm;isDef$1(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=resolveTransition$1(e.data.transition);if(isUndef$1(i)||1!==n.nodeType)return t();if(!isDef$1(n._leaveCb)){var r=i.css,o=i.type,a=i.leaveClass,s=i.leaveToClass,c=i.leaveActiveClass,l=i.beforeLeave,d=i.leave,u=i.afterLeave,p=i.leaveCancelled,h=i.delayLeave,f=i.duration,m=!1!==r&&!isIE9$1,v=getHookArgumentsLength$1(d),g=toNumber$2(isObject$7(f)?f.leave:f),b=n._leaveCb=once$3((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),m&&(removeTransitionClass$1(n,s),removeTransitionClass$1(n,c)),b.cancelled?(m&&removeTransitionClass$1(n,a),p&&p(n)):(t(),u&&u(n)),n._leaveCb=null}));h?h(y):y()}function y(){b.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),l&&l(n),m&&(addTransitionClass$1(n,a),addTransitionClass$1(n,c),nextFrame$1((function(){removeTransitionClass$1(n,a),b.cancelled||(addTransitionClass$1(n,s),v||(isValidDuration$1(g)?setTimeout(b,g):whenTransitionEnds$1(n,o,b)))}))),d&&d(n,b),m||v||b())}}function isValidDuration$1(e){return"number"==typeof e&&!isNaN(e)}function getHookArgumentsLength$1(e){if(isUndef$1(e))return!1;var t=e.fns;return isDef$1(t)?getHookArgumentsLength$1(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function _enter$1(e,t){!0!==t.data.show&&enter$1(t)}var transition$1=inBrowser$1?{create:_enter$1,activate:_enter$1,remove:function(e,t){!0!==e.data.show?leave$1(e,t):t()}}:{},platformModules$1=[attrs$1,klass$2,events$1,domProps$1,style$2,transition$1],modules$2=platformModules$1.concat(baseModules$1),patch$1=createPatchFunction$1({nodeOps:nodeOps$1,modules:modules$2});isIE9$1&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&trigger$1(e,"input")}));var directive$2={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?mergeVNodeHook$1(n,"postpatch",(function(){directive$2.componentUpdated(e,t,n)})):setSelected$1(e,t,n.context),e._vOptions=[].map.call(e.options,getValue$2)):("textarea"===n.tag||isTextInputType$1(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",onCompositionStart$1),e.addEventListener("compositionend",onCompositionEnd$1),e.addEventListener("change",onCompositionEnd$1),isIE9$1&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){setSelected$1(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,getValue$2);if(r.some((function(e,t){return!looseEqual$1(e,i[t])})))(e.multiple?t.value.some((function(e){return hasNoMatchingOption$1(e,r)})):t.value!==t.oldValue&&hasNoMatchingOption$1(t.value,r))&&trigger$1(e,"change")}}};function setSelected$1(e,t,n){actuallySetSelected$1(e,t),(isIE$3||isEdge$1)&&setTimeout((function(){actuallySetSelected$1(e,t)}),0)}function actuallySetSelected$1(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],r)o=looseIndexOf$1(i,getValue$2(a))>-1,a.selected!==o&&(a.selected=o);else if(looseEqual$1(getValue$2(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function hasNoMatchingOption$1(e,t){return t.every((function(t){return!looseEqual$1(t,e)}))}function getValue$2(e){return"_value"in e?e._value:e.value}function onCompositionStart$1(e){e.target.composing=!0}function onCompositionEnd$1(e){e.target.composing&&(e.target.composing=!1,trigger$1(e.target,"input"))}function trigger$1(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function locateNode$1(e){return!e.componentInstance||e.data&&e.data.transition?e:locateNode$1(e.componentInstance._vnode)}var show$1={bind:function(e,t,n){var i=t.value,r=(n=locateNode$1(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,enter$1(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=locateNode$1(n)).data&&n.data.transition?(n.data.show=!0,i?enter$1(n,(function(){e.style.display=e.__vOriginalDisplay})):leave$1(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)}},platformDirectives$1={model:directive$2,show:show$1},transitionProps$1={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 getRealChild$1(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?getRealChild$1(getFirstComponentChild$1(t.children)):e}function extractTransitionData$1(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[camelize$2(o)]=r[o];return t}function placeholder$1(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function hasParentTransition$1(e){for(;e=e.parent;)if(e.data.transition)return!0}function isSameChild$1(e,t){return t.key===e.key&&t.tag===e.tag}var isNotTextNode$1=function(e){return e.tag||isAsyncPlaceholder$1(e)},isVShowDirective$1=function(e){return"show"===e.name},Transition$1={name:"transition",props:transitionProps$1,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(isNotTextNode$1)).length){var i=this.mode,r=n[0];if(hasParentTransition$1(this.$vnode))return r;var o=getRealChild$1(r);if(!o)return r;if(this._leaving)return placeholder$1(e,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:isPrimitive$1(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=extractTransitionData$1(this),c=this._vnode,l=getRealChild$1(c);if(o.data.directives&&o.data.directives.some(isVShowDirective$1)&&(o.data.show=!0),l&&l.data&&!isSameChild$1(o,l)&&!isAsyncPlaceholder$1(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=extend$3({},s);if("out-in"===i)return this._leaving=!0,mergeVNodeHook$1(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),placeholder$1(e,r);if("in-out"===i){if(isAsyncPlaceholder$1(o))return c;var u,p=function(){u()};mergeVNodeHook$1(s,"afterEnter",p),mergeVNodeHook$1(s,"enterCancelled",p),mergeVNodeHook$1(d,"delayLeave",(function(e){u=e}))}}return r}}},props$1=extend$3({tag:String,moveClass:String},transitionProps$1);delete props$1.mode;var TransitionGroup$1={props:props$1,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=setActiveInstance$1(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=extractTransitionData$1(this),s=0;s<r.length;s++){var c=r[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a)}if(i){for(var l=[],d=[],u=0;u<i.length;u++){var p=i[u];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?l.push(p):d.push(p)}this.kept=e(t,null,l),this.removed=d}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(callPendingCbs$1),e.forEach(recordPosition$1),e.forEach(applyTranslation$1),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,i=n.style;addTransitionClass$1(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(transitionEndEvent$1,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(transitionEndEvent$1,e),n._moveCb=null,removeTransitionClass$1(n,t))})}})))},methods:{hasMove:function(e,t){if(!hasTransition$1)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();
98e._transitionClasses&&e._transitionClasses.forEach((function(e){removeClass$1(n,e)})),addClass$1(n,t),n.style.display="none",this.$el.appendChild(n);var i=getTransitionInfo$1(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function callPendingCbs$1(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function recordPosition$1(e){e.data.newPos=e.elm.getBoundingClientRect()}function applyTranslation$1(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"}}var platformComponents$1={Transition:Transition$1,TransitionGroup:TransitionGroup$1};Vue$3.config.mustUseProp=mustUseProp$1,Vue$3.config.isReservedTag=isReservedTag$1,Vue$3.config.isReservedAttr=isReservedAttr$1,Vue$3.config.getTagNamespace=getTagNamespace$1,Vue$3.config.isUnknownElement=isUnknownElement$1,extend$3(Vue$3.options.directives,platformDirectives$1),extend$3(Vue$3.options.components,platformComponents$1),Vue$3.prototype.__patch__=inBrowser$1?patch$1:noop$3,Vue$3.prototype.$mount=function(e,t){return mountComponent$1(this,e=e&&inBrowser$1?query$1(e):void 0,t)},inBrowser$1&&setTimeout((function(){config$3.devtools&&devtools$1&&devtools$1.emit("init",Vue$3)}
98),0);var vCalendar_umd_min=createCommonjsModule((function(e,t){"undefined"!=typeof self&&self,e.exports=function(e){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")}({"00fd":function(e,t,n){var i=n("9e69"),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(e){}var r=a.call(e);return i&&(t?e[s]=n:delete e[s]),r}},"03dd":function(e,t,n){var i=n("eac5"),r=n("57a5"),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},"0621":function(e,t,n){var i=n("9e69"),r=n("d370"),o=n("6747"),a=i?i.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||r(e)||!!(a&&e&&e[a])}},"06cf":function(e,t,n){var i=n("83ab"),r=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),c=n("5135"),l=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=a(e),t=s(t,!0),l)try{return d(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},"0733":function(e,t,n){n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var i=n("2fa3"),r=n("9404");const o=function(e,t){if(!e||!e.addEventListener||!Object(r.k)(t))return null;let n=!1,o=!1;const a=function(){return n=!0},s=function(){return n=!1},c=function(e){if(n)return n=!1,o=!0,void t(e);"click"!==e.type||o||t(e),o=!1};return Object(i.k)(e,"touchstart",a,{passive:!0}),Object(i.k)(e,"touchmove",s,{passive:!0}),Object(i.k)(e,"click",c,{passive:!0}),Object(i.k)(e,"touchend",c,{passive:!0}),function(){Object(i.j)(e,"touchstart",a),Object(i.j)(e,"touchmove",s),Object(i.j)(e,"click",c),Object(i.j)(e,"touchend",c)}},a=function(e,t,{maxSwipeTime:n,minHorizontalSwipeDistance:o,maxVerticalSwipeDistance:a}){if(!e||!e.addEventListener||!Object(r.k)(t))return null;let s=0,c=0,l=null,d=!1;function u(e){const t=e.changedTouches[0];s=t.screenX,c=t.screenY,l=(new Date).getTime(),d=!0}function p(e){if(!d)return;d=!1;const i=e.changedTouches[0],r=i.screenX-s,u=i.screenY-c;if((new Date).getTime()-l<n&&Math.abs(r)>=o&&Math.abs(u)<=a){const e={toLeft:!1,toRight:!1};r<0?e.toLeft=!0:e.toRight=!0,t(e)}}return Object(i.k)(e,"touchstart",u,{passive:!0}),Object(i.k)(e,"touchend",p,{passive:!0}),function(){Object(i.j)(e,"touchstart",u),Object(i.j)(e,"touchend",p)}}},"07c7":function(e,t){e.exports=function(){return!1}},"087d":function(e,t){e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},"08cc":function(e,t,n){var i=n("1a8c");e.exports=function(e){return e==e&&!i(e)}},"0b07":function(e,t,n){var i=n("34ac"),r=n("3698");e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},"0cb2":function(e,t,n){var i=n("7b0b"),r=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,c,l,d){var u=n+e.length,p=c.length,h=s;return void 0!==l&&(l=i(l),h=a),o.call(d,h,(function(i,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(u);case"<":a=l[o.slice(1,-1)];break;default:var s=+o;if(0===s)return i;if(s>p){var d=r(s/10);return 0===d?i:d<=p?void 0===c[d-1]?o.charAt(1):c[d-1]+o.charAt(1):i}a=c[s-1]}return void 0===a?"":a}))}},"0cfb":function(e,t,n){var i=n("83ab"),r=n("d039"),o=n("cc12");e.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d24":function(e,t,n){(function(e){var i=n("2b3e"),r=n("07c7"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?i.Buffer:void 0,c=(s?s.isBuffer:void 0)||r;e.exports=c}).call(this,n("62e4")(e))}
98,"0da5":function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-nav-header{display:flex;justify-content:space-between}.vc-nav-arrow{display:flex;justify-content:center;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;line-height:var(--leading-snug);border-width:2px;border-style:solid;border-color:transparent;border-radius:var(--rounded)}.vc-nav-arrow.is-left{margin-right:auto}.vc-nav-arrow.is-right{margin-left:auto}.vc-nav-arrow.is-disabled{opacity:.25;pointer-events:none;cursor:not-allowed}.vc-nav-arrow:hover{background-color:var(--gray-900)}.vc-nav-arrow:focus{border-color:var(--accent-600)}.vc-nav-title{color:var(--accent-100);font-weight:var(--font-bold);line-height:var(--leading-snug);padding:4px 8px;border-radius:var(--rounded);border-width:2px;border-style:solid;border-color:transparent;-webkit-user-select:none;user-select:none}.vc-nav-title:hover{background-color:var(--gray-900)}.vc-nav-title:focus{border-color:var(--accent-600)}.vc-nav-items{display:grid;grid-template-columns:repeat(3,1fr);grid-row-gap:2px;grid-column-gap:5px}.vc-nav-item{width:48px;text-align:center;line-height:var(--leading-snug);font-weight:var(--font-semibold);padding:4px 0;cursor:pointer;border-color:transparent;border-width:2px;border-style:solid;border-radius:var(--rounded);-webkit-user-select:none;user-select:none}.vc-nav-item:hover{color:var(--white);background-color:var(--gray-900);box-shadow:var(--shadow-inner)}.vc-nav-item.is-active{color:var(--accent-900);background:var(--accent-100);font-weight:var(--font-bold);box-shadow:var(--shadow)}.vc-nav-item.is-current{color:var(--accent-100);font-weight:var(--bold);border-color:var(--accent-100)}.vc-nav-item:focus{border-color:var(--accent-600)}.vc-nav-item.is-disabled{opacity:.25;pointer-events:none}.vc-is-dark .vc-nav-title{color:var(--gray-900)}.vc-is-dark .vc-nav-title:hover{background-color:var(--gray-200)}.vc-is-dark .vc-nav-title:focus{border-color:var(--accent-400)}.vc-is-dark .vc-nav-arrow:hover{background-color:var(--gray-200)}.vc-is-dark .vc-nav-arrow:focus{border-color:var(--accent-400)}.vc-is-dark .vc-nav-item:hover{color:var(--gray-900);background-color:var(--gray-200);box-shadow:none}.vc-is-dark .vc-nav-item.is-active{color:var(--white);background:var(--accent-500)}.vc-is-dark .vc-nav-item.is-current{color:var(--accent-600);border-color:var(--accent-500)}.vc-is-dark .vc-nav-item:focus{border-color:var(--accent-400)}",""]),e.exports=t},"0f0f":function(e,t,n){var i=n("8eeb"),r=n("9934");e.exports=function(e,t){return e&&i(t,r(t),e)}},"0f5c":function(e,t,n){var i=n("159a");e.exports=function(e,t,n){return null==e?e:i(e,t,n)}},"100e":function(e,t,n){var i=n("cd9d"),r=n("2286"),o=n("c1c9");e.exports=function(e,t){return o(r(e,t,i),e+"")}},1041:function(e,t,n){var i=n("8eeb"),r=n("a029");e.exports=function(e,t){return i(e,r(e),t)}},"107c":function(e,t,n){var i=n("d039");e.exports=i((function(){var e=RegExp("(?<a>b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1290:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},1310:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},1315:function(e,t,n){n.d(t,"a",(function(){return d}));var i=n("8bbf"),r=n.n(i),o=n("9404"),a=n("85a9");let s=!1,c=!1,l=null;function d(e=a,t){l&&!t||s||(s=!0,c=!0,l=new r.a({data:()=>({matches:[],queries:[]}),methods:{refreshQueries(){var t=this;window&&window.matchMedia&&(this.queries=Object(o.r)(e,(function(e){const n=window.matchMedia(function(e){return Object(o.n)(e)&&(e={min:e}),Object(o.h)(e)||(e=[e]),e.map((function(e){return Object(o.e)(e,"raw")?e.raw:Object(o.q)(e,(function(e,t){return`(${t=Object(o.d)({min:"min-width",max:"max-width"},t,t)}: ${e})`})).join(" and ")})).join(", ")}(e));return Object(o.k)(n.addEventListener)?n.addEventListener("change",t.refreshMatches):n.addListener(t.refreshMatches),n})),this.refreshMatches())},refreshMatches(){this.matches=Object(o.w)(this.queries).filter((function(e){return e[1].matches})).map((function(e){return e[0]}))}}}),s=!1)}r.a.mixin({beforeCreate(){s||d()},mounted(){c&&l&&(l.refreshQueries(),c=!1)},computed:{$screens:()=>function(e,t){return l.matches.reduce((function(t,n){return Object(o.e)(e,n)?e[n]:t}),Object(o.o)(t)?e.default:t)}}})}
98,1349:function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-time-picker[data-v-021f332c]{display:flex;align-items:center;padding:8px}.vc-time-picker.vc-invalid[data-v-021f332c]{pointer-events:none;opacity:.5}.vc-time-picker.vc-bordered[data-v-021f332c]{border-top:1px solid var(--gray-400)}.vc-date-time[data-v-021f332c]{margin-left:8px}.vc-disabled[data-v-021f332c]{pointer-events:none;opacity:.5}.vc-time-icon[data-v-021f332c]{width:16px;height:16px;color:var(--gray-600)}.vc-date[data-v-021f332c]{display:flex;align-items:center;font-size:var(--text-sm);font-weight:var(--font-semibold);text-transform:uppercase;padding:0 0 4px 4px;margin-top:-4px}.vc-date .vc-weekday[data-v-021f332c]{color:var(--gray-700);letter-spacing:var(--tracking-wide)}.vc-date .vc-month[data-v-021f332c]{color:var(--accent-600);margin-left:8px}.vc-date .vc-day[data-v-021f332c]{color:var(--accent-600);margin-left:4px}.vc-date .vc-year[data-v-021f332c]{color:var(--gray-500);margin-left:8px}.vc-am-pm[data-v-021f332c],.vc-time[data-v-021f332c]{display:flex;align-items:center}.vc-am-pm[data-v-021f332c]{background:var(--gray-200);margin-left:8px;padding:4px;border-radius:var(--rounded);height:30px}.vc-am-pm button[data-v-021f332c]{color:var(--gray-900);font-size:var(--text-sm);font-weight:var(--font-medium);padding:0 4px;background:transparent;border:2px solid transparent;border-radius:var(--rounded);line-height:var(--leading-snug)}.vc-am-pm button[data-v-021f332c]:hover{color:var(--gray-600)}.vc-am-pm button[data-v-021f332c]:focus{border-color:var(--accent-400)}.vc-am-pm button.active[data-v-021f332c]{background:var(--accent-600);color:var(--white)}.vc-am-pm button.active[data-v-021f332c]:hover{background:var(--accent-500)}.vc-am-pm button.active[data-v-021f332c]:focus{border-color:var(--accent-400)}.vc-is-dark .vc-time-picker[data-v-021f332c]{border-color:var(--gray-700)}.vc-is-dark .vc-time-icon[data-v-021f332c],.vc-is-dark .vc-weekday[data-v-021f332c]{color:var(--gray-400)}.vc-is-dark .vc-day[data-v-021f332c],.vc-is-dark .vc-month[data-v-021f332c]{color:var(--accent-400)}.vc-is-dark .vc-year[data-v-021f332c]{color:var(--gray-500)}.vc-is-dark .vc-am-pm[data-v-021f332c]{background:var(--gray-700)}.vc-is-dark .vc-am-pm[data-v-021f332c]:focus{border-color:var(--accent-500)}.vc-is-dark .vc-am-pm button[data-v-021f332c]{color:var(--gray-100)}.vc-is-dark .vc-am-pm button[data-v-021f332c]:hover{color:var(--gray-400)}.vc-is-dark .vc-am-pm button[data-v-021f332c]:focus{border-color:var(--accent-500)}.vc-is-dark .vc-am-pm button.active[data-v-021f332c]{background:var(--accent-500);color:var(--white)}.vc-is-dark .vc-am-pm button.active[data-v-021f332c]:hover{background:var(--accent-600)}.vc-is-dark .vc-am-pm button.active[data-v-021f332c]:focus{border-color:var(--accent-500)}",""]),e.exports=t},1368:function(e,t,n){var i=n("da03"),r=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!r&&r in e}},"14c3":function(e,t,n){var i=n("c6b6"),r=n("9263");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"159a":function(e,t,n){var i=n("32b3"),r=n("e2e4"),o=n("c098"),a=n("1a8c"),s=n("f4d6");e.exports=function(e,t,n,c){if(!a(e))return e;for(var l=-1,d=(t=r(t,e)).length,u=d-1,p=e;null!=p&&++l<d;){var h=s(t[l]),f=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=u){var m=p[h];void 0===(f=c?c(m,h,p):void 0)&&(f=a(m)?m:o(t[l+1])?[]:{})}i(p,h,f),p=p[h]}return e}},"15f3":function(e,t,n){var i=n("89d9"),r=n("8604");e.exports=function(e,t){return i(e,t,(function(t,n){return r(e,n)}))}},1838:function(e,t,n){var i=n("c05f"),r=n("9b02"),o=n("8604"),a=n("f608"),s=n("08cc"),c=n("20ec"),l=n("f4d6");e.exports=function(e,t){return a(e)&&s(t)?c(l(e),t):function(n){var a=r(n,e);return void 0===a&&a===t?o(n,e):i(t,a,3)}}},"18d8":function(e,t,n){var i=n("234d"),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=i((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,n,i,r){t.push(i?r.replace(o,"$1"):n||e)})),t}));e.exports=a},"1a2d":function(e,t,n){var i=n("42a2"),r=n("1310");e.exports=function(e){return r(e)&&"[object Map]"==i(e)}},"1a8c":function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},"1bac":function(e,t,n){var i=n("7d1f"),r=n("a029"),o=n("9934");e.exports=function(e){return i(e,o,r)}},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1c3c":function(e,t,n){var i=n("9e69"),r=n("2474"),o=n("9638"),a=n("a2be"),s=n("edfa"),
98c=n("ac41"),l=i?i.prototype:void 0,d=l?l.valueOf:void 0;e.exports=function(e,t,n,i,l,u,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!u(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var f=1&i;if(h||(h=c),e.size!=t.size&&!f)return!1;var m=p.get(e);if(m)return m==t;i|=2,p.set(e,t);var v=a(h(e),h(t),i,l,u,p);return p.delete(e),v;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},"1cec":function(e,t,n){var i=n("0b07")(n("2b3e"),"Promise");e.exports=i},"1d80":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"1efc":function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},"1f64":function(e,t,n){var i=n("6a43");n.n(i).a},"1fc8":function(e,t,n){var i=n("4245");e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},"20ec":function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},2285:function(e,t,n){var i=n("2a4d");n.n(i).a},2286:function(e,t,n){var i=n("85e3"),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=r(o.length-t,0),c=Array(s);++a<s;)c[a]=o[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=o[a];return l[t]=n(c),i(e,this,l)}}},"22f3":function(e,t,n){n.d(t,"a",(function(){return a}));var i=n("cfe5"),r=n("2fa3"),o=n("9404");class a{constructor({key:e,hashcode:t,highlight:n,content:a,dot:s,bar:c,popover:l,dates:d,excludeDates:u,excludeMode:p,customData:h,order:f,pinPage:m},v,g){this.key=Object(o.o)(e)?Object(r.c)():e,this.hashcode=t,this.customData=h,this.order=f||0,this.dateOpts={order:f,locale:g},this.pinPage=m,n&&(this.highlight=v.normalizeHighlight(n)),a&&(this.content=v.normalizeContent(a)),s&&(this.dot=v.normalizeDot(s)),c&&(this.bar=v.normalizeBar(c)),l&&(this.popover=l),this.dates=g.normalizeDates(d,this.dateOpts),this.hasDates=!!Object(r.b)(this.dates),this.excludeDates=g.normalizeDates(u,this.dateOpts),this.hasExcludeDates=!!Object(r.b)(this.excludeDates),this.excludeMode=p||"intersects",this.hasExcludeDates&&!this.hasDates&&(this.dates.push(new i.a({},this.dateOpts)),this.hasDates=!0),this.isComplex=Object(o.v)(this.dates,(function(e){return e.isComplex}))}intersectsDate(e){return e=e instanceof i.a?e:new i.a(e,this.dateOpts),!this.excludesDate(e)&&(this.dates.find((function(t){return t.intersectsDate(e)}))||!1)}includesDate(e){return e=e instanceof i.a?e:new i.a(e,this.dateOpts),!this.excludesDate(e)&&(this.dates.find((function(t){return t.includesDate(e)}))||!1)}excludesDate(e){var t=this;return e=e instanceof i.a?e:new i.a(e,this.dateOpts),this.hasExcludeDates&&this.excludeDates.find((function(n){return"intersects"===t.excludeMode&&n.intersectsDate(e)||"includes"===t.excludeMode&&n.includesDate(e)}))}intersectsDay(e){return!this.excludesDay(e)&&(this.dates.find((function(t){return t.intersectsDay(e)}))||!1)}excludesDay(e){return this.hasExcludeDates&&this.excludeDates.find((function(t){return t.intersectsDay(e)}))}}},"234d":function(e,t,n){var i=n("e380");e.exports=function(e){var t=i(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},"23a5":function(e){e.exports=JSON.parse('{"maxSwipeTime":300,"minHorizontalSwipeDistance":60,"maxVerticalSwipeDistance":80}')},"23cb":function(e,t,n){var i=n("a691"),r=Math.max,o=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):o(n,t)}},"23e7":function(e,t,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,d,u,p,h,f=e.target,m=e.global,v=e.stat;if(n=m?i:v?i[f]||s(f,{}):(i[f]||{}).prototype)for(d in t){if(p=t[d],u=e.noTargetGet?(h=r(n,d))&&h.value:n[d],!l(m?d:f+(v?".":"#")+d,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;c(p,u)}(e.sham||u&&u.sham)&&o(p,"sham",!0),a(n,d,p,e)}}},2411:function(e,t,n){var i=n("f909"),r=n("2ec1")((function(e,t,n,r){i(e,t,n,r)}));e.exports=r},"241c":function(e,t,n){var i=n("ca84"),r=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"242e":function(e,t,n){var i=n("72af"),r=n("ec69");e.exports=function(e,t){return e&&i(e,t,r)}},2474:function(e,t,n){var i=n("2b3e").Uint8Array;e.exports=i},2478:function(e,t,n){var i=n("4245");e.exports=function(e){return i(this,e).get(e)}},"24fb":function(e,t,n){function i(e,t){var n=e[1]||"",i=e[3];
98if(!i)return n;if(t&&"function"==typeof btoa){var r=function(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}(i),o=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([r]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=i(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 r={};if(i)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);i&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},2524:function(e,t,n){var i=n("6044");e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},"253c":function(e,t,n){var i=n("3729"),r=n("1310");e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},2593:function(e,t,n){var i=n("15f3"),r=n("c6cf")((function(e,t){return null==e?{}:i(e,t)}));e.exports=r},"26e8":function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"28c9":function(e,t){e.exports=function(){this.__data__=[],this.size=0}},"29ae":function(e,t,n){n.d(t,"a",(function(){return Y})),n.d(t,"b",(function(){return ae})),n("5319");var i=n("fe1f");function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function o(e,t){var n=function(e){if(!s[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"â06â/â25â/â2014â â00â:â00â:â00"===t;s[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return s[e]}(t);return n.formatToParts?function(e,t){for(var n=e.formatToParts(t),i=[],r=0;r<n.length;r++){var o=a[n[r].type];o>=0&&(i[o]=parseInt(n[r].value,10))}return i}(n,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[i[3],i[1],i[2],i[4],i[5],i[6]]}(n,e)}var a={year:0,month:1,day:2,hour:3,minute:4,second:5},s={},c=36e5,l={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/,timezoneIANA:/(UTC|(?:[a-zA-Z]+\/[a-zA-Z_-]+(?:\/[a-zA-Z_]+)?))$/};function d(e,t,n){var i,r,o;if(i=l.timezoneZ.exec(e))return 0;if(i=l.timezoneHH.exec(e))return o=parseInt(i[2],10),p()?(r=o*c,"+"===i[1]?-r:r):NaN;if(i=l.timezoneHHMM.exec(e)){o=parseInt(i[2],10);var a=parseInt(i[3],10);return p(0,a)?(r=o*c+6e4*a,"+"===i[1]?-r:r):NaN}if(i=l.timezoneIANA.exec(e)){t=new Date(t||Date.now());var s=u(n?t:function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}(t),e);return-(n?s:function(e,t,n){var i=e.getTime()-t,r=u(new Date(i),n);if(t===r)return t;i-=r-t;var o=u(new Date(i),n);return r===o?r:Math.max(r,o)}(t,s,e))}return 0}function u(e,t){var n=o(e,t),i=Date.UTC(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5]),r=e.getTime(),a=r%1e3;return i-(r-=a>=0?a:1e3+a)}function p(e,t){return null==t||!(t<0||t>59)}var h=36e5,f={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*| UTC|(?:[a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?))$/};function m(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},o=null==n.additionalDigits?2:Object(i.a)(n.additionalDigits);if(2!==o&&1!==o&&0!==o)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var a=v(e),s=g(a.date,o),c=s.year,l=s.restDateString,u=b(l,c);if(isNaN(u))return new Date(NaN);if(u){var p,h=u.getTime(),f=0;if(a.time&&(f=y(a.time),isNaN(f)))return new Date(NaN);if(a.timezone||n.timeZone){if(p=d(a.timezone||n.timeZone,new Date(h+f)),isNaN(p))return new Date(NaN)}else p=r(new Date(h+f)),p=r(new Date(h+f+p));return new Date(h+f+p)}return new Date(NaN)}function v(e){var t,n={},i=e.split(f.dateTimeDelimeter);if(f.plainTime.test(i[0])?(n.date=null,t=i[0]):(n.date=i[0],t=i[1],n.timezone=i[2],f.timeZoneDelimeter.test(n.date)&&(n.date=e.split(f.timeZoneDelimeter)[0],t=e.substr(n.date.length,e.length))),t){var r=f.timezone.exec(t);r?(n.time=t.replace(r[1],""),n.timezone=r[1]):n.time=t}return n}function g(e,t){var n,i=f.YYY[t],r=f.YYYYY[t];if(n=f.YYYY.exec(e)||r.exec(e)){var o=n[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(n=f.YY.exec(e)||i.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}function b(e,t){if(null===t)return null;var n,i,r,o;
98if(0===e.length)return(i=new Date(0)).setUTCFullYear(t),i;if(n=f.MM.exec(e))return i=new Date(0),k(t,r=parseInt(n[1],10)-1)?(i.setUTCFullYear(t,r),i):new Date(NaN);if(n=f.DDD.exec(e)){i=new Date(0);var a=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=M(e);return!(n&&t>366||!n&&t>365)}(t,a)?(i.setUTCFullYear(t,0,a),i):new Date(NaN)}if(n=f.MMDD.exec(e)){i=new Date(0),r=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return k(t,r,s)?(i.setUTCFullYear(t,r,s),i):new Date(NaN)}if(n=f.Www.exec(e))return C(0,o=parseInt(n[1],10)-1)?A(t,o):new Date(NaN);if(n=f.WwwD.exec(e)){o=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return C(0,o,c)?A(t,o,c):new Date(NaN)}return null}function y(e){var t,n,i;if(t=f.HH.exec(e))return S(n=parseFloat(t[1].replace(",",".")))?n%24*h:NaN;if(t=f.HHMM.exec(e))return S(n=parseInt(t[1],10),i=parseFloat(t[2].replace(",",".")))?n%24*h+6e4*i:NaN;if(t=f.HHMMSS.exec(e)){n=parseInt(t[1],10),i=parseInt(t[2],10);var r=parseFloat(t[3].replace(",","."));return S(n,i,r)?n%24*h+6e4*i+1e3*r:NaN}return null}function A(e,t,n){t=t||0,n=n||0;var i=new Date(0);i.setUTCFullYear(e,0,4);var r=7*t+n+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+r),i}var _=[31,28,31,30,31,30,31,31,30,31,30,31],w=[31,29,31,30,31,30,31,31,30,31,30,31];function M(e){return e%400==0||e%4==0&&e%100!=0}function k(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var i=M(e);if(i&&n>w[t])return!1;if(!i&&n>_[t])return!1}return!0}function C(e,t,n){return!(t<0||t>52||null!=n&&(n<0||n>6))}function S(e,t,n){return!(null!=e&&(e<0||e>=25)||null!=t&&(t<0||t>=60)||null!=n&&(n<0||n>=60))}var E=n("fd3a"),x=n("8c86");function O(e,t){Object(x.a)(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.weekStartsOn,a=null==o?0:Object(i.a)(o),s=null==n.weekStartsOn?a:Object(i.a)(n.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=Object(E.a)(e),l=c.getDay(),d=(l<s?7:0)+l-s;return c.setDate(c.getDate()-d),c.setHours(0,0,0,0),c}function T(e){return Object(x.a)(1,arguments),O(e,{weekStartsOn:1})}function D(e){Object(x.a)(1,arguments);var t=Object(E.a)(e),n=t.getFullYear(),i=new Date(0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);var r=T(i),o=new Date(0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);var a=T(o);return t.getTime()>=r.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function $(e){Object(x.a)(1,arguments);var t=D(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var i=T(n);return i}var P=6048e5;function N(e){Object(x.a)(1,arguments);var t=Object(E.a)(e),n=T(t).getTime()-$(t).getTime();return Math.round(n/P)+1}function L(e,t){var n,r;Object(x.a)(1,arguments);var o=Object(E.a)(e),a=o.getFullYear(),s=null==t||null===(n=t.locale)||void 0===n||null===(r=n.options)||void 0===r?void 0:r.firstWeekContainsDate,c=null==s?1:Object(i.a)(s),l=null==(null==t?void 0:t.firstWeekContainsDate)?c:Object(i.a)(t.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setFullYear(a+1,0,l),d.setHours(0,0,0,0);var u=O(d,t),p=new Date(0);p.setFullYear(a,0,l),p.setHours(0,0,0,0);var h=O(p,t);return o.getTime()>=u.getTime()?a+1:o.getTime()>=h.getTime()?a:a-1}function z(e,t){Object(x.a)(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.firstWeekContainsDate,a=null==o?1:Object(i.a)(o),s=null==n.firstWeekContainsDate?a:Object(i.a)(n.firstWeekContainsDate),c=L(e,t),l=new Date(0);l.setFullYear(c,0,s),l.setHours(0,0,0,0);var d=O(l,t);return d}var I=6048e5;function R(e,t){Object(x.a)(1,arguments);var n=Object(E.a)(e),i=O(n,t).getTime()-z(n,t).getTime();return Math.round(i/I)+1}var B=6048e5;function j(e,t,n){Object(x.a)(2,arguments);var i=O(e,n),o=O(t,n),a=i.getTime()-r(i),s=o.getTime()-r(o);return Math.round((a-s)/B)}function q(e){Object(x.a)(1,arguments);var t=Object(E.a)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function F(e){Object(x.a)(1,arguments);var t=Object(E.a)(e);return t.setDate(1),t.setHours(0,0,0,0),t}var V=n("f7f1"),W=n("cfe5"),H=n("f15d"),U=n("2fa3"),X=n("9404");const Y={DATE_TIME:1,DATE:2,TIME:3},G={1:["year","month","day","hours","minutes","seconds","milliseconds"],2:["year","month","day"],3:["hours","minutes","seconds","milliseconds"]},K=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|Z{1,4}|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Q=/\d\d?/,J=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Z=/\[([^]*?)\]/gm,ee=function(){},te=function(e){return function(t,n,i){const r=i[e].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~r&&(t.month=r)}},ne=["L","iso"],ie=[31,28,31,30,31,30,31,31,30,31,30,31],re={D:e=>e.day,DD:e=>Object(U.m)(e.day),Do:(e,t)=>t.DoFn(e.day),d:e=>e.weekday-1,dd:e=>Object(U.m)(e.weekday-1),W:(e,t)=>t.dayNamesNarrow[e.weekday-1],WW:(e,t)=>t.dayNamesShorter[e.weekday-1],WWW:(e,t)=>t.dayNamesShort[e.weekday-1],WWWW:(e,t)=>t.dayNames[e.weekday-1],M:e=>e.month,MM:e=>Object(U.m)(e.month),MMM:(e,t)=>t.monthNamesShort[e.month-1],MMMM:(e,t)=>t.monthNames[e.month-1],YY:e=>String(e.year).substr(2),YYYY:e=>Object(U.m)(e.year,4),h:e=>e.hours%12||12,hh:e=>Object(U.m)(e.hours%12||12),H:e=>e.hours,HH:e=>Object(U.m)(e.hours),m:e=>e.minutes,mm:e=>Object(U.m)(e.minutes),s:e=>e.seconds,ss:e=>Object(U.m)(e.seconds),S:e=>Math.round(e.milliseconds/100),SS:e=>Object(U.m)(Math.round(e.milliseconds/10),2),SSS:e=>Object(U.m)(e.milliseconds,3),a:(e,t)=>e.hours<12?t.amPm[0]:t.amPm[1],A:(e,t)=>
98e.hours<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase(),Z:()=>"Z",ZZ(e){const t=e.timezoneOffset;return`${t>0?"-":"+"}${Object(U.m)(Math.floor(Math.abs(t)/60),2)}`},ZZZ(e){const t=e.timezoneOffset;return`${t>0?"-":"+"}${Object(U.m)(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}`},ZZZZ(e){const t=e.timezoneOffset;return`${t>0?"-":"+"}${Object(U.m)(Math.floor(Math.abs(t)/60),2)}:${Object(U.m)(Math.abs(t)%60,2)}`}},oe={D:[Q,function(e,t){e.day=t}],Do:[new RegExp(Q.source+J.source),function(e,t){e.day=parseInt(t,10)}],d:[Q,ee],W:[J,ee],M:[Q,function(e,t){e.month=t-1}],MMM:[J,te("monthNamesShort")],MMMM:[J,te("monthNames")],YY:[Q,function(e,t){const n=+(new Date).getFullYear().toString().substr(0,2);e.year=`${t>68?n-1:n}${t}`}],YYYY:[/\d{4}/,function(e,t){e.year=t}],S:[/\d/,function(e,t){e.millisecond=100*t}],SS:[/\d{2}/,function(e,t){e.millisecond=10*t}],SSS:[/\d{3}/,function(e,t){e.millisecond=t}],h:[Q,function(e,t){e.hour=t}],m:[Q,function(e,t){e.minute=t}],s:[Q,function(e,t){e.second=t}],a:[J,function(e,t,n){const i=t.toLowerCase();i===n.amPm[0]?e.isPm=!1:i===n.amPm[1]&&(e.isPm=!0)}],Z:[/[^\s]*?[+-]\d\d:?\d\d|[^\s]*?Z?/,function(e,t){"Z"===t&&(t="+00:00");const n=(""+t).match(/([+-]|\d\d)/gi);if(n){const t=60*n[1]+parseInt(n[2],10);e.timezoneOffset="+"===n[0]?t:-t}}]};oe.DD=oe.D,oe.dd=oe.d,oe.WWWW=oe.WWW=oe.WW=oe.W,oe.MM=oe.M,oe.mm=oe.m,oe.hh=oe.H=oe.HH=oe.h,oe.ss=oe.s,oe.A=oe.a,oe.ZZZZ=oe.ZZZ=oe.ZZ=oe.Z;class ae{constructor(e,{locales:t=H.a,timezone:n}={}){const{id:i,firstDayOfWeek:r,masks:o}=function(e,t){const n=(new Intl.DateTimeFormat).resolvedOptions().locale;let i;Object(X.n)(e)?i=e:Object(X.e)(e,"id")&&(i=e.id),i=(i||n).toLowerCase();const r=Object.keys(t),o=function(e){return r.find((function(t){return t.toLowerCase()===e}))};i=o(i)||o(i.substring(0,2))||n;const a={...t["en-IE"],...t[i],id:i};return e=Object(X.m)(e)?Object(X.c)(e,a):a}(e,t);this.id=i,this.daysInWeek=7,this.firstDayOfWeek=Object(X.a)(r,1,7),this.masks=o,this.timezone=n||void 0,this.dayNames=this.getDayNames("long"),this.dayNamesShort=this.getDayNames("short"),this.dayNamesShorter=this.dayNamesShort.map((function(e){return e.substring(0,2)})),this.dayNamesNarrow=this.getDayNames("narrow"),this.monthNames=this.getMonthNames("long"),this.monthNamesShort=this.getMonthNames("short"),this.amPm=["am","pm"],this.monthData={},this.getMonthComps=this.getMonthComps.bind(this),this.parse=this.parse.bind(this),this.format=this.format.bind(this),this.toPage=this.toPage.bind(this)}format(e,t){var n=this;if(!(e=this.normalizeDate(e)))return"";t=this.normalizeMasks(t)[0];const i=[];t=t.replace(Z,(function(e,t){return i.push(t),"??"}));const r=/Z$/.test(t)?"utc":this.timezone,o=this.getDateParts(e,r);return(t=t.replace(K,(function(e){return e in re?re[e](o,n):e.slice(1,e.length-1)}))).replace(/\?\?/g,(function(){return i.shift()}))}parse(e,t){var n=this;return this.normalizeMasks(t).map((function(t){if("string"!=typeof t)throw new Error("Invalid mask in fecha.parse");let i=e;if(i.length>1e3)return!1;let r=!0;const o={};if(t.replace(K,(function(e){if(oe[e]){const t=oe[e],a=i.search(t[0]);~a?i.replace(t[0],(function(e){return t[1](o,e,n),i=i.substr(a+e.length),e})):r=!1}return oe[e]?"":e.slice(1,e.length-1)})),!r)return!1;const a=new Date;let s;return!0===o.isPm&&null!=o.hour&&12!=+o.hour?o.hour=+o.hour+12:!1===o.isPm&&12==+o.hour&&(o.hour=0),null!=o.timezoneOffset?(o.minute=+(o.minute||0)-+o.timezoneOffset,s=new Date(Date.UTC(o.year||a.getFullYear(),o.month||0,o.day||1,o.hour||0,o.minute||0,o.second||0,o.millisecond||0))):s=n.getDateFromParts({year:o.year||a.getFullYear(),month:(o.month||0)+1,day:o.day||1,hours:o.hour||0,minutes:o.minute||0,seconds:o.second||0,milliseconds:o.millisecond||0}),s})).find((function(e){return e}))||new Date(e)}normalizeMasks(e){var t=this;return(Object(U.b)(e)&&e||[Object(X.n)(e)&&e||"YYYY-MM-DD"]).map((function(e){return ne.reduce((function(e,n){return e.replace(n,t.masks[n]||"")}),e)}))}normalizeDate(e,t={}){let n=null,{type:i,fillDate:r}=t;const{mask:o,patch:a,time:s}=t,c="auto"===i||!i;if(Object(X.l)(e)?(i="number",n=new Date(+e)):Object(X.n)(e)?(i="string",n=e?this.parse(e,o||"iso"):null):Object(X.m)(e)?(i="object",n=this.getDateFromParts(e)):(i="date",n=Object(X.j)(e)?new Date(e.getTime()):null),n&&a){r=null==r?new Date:this.normalizeDate(r);const e={...this.getDateParts(r),...Object(X.t)(this.getDateParts(n),G[a])};n=this.getDateFromParts(e)}return c&&(t.type=i),n&&!isNaN(n.getTime())?(s&&(n=this.adjustTimeForDate(n,{timeAdjust:s})),n):null}denormalizeDate(e,{type:t,mask:n}={}){switch(t){case"number":return e?e.getTime():NaN;case"string":return e?this.format(e,n||"iso"):"";default:return e?new Date(e):null}}adjustTimeForDate(e,{timeAdjust:t}){if(t){const n=this.getDateParts(e);if("now"===t){const e=this.getDateParts(new Date);n.hours=e.hours,n.minutes=e.minutes,n.seconds=e.seconds,n.milliseconds=e.milliseconds}else{const e=new Date(`2000-01-01T${t}Z`);n.hours=e.getUTCHours(),n.minutes=e.getUTCMinutes(),n.seconds=e.getUTCSeconds(),n.milliseconds=e.getUTCMilliseconds()}e=this.getDateFromParts(n)}return e}normalizeDates(e,t){return(t=t||{}).locale=this,(Object(X.h)(e)?e:[e]).map((function(e){return e&&(e instanceof W.a?e:new W.a(e,t))})).filter((function(e){return e}))}getDateParts(e,t=this.timezone){if(!e)return null;let n=e;
98if(t){const i=new Date(e.toLocaleString("en-US",{timeZone:t}));i.setMilliseconds(e.getMilliseconds());const r=i.getTime()-e.getTime();n=new Date(e.getTime()+r)}const i=n.getMilliseconds(),r=n.getSeconds(),o=n.getMinutes(),a=n.getHours(),s=n.getMonth()+1,c=n.getFullYear(),l=this.getMonthComps(s,c),d=n.getDate(),u=l.days-d+1,p=n.getDay()+1,h=Math.floor((d-1)/7+1),f=Math.floor((l.days-d)/7+1),m=Math.ceil((d+Math.abs(l.firstWeekday-l.firstDayOfWeek))/7),v={milliseconds:i,seconds:r,minutes:o,hours:a,day:d,dayFromEnd:u,weekday:p,weekdayOrdinal:h,weekdayOrdinalFromEnd:f,week:m,weekFromEnd:l.weeks-m+1,month:s,year:c,date:e,isValid:!0};return v.timezoneOffset=this.getTimezoneOffset(v),v}getDateFromParts(e){if(!e)return null;const t=new Date,{year:n=t.getFullYear(),month:i=t.getMonth()+1,day:r=t.getDate(),hours:o=0,minutes:a=0,seconds:s=0,milliseconds:c=0}=e;return this.timezone?m(`${Object(U.m)(n,4)}-${Object(U.m)(i,2)}-${Object(U.m)(r,2)}T${Object(U.m)(o,2)}:${Object(U.m)(a,2)}:${Object(U.m)(s,2)}.${Object(U.m)(c,3)}`,{timeZone:this.timezone}):new Date(n,i-1,r,o,a,s,c)}getTimezoneOffset(e){const{year:t,month:n,day:i,hours:r=0,minutes:o=0,seconds:a=0,milliseconds:s=0}=e;let c;const l=new Date(Date.UTC(t,n-1,i,r,o,a,s));return c=this.timezone?m(`${Object(U.m)(t,4)}-${Object(U.m)(n,2)}-${Object(U.m)(i,2)}T${Object(U.m)(r,2)}:${Object(U.m)(o,2)}:${Object(U.m)(a,2)}.${Object(U.m)(s,3)}`,{timeZone:this.timezone}):new Date(t,n-1,i,r,o,a,s),(c-l)/6e4}toPage(e,t){return Object(X.l)(e)?Object(U.a)(t,e):Object(X.n)(e)?this.getDateParts(this.normalizeDate(e)):Object(X.j)(e)?this.getDateParts(e):Object(X.m)(e)?e:null}getMonthDates(e=2e3){const t=[];for(let n=0;n<12;n++)t.push(new Date(e,n,15));return t}getMonthNames(e){const t=new Intl.DateTimeFormat(this.id,{month:e,timezome:"UTC"});return this.getMonthDates().map((function(e){return t.format(e)}))}getWeekdayDates(e=this.firstDayOfWeek){const t=[],n=5+e-1;for(let e=0;e<7;e++)t.push(this.getDateFromParts({year:2020,month:1,day:n+e,hours:12}));return t}getDayNames(e){const t=new Intl.DateTimeFormat(this.id,{weekday:e,timeZone:this.timezone});return this.getWeekdayDates(1).map((function(e){return t.format(e)}))}getMonthComps(e,t){const n=`${e}-${t}`;let i=this.monthData[n];if(!i){const r=t%4==0&&t%100!=0||t%400==0,o=new Date(t,e-1,1),a=o.getDay()+1,s=2===e&&r?29:ie[e-1],c=this.firstDayOfWeek-1,l=function(e,t){return Object(x.a)(1,arguments),j(q(e),F(e),t)+1}(o,{weekStartsOn:c}),d=[],u=[];for(let e=0;e<l;e++){const t=Object(V.a)(o,7*e);d.push(R(t,{weekStartsOn:c})),u.push(N(t))}i={firstDayOfWeek:this.firstDayOfWeek,inLeapYear:r,firstWeekday:a,days:s,weeks:l,month:e,year:t,weeknumbers:d,isoWeeknumbers:u},this.monthData[n]=i}return i}getThisMonthComps(){const{month:e,year:t}=this.getDateParts(new Date);return this.getMonthComps(e,t)}getPrevMonthComps(e,t){return 1===e?this.getMonthComps(12,t-1):this.getMonthComps(e-1,t)}getNextMonthComps(e,t){return 12===e?this.getMonthComps(1,t+1):this.getMonthComps(e+1,t)}getDayId(e){return this.format(e,"YYYY-MM-DD")}getCalendarDays({weeks:e,monthComps:t,prevMonthComps:n,nextMonthComps:i}){var r=this;const o=[],{firstDayOfWeek:a,firstWeekday:s,isoWeeknumbers:c,weeknumbers:l}=t,d=s+(s<a?7:0)-a;let u=!0,p=!1,h=!1;const f=new Intl.DateTimeFormat(this.id,{weekday:"long",year:"numeric",month:"long",day:"numeric"});let m=n.days-d+1,v=n.days-m+1,g=Math.floor((m-1)/7+1),b=1,y=n.weeks,A=1,_=n.month,w=n.year;const M=new Date,k=M.getDate(),C=M.getMonth()+1,S=M.getFullYear(),E=function(e,t,n){return function(i,o,a,s){return r.normalizeDate({year:e,month:t,day:n,hours:i,minutes:o,seconds:a,milliseconds:s})}};for(let n=1;n<=e;n++){for(let r=1,d=a;r<=7;r++,d+=7===d?-6:1){u&&d===s&&(m=1,v=t.days,g=Math.floor((m-1)/7+1),b=Math.floor((t.days-m)/7+1),y=1,A=t.weeks,_=t.month,w=t.year,u=!1,p=!0);const a=E(w,_,m),M={start:a(0,0,0),end:a(23,59,59,999)},x=M.start,O=`${Object(U.m)(w,4)}-${Object(U.m)(_,2)}-${Object(U.m)(m,2)}`,T=r,D=7-r,$=l[n-1],P=c[n-1],N=m===k&&_===C&&w===S,L=p&&1===m,z=p&&m===t.days,I=1===n,R=n===e,B=1===r,j=7===r;o.push({id:O,label:m.toString(),ariaLabel:f.format(new Date(w,_-1,m)),day:m,dayFromEnd:v,weekday:d,weekdayPosition:T,weekdayPositionFromEnd:D,weekdayOrdinal:g,weekdayOrdinalFromEnd:b,week:y,weekFromEnd:A,weeknumber:$,isoWeeknumber:P,month:_,year:w,dateFromTime:a,date:x,range:M,isToday:N,isFirstDay:L,isLastDay:z,inMonth:
98p,inPrevMonth:u,inNextMonth:h,onTop:I,onBottom:R,onLeft:B,onRight:j,classes:["id-"+O,"day-"+m,"day-from-end-"+v,"weekday-"+d,"weekday-position-"+T,"weekday-ordinal-"+g,"weekday-ordinal-from-end-"+b,"week-"+y,"week-from-end-"+A,{"is-today":N,"is-first-day":L,"is-last-day":z,"in-month":p,"in-prev-month":u,"in-next-month":h,"on-top":I,"on-bottom":R,"on-left":B,"on-right":j}]}),p&&z?(p=!1,h=!0,m=1,v=i.days,g=1,b=Math.floor((i.days-m)/7+1),y=1,A=i.weeks,_=i.month,w=i.year):(m++,v--,g=Math.floor((m-1)/7+1),b=Math.floor((t.days-m)/7+1))}y++,A--}return o}}},"29f3":function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},"2a4d":function(e,t,n){var i=n("7dfe");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("99a6e87a",i,!0,{sourceMap:!1,shadowMode:!1})},"2af9":function(e,t,n){n.r(t),n.d(t,"Calendar",(function(){return Ke})),n.d(t,"CalendarNav",(function(){return Ie})),n.d(t,"DatePicker",(function(){return dt})),n.d(t,"Popover",(function(){return ge})),n("ddb0");var i=n("f7f1"),r=n("fe1f"),o=n("fd3a"),a=n("8c86");function s(e,t){Object(a.a)(2,arguments);var n=Object(o.a)(e),i=Object(r.a)(t);if(isNaN(i))return new Date(NaN);if(!i)return n;var s=n.getDate(),c=new Date(n.getTime());c.setMonth(n.getMonth()+i+1,0);var l=c.getDate();return s>=l?c:(n.setFullYear(c.getFullYear(),c.getMonth(),s),n)}function c(e,t){Object(a.a)(2,arguments);var n=Object(r.a)(t);return s(e,12*n)}function l(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function d(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function u(e){var t=d(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function p(e){return e instanceof d(e).Element||e instanceof Element}function h(e){return e instanceof d(e).HTMLElement||e instanceof HTMLElement}function f(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((p(e)?e.ownerDocument:e.document)||window.document).documentElement}function v(e){return l(m(e)).left+u(e).scrollLeft}function g(e){return d(e).getComputedStyle(e)}function b(e){var t=g(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function y(e,t,n){void 0===n&&(n=!1);var i=m(t),r=l(e),o=h(t),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==f(t)||b(i))&&(a=function(e){return e!==d(e)&&h(e)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):u(e)}(t)),h(t)?((s=l(t)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=v(i))),{x:r.left+a.scrollLeft-s.x,y:r.top+a.scrollTop-s.y,width:r.width,height:r.height}}function A(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function _(e){return"html"===f(e)?e:e.assignedSlot||e.parentNode||e.host||m(e)}function w(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(f(t))>=0?t.ownerDocument.body:h(t)&&b(t)?t:e(_(t))}(e),i="body"===f(n),r=d(n),o=i?[r].concat(r.visualViewport||[],b(n)?n:[]):n,a=t.concat(o);return i?a:a.concat(w(_(o)))}function M(e){return["table","td","th"].indexOf(f(e))>=0}function k(e){if(!h(e)||"fixed"===g(e).position)return null;var t=e.offsetParent;if(t){var n=m(t);if("body"===f(t)&&"static"===g(t).position&&"static"!==g(n).position)return n}return t}function C(e){for(var t=d(e),n=k(e);n&&M(n)&&"static"===g(n).position;)n=k(n);return n&&"body"===f(n)&&"static"===g(n).position?t:n||function(e){for(var t=_(e);h(t)&&["html","body"].indexOf(f(t))<0;){var n=g(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}var S="top",E="bottom",x="right",O="left",T="auto",D=[S,E,x,O],$="start",P="end",N="viewport",L="popper",z=D.reduce((function(e,t){return e.concat([t+"-"+$,t+"-"+P])}),[]),I=[].concat(D,[T]).reduce((function(e,t){return e.concat([t,t+"-"+$,t+"-"+P])}),[]),R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(e){var t=new Map,n=new Set,i=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEac
98h((function(i){if(!n.has(i)){var r=t.get(i);r&&e(r)}})),i.push(r)}(e)})),i}function j(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function F(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}var V={passive:!0};function W(e){return e.split("-")[0]}function H(e){return e.split("-")[1]}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?W(r):null,a=r?H(r):null,s=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(o){case S:t={x:s,y:n.y-i.height};break;case E:t={x:s,y:n.y+n.height};break;case x:t={x:n.x+n.width,y:c};break;case O:t={x:n.x-i.width,y:c};break;default:t={x:n.x,y:n.y}}var l=o?U(o):null;if(null!=l){var d="y"===l?"height":"width";switch(a){case $:t[l]=Math.floor(t[l])-Math.floor(n[d]/2-i[d]/2);break;case P:t[l]=Math.floor(t[l])+Math.ceil(n[d]/2-i[d]/2)}}return t}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.offsets,a=e.position,s=e.gpuAcceleration,c=e.adaptive,l=function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:Math.round(t*i)/i||0,y:Math.round(n*i)/i||0}}(o),u=l.x,p=l.y,h=o.hasOwnProperty("x"),f=o.hasOwnProperty("y"),v=O,g=S,b=window;if(c){var y=C(n);y===d(n)&&(y=m(n)),r===S&&(g=E,p-=y.clientHeight-i.height,p*=s?1:-1),r===O&&(v=x,u-=y.clientWidth-i.width,u*=s?1:-1)}var A,_=Object.assign({position:a},c&&Y);return s?Object.assign(Object.assign({},_),{},((A={})[g]=f?"0":"",A[v]=h?"0":"",A.transform=(b.devicePixelRatio||1)<2?"translate("+u+"px, "+p+"px)":"translate3d("+u+"px, "+p+"px, 0)",A)):Object.assign(Object.assign({},_),{},((t={})[g]=f?p+"px":"",t[v]=h?u+"px":"",t.transform="",t))}var K={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return K[e]}))}var J={start:"end",end:"start"};function Z(e){return e.replace(/start|end/g,(function(e){return J[e]}))}function ee(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(function(e){return e instanceof d(e).ShadowRoot||e instanceof ShadowRoot}(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function te(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ne(e,t){return t===N?te(function(e){var t=d(e),n=m(e),i=t.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,s=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,s=i.offsetTop)),{width:r,height:o,x:a+v(e),y:s}}(e)):h(t)?function(e){var t=l(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):te(function(e){var t=m(e),n=u(e),i=e.ownerDocument.body,r=Math.max(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Math.max(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+v(e),s=-n.scrollTop;return"rtl"===g(i||t).direction&&(a+=Math.max(t.clientWidth,i?i.clientWidth:0)-r),{width:r,height:o,x:a,y:s}}(m(e)))}function ie(e,t,n){var i="clippingParents"===t?function(e){var t=w(_(e)),n=["absolute","fixed"].indexOf(g(e).position)>=0&&h(e)?C(e):e;return p(n)?t.filter((function(e){return p(e)&&ee(e,n)&&"body"!==f(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),o=r[0],a=r.reduce((function(t,n){var i=ne(e,n);return t.top=Math.max(i.top,t.top),t.right=Math.min(i.right,t.right),t.bottom=Math.min(i.bottom,t.bottom),t.left=Math.max(i.left,t.left),t}),ne(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function re(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function oe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ae(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,c=void 0===s?N:s,d=n.elementContext,u=void 0===d?L:d,h=n.altBoundary,f=void 0!==h&&h,v=n.padding,g=void 0===v?0:v,b=re("number"!=typeof g?g:oe(g,D)),y=u===L?"reference":L,A=e.elements.reference,_=e.rects.popper,w=e.elements[f?y:u],M=ie(p(w)?w:w.contextElement||m(e.elements.popper),a,c),k=l(A),C=X({reference:k,element:_,strategy:"absolute",placement:r}),O=te(Object.assign(Object.assign({},_),C)),T=u===L?O:k,$={top:M.top-T.top+b.top,bottom:T.bottom-M.bottom+b.bottom,left:M.left-T.left+b.left,right:T.right-M.right+b.right},P=e.modifiersData.offset;if(u===L&&P){var z=P[r];Object.keys($).forEach((function(e){var t=[x,E].indexOf(e)>=0?1:-1,n=[S,E].indexOf(e)>=0?"y":"x";$[e]+=z[n]*t}))}return $}function se(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?I:c,d=H(i),u=d?s?z:z.filter((function(e){return H(e)===d}
98)):D,p=u.filter((function(e){return l.indexOf(e)>=0}));0===p.length&&(p=u);var h=p.reduce((function(t,n){return t[n]=ae(e,{placement:n,boundary:r,rootBoundary:o,padding:a})[W(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function ce(e,t,n){return Math.max(e,Math.min(t,n))}function le(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function de(e){return[S,x,E,O].some((function(t){return e[t]>=0}))}var ue=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?q:r;return function(e,t,n){void 0===n&&(n=o);var r={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},q),o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,c={state:r,setOptions:function(n){d(),r.options=Object.assign(Object.assign(Object.assign({},o),r.options),n),r.scrollParents={reference:p(e)?w(e):e.contextElement?w(e.contextElement):[],popper:w(t)};var a=function(e){var t=B(e);return R.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,r.options.modifiers)));return r.orderedModifiers=a.filter((function(e){return e.enabled})),l(),c.update()},forceUpdate:function(){if(!s){var e=r.elements,t=e.reference,n=e.popper;if(F(t,n)){r.rects={reference:y(t,C(n),"fixed"===r.options.strategy),popper:A(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach((function(e){return r.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var o=r.orderedModifiers[i],a=o.fn,l=o.options,d=void 0===l?{}:l,u=o.name;"function"==typeof a&&(r=a({state:r,options:d,name:u,instance:c})||r)}else r.reset=!1,i=-1}}},update:j((function(){return new Promise((function(e){c.forceUpdate(),e(r)}))})),destroy:function(){d(),s=!0}};if(!F(e,t))return c;function l(){r.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var s=o({state:r,name:t,instance:c,options:i});a.push(s||function(){})}}))}function d(){a.forEach((function(e){return e()})),a=[]}return c.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,c=d(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach((function(e){e.addEventListener("scroll",n.update,V)})),s&&c.addEventListener("resize",n.update,V),function(){o&&l.forEach((function(e){e.removeEventListener("scroll",n.update,V)})),s&&c.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=X({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s={placement:W(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),G(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),G(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 3,510 bytes, line 98
98Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];h(r)&&f(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});h(i)&&f(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,a=I.reduce((function(e,n){return e[n]=function(e,t,n){var i=W(e),r=[O,S].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[O,x].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[i]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,d=n.boundary,u=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,v=t.options.placement,g=W(v),b=c||(g!==v&&f?function(e){if(W(e)===T)return[];var t=Q(e);return[Z(e),t,Z(t)]}(v):[Q(v)]),y=[v].concat(b).reduce((function(e,n){return e.concat(W(n)===T?se(t,{placement:n,boundary:d,rootBoundary:u,padding:l,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),A=t.rects.reference,_=t.rects.popper,w=new Map,M=!0,k=y[0],C=0;C<y.length;C++){var D=y[C],P=W(D),N=H(D)===$,L=[S,E].indexOf(P)>=0,z=L?"width":"height",I=ae(t,{placement:D,boundary:d,rootBoundary:u,altBoundary:p,padding:l}),R=L?N?x:O:N?E:S;A[z]>_[z]&&(R=Q(R));var B=Q(R),j=[];if(o&&j.push(I[P]<=0),s&&j.push(I[R]<=0,I[B]<=0),j.every((function(e){return e}))){k=D,M=!1;break}w.set(D,j)}if(M)for(var q=function(e){var t=y.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},F=f?3:1;F>0&&"break"!==q(F);F--);t.placement!==k&&(t.modifiersData[i]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,l=n.rootBoundary,d=n.altBoundary,u=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,v=ae(t,{boundary:c,rootBoundary:l,padding:u,altBoundary:d}),g=W(t.placement),b=H(t.placement),y=!b,_=U(g),w=function(e){return"x"===e?"y":"x"}(_),M=t.modifiersData.popperOffsets,k=t.rects.reference,T=t.rects.popper,D="function"==typeof m?m(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):m,P={x:0,y:0};if(M){if(o){var N="y"===_?S:O,L="y"===_?E:x,z="y"===_?"height":"width",I=M[_],R=M[_]+v[N],B=M[_]-v[L],j=h?-T[z]/2:0,q=b===$?k[z]:T[z],F=b===$?-T[z]:-k[z],V=t.elements.arrow,X=h&&
98V?A(V):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=Y[N],K=Y[L],Q=ce(0,k[z],X[z]),J=y?k[z]/2-j-Q-G-D:q-Q-G-D,Z=y?-k[z]/2+j+Q+K+D:F+Q+K+D,ee=t.elements.arrow&&C(t.elements.arrow),te=ee?"y"===_?ee.clientTop||0:ee.clientLeft||0:0,ne=t.modifiersData.offset?t.modifiersData.offset[t.placement][_]:0,ie=M[_]+J-ne-te,re=M[_]+Z-ne,oe=ce(h?Math.min(R,ie):R,I,h?Math.max(B,re):B);M[_]=oe,P[_]=oe-I}if(s){var se="x"===_?S:O,le="x"===_?E:x,de=M[w],ue=ce(de+v[se],de,de-v[le]);M[w]=ue,P[w]=ue-de}t.modifiersData[i]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=n.elements.arrow,o=n.modifiersData.popperOffsets,a=W(n.placement),s=U(a),c=[O,x].indexOf(a)>=0?"height":"width";if(r&&o){var l=n.modifiersData[i+"#persistent"].padding,d=A(r),u="y"===s?S:O,p="y"===s?E:x,h=n.rects.reference[c]+n.rects.reference[s]-o[s]-n.rects.popper[c],f=o[s]-n.rects.reference[s],m=C(r),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,g=h/2-f/2,b=l[u],y=v-d[c]-l[p],_=v/2-d[c]/2+g,w=ce(b,_,y),M=s;n.modifiersData[i]=((t={})[M]=w,t.centerOffset=w-_,t)}},effect:function(e){var t=e.state,n=e.options,i=e.name,r=n.element,o=void 0===r?"[data-popper-arrow]":r,a=n.padding,s=void 0===a?0:a;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&ee(t.elements.popper,o)&&(t.elements.arrow=o,t.modifiersData[i+"#persistent"]={padding:re("number"!=typeof s?s:oe(s,D))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,a=ae(t,{elementContext:"reference"}),s=ae(t,{altBoundary:!0}),c=le(a,i),l=le(s,r,o),d=de(c),u=de(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]}),pe=n("2fa3"),he=n("0733"),fe=n("9404"),me={name:"Popover",render(e){return e("div",{class:["vc-popover-content-wrapper",{"is-interactive":this.isInteractive}],ref:"popover"},[e("transition",{props:{name:this.transition,appear:!0},on:{beforeEnter:this.beforeEnter,afterEnter:this.afterEnter,beforeLeave:this.beforeLeave,afterLeave:this.afterLeave}},[this.isVisible&&e("div",{attrs:{tabindex:-1},class:["vc-popover-content","direction-"+this.direction,this.contentClass]},[this.content,e("span",{class:["vc-popover-caret","direction-"+this.direction,"align-"+this.alignment]})])])])},props:{id:{type:String,required:!0},contentClass:String},data:()=>({ref:null,opts:null,data:null,transition:"slide-fade",placement:"bottom",positionFixed:!1,modifiers:[],isInteractive:!1,isHovered:!1,isFocused:!1,showDelay:0,hideDelay:110,autoHide:!1,popperEl:null}),computed:{content(){var e=this;return Object(fe.k)(this.$scopedSlots.default)&&this.$scopedSlots.default({direction:this.direction,alignment:this.alignment,data:this.data,updateLayout:this.setupPopper,hide:function(t){return e.hide(t)}})||this.$slots.default},popperOptions(){return{placement:this.placement,strategy:this.positionFixed?"fixed":"absolute",modifiers:[{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:this.onPopperUpdate},...this.modifiers||[]],onFirstUpdate:this.onPopperUpdate}},isVisible(){return!(!this.ref||!this.content)},direction(){return this.placement&&this.placement.split("-")[0]||"bottom"}
vendor: 4,239 bytes, line 98
98,alignment(){const e="left"===this.direction||"right"===this.direction;let t=this.placement.split("-");return t=t.length>1?t[1]:"",["start","top","left"].includes(t)?e?"top":"left":["end","bottom","right"].includes(t)?e?"bottom":"right":e?"middle":"center"},state(){return this.$popovers[this.id]}},watch:{opts(e,t){t&&t.callback&&t.callback({...t,completed:!e,reason:e?"Overridden by action":null})}},mounted(){this.popoverEl=this.$refs.popover,this.addEvents()},beforeDestroy(){this.removeEvents()},methods:{addEvents(){Object(pe.k)(this.popoverEl,"click",this.onClick),Object(pe.k)(this.popoverEl,"mouseover",this.onMouseOver),Object(pe.k)(this.popoverEl,"mouseleave",this.onMouseLeave),Object(pe.k)(this.popoverEl,"focusin",this.onFocusIn),Object(pe.k)(this.popoverEl,"focusout",this.onFocusOut),Object(pe.k)(document,"keydown",this.onDocumentKeydown),this.removeDocHandler=Object(he.b)(document,this.onDocumentClick),Object(pe.k)(document,"show-popover",this.onDocumentShowPopover),Object(pe.k)(document,"hide-popover",this.onDocumentHidePopover),Object(pe.k)(document,"toggle-popover",this.onDocumentTogglePopover),Object(pe.k)(document,"update-popover",this.onDocumentUpdatePopover)},removeEvents(){Object(pe.j)(this.popoverEl,"click",this.onClick),Object(pe.j)(this.popoverEl,"mouseover",this.onMouseOver),Object(pe.j)(this.popoverEl,"mouseleave",this.onMouseLeave),Object(pe.j)(this.popoverEl,"focusin",this.onFocusIn),Object(pe.j)(this.popoverEl,"focusout",this.onFocusOut),Object(pe.j)(document,"keydown",this.onDocumentKeydown),this.removeDocHandler&&this.removeDocHandler(),Object(pe.j)(document,"show-popover",this.onDocumentShowPopover),Object(pe.j)(document,"hide-popover",this.onDocumentHidePopover),Object(pe.j)(document,"toggle-popover",this.onDocumentTogglePopover),Object(pe.j)(document,"update-popover",this.onDocumentUpdatePopover)},onClick(e){e.stopPropagation()},onMouseOver(){this.isHovered=!0,this.isInteractive&&this.show()},onMouseLeave(){this.isHovered=!1,!this.autoHide||this.isFocused||this.ref&&this.ref===document.activeElement||this.hide()},onFocusIn(){this.isFocused=!0,this.isInteractive&&this.show()},onFocusOut(e){e.relatedTarget&&Object(pe.e)(this.popoverEl,e.relatedTarget)||(this.isFocused=!1,!this.isHovered&&this.autoHide&&this.hide())},onDocumentClick(e){this.$refs.popover&&this.ref&&(Object(pe.e)(this.popoverEl,e.target)||Object(pe.e)(this.ref,e.target)||this.hide())},onDocumentKeydown(e){"Esc"!==e.key&&"Escape"!==e.key||this.hide()},onDocumentShowPopover({detail:e}){e.id&&e.id===this.id&&this.show(e)},onDocumentHidePopover({detail:e}){e.id&&e.id===this.id&&this.hide(e)},onDocumentTogglePopover({detail:e}){e.id&&e.id===this.id&&this.toggle(e)},onDocumentUpdatePopover({detail:e}){e.id&&e.id===this.id&&this.update(e)},show(e={}){var t=this;e.action="show";const n=e.ref||this.ref,i=e.showDelay>=0?e.showDelay:this.showDelay;if(!n)return void(e.callback&&e.callback({completed:!1,reason:"Invalid reference element provided"}));clearTimeout(this.timeout),this.opts=e;const r=function(){Object.assign(t,e),t.setupPopper(),t.opts=null};i>0?this.timeout=setTimeout((function(){return r()}),i):r()},hide(e={}){var t=this;e.action="hide";const n=e.ref||this.ref,i=e.hideDelay>=0?e.hideDelay:this.hideDelay;if(!this.ref||n!==this.ref)return void(e.callback&&e.callback({...e,completed:!1,reason:this.ref?"Invalid reference element provided":"Popover already hidden"}));const r=function(){t.ref=null,t.opts=null};clearTimeout(this.timeout),this.opts=e,i>0?this.timeout=setTimeout(r,i):r()},toggle(e={}){this.isVisible&&e.ref===this.ref?this.hide(e):this.show(e)},update(e={}){Object.assign(this,e),this.setupPopper()},setupPopper(){var e=this;this.$nextTick((function(){e.ref&&e.$refs.popover&&(e.popper&&e.popper.reference!==e.ref&&e.destroyPopper(),e.popper?e.popper.update():e.popper=ue(e.ref,e.popoverEl,e.popperOptions))}))},onPopperUpdate(e){e.placement?this.placement=e.placement:e.state&&(this.placement=e.state.placement)},beforeEnter(e){this.$emit("beforeShow",e)},afterEnter(e){this.$emit("afterShow",e)},beforeLeave(e){this.$emit("beforeHide",e)},afterLeave(e){this.destroyPopper(),this.$emit("afterHide",e)},destroyPopper(){this.popper&&(this.popper.destroy(),this.popper=null)}}};
98function ve(e,t,n,i,r,o,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=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)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}n("d99e");var ge=ve(me,void 0,void 0,!1,null,"05016e86",null).exports,be=n("51ec");const ye={inject:["sharedState"],mixins:[be.a],computed:{masks(){return this.sharedState.masks},theme(){return this.sharedState.theme},locale(){return this.sharedState.locale},dayPopoverId(){return this.sharedState.dayPopoverId}},methods:{format(e,t){return this.locale.format(e,t)},pageForDate(e){return this.locale.getDateParts(this.locale.normalizeDate(e))}}},Ae=["base","start","end","startEnd"],_e=["class","contentClass","style","contentStyle","color","fillMode"],we={color:"blue",isDark:!1,highlight:{base:{fillMode:"light"},start:{fillMode:"solid"},end:{fillMode:"solid"}},dot:{base:{fillMode:"solid"},start:{fillMode:"solid"},end:{fillMode:"solid"}},bar:{base:{fillMode:"solid"},start:{fillMode:"solid"},end:{fillMode:"solid"}},content:{base:{},start:{},end:{}}};class Me{constructor(e){Object.assign(this,we,e)}normalizeAttr({config:e,type:t}){let n=this.color,i={};const r=this[t];if(!0===e||Object(fe.n)(e))n=Object(fe.n)(e)?e:n,i={...r};else{if(!Object(fe.m)(e))return null;i=Object(fe.f)(e,Ae)?{...e}:{base:{...e},start:{...e},end:{...e}}}return Object(fe.b)(i,{start:i.startEnd,end:i.startEnd},r),Object(fe.w)(i).forEach((function([e,t]){let r=n;!0===t||Object(fe.n)(t)?(r=Object(fe.n)(t)?t:r,i[e]={color:r}):Object(fe.m)(t)&&(Object(fe.f)(t,_e)?i[e]={...t}:i[e]={}),Object(fe.e)(i,e+".color")||Object(fe.u)(i,e+".color",r)})),i}normalizeHighlight(e){var t=this;const n=this.normalizeAttr({config:e,type:"highlight"});return Object(fe.w)(n).forEach((function([e,n]){const i=Object(fe.b)(n,{isDark:t.isDark,color:t.color});n.style={...t.getHighlightBgStyle(i),...n.style},n.contentStyle={...t.getHighlightContentStyle(i),...n.contentStyle}})),n}getHighlightBgStyle({fillMode:e,color:t,isDark:n}){switch(e){case"outline":case"none":return{backgroundColor:n?"var(--gray-900)":"var(--white)",border:"2px solid",borderColor:n?`var(--${t}-200)`:`var(--${t}-700)`,borderRadius:"var(--rounded-full)"};case"light":return{backgroundColor:n?`var(--${t}-800)`:`var(--${t}-200)`,opacity:n?.75:1,borderRadius:"var(--rounded-full)"};case"solid":return{backgroundColor:n?`var(--${t}-500)`:`var(--${t}-600)`,borderRadius:"var(--rounded-full)"};default:return{borderRadius:"var(--rounded-full)"}}}getHighlightContentStyle({fillMode:e,color:t,isDark:n}){switch(e){case"outline":case"none":case"light":return{fontWeight:"var(--font-bold)",color:n?`var(--${t}-100)`:`var(--${t}-900)`};case"solid":return{fontWeight:"var(--font-bold)",color:"var(--white)"};default:return""}}bgAccentHigh({color:e,isDark:t}){return{backgroundColor:t?`var(--${e}-500)`:`var(--${e}-600)`}}contentAccent({color:e,isDark:t}){return e?{fontWeight:"var(--font-bold)",color:t?`var(--${e}-100)`:`var(--${e}-900)`}:null}normalizeDot(e){return this.normalizeNonHighlight("dot",e,this.bgAccentHigh)}normalizeBar(e){return this.normalizeNonHighlight("bar",e,this.bgAccentHigh)}normalizeContent(e){return this.normalizeNonHighlight("content",e,this.contentAccent)}normalizeNonHighlight(e,t,n){var i=this;const r=this.normalizeAttr({type:e,config:t});return Object(fe.w)(r).forEach((function([e,t]){Object(fe.b)(t,{isDark:i.isDark,color:i.color}),t.style={...n(t),...t.style}})),r}}var ke=n("29ae"),Ce=n("1315"),Se=n("22f3");const Ee=ye,xe={mixins:[be.a],props:{color:String,isDark:Boolean,firstDayOfWeek:Number,masks:Object,locale:[String,Object],timezone:String,minDate:null,maxDate:null,minDateExact:null,maxDateExact:null,disabledDates:null,availableDates:null,theme:null},computed:{$theme(){return this.theme instanceof Me?this.theme:new Me({color:this.passedProp("color","blue"),isDark:this.passedProp("isDark",!1)})},$locale(){if(this.locale instanceof ke.b)return this.locale;const e=Object(fe.m)(this.locale)?this.locale:{id:this.locale,firstDayOfWeek:this.firstDayOfWeek,masks:this.masks};return new ke.b(e,{locales:this.$locales,timezone:this.timezone})},disabledDates_(){const e=this.normalizeDates(this.disabledDates),{minDate:t,minDateExact:n,maxDate:i,maxDateExact:r}=this;if(n||t){const i=n?this.normalizeDate(n):this.normalizeDate(t,{time:"00:00:00"});e.push({start:null,end:new Date(i.getTime()-1e3)})}if(r||i){const t=r?this.normalizeDate(r):this.normalizeDate(i,{time:"23:59:59"});e.push({start:new Date(t.getTime()+1e3),end:null})}return e},availableDates_(){return this.normalizeDates(this.availableDates)},disabledAttribute(){return new Se.a({key:"disabled",dates:this.disabledDates_,excludeDates:this.availableDates_,excludeMode:"includes",order:100},this.$theme,this.$locale)}},created(){Object(Ce.a)(this.$defaults.screens)},methods:{formatDate(e,t){return this.$locale?this.$locale.format(e,t):""},parseDate(e,t){if(!this.$locale)return null;const n=this.$locale.parse(e,t);return Object(fe.j)(n)?n:null},normalizeDate(e,t){return this.$locale?this.$locale.normalizeDate(e,t):e},normalizeDates(e){return this.$locale.normalizeDates(e,{isFullDay:!0}
98)},pageForDate(e){return this.$locale.getDateParts(this.normalizeDate(e))},pageForThisMonth(){return this.pageForDate(new Date)}}},Oe={methods:{safeScopedSlot(e,t,n=null){return Object(fe.k)(this.$scopedSlots[e])?this.$scopedSlots[e](t):n}}};var Te={name:"PopoverRow",mixins:[Ee],props:{attribute:Object},computed:{indicator(){const{highlight:e,dot:t,bar:n,popover:i}=this.attribute;if(i&&i.hideIndicator)return null;if(e){const{color:t,isDark:n}=e.start;return{style:{...this.theme.bgAccentHigh({color:t,isDark:!n}),width:"10px",height:"5px",borderRadius:"3px"}}}if(t){const{color:e,isDark:n}=t.start;return{style:{...this.theme.bgAccentHigh({color:e,isDark:!n}),width:"5px",height:"5px",borderRadius:"50%"}}}if(n){const{color:e,isDark:t}=n.start;return{style:{...this.theme.bgAccentHigh({color:e,isDark:!t}),width:"10px",height:"3px"}}}return null}}},De=(n("d438"),ve(Te,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-day-popover-row"},[e.indicator?n("div",{staticClass:"vc-day-popover-row-indicator"},[n("span",{class:e.indicator.class,style:e.indicator.style})]):e._e(),n("div",{staticClass:"vc-day-popover-row-content"},[e._t("default",[e._v(e._s(e.attribute.popover?e.attribute.popover.label:"No content provided"))])],2)])}),[],!1,null,"eb5afd1a",null)).exports;const $e="26px",Pe={"left-arrow":{viewBox:"0 -1 16 34",path:"M11.196 10c0 0.143-0.071 0.304-0.179 0.411l-7.018 7.018 7.018 7.018c0.107 0.107 0.179 0.268 0.179 0.411s-0.071 0.304-0.179 0.411l-0.893 0.893c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-8.321-8.321c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l8.321-8.321c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l0.893 0.893c0.107 0.107 0.179 0.25 0.179 0.411z"},"right-arrow":{viewBox:"-5 -1 16 34",path:"M10.625 17.429c0 0.143-0.071 0.304-0.179 0.411l-8.321 8.321c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-0.893-0.893c-0.107-0.107-0.179-0.25-0.179-0.411 0-0.143 0.071-0.304 0.179-0.411l7.018-7.018-7.018-7.018c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l0.893-0.893c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l8.321 8.321c0.107 0.107 0.179 0.268 0.179 0.411z"}};var Ne={props:["name"],data:()=>({width:$e,height:$e,viewBox:"0 0 32 32",path:"",isBaseline:!1}),mounted(){this.updateIcon()},watch:{name(){this.updateIcon()}},methods:{updateIcon(){const e=Pe[this.name];e&&(this.width=e.width||$e,this.height=e.height||$e,this.viewBox=e.viewBox,this.path=e.path)}}},Le=(n("9010"),ve(Ne,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",e._g({staticClass:"vc-svg-icon",attrs:{width:e.width,height:e.height,viewBox:e.viewBox}},e.$listeners),[n("path",{attrs:{d:e.path}})])}),[],!1,null,"63f7b5ec",null)).exports,ze={name:"CalendarNav",components:{SvgIcon:Le},mixins:[Ee],props:{value:{type:Object,default:function(){return{month:0,year:0}}},validator:{type:Function,default:function(){return function(){return!0}}}},data:()=>({monthMode:!0,yearIndex:0,yearGroupIndex:0,onSpaceOrEnter:pe.l}),computed:{month(){return this.value&&this.value.month||0},year(){return this.value&&this.value.year||0},title(){return this.monthMode?this.yearIndex:`${this.firstYear} - ${this.lastYear}`},monthItems(){return this.getMonthItems(this.yearIndex)},yearItems(){return this.getYearItems(this.yearGroupIndex)},prevItemsEnabled(){return this.monthMode?this.prevMonthItemsEnabled:this.prevYearItemsEnabled},nextItemsEnabled(){return this.monthMode?this.nextMonthItemsEnabled:this.nextYearItemsEnabled},prevMonthItemsEnabled(){return this.getMonthItems(this.yearIndex-1).some((function(e){return!e.isDisabled}))},nextMonthItemsEnabled(){return this.getMonthItems(this.yearIndex+1).some((function(e){return!e.isDisabled}))},prevYearItemsEnabled(){return this.getYearItems(this.yearGroupIndex-1).some((function(e){return!e.isDisabled}))},nextYearItemsEnabled(){return this.getYearItems(this.yearGroupIndex+1).some((function(e){return!e.isDisabled}))},activeItems(){return this.monthMode?this.monthItems:this.yearItems},firstYear(){return Object(fe.g)(this.yearItems.map((function(e){return e.year})))},lastYear(){return Object(fe.p)(this.yearItems.map((function(e){return e.year})))}},watch:{year(){this.yearIndex=this.year},yearIndex(e){this.yearGroupIndex=this.getYearGroupIndex(e)}
98,value(){this.focusFirstItem()}},created(){this.yearIndex=this.year},mounted(){this.focusFirstItem()},methods:{focusFirstItem(){var e=this;this.$nextTick((function(){const t=e.$el.querySelector(".vc-nav-item:not(.is-disabled)");t&&t.focus()}))},getItemClasses({isActive:e,isCurrent:t,isDisabled:n}){const i=["vc-nav-item"];return e?i.push("is-active"):t&&i.push("is-current"),n&&i.push("is-disabled"),i},getYearGroupIndex:e=>Math.floor(e/12),getMonthItems(e){var t=this;const{month:n,year:i}=this.pageForDate(new Date);return this.locale.getMonthDates().map((function(r,o){const a=o+1;return{month:a,year:e,id:`${e}.${Object(pe.m)(a,2)}`,label:t.locale.format(r,t.masks.navMonths),ariaLabel:t.locale.format(r,"MMMM YYYY"),isActive:a===t.month&&e===t.year,isCurrent:a===n&&e===i,isDisabled:!t.validator({month:a,year:e}),click:function(){return t.monthClick(a,e)}}}))},getYearItems(e){var t=this;const{_:n,year:i}=this.pageForDate(new Date),r=12*e,o=r+12,a=[];for(let e=r;e<o;e+=1){let n=!1;for(let t=1;t<12&&(n=this.validator({month:t,year:e}),!n);t++);a.push({year:e,id:e,label:e,ariaLabel:e,isActive:e===this.year,isCurrent:e===i,isDisabled:!n,click:function(){return t.yearClick(e)}})}return a},monthClick(e,t){this.validator({month:e,year:t})&&this.$emit("input",{month:e,year:t})},yearClick(e){this.yearIndex=e,this.monthMode=!0,this.focusFirstItem()},toggleMode(){this.monthMode=!this.monthMode},movePrev(){this.prevItemsEnabled&&(this.monthMode&&this.movePrevYear(),this.movePrevYearGroup())},moveNext(){this.nextItemsEnabled&&(this.monthMode&&this.moveNextYear(),this.moveNextYearGroup())},movePrevYear(){this.yearIndex--},moveNextYear(){this.yearIndex++},movePrevYearGroup(){this.yearGroupIndex--},moveNextYearGroup(){this.yearGroupIndex++}}},Ie=(n("3c55"),ve(ze,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-nav-container"},[n("div",{staticClass:"vc-nav-header"},[n("span",{staticClass:"vc-nav-arrow is-left",class:{"is-disabled":!e.prevItemsEnabled},attrs:{role:"button",tabindex:e.prevItemsEnabled?0:void 0},on:{click:e.movePrev,keydown:function(t){return e.onSpaceOrEnter(t,e.movePrev)}}},[e._t("nav-left-button",[n("svg-icon",{attrs:{name:"left-arrow",width:"20px",height:"24px"}})])],2),n("span",{staticClass:"vc-nav-title vc-grid-focus",style:{whiteSpace:"nowrap"},attrs:{role:"button",tabindex:"0"},on:{click:e.toggleMode,keydown:function(t){return e.onSpaceOrEnter(t,e.toggleMode)}}},[e._v(" "+e._s(e.title)+" ")]),n("span",{staticClass:"vc-nav-arrow is-right",class:{"is-disabled":!e.nextItemsEnabled},attrs:{role:"button",tabindex:e.nextItemsEnabled?0:void 0},on:{click:e.moveNext,keydown:function(t){return e.onSpaceOrEnter(t,e.moveNext)}}},[e._t("nav-right-button",[n("svg-icon",{attrs:{name:"right-arrow",width:"20px",height:"24px"}})])],2)]),n("div",{staticClass:"vc-nav-items"},e._l(e.activeItems,(function(t){return n("span",{key:t.label,class:e.getItemClasses(t),attrs:{role:"button","data-id":t.id,"aria-label":t.ariaLabel,tabindex:t.isDisabled?void 0:0},on:{click:t.click,keydown:function(n){return e.onSpaceOrEnter(n,t.click)}}},[e._v(" "+e._s(t.label)+" ")])})),0)])}),[],!1,null,null,null)).exports;function Re(e){document&&document.dispatchEvent(new CustomEvent("show-popover",{detail:e}))}function Be(e){document&&document.dispatchEvent(new CustomEvent("hide-popover",{detail:e}))}function je(e){document&&document.dispatchEvent(new CustomEvent("toggle-popover",{detail:e}))}function qe(e){const{visibility:t}=e,n="click"===t,i="hover"===t,r="hover-focus"===t,o="focus"===t;e.autoHide=!n;let a=!1,s=!1;return{click(t){n&&(e.ref=t.target,je(e),t.stopPropagation())},mousemove(t){e.ref=t.currentTarget,a||(a=!0,(i||r)&&Re(e))},mouseleave(t){e.ref=t.target,a&&(a=!1,(i||r&&!s)&&Be(e))},focusin(t){e.ref=t.currentTarget,s||(s=!0,(o||r)&&Re(e))},focusout(t){e.ref=t.currentTarget,s&&!Object(pe.e)(e.ref,t.relatedTarget)&&(s=!1,(o||r&&!a)&&Be(e))}}}var Fe={name:"CalendarDay",mixins:[Ee,Oe],render(e){var t=this;return e("div",{class:["vc-day",...this.day.classes,{"vc-day-box-center-center":!this.$scopedSlots["day-content"]},{"is-not-in-month":!this.inMonth}]}
vendor: 8,229 bytes, line 98
98,[t.hasBackgrounds&&e("div",{class:"vc-highlights vc-day-layer"},t.backgrounds.map((function({key:t,wrapperClass:n,class:i,style:r}){return e("div",{key:t,class:n},[e("div",{class:i,style:r})])}))),t.safeScopedSlot("day-content",{day:t.day,attributes:t.day.attributes,attributesMap:t.day.attributesMap,dayProps:t.dayContentProps,dayEvents:t.dayContentEvents})||e("span",{class:t.dayContentClass,style:t.dayContentStyle,attrs:{...t.dayContentProps},on:t.dayContentEvents,ref:"content"},[t.day.label]),t.hasDots&&e("div",{class:"vc-day-layer vc-day-box-center-bottom"},[e("div",{class:"vc-dots"},t.dots.map((function({key:t,class:n,style:i}){return e("span",{key:t,class:n,style:i})})))]),t.hasBars&&e("div",{class:"vc-day-layer vc-day-box-center-bottom"},[e("div",{class:"vc-bars"},t.bars.map((function({key:t,class:n,style:i}){return e("span",{key:t,class:n,style:i})})))])])},inject:["sharedState"],props:{day:{type:Object,required:!0}},data:()=>({glyphs:{},dayContentEvents:{}}),computed:{label(){return this.day.label},startTime(){return this.day.range.start.getTime()},endTime(){return this.day.range.end.getTime()},inMonth(){return this.day.inMonth},isDisabled(){return this.day.isDisabled},backgrounds(){return this.glyphs.backgrounds},hasBackgrounds(){return!!Object(pe.b)(this.backgrounds)},content(){return this.glyphs.content},dots(){return this.glyphs.dots},hasDots(){return!!Object(pe.b)(this.dots)},bars(){return this.glyphs.bars},hasBars(){return!!Object(pe.b)(this.bars)},popovers(){return this.glyphs.popovers},hasPopovers(){return!!Object(pe.b)(this.popovers)},dayContentClass(){return["vc-day-content vc-focusable",{"is-disabled":this.isDisabled},Object(fe.d)(Object(fe.p)(this.content),"class")||""]},dayContentStyle(){return Object(fe.d)(Object(fe.p)(this.content),"style")},dayContentProps(){let e;return this.day.isFocusable?e="0":this.day.inMonth&&(e="-1"),{tabindex:e,"aria-label":this.day.ariaLabel,"aria-disabled":this.day.isDisabled?"true":"false",role:"button"}},dayEvent(){return{...this.day,el:this.$refs.content,popovers:this.popovers}}},watch:{theme(){this.refresh()},popovers(){this.refreshPopovers()}},mounted(){this.refreshPopovers()},methods:{getDayEvent(e){return{...this.dayEvent,event:e}},click(e){this.$emit("dayclick",this.getDayEvent(e))},mouseenter(e){this.$emit("daymouseenter",this.getDayEvent(e))},mouseleave(e){this.$emit("daymouseleave",this.getDayEvent(e))},focusin(e){this.$emit("dayfocusin",this.getDayEvent(e))},focusout(e){this.$emit("dayfocusout",this.getDayEvent(e))},keydown(e){this.$emit("daykeydown",this.getDayEvent(e))},refresh(){var e=this;if(!this.day.refresh)return;this.day.refresh=!1;const t={backgrounds:[],dots:[],bars:[],popovers:[],content:[]};this.$set(this.day,"attributes",Object.values(this.day.attributesMap||{}).sort((function(e,t){return e.order-t.order}))),this.day.attributes.forEach((function(n){const{targetDate:i}=n,{isDate:r,isComplex:o,startTime:a,endTime:s}=i,c=e.startTime<=a,l=e.endTime>=s,d={isDate:r,isComplex:o,onStart:c,onEnd:l,onStartAndEnd:c&&l,onStartOrEnd:c||l};e.processHighlight(n,d,t),e.processNonHighlight(n,"content",d,t.content),e.processNonHighlight(n,"dot",d,t.dots),e.processNonHighlight(n,"bar",d,t.bars),e.processPopover(n,t)})),this.glyphs=t},processHighlight({key:e,highlight:t},{isDate:n,isComplex:i,onStart:r,onEnd:o,onStartAndEnd:a},{backgrounds:s,content:c}){if(!t)return;const{base:l,start:d,end:u}=t;n||i||a?(s.push({key:e,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",d.class],style:d.style}),c.push({key:e+"-content",class:d.contentClass,style:d.contentStyle})):r?(s.push({key:e+"-base",wrapperClass:"vc-day-layer vc-day-box-right-center",class:["vc-highlight vc-highlight-base-start",l.class],style:l.style}),s.push({key:e,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",d.class],style:d.style}),c.push({key:e+"-content",class:d.contentClass,style:d.contentStyle})):o?(s.push({key:e+"-base",wrapperClass:"vc-day-layer vc-day-box-left-center",class:["vc-highlight vc-highlight-base-end",l.class],style:l.style}),s.push({key:e,wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight",u.class],style:u.style}),c.push({key:e+"-content",class:u.contentClass,style:u.contentStyle})):(s.push({key:e+"-middle",wrapperClass:"vc-day-layer vc-day-box-center-center",class:["vc-highlight vc-highlight-base-middle",l.class],style:l.style}),c.push({key:e+"-content",class:l.contentClass,style:l.contentStyle}))},processNonHighlight(e,t,{isDate:n,onStart:i,onEnd:r},o){if(!e[t])return;const{key:a}=e,s="vc-"+t,{base:c,start:l,end:d}=e[t];n||i?o.push({key:a,class:[s,l.class],style:l.style}):r?o.push({key:a,class:[s,d.class],style:d.style}):o.push({key:a,class:[s,c.class],style:c.style})},processPopover(e,{popovers:t}){const{key:n,customData:i,popover:r}=e;if(!r)return;const o=Object(fe.b)({key:n,customData:i,attribute:e},{...r},{visibility:r.label?"hover":"click",placement:"bottom",isInteractive:!r.label});t.splice(0,0,o)},refreshPopovers(){let e={};Object(pe.b)(this.popovers)&&(e=qe(Object(fe.b)({id:this.dayPopoverId,data:this.day},...this.popovers))),this.dayContentEvents=Object(pe.h)({click:this.click,mouseenter:this.mouseenter,mouseleave:this.mouseleave,focusin:this.focusin,focusout:this.focusout,keydown:this.keydown},e),function(e){document&&document.dispatchEvent(new CustomEvent("update-popover",{detail:e}))}({id:this.dayPopoverId,data:this.day})}}},Ve=(n("1f64"),ve(Fe,void 0,void 0,!1,null,"4420d078",null)).exports,We={name:"CalendarPane",mixins:[Ee,Oe],render(e){var t=this;const n=this.safeScopedSlot("header",this.page)||e("div",{class:"vc-header align-"+this.titlePosition},[e("div",{class:"vc-title",on:this.navPopoverEvents},[this.safeScopedSlot("header-title",this.page,this.page.title)])]),i=this.weekdayLabels.map((function(t,n){return e("div",{key:n+1,class:"vc-weekday"},[t])})),r=this.showWeeknumbers_.startsWith("left"),o=this.showWeeknumbers_.startsWith("right");r?i.unshift(e("div",{class:"vc-weekday"})):o&&i.push(e("div",{class:"vc-weekday"}));const a=function(n){return e("div",{class:["vc-weeknumber"]},[e("span",{class:["vc-weeknumber-content","is-"+t.showWeeknumbers_],on:{click:function(e){t.$emit("weeknumberclick",{weeknumber:n,days:t.page.days.filter((function(e){return e[t.weeknumberKey]===n})),event:e})}}},[n])])},s=[],{daysInWeek:c}=this.locale;this.page.days.forEach((function(n,i){const l=i%c;(r&&0===l||o&&l===c)&&s.push(a(n[t.weeknumberKey])),s.push(e(Ve,{attrs:{day:n},on:{...t.$listeners},scopedSlots:t.$scopedSlots,key:n.id,ref:"days",refInFor:!0})),o&&l===c-1&&s.push(a(n[t.weeknumberKey]))}));const l=e("div",{class:{"vc-weeks":!0,"vc-show-weeknumbers":this.showWeeknumbers_,"is-left":r,"is-right":o}},[i,s]);return e("div",{class:["vc-pane","row-from-end-"+this.rowFromEnd,"column-from-end-"+this.columnFromEnd],ref:"pane"},[n,l])},inheritAttrs:!1,props:{page:Object,position:Number,row:Number,rowFromEnd:Number,column:Number,columnFromEnd:Number,titlePosition:String,navVisibility:String,showWeeknumbers:[Boolean,String],showIsoWeeknumbers:[Boolean,String]},computed:{weeknumberKey(){return this.showWeeknumbers?"weeknumber":"isoWeeknumber"},showWeeknumbers_(){const e=this.showWeeknumbers||this.showIsoWeeknumbers;return null==e?"":Object(fe.i)(e)?e?"left":"":e.startsWith("right")?this.columnFromEnd>1?"right":e:this.column>1?"left":e},navVisibility_(){return this.propOrDefault("navVisibility","navVisibility")},navPlacement(){switch(this.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}},navPopoverEvents(){const{sharedState:e,navVisibility_:t,navPlacement:n,page:i,position:r}=this;return qe({id:e.navPopoverId,visibility:t,placement:n,modifiers:[{name:"flip",options:{fallbackPlacements:["bottom"]}}],data:{page:i,position:r},isInteractive:!0})},weekdayLabels(){var e=this;return this.locale.getWeekdayDates().map((function(t){return e.format(t,e.masks.weekdays)}))}},methods:{refresh(){this.$refs.days.forEach((function(e){return e.refresh()}))}}},He=(n("fccf"),n("4889"),ve(We,void 0,void 0,!1,null,"74ad501d",null)).exports,Ue={name:"CustomTransition",render(e){return e("transition",{props:{name:this.name_,appear:this.appear}
98,on:{beforeEnter:this.beforeEnter,afterEnter:this.afterEnter}},[this.$slots.default])},props:{name:String,appear:Boolean},computed:{name_(){return this.name||"none"}},methods:{beforeEnter(e){this.$emit("beforeEnter",e),this.$emit("beforeTransition",e)},afterEnter(e){this.$emit("afterEnter",e),this.$emit("afterTransition",e)}}},Xe=(n("2285"),ve(Ue,void 0,void 0,!1,null,"5be4b00c",null)).exports,Ye=n("9349"),Ge=(n("3ee2"),{name:"Calendar",render(e){var t=this;const n=this.pages.map((function(n,i){const r=i+1,o=Math.ceil((i+1)/t.columns),a=t.rows-o+1,s=r%t.columns||t.columns,c=t.columns-s+1;return e(He,{attrs:{...t.$attrs,attributes:t.store},props:{page:n,position:r,row:o,rowFromEnd:a,column:s,columnFromEnd:c,titlePosition:t.titlePosition_},on:{...t.$listeners,dayfocusin:function(e){t.lastFocusedDay=e,t.$emit("dayfocusin",e)},dayfocusout:function(e){t.lastFocusedDay=null,t.$emit("dayfocusout",e)}},scopedSlots:t.$scopedSlots,key:n.key,ref:"pages",refInFor:!0})})),i=function(n){const i=function(){return t.move(n?-t.step_:t.step_)},r=n?!t.canMovePrev:!t.canMoveNext;return e("div",{class:["vc-arrow","is-"+(n?"left":"right"),{"is-disabled":r}],attrs:{role:"button"},on:{click:i,keydown:function(e){return Object(pe.l)(e,i)}}},[(n?t.safeScopedSlot("header-left-button",{click:i}):t.safeScopedSlot("header-right-button",{click:i}))||e(Le,{props:{name:n?"left-arrow":"right-arrow"}})])};return e("div",{attrs:{"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year"},class:["vc-container","vc-"+this.$theme.color,{"vc-is-expanded":this.isExpanded,"vc-is-dark":this.$theme.isDark}],on:{keydown:this.handleKeydown,mouseup:function(e){return e.preventDefault()}},ref:"container"},[e(ge,{props:{id:t.sharedState.navPopoverId,contentClass:"vc-nav-popover-container"},ref:"navPopover",scopedSlots:{default:function({data:n}){const{position:i,page:r}=n;return e(Ie,{props:{value:r,position:i,validator:function(e){return t.canMove(e,{position:i})}},on:{input:function(e){return t.move(e,{position:i})}},scopedSlots:t.$scopedSlots})}}}),e("div",{class:["vc-pane-container",{"in-transition":this.inTransition}]},[e(Xe,{props:{name:this.transitionName},on:{beforeEnter:function(){t.inTransition=!0},afterEnter:function(){t.inTransition=!1}}},[e("div",{class:"vc-pane-layout",style:{gridTemplateColumns:`repeat(${this.columns}, 1fr)`},attrs:{...this.$attrs},key:Object(pe.b)(this.pages)?this.pages[0].key:""},n)]),e("div",{class:["vc-arrows-container title-"+this.titlePosition_]},[i(!0),i(!1)]),this.$scopedSlots.footer&&this.$scopedSlots.footer()]),e(ge,{props:{id:t.sharedState.dayPopoverId,contentClass:"vc-day-popover-container"},scopedSlots:{default:function({data:n,updateLayout:i,hide:r}){const o=Object.values(n.attributes).filter((function(e){return e.popover})),a=t.$locale.masks,s=t.formatDate,c=s(n.date,a.dayPopover);return t.safeScopedSlot("day-popover",{day:n,attributes:o,masks:a,format:s,dayTitle:c,updateLayout:i,hide:r})||e("div",[a.dayPopover&&e("div",{class:["vc-day-popover-header"]},[c]),o.map((function(t){return e(De,{key:t.key,props:{attribute:t}})}))])}}})])},mixins:[xe,Oe],provide(){return{sharedState:this.sharedState}},props:{rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:String,isExpanded:Boolean,fromDate:Date,toDate:Date,fromPage:Object,toPage:Object,minPage:Object,maxPage:Object,transition:String,attributes:[Object,Array],trimWeeks:Boolean,disablePageSwipe:Boolean},data:()=>({pages:[],store:null,lastFocusedDay:null,focusableDay:(new Date).getDate(),transitionName:"",inTransition:!1,sharedState:{navPopoverId:Object(pe.c)(),dayPopoverId:Object(pe.c)(),theme:{},masks:{},locale:{}}}
98),computed:{titlePosition_(){return this.propOrDefault("titlePosition","titlePosition")},firstPage(){return Object(fe.g)(this.pages)},lastPage(){return Object(fe.p)(this.pages)},minPage_(){return this.minPage||this.pageForDate(this.minDate)},maxPage_(){return this.maxPage||this.pageForDate(this.maxDate)},count(){return this.rows*this.columns},step_(){return this.step||this.count},canMovePrev(){return this.canMove(-this.step_)},canMoveNext(){return this.canMove(this.step_)}},watch:{$locale(){this.refreshLocale(),this.refreshPages({page:this.firstPage,ignoreCache:!0}),this.initStore()},$theme(){this.refreshTheme(),this.initStore()},fromDate(){this.refreshPages()},fromPage(e){const t=this.pages&&this.pages[0];Object(pe.q)(e,t)||this.refreshPages()},toPage(e){const t=this.pages&&this.pages[this.pages.length-1];Object(pe.q)(e,t)||this.refreshPages()},count(){this.refreshPages()},attributes:{handler(e){const{adds:t,deletes:n}=this.store.refresh(e);this.refreshAttrs(this.pages,t,n)},deep:!0},pages(e){this.refreshAttrs(e,this.store.list,null,!0)},disabledAttribute(){this.refreshDisabledDays()},lastFocusedDay(e){e&&(this.focusableDay=e.day,this.refreshFocusableDays())},inTransition(e){e?this.$emit("transition-start"):(this.$emit("transition-end"),this.transitionPromise&&(this.transitionPromise.resolve(!0),this.transitionPromise=null))}},created(){this.refreshLocale(),this.refreshTheme(),this.initStore(),this.refreshPages()},mounted(){var e=this;if(!this.disablePageSwipe){const t=Object(he.a)(this.$refs.container,(function({toLeft:t,toRight:n}){t?e.moveNext():n&&e.movePrev()}),this.$defaults.touch);this.$once("beforeDestroy",(function(){return t()}))}},methods:{refreshLocale(){this.sharedState.locale=this.$locale,this.sharedState.masks=this.$locale.masks},refreshTheme(){this.sharedState.theme=this.$theme},canMove(e,t={}){var n=this;const i=this.$locale.toPage(e,this.firstPage);let{position:r}=t;if(Object(fe.l)(e)&&(r=1),!i)return Promise.reject(new Error("Invalid argument provided: "+e));if(!r)if(Object(pe.o)(i,this.firstPage))r=-1;else{if(!Object(pe.n)(i,this.lastPage))return Promise.resolve(!0);r=1}return Object.assign(t,this.getTargetPageRange(i,{position:r,force:!0})),Object(pe.s)(t.fromPage,t.toPage).some((function(e){return Object(pe.p)(e,n.minPage_,n.maxPage_)}))},movePrev(e){return this.move(-this.step_,e)},moveNext(e){return this.move(this.step_,e)},move(e,t={}){const n=this.canMove(e,t);return t.force||n?(this.$refs.navPopover.hide({hideDelay:0}),t.fromPage&&!Object(pe.q)(t.fromPage,this.firstPage)?this.refreshPages({...t,page:t.fromPage,position:1,force:!0}):Promise.resolve(!0)):Promise.reject(new Error("Move target is disabled: "+JSON.stringify(t)))},focusDate(e,t={}){var n=this;return this.move(e,t).then((function(){const t=n.$el.querySelector(`.id-${n.$locale.getDayId(e)}.in-month .vc-focusable`);return t?(t.focus(),Promise.resolve(!0)):Promise.resolve(!1)}))},showPageRange(e,t){let n,i;if(Object(fe.j)(e))n=this.pageForDate(e);else{if(!Object(fe.m)(e))return Promise.reject(new Error("Invalid page range provided."));{const{month:t,year:r}=e,{from:o,to:a}=e;Object(fe.l)(t)&&Object(fe.l)(r)?n=e:(o||a)&&(n=Object(fe.j)(o)?this.pageForDate(o):o,i=Object(fe.j)(a)?this.pageForDate(a):a)}}const r=this.lastPage;let o=n;return Object(pe.n)(i,r)&&(o=Object(pe.a)(i,-(this.pages.length-1))),Object(pe.o)(o,n)&&(o=n),this.refreshPages({...t,page:o})},getTargetPageRange(e,{position:t,force:n}={}){let i=null,r=null;if(Object(pe.r)(e)){let n=0;t=+t,isNaN(t)||(n=t>0?1-t:-(this.count+t)),i=Object(pe.a)(e,n)}else i=this.getDefaultInitialPage();return r=Object(pe.a)(i,this.count-1),n||(Object(pe.o)(i,this.minPage_)?i=this.minPage_:Object(pe.n)(r,this.maxPage_)&&(i=Object(pe.a)(this.maxPage_,1-this.count)),r=Object(pe.a)(i,this.count-1)),{fromPage:i,toPage:r}},getDefaultInitialPage(){let e=this.fromPage||this.pageForDate(this.fromDate);if(!Object(pe.r)(e)){const t=this.toPage||this.pageForDate(this.toPage);Object(pe.r)(t)&&(e=Object(pe.a)(t,1-this.count))}return Object(pe.r)(e)||(e=this.getPageForAttributes()),Object(pe.r)(e)||(e=this.pageForThisMonth()),e},refreshPages({page:e,position:t=1,force:n,transition:i,ignoreCache:r}={}){var o=this;return new Promise((function(a,s){const{fromPage:c,toPage:l}=o.getTargetPageRange(e,{position:t,force:n}),d=[];for(let e=0;e<o.count;e++)d.push(o.buildPage(Object(pe.a)(c,e),r));o.refreshDisabledDays(d),o.refreshFocusableDays(d),o.transitionName=o.getPageTransition(o.pages[0],d[0],i),o.pages=d,o.$emit("update:from-page",c),o.$emit("update:to-page",l),o.transitionName&&"none"!==o.transitionName?o.transitionPromise={resolve:a,reject:s}:a(!0)}))},refreshDisabledDays(e){var t=this;this.getPageDays(e).forEach((function(e){e.isDisabled=!!t.disabledAttribute&&t.disabledAttribute.intersectsDay(e)}))},refreshFocusableDays(e){var t=this;this.getPageDays(e).forEach((function(e){e.isFocusable=e.inMonth&&e.day===t.focusableDay}))},getPageDays(e=this.pages){return e.reduce((function(e,t){return e.concat(t.days)}),[])},getPageTransition(e,t,n=this.transition){if("none"===n)return n;if("fade"===n||!n&&this.count>1||!Object(pe.r)(e)||!Object(pe.r)(t))return"fade";const i=Object(pe.o)(t,e);return"slide-v"===n?i?"slide-down":"slide-up":i?"slide-right":"slide-left"},getPageForAttributes(){let e=null;const t=this.store.pinAttr;if(t&&t.hasDates){let[n]=t.dates;n=n.start||n.date,e=this.pageForDate(n)}return e},buildPage({month:e,year:t},n){var i=this;const r=`${t.toString()}-${e.toString()}`;let o=this.pages.find((function(e){return e.key===r}));if(!o||n){const n=new Date(t,e-1,15),a=this.$locale.getMonthComps(e,t),s=this.$locale.getPrevMonthComps(e,t),c=this.$locale.getNextMonthComps(e,t);
98o={key:r,month:e,year:t,weeks:this.trimWeeks?a.weeks:6,title:this.$locale.format(n,this.$locale.masks.title),shortMonthLabel:this.$locale.format(n,"MMM"),monthLabel:this.$locale.format(n,"MMMM"),shortYearLabel:t.toString().substring(2),yearLabel:t.toString(),monthComps:a,prevMonthComps:s,nextMonthComps:c,canMove:function(e){return i.canMove(e)},move:function(e){return i.move(e)},moveThisMonth:function(){return i.moveThisMonth()},movePrevMonth:function(){return i.move(s)},moveNextMonth:function(){return i.move(c)},refresh:!0},o.days=this.$locale.getCalendarDays(o)}return o},initStore(){this.store=new Ye.a(this.$theme,this.$locale,this.attributes),this.refreshAttrs(this.pages,this.store.list,[],!0)},refreshAttrs(e=[],t=[],n=[],i){var r=this;Object(pe.b)(e)&&(e.forEach((function(e){e.days.forEach((function(e){let r={};i?e.refresh=!0:Object(fe.f)(e.attributesMap,n)?(r=Object(fe.s)(e.attributesMap,n),e.refresh=!0):r=e.attributesMap||{},t.forEach((function(t){const n=t.intersectsDay(e);if(n){const i={...t,targetDate:n};r[t.key]=i,e.refresh=!0}})),e.refresh&&(e.attributesMap=r)}))})),this.$nextTick((function(){r.$refs.pages.forEach((function(e){return e.refresh()}))})))},handleKeydown(e){const t=this.lastFocusedDay;null!=t&&(t.event=e,this.handleDayKeydown(t))},handleDayKeydown(e){const{dateFromTime:t,event:n}=e,r=t(12);let o=null;switch(n.key){case"ArrowLeft":o=Object(i.a)(r,-1);break;case"ArrowRight":o=Object(i.a)(r,1);break;case"ArrowUp":o=Object(i.a)(r,-7);break;case"ArrowDown":o=Object(i.a)(r,7);break;case"Home":o=Object(i.a)(r,1-e.weekdayPosition);break;case"End":o=Object(i.a)(r,e.weekdayPositionFromEnd);break;case"PageUp":o=n.altKey?c(r,-1):s(r,-1);break;case"PageDown":o=n.altKey?c(r,1):s(r,1)}o&&(n.preventDefault(),this.focusDate(o).catch((function(){})))}}}),Ke=(n("de5e"),ve(Ge,void 0,void 0,!1,null,null,null)).exports,Qe={inheritAttrs:!1,props:{options:Array}},Je={name:"TimePicker",components:{TimeSelect:(n("4f46"),ve(Qe,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-select"},[n("select",e._b({on:{change:function(t){return e.$emit("input",t.target.value)}}},"select",e.$attrs,!1),e._l(e.options,(function(t){return n("option",{key:t.value,attrs:{disabled:t.disabled},domProps:{value:t.value}},[e._v(e._s(t.label))])})),0),n("div",{staticClass:"vc-select-arrow"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})])])])}),[],!1,null,"14bdabaf",null)).exports},props:{value:{type:Object,required:!0},locale:{type:Object,required:!0},theme:{type:Object,required:!0},is24hr:{type:Boolean,default:!0},minuteIncrement:{type:Number,default:1},showBorder:Boolean,isDisabled:Boolean},data:()=>({hours:0,minutes:0,isAM:!0}),computed:{date(){let e=this.locale.normalizeDate(this.value);return 24===this.value.hours&&(e=new Date(e.getTime()-1)),e},hourOptions(){return this.is24hr?[{value:0,label:"00"},{value:1,label:"01"},{value:2,label:"02"},{value:3,label:"03"},{value:4,label:"04"},{value:5,label:"05"},{value:6,label:"06"},{value:7,label:"07"},{value:8,label:"08"},{value:9,label:"09"},{value:10,label:"10"},{value:11,label:"11"},{value:12,label:"12"},{value:13,label:"13"},{value:14,label:"14"},{value:15,label:"15"},{value:16,label:"16"},{value:17,label:"17"},{value:18,label:"18"},{value:19,label:"19"},{value:20,label:"20"},{value:21,label:"21"},{value:22,label:"22"},{value:23,label:"23"}]:[{value:0,label:"12"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"}]},minuteOptions(){const e=[];let t=0,n=!1;for(;t<=59;)e.push({value:t,label:Object(pe.m)(t,2)}),n=n||t===this.minutes,t+=this.minuteIncrement,!n&&t>this.minutes&&(n=!0,e.push({value:this.minutes,label:Object(pe.m)(this.minutes,2),disabled:!0}));return e}},watch:{value(){this.setup()},hours(){this.updateValue()},minutes(){this.updateValue()}
98,isAM(){this.updateValue()}},created(){this.setup()},methods:{protected(e){var t=this;this.busy||(this.busy=!0,e(),this.$nextTick((function(){return t.busy=!1})))},setup(){var e=this;this.protected((function(){let{hours:t}=e.value;24===t&&(t=0);let n=!0;!e.is24hr&&t>=12&&(t-=12,n=!1),e.hours=t,e.minutes=e.value.minutes,e.isAM=n}))},updateValue(){var e=this;this.protected((function(){let t=e.hours;e.is24hr||e.isAM||(t+=12),e.$emit("input",{...e.value,hours:t,minutes:e.minutes,seconds:0,milliseconds:0})}))}}},Ze=(n("4440"),ve(Je,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-time-picker",class:[{"vc-disabled":e.isDisabled,"vc-bordered":e.showBorder}]},[n("div",[n("svg",{staticClass:"vc-time-icon",attrs:{fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),n("div",{staticClass:"vc-date-time"},[e.date?n("div",{staticClass:"vc-date"},[n("span",{staticClass:"vc-weekday"},[e._v(" "+e._s(e.locale.format(e.date,"WWW"))+" ")]),n("span",{staticClass:"vc-month"},[e._v(" "+e._s(e.locale.format(e.date,"MMM"))+" ")]),n("span",{staticClass:"vc-day"},[e._v(" "+e._s(e.locale.format(e.date,"D"))+" ")]),n("span",{staticClass:"vc-year"},[e._v(" "+e._s(e.locale.format(e.date,"YYYY"))+" ")])]):e._e(),n("div",{staticClass:"vc-time"},[n("time-select",{attrs:{options:e.hourOptions},model:{value:e.hours,callback:function(t){e.hours=e._n(t)},expression:"hours"}}),n("span",{staticStyle:{margin:"0 4px"}},[e._v(":")]),n("time-select",{attrs:{options:e.minuteOptions},model:{value:e.minutes,callback:function(t){e.minutes=e._n(t)},expression:"minutes"}}),e.is24hr?e._e():n("div",{staticClass:"vc-am-pm",class:{"vc-disabled":!(e.hours>=0)}},[n("button",{class:{active:e.isAM},attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isAM=!0}}},[e._v(" AM ")]),n("button",{class:{active:!e.isAM},attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isAM=!1}}},[e._v(" PM ")])])],1)])])}),[],!1,null,"021f332c",null)).exports;const et={type:"auto",mask:"iso",timeAdjust:""},tt={...et},nt={...et},it="date",rt="datetime",ot="time",at=0,st=1,ct=2,lt=3;var dt=ve({name:"DatePicker",render(e){var t=this;const n=function(){if(!t.dateParts)return null;const n=t.isRange?t.dateParts:[t.dateParts[0]];return e("div",[...n.map((function(n,i){return e(Ze,{props:{value:n,locale:t.$locale,theme:t.$theme,is24hr:t.is24hr,minuteIncrement:t.minuteIncrement,showBorder:!t.isTime,isDisabled:t.isDateTime&&!n.isValid||t.isDragging},on:{input:function(e){return t.onTimeInput(e,0===i)}}})})),t.$scopedSlots.footer&&t.$scopedSlots.footer()])},i=function(){return t.isTime?e("div",{class:["vc-container","vc-"+t.$theme.color,{"vc-is-dark":t.$theme.isDark}]},[n()]):e(Ke,{attrs:{...t.$attrs,attributes:t.attributes_,theme:t.$theme,locale:t.$locale},props:{minDate:t.minDateExact||t.minDate,maxDate:t.maxDateExact||t.maxDate,disabledDates:t.disabledDates,availableDates:t.availableDates},on:{...t.$listeners,dayclick:t.onDayClick,daykeydown:t.onDayKeydown,daymouseenter:t.onDayMouseEnter},scopedSlots:{...t.$scopedSlots,footer:t.isDateTime?n:t.$scopedSlots.footer},ref:"calendar"})};return this.$scopedSlots.default&&e("span",[this.$scopedSlots.default(this.slotArgs),e(ge,{props:{id:this.datePickerPopoverId,placement:"bottom-start",contentClass:"vc-container"+(this.isDark?" vc-is-dark":"")},on:{beforeShow:function(e){return t.$emit("popoverWillShow",e)},afterShow:function(e){return t.$emit("popoverDidShow",e)},beforeHide:function(e){return t.$emit("popoverWillHide",e)},afterHide:function(e){return t.$emit("popoverDidHide",e)}},scopedSlots:{default:()=>i()},ref:"popover"})])||i()},mixins:[xe],props:{mode:{type:String,default:it},value:{type:null,required:!0},modelConfig:{type:Object,default:function(){return{...et}}},is24hr:Boolean,minuteIncrement:Number,isRequired:Boolean,isRange:Boolean,updateOnInput:Boolean,inputDebounce:Number,popover:{type:Object,default:function(){return{}}},dragAttribute:Object,selectAttribute:Object,attributes:Array},data:()=>({value_:null,dateParts:null,activeDate:"",dragValue:null,inputValues:["",""],updateTimeout:null,wat
98chValue:!0,datePickerPopoverId:Object(pe.c)()}),computed:{updateOnInput_(){return this.propOrDefault("updateOnInput","datePicker.updateOnInput")},inputDebounce_(){return this.propOrDefault("inputDebounce","datePicker.inputDebounce")},isDate(){return this.mode.toLowerCase()===it},isDateTime(){return this.mode.toLowerCase()===rt},isTime(){return this.mode.toLowerCase()===ot},isDragging(){return!!this.dragValue},modelConfig_(){return this.isRange?{start:{...tt,...this.modelConfig.start||this.modelConfig},end:{...nt,...this.modelConfig.end||this.modelConfig}}:{...et,...this.modelConfig}},inputMask(){const e=this.$locale.masks;return this.isTime?this.is24hr?e.inputTime24hr:e.inputTime:this.isDateTime?this.is24hr?e.inputDateTime24hr:e.inputDateTime:this.$locale.masks.input},inputMaskHasTime(){return/[Hh]/g.test(this.inputMask)},inputMaskHasDate(){return/[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(this.inputMask)},inputMaskPatch(){return this.inputMaskHasTime&&this.inputMaskHasDate?ke.a.DATE_TIME:this.inputMaskHasDate?ke.a.DATE:this.inputMaskHasTime?ke.a.TIME:void 0},slotArgs(){var e=this;const{isRange:t,isDragging:n,updateValue:i,showPopover:r,hidePopover:o,togglePopover:a}=this,s=t?{start:this.inputValues[0],end:this.inputValues[1]}:this.inputValues[0],c=[!0,!1].map((function(t){return{input:e.onInputInput(t),change:e.onInputChange(t),keyup:e.onInputKeyup,...qe({...e.popover_,id:e.datePickerPopoverId,callback:function(n){"show"===n.action&&n.completed&&e.onInputShow(t)}})}}));return{inputValue:s,inputEvents:t?{start:c[0],end:c[1]}:c[0],isDragging:n,updateValue:i,showPopover:r,hidePopover:o,togglePopover:a,getPopoverTriggerEvents:qe}},popover_(){return this.propOrDefault("popover","datePicker.popover","merge")},selectAttribute_(){if(!this.hasValue(this.value_))return null;const e={key:"select-drag",...this.selectAttribute,dates:this.value_,pinPage:!0},{dot:t,bar:n,highlight:i,content:r}=e;return t||n||i||r||(e.highlight=!0),e},dragAttribute_(){if(!this.isRange||!this.hasValue(this.dragValue))return null;const e={key:"select-drag",...this.dragAttribute,dates:this.dragValue},{dot:t,bar:n,highlight:i,content:r}=e;return t||n||i||r||(e.highlight={startEnd:{fillMode:"outline"}}),e},attributes_(){const e=Object(fe.h)(this.attributes)?[...this.attributes]:[];return this.dragAttribute_?e.push(this.dragAttribute_):this.selectAttribute_&&e.push(this.selectAttribute_),e}},watch:{inputMask(){this.formatInput()},value(){this.watchValue&&this.forceUpdateValue(this.value,{config:this.modelConfig_,notify:!1,formatInput:!0,hidePopover:!1})},value_(){this.refreshDateParts()},dragValue(){this.refreshDateParts()},timezone(){this.refreshDateParts(),this.forceUpdateValue(this.value_,{notify:!0,formatInput:!0})}},created(){this.forceUpdateValue(this.value,{config:this.modelConfig_,notify:!1,formatInput:!0,hidePopover:!1}),this.refreshDateParts()},mounted(){var e=this;Object(pe.k)(document,"keydown",this.onDocumentKeyDown);const t=Object(he.b)(document,(function(t){document.body.contains(t.target)&&!Object(pe.e)(e.$el,t.target)&&(e.dragValue=null,e.formatInput())}));this.$once("beforeDestroy",(function(){Object(pe.j)(document,"keydown",e.onDocumentKeyDown),t()}))},methods:{getDateParts(e){return this.$locale.getDateParts(e)},getDateFromParts(e){return this.$locale.getDateFromParts(e)},refreshDateParts(){var e=this;const t=this.dragValue||this.value_,n=[];this.isRange?(t&&t.start?n.push(this.getDateParts(t.start)):n.push({}),t&&t.end?n.push(this.getDateParts(t.end)):n.push({})):t?n.push(this.getDateParts(t)):n.push({}),this.$nextTick((function(){return e.dateParts=n}))},onDocumentKeyDown(e){this.dragValue&&"Escape"===e.key&&(this.dragValue=null)},onDayClick(e){this.handleDayClick(e),this.$emit("dayclick",e)},onDayKeydown(e){switch(e.event.key){case" ":case"Enter":this.handleDayClick(e),e.event.preventDefault();break;case"Escape":this.hidePopover()}this.$emit("daykeydown",e)},handleDayClick(e){const{keepVisibleOnInput:t,visibility:n}=this.popover_,i={patch:ke.a.DATE,adjustTime:!0,formatInput:!0,hidePopover:this.isDate&&!t&&"visible"!==n};this.isRange?(this.isDragging?this.dragTrackingValue.end=e.date:this.dragTrackingValue={...e.range},i.isDragging=!this.isDragging,i.rangePriority=i.isDragging?at:lt,i.hidePopover=i.hidePopover&&!i.isDragging,this.updateV
98alue(this.dragTrackingValue,i)):(i.clearIfEqual=!this.isRequired,this.updateValue(e.date,i))},onDayMouseEnter(e){this.isDragging&&(this.dragTrackingValue.end=e.date,this.updateValue(this.dragTrackingValue,{patch:ke.a.DATE,adjustTime:!0,formatInput:!0,hidePopover:!1,rangePriority:at}))},onTimeInput(e,t){var n=this;let i=null;i=this.isRange?{start:t?e:this.dateParts[0],end:t?this.dateParts[1]:e}:e,this.updateValue(i,{patch:ke.a.TIME,rangePriority:t?st:ct}).then((function(){return n.adjustPageRange(t)}))},onInputInput(e){var t=this;return function(n){t.updateOnInput_&&t.onInputUpdate(n.target.value,e,{formatInput:!1,hidePopover:!1,debounce:t.inputDebounce_})}},onInputChange(e){var t=this;return function(n){t.onInputUpdate(n.target.value,e,{formatInput:!0,hidePopover:!1})}},onInputUpdate(e,t,n){var i=this;this.inputValues.splice(t?0:1,1,e);const r=this.isRange?{start:this.inputValues[0],end:this.inputValues[1]||this.inputValues[0]}:e,o={type:"string",mask:this.inputMask};this.updateValue(r,{...n,config:o,patch:this.inputMaskPatch,rangePriority:t?st:ct}).then((function(){return i.adjustPageRange(t)}))},onInputShow(e){this.adjustPageRange(e)},onInputKeyup(e){"Escape"===e.key&&this.updateValue(this.value_,{formatInput:!0,hidePopover:!0})},updateValue(e,t={}){var n=this;return clearTimeout(this.updateTimeout),new Promise((function(i){const{debounce:r,...o}=t;r>0?n.updateTimeout=setTimeout((function(){n.forceUpdateValue(e,o),i(n.value_)}),r):(n.forceUpdateValue(e,o),i(n.value_))}))},forceUpdateValue(e,{config:t=this.modelConfig_,patch:n=ke.a.DATE_TIME,notify:i=!0,clearIfEqual:r=!1,formatInput:o=!0,hidePopover:a=!1,adjustTime:s=!1,isDragging:c=this.isDragging,rangePriority:l=lt}={}){var d=this;let u=this.normalizeValue(e,t,n,l);!u&&this.isRequired&&(u=this.value_),s&&(u=this.adjustTimeForValue(u,t));const p=this.valueIsDisabled(u);if(p){if(c)return;u=this.value_,a=!1}const h=c?"dragValue":"value_";let f=!this.valuesAreEqual(this[h],u);if(p||f||!r||(u=null,f=!0),f&&(this.$set(this,h,u),c||(this.dragValue=null)),i&&f){const e=this.denormalizeValue(u),t=this.isDragging?"drag":"input";this.watchValue=!1,this.$emit(t,e),this.$nextTick((function(){return d.watchValue=!0}))}a&&this.hidePopover(),o&&this.formatInput()},hasValue(e){return this.isRange?Object(fe.m)(e)&&e.start&&e.end:!!e},normalizeValue(e,t,n,i){if(!this.hasValue(e))return null;if(this.isRange){const r={},o=e.start>e.end?e.end:e.start,a=this.value_&&this.value_.start||this.modelConfig_.start.fillDate,s=t.start||t;r.start=this.normalizeDate(o,{...s,fillDate:a,patch:n});const c=e.start>e.end?e.start:e.end,l=this.value_&&this.value_.end||this.modelConfig_.end.fillDate,d=t.end||t;return r.end=this.normalizeDate(c,{...d,fillDate:l,patch:n}),this.sortRange(r,i)}return this.normalizeDate(e,{...t,fillDate:this.value_||this.modelConfig_.fillDate,patch:n})},adjustTimeForValue(e,t){return this.hasValue(e)?this.isRange?{start:this.$locale.adjustTimeForDate(e.start,t.start||t),end:this.$locale.adjustTimeForDate(e.end,t.end||t)}:this.$locale.adjustTimeForDate(e,t):null},sortRange(e,t=at){const{start:n,end:i}=e;if(n>i)switch(t){case st:return{start:n,end:n};case ct:return{start:i,end:i};case lt:return{start:i,end:n}}return{start:n,end:i}},denormalizeValue(e,t=this.modelConfig_){return this.isRange?this.hasValue(e)?{start:this.$locale.denormalizeDate(e.start,t.start||t),end:this.$locale.denormalizeDate(e.end,t.end||t)}:null:this.$locale.denormalizeDate(e,t)},valuesAreEqual(e,t){if(this.isRange){const n=this.hasValue(e),i=this.hasValue(t);return!n&&!i||n===i&&Object(pe.d)(e.start,t.start)&&Object(pe.d)(e.end,t.end)}return Object(pe.d)(e,t)},valueIsDisabled(e){return this.hasValue(e)&&this.disabledAttribute&&this.disabledAttribute.intersectsDate(e)},formatInput(){var e=this;this.$nextTick((function(){const t={type:"string",mask:e.inputMask},n=e.denormalizeValue(e.dragValue||e.value_,t);e.isRange?e.inputValues=[n&&n.start,n&&n.end]:e.inputValues=[n,""]}))},showPopover(e={}){Re({ref:this.$el,...this.popover_,...e,isInteractive:!0,id:this.datePickerPopoverId})},hidePopover(e={}){Be({hideDelay:10,...this.popover_,...e,id:this.datePickerPopoverId})},togglePopover(e){je({ref:this.$el,...this.popover_,...e,isInteractive:!0,id:this.datePickerPopoverId})},adjustPageRange(e){var t=this;this.$nextTick((function(){const n=t.$refs.calendar,i=t.getPageForValue(e),r=e?1:-1;i&&n&&!Object(pe.p)(i,n.firstPage,n.lastPage)&&n.move(i,{position:r,transition:"fade"})}))},getPageForValue(e){return this.hasValue(this.value_)?this.pageForDate(this.isRange?this.value_[e?"start":"end"]:this.value_):null},move(e,t){return this.$refs.calendar?this.$refs.calendar.move(e,t):Promise.reject(new Error("Navigation disabled
98while calendar is not yet displayed"))},focusDate(e,t){return this.$refs.calendar?this.$refs.calendar.focusDate(e,t):Promise.reject(new Error("Navigation disabled while calendar is not yet displayed"))}}},void 0,void 0,!1,null,null,null).exports},"2b10":function(e,t){e.exports=function(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(r);++i<r;)o[i]=e[i+t];return o}},"2b3e":function(e,t,n){var i=n("585a"),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},"2d00":function(e,t,n){var i,r,o=n("da84"),a=n("342f"),s=o.process,c=s&&s.versions,l=c&&c.v8;l?r=(i=l.split("."))[0]<4?1:i[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=i[1]),e.exports=r&&+r},"2d7c":function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}},"2dcb":function(e,t,n){var i=n("91e9")(Object.getPrototypeOf,Object);e.exports=i},"2ec1":function(e,t,n){var i=n("100e"),r=n("9aff");e.exports=function(e){return i((function(t,n){var i=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&r(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++i<o;){var c=n[i];c&&e(t,c,i,a)}return t}))}},"2fa3":function(e,t,n){n.d(t,"m",(function(){return r})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return a})),n.d(t,"r",(function(){return s})),n.d(t,"o",(function(){return c})),n.d(t,"n",(function(){return l})),n.d(t,"p",(function(){return d})),n.d(t,"q",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"s",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"i",(function(){return v})),n.d(t,"k",(function(){return g})),n.d(t,"j",(function(){return b})),n.d(t,"e",(function(){return y})),n.d(t,"l",(function(){return A})),n.d(t,"c",(function(){return _})),n.d(t,"g",(function(){return w})),n("ddb0");var i=n("9404");const r=function(e,t,n="0"){for(e=null!=e?String(e):"",t=t||2;e.length<t;)e=`${n}${e}`;return e}
98,o=function(e,t){return Object(i.k)(e)?e(t):e},a=function(...e){const t={};return e.forEach((function(e){return Object.entries(e).forEach((function([e,n]){t[e]?Object(i.h)(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}))})),t},s=function(e){return!!(e&&e.month&&e.year)},c=function(e,t){return!(!s(e)||!s(t))&&(e.year===t.year?e.month<t.month:e.year<t.year)},l=function(e,t){return!(!s(e)||!s(t))&&(e.year===t.year?e.month>t.month:e.year>t.year)},d=function(e,t,n){return!!e&&!c(e,t)&&!l(e,n)},u=function(e,t){return!(!e&&t||e&&!t||(e||t)&&(e.month!==t.month||e.year!==t.year))},p=function({month:e,year:t},n){const i=n>0?1:-1;for(let r=0;r<Math.abs(n);r++)(e+=i)>12?(e=1,t++):e<1&&(e=12,t--);return{month:e,year:t}},h=function(e,t){if(!s(e)||!s(t))return[];const n=[];for(;!l(e,t);)n.push(e),e=p(e,1);return n};function f(e,t){const n=Object(i.j)(e),r=Object(i.j)(t);return!n&&!r||n===r&&e.getTime()===t.getTime()}const m=function(e){return Object(i.h)(e)&&e.length},v=function(e,t,n){const r=[];return n.forEach((function(n){const o=n.name||n.toString(),a=n.mixin,s=n.validate;if(Object.prototype.hasOwnProperty.call(e,o)){const n=s?s(e[o]):e[o];t[o]=a&&Object(i.m)(n)?{...a,...n}:n,r.push(o)}})),{target:t,assigned:r.length?r:null}},g=function(e,t,n,i){e&&t&&n&&e.addEventListener(t,n,i)},b=function(e,t,n,i){e&&t&&e.removeEventListener(t,n,i)},y=function(e,t){return!!e&&!!t&&(e===t||e.contains(t))},A=function(e,t){" "!==e.key&&"Enter"!==e.key||(t(e),e.preventDefault())},_=function(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return`${e()+e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`};function w(e){let t,n=0,i=0;if(0===e.length)return n;for(i=0;i<e.length;i++)t=e.charCodeAt(i),n=(n<<5)-n+t,n|=0;return n}},"2fcc":function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},3092:function(e,t,n){var i=n("4284"),r=n("badf"),o=n("361d"),a=n("6747"),s=n("9aff");e.exports=function(e,t,n){var c=a(e)?i:o;return n&&s(e,t,n)&&(t=void 0),c(e,r(t,3))}},"30c9":function(e,t,n){var i=n("9520"),r=n("b218");e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},"32b3":function(e,t,n){var i=n("872a"),r=n("9638"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&r(a,n)&&(void 0!==n||t in e)||i(e,t,n)}},"32f4":function(e,t,n){var i=n("2d7c"),r=n("d327"),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),i(a(e),(function(t){return o.call(e,t)})))}:r;e.exports=s},"342f":function(e,t,n){var i=n("d066");e.exports=i("navigator","userAgent")||""},"34ac":function(e,t,n){var i=n("9520"),r=n("1368"),o=n("1a8c"),a=n("dc57"),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,d=c.toString,u=l.hasOwnProperty,p=RegExp("^"+d.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(i(e)?p:s).test(a(e))}},"34e9":function(e,t,n){(function(e){n("ddb0");var i=n("2af9"),r=n("ed08");n.d(t,"c",(function(){return i.Calendar})),n.d(t,"d",(function(){return i.CalendarNav})),n.d(t,"f",(function(){return i.DatePicker})),n.d(t,"h",(function(){return i.Popover})),n.d(t,"a",(function(){return r.Attribute})),n.d(t,"b",(function(){return r.AttributeStore})),n.d(t,"e",(function(){return r.DateInfo})),n.d(t,"g",(function(){return r.Locale})),n.d(t,"i",(function(){return r.addHorizontalSwipeHandler})),n.d(t,"j",(function(){return r.addPages})),n.d(t,"k",(function(){return r.addTapOrClickHandler})),n.d(t,"l",(function(){return r.arrayHasItems})),n.d(t,"m",(function(){return r.createGuid})),n.d(t,"n",(function(){return r.datesAreEqual})),n.d(t,"p",(function(){return r.elementContains})),n.d(t,"q",(function(){return r.evalFn})),n.d(t,"r",(function(){return r.hash})),n.d(t,"s",(function(){return r.mergeEvents})),n.d(t,"t",(function(){return r.mixinOptionalProps})),n.d(t,"u",(function(){return r.off})),n.d(t,"v",(function(){return r.on})),n.d(t,"w",(function(){return r.onSpaceOrEnter})),n.d(t,"x",(function(){return r.pad})),n.d(t,"y",(function(){return r.pageIsAfterPage})),n.d(t,"z",(function(){return r.pageIsBeforePage})),n.d(t,"A",(function(){return r.pageIsBetweenPages})),n.d(t,"B",(function(){return r.pageIsEqualToPage})),n.d(t,"C",(function(){return r.pageIsValid})),n.d(t,"D",(function(){return r.pageRangeToArray})),n.d(t,"E",(function(){return r.setupCalendar}));const o={install:function e(t,n){if(e.installed)return;e.installed=!0;const o=r.setupCalendar(n);
98Object.entries(i).forEach((function([e,n]){t.component(`${o.componentPrefix}${e}`,n)}))},...i,...r};let a=null;"undefined"!=typeof window?a=window.Vue:void 0!==e&&(a=e.Vue),a&&a.use(o),t.o=o}).call(this,n("c8ba"))},"361d":function(e,t,n){var i=n("48a0");e.exports=function(e,t){var n;return i(e,(function(e,i,r){return!(n=t(e,i,r))})),!!n}},3621:function(e,t,n){var i=n("1349");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("4ffb218e",i,!0,{sourceMap:!1,shadowMode:!1})},3698:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},3729:function(e,t,n){var i=n("9e69"),r=n("00fd"),o=n("29f3"),a=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):o(e)}},"37e8":function(e,t,n){var i=n("83ab"),r=n("9bf2"),o=n("825a"),a=n("df75");e.exports=i?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),s=i.length,c=0;s>c;)r.f(e,n=i[c++],t[n]);return e}},3818:function(e,t,n){var i=n("7e64"),r=n("8057"),o=n("32b3"),a=n("5b01"),s=n("0f0f"),c=n("e538"),l=n("4359"),d=n("54eb"),u=n("1041"),p=n("a994"),h=n("1bac"),f=n("42a2"),m=n("c87c"),v=n("c2b6"),g=n("fa21"),b=n("6747"),y=n("0d24"),A=n("cc45"),_=n("1a8c"),w=n("d7ee"),M=n("ec69"),k=n("9934"),C="[object Arguments]",S="[object Function]",E="[object Object]",x={};x[C]=x["[object Array]"]=x["[object ArrayBuffer]"]=x["[object DataView]"]=x["[object Boolean]"]=x["[object Date]"]=x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Map]"]=x["[object Number]"]=x[E]=x["[object RegExp]"]=x["[object Set]"]=x["[object String]"]=x["[object Symbol]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x["[object Error]"]=x[S]=x["[object WeakMap]"]=!1,e.exports=function e(t,n,O,T,D,$){var P,N=1&n,L=2&n,z=4&n;if(O&&(P=D?O(t,T,D,$):O(t)),void 0!==P)return P;if(!_(t))return t;var I=b(t);if(I){if(P=m(t),!N)return l(t,P)}else{var R=f(t),B=R==S||"[object GeneratorFunction]"==R;if(y(t))return c(t,N);if(R==E||R==C||B&&!D){if(P=L||B?{}:g(t),!N)return L?u(t,s(P,t)):d(t,a(P,t))}else{if(!x[R])return D?t:{};P=v(t,R,N)}}$||($=new i);var j=$.get(t);if(j)return j;$.set(t,P),w(t)?t.forEach((function(i){P.add(e(i,n,O,i,t,$))})):A(t)&&t.forEach((function(i,r){P.set(r,e(i,n,O,r,t,$))}));var q=I?void 0:(z?L?h:p:L?k:M)(t);return r(q||t,(function(i,r){q&&(i=t[r=i]),o(P,r,e(i,n,O,r,t,$))})),P}},3852:function(e,t,n){var i=n("96f3"),r=n("e2c0");e.exports=function(e,t){return null!=e&&r(e,t,i)}},"39ff":function(e,t,n){var i=n("0b07")(n("2b3e"),"WeakMap");e.exports=i},"3b4a":function(e,t,n){var i=n("0b07"),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},"3bb4":function(e,t,n){var i=n("08cc"),r=n("ec69");e.exports=function(e){for(var t=r(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,i(a)]}return t}},"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}},"3c55":function(e,t,n){var i=n("e969");n.n(i).a},"3db9":function(e,t,n){var i=n("adc8");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("2b7f9a9d",i,!0,{sourceMap:!1,shadowMode:!1})},"3ee2":function(e,t,n){var i=n("dc8c");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("13d41af5",i,!0,{sourceMap:!1,shadowMode:!1})},"3eea":function(e,t,n){var i=n("7948"),r=n("3818"),o=n("4bb5"),a=n("e2e4"),s=n("8eeb"),c=n("e0e7"),l=n("c6cf"),d=n("1bac"),u=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=i(t,(function(t){return t=a(t,e),l||(l=t.length>1),t})),s(e,d(e),n),l&&(n=r(n,7,c));for(var u=t.length;u--;)o(n,t[u]);return n}));e.exports=u},"3f84":function(e,t,n){var i=n("85e3"),r=n("100e"),o=n("e031"),a=n("2411"),s=r((function(e){return e.push(void 0,o),i(a,void 0,e)}));e.exports=s},"3f8c":function(e,t){e.exports={}},"41c3":function(e,t,n){var i=n("1a8c"),r=n("eac5"),o=n("ec8c"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return o(e);var t=r(e),n=[];
98for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},4245:function(e,t,n){var i=n("1290");e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},4284:function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},"428f":function(e,t,n){var i=n("da84");e.exports=i},"42a2":function(e,t,n){var i=n("b5a7"),r=n("79bc"),o=n("1cec"),a=n("c869"),s=n("39ff"),c=n("3729"),l=n("dc57"),d="[object Map]",u="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",m=l(i),v=l(r),g=l(o),b=l(a),y=l(s),A=c;(i&&A(new i(new ArrayBuffer(1)))!=f||r&&A(new r)!=d||o&&A(o.resolve())!=u||a&&A(new a)!=p||s&&A(new s)!=h)&&(A=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,i=n?l(n):"";if(i)switch(i){case m:return f;case v:return d;case g:return u;case b:return p;case y:return h}return t}),e.exports=A},4359:function(e,t){e.exports=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},4416:function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},4440:function(e,t,n){var i=n("3621");n.n(i).a},"44ad":function(e,t,n){var i=n("d039"),r=n("c6b6"),o="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var i=n("b622"),r=n("7c73"),o=n("9bf2"),a=i("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},4746:function(e,t,n){var i=n("973b");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("3c500e11",i,!0,{sourceMap:!1,shadowMode:!1})},4889:function(e,t,n){var i=n("df9e");n.n(i).a},"48a0":function(e,t,n){var i=n("242e"),r=n("950a")(i);e.exports=r},4930:function(e,t,n){var i=n("2d00"),r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"495a":function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-pane[data-v-74ad501d]{min-width:250px}.vc-header[data-v-74ad501d]{display:flex;justify-content:center;align-items:center;padding:10px 18px 0 18px}.vc-header.align-left[data-v-74ad501d]{justify-content:flex-start}.vc-header.align-right[data-v-74ad501d]{justify-content:flex-end}.vc-title[data-v-74ad501d]{font-size:var(--text-lg);color:var(--gray-800);font-weight:var(--font-semibold);line-height:28px;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.vc-title[data-v-74ad501d]:hover{opacity:.75}.vc-weeknumber[data-v-74ad501d]{position:relative}.vc-weeknumber[data-v-74ad501d],.vc-weeknumber-content[data-v-74ad501d]{display:flex;justify-content:center;align-items:center}.vc-weeknumber-content[data-v-74ad501d]{font-size:var(--text-xs);font-weight:var(--font-medium);font-style:italic;width:28px;height:28px;margin-top:2px;color:var(--gray-500);-webkit-user-select:none;user-select:none}.vc-weeknumber-content.is-left-outside[data-v-74ad501d]{position:absolute;left:var(--weeknumber-offset)}.vc-weeknumber-content.is-right-outside[data-v-74ad501d]{position:absolute;right:var(--weeknumber-offset)}.vc-weeks[data-v-74ad501d]{display:grid;grid-template-columns:repeat(7,1fr);position:relative;-webkit-overflow-scrolling:touch;padding:5px;min-width:250px}.vc-weeks.vc-show-weeknumbers[data-v-74ad501d]{grid-template-columns:auto repeat(7,1fr)}.vc-weeks.vc-show-weeknumbers.is-right[data-v-74ad501d]{grid-template-columns:repeat(7,1fr) auto}.vc-weekday[data-v-74ad501d]{text-align:center;color:var(--gray-500);font-size:var(--text-sm);font-weight:var(--font-bold);line-height:14px;padding-top:4px;padding-bottom:8px;
98cursor:default;-webkit-user-select:none;user-select:none}.vc-is-dark .vc-header[data-v-74ad501d]{color:var(--gray-200)}.vc-is-dark .vc-title[data-v-74ad501d]{color:var(--gray-100)}.vc-is-dark .vc-weekday[data-v-74ad501d]{color:var(--accent-200)}",""]),e.exports=t},"499e":function(e,t,n){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 f}));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,c=0,l=!1,d=function(){},u=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,r){l=n,u=r||{};var a=i(e,t);return m(a),function(t){for(var n=[],r=0;r<a.length;r++){var s=a[r],c=o[s.id];c.refs--,n.push(c)}for(t?m(a=i(e,t)):a=[],r=0;r<n.length;r++)if(0===(c=n[r]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.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(g(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(g(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:a}}}}function v(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,n,i=document.querySelector("style["+p+'~="'+e.id+'"]');if(i){if(l)return d;i.parentNode.removeChild(i)}if(h){var r=c++;i=s||(s=v()),t=y.bind(null,i,r,!1),n=y.bind(null,i,r,!0)}else i=v(),t=A.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(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=b(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 A(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),u.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))}}},"49f4":function(e,t,n){var i=n("6044");e.exports=function(){this.__data__=i?i(null):{},this.size=0}},"4bb5":function(e,t,n){var i=n("e2e4"),r=n("4416"),o=n("8296"),a=n("f4d6");e.exports=function(e,t){return t=i(t,e),null==(e=o(e,t))||delete e[a(r(t))]}},"4cef":function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},"4cfe":function(e,t){e.exports=function(e){return void 0===e}},"4d64":function(e,t,n){var i=n("fc6a"),r=n("50c4"),o=n("23cb"),a=function(e){return function(t,n,a){var s,c=i(t),l=r(c.length),d=o(a,l);if(e&&n!=n){for(;l>d;)if((s=c[d++])!=s)return!0}else for(;l>d;d++)if((e||d in c)&&c[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4d8c":function(e,t,n){var i=n("5c69");e.exports=function(e){return null!=e&&e.length?i(e,1):[]}},"4f46":function(e,t,n){var i=n("4746");n.n(i).a},"4f50":function(e,t,n){var i=n("b760"),r=n("e538"),o=n("c8fe"),a=n("4359"),s=n("fa21"),c=n("d370"),l=n("6747"),d=n("dcbe"),u=n("0d24"),p=n("9520"),h=n("1a8c"),f=n("60ed"),m=n("73ac"),v=n("8adb"),g=n("8de2");e.exports=function(e,t,n,b,y,A,_){var w=v(e,n),M=v(t,n),k=_.get(M);if(k)i(e,n,k);else{var C=A?A(w,M,n+"",e,t,_):void 0,S=void 0===C;if(S){var E=l(M),x=!E&&u(M),O=!E&&!x&&m(M);C=M,E||x||O?l(w)?C=w:d(w)?C=a(w):x?(S=!1,C=r(M,!0)):O?(S=!1,C=o(M,!0)):C=[]:f(M)||c(M)?(C=w,c(w)?C=g(w):h(w)&&!p(w)||(C=s(M)
98)):S=!1}S&&(_.set(M,C),y(C,M,b,A,_),_.delete(M)),i(e,n,C)}}},"501e":function(e,t,n){var i=n("3729"),r=n("1310");e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==i(e)}},"50c4":function(e,t,n){var i=n("a691"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"50d8":function(e,t){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},5135:function(e,t,n){var i=n("7b0b"),r={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return r.call(i(e),t)}},"51ec":function(e,t,n){n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l}));var i=n("8bbf"),r=n.n(i),o=n("9404");const a={componentPrefix:"v",navVisibility:"click",titlePosition:"center",transition:"slide-h",touch:n("23a5"),masks:n("7efe"),screens:n("85a9"),locales:n("f15d").a,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",keepVisibleOnInput:!1,isInteractive:!0}}};let s=null;const c=function(e){return s||(s=new r.a({data:()=>({defaults:Object(o.c)(e,a)}),computed:{locales(){var e=this;return Object(o.r)(this.defaults.locales,(function(t){return t.masks=Object(o.c)(t.masks,e.defaults.masks),t}))}}})),s.defaults},l={beforeCreate(){c()},computed:{$defaults:()=>s.defaults,$locales:()=>s.locales},methods:{propOrDefault(e,t,n){return this.passedProp(e,Object(o.d)(this.$defaults,t),n)},passedProp(e,t,n){if(Object(o.e)(this.$options.propsData,e)){const i=this[e];return Object(o.m)(i)&&"merge"===n?Object(o.c)(i,t):i}return t}}}},5319:function(e,t,n){var i=n("d784"),r=n("d039"),o=n("825a"),a=n("50c4"),s=n("a691"),c=n("1d80"),l=n("8aa5"),d=n("0cb2"),u=n("14c3"),p=n("b622")("replace"),h=Math.max,f=Math.min,m=function(e){return void 0===e?e:String(e)},v="$0"==="a".replace(/./,"$0"),g=!!/./[p]&&""===/./[p]("a","$0");i("replace",(function(e,t,n){var i=g?"$":"$0";return[function(e,n){var i=c(this),r=null==e?void 0:e[p];return void 0!==r?r.call(e,i,n):t.call(String(i),e,n)},function(e,r){if("string"==typeof r&&-1===r.indexOf(i)&&-1===r.indexOf("$<")){var c=n(t,this,e,r);if(c.done)return c.value}var p=o(this),v=String(e),g="function"==typeof r;g||(r=String(r));var b=p.global;if(b){var y=p.unicode;p.lastIndex=0}for(var A=[];;){var _=u(p,v);if(null===_)break;if(A.push(_),!b)break;""===String(_[0])&&(p.lastIndex=l(v,a(p.lastIndex),y))}for(var w="",M=0,k=0;k<A.length;k++){_=A[k];for(var C=String(_[0]),S=h(f(s(_.index),v.length),0),E=[],x=1;x<_.length;x++)E.push(m(_[x]));var O=_.groups;if(g){var T=[C].concat(E,S,v);void 0!==O&&T.push(O);var D=String(r.apply(void 0,T))}else D=d(C,v,S,E,O,r);S>=M&&(w+=v.slice(M,S)+D,M=S+C.length)}return w+v.slice(M)}]}),!!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!v||g)},"53b1":function(e,t,n){var i=n("495a");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("2a6e04f4",i,!0,{sourceMap:!1,shadowMode:!1})},"54eb":function(e,t,n){var i=n("8eeb"),r=n("32f4");e.exports=function(e,t){return i(e,r(e),t)}},"55a3":function(e,t){e.exports=function(e){return this.__data__.has(e)}},5692:function(e,t,n){var i=n("c430"),r=n("c6cd");(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.2",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var i=n("d066"),r=n("241c"),o=n("7418"),a=n("825a");e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},"57a5":function(e,t,n){var i=n("91e9")(Object.keys,Object);e.exports=i},"585a":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("c8ba"))},"5b01":function(e,t,n){var i=n("8eeb"),r=n("ec69");e.exports=function(e,t){return e&&i(t,r(t),e)}},"5c69":function(e,t,n){var i=n("087d"),r=n("0621");e.exports=function e(t,n,o,a,s){var c=-1,l=t.length;for(o||(o=r),s||(s=[]);++c<l;){var d=t[c];n>0&&o(d)?n>1?e(d,n-1,o,a,s):i(s,d):a||(s[s.length]=d)}return s}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5d89":function(e,t,n){var i=n("f8af");e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},"5e2e":function(e,t,n){var i=n("28c9"),r=n("69d5"),o=n("b4c0"),a=n("fba5"),s=n("67ca");function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},6044:function(e,t,n){var i=n("0b07")(Object,"create");e.exports=i},"60ed":function(e,t,n){var i=n("3729"),r=n("2dcb"),o=n("1310"),a=Function.prototype,s=Object.prototype,c=a.toString,l=s.hasOwnProperty,d=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=i(e))return!1;var t=r(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;
98return"function"==typeof n&&n instanceof n&&c.call(n)==d}},6220:function(e,t,n){var i=n("b1d2"),r=n("b047"),o=n("99d3"),a=o&&o.isDate,s=a?r(a):i;e.exports=s},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"642a":function(e,t,n){var i=n("966f"),r=n("3bb4"),o=n("20ec");e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},6547:function(e,t,n){var i=n("a691"),r=n("1d80"),o=function(e){return function(t,n){var o,a,s=String(r(t)),c=i(n),l=s.length;return c<0||c>=l?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},"656b":function(e,t,n){var i=n("e2e4"),r=n("f4d6");e.exports=function(e,t){for(var n=0,o=(t=i(t,e)).length;null!=e&&n<o;)e=e[r(t[n++])];return n&&n==o?e:void 0}},6679:function(e,t,n){var i=n("3729"),r=n("1310");e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==i(e)}},6747:function(e,t){var n=Array.isArray;e.exports=n},"67ca":function(e,t,n){var i=n("cb5a");e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},"69d5":function(e,t,n){var i=n("cb5a"),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},"69f3":function(e,t,n){var i,r,o,a=n("7f9a"),s=n("da84"),c=n("861d"),l=n("9112"),d=n("5135"),u=n("c6cd"),p=n("f772"),h=n("d012"),f="Object already initialized",m=s.WeakMap;if(a||u.state){var v=u.state||(u.state=new m),g=v.get,b=v.has,y=v.set;i=function(e,t){if(b.call(v,e))throw new TypeError(f);return t.facade=e,y.call(v,e,t),t},r=function(e){return g.call(v,e)||{}},o=function(e){return b.call(v,e)}}else{var A=p("state");h[A]=!0,i=function(e,t){if(d(e,A))throw new TypeError(f);return t.facade=e,l(e,A,t),t},r=function(e){return d(e,A)?e[A]:{}},o=function(e){return d(e,A)}}e.exports={set:i,get:r,has:o,enforce:function(e){return o(e)?r(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"6a43":function(e,t,n){var i=n("a10d");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("79e769b1",i,!0,{sourceMap:!1,shadowMode:!1})},"6eeb":function(e,t,n){var i=n("da84"),r=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),c=n("69f3"),l=c.get,d=c.enforce,u=String(String).split("String");(e.exports=function(e,t,n,s){var c,l=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||r(n,"name",t),(c=d(n)).source||(c.source=u.join("string"==typeof t?t:""))),e!==i?(l?!h&&e[t]&&(p=!0):delete e[t],p?e[t]=n:r(e,t,n)):p?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"6f6c":function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},"6fcd":function(e,t,n){var i=n("50d8"),r=n("d370"),o=n("6747"),a=n("0d24"),s=n("c098"),c=n("73ac"),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),d=!n&&r(e),u=!n&&!d&&a(e),p=!n&&!d&&!u&&c(e),h=n||d||u||p,f=h?i(e.length,String):[],m=f.length;for(var v in e)!t&&!l.call(e,v)||h&&("length"==v||u&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||f.push(v);return f}},"70b8":function(e,t,n){var i=n("fcff");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("407d10db",i,!0,{sourceMap:!1,shadowMode:!1})},"72af":function(e,t,n){var i=n("99cd")();e.exports=i},"72f0":function(e,t){e.exports=function(e){return function(){return e}}},"72f5":function(e,t,n){var i=n("9e2e");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("2997fbdf",i,!0,{sourceMap:!1,shadowMode:!1})},"73ac":function(e,t,n){var i=n("743f"),r=n("b047"),o=n("99d3"),a=o&&o.isTypedArray,s=a?r(a):i;e.exports=s},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"743f":function(e,t,n){var i=n("3729"),r=n("b218"),o=n("1310"),a={};
98a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!a[i(e)]}},7530:function(e,t,n){var i=n("1a8c"),r=Object.create,o=function(){function e(){}return function(t){if(!i(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},"76dd":function(e,t,n){var i=n("ce86");e.exports=function(e){return null==e?"":i(e)}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7948:function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}},"79bc":function(e,t,n){var i=n("0b07")(n("2b3e"),"Map");e.exports=i},"7a48":function(e,t,n){var i=n("6044"),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},"7b0b":function(e,t,n){var i=n("1d80");e.exports=function(e){return Object(i(e))}},"7b83":function(e,t,n){var i=n("7c64"),r=n("93ed"),o=n("2478"),a=n("a524"),s=n("1fc8");function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},"7b97":function(e,t,n){var i=n("7e64"),r=n("a2be"),o=n("1c3c"),a=n("b1e5"),s=n("42a2"),c=n("6747"),l=n("0d24"),d=n("73ac"),u="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var b=c(e),y=c(t),A=b?p:s(e),_=y?p:s(t),w=(A=A==u?h:A)==h,M=(_=_==u?h:_)==h,k=A==_;if(k&&l(e)){if(!l(t))return!1;b=!0,w=!1}if(k&&!w)return g||(g=new i),b||d(e)?r(e,t,n,m,v,g):o(e,t,A,n,m,v,g);if(!(1&n)){var C=w&&f.call(e,"__wrapped__"),S=M&&f.call(t,"__wrapped__");
98if(C||S){var E=C?e.value():e,x=S?t.value():t;return g||(g=new i),v(E,x,n,m,g)}}return!!k&&(g||(g=new i),a(e,t,n,m,v,g))}},"7c64":function(e,t,n){var i=n("e24b"),r=n("5e2e"),o=n("79bc");e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},"7c73":function(e,t,n){var i,r=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),c=n("1be4"),l=n("cc12"),d=n("f772"),u="prototype",p="script",h=d("IE_PROTO"),f=function(){},m=function(e){return"<script>"+e+"</"+p+">"},v=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=i?function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t}(i):function(){var e,t=l("iframe");return t.style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F}();for(var e=a.length;e--;)delete v[u][a[e]];return v()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[u]=r(e),n=new f,f[u]=null,n[h]=e):n=v(),void 0===t?n:o(n,t)}},"7d1f":function(e,t,n){var i=n("087d"),r=n("6747");e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},"7dd0":function(e,t,n){var i=n("23e7"),r=n("9ed3"),o=n("e163"),a=n("d2bb"),s=n("d44e"),c=n("9112"),l=n("6eeb"),d=n("b622"),u=n("c430"),p=n("3f8c"),h=n("ae93"),f=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=d("iterator"),g="keys",b="values",y="entries",A=function(){return this};e.exports=function(e,t,n,d,h,_,w){r(n,t,d);var M,k,C,S=function(e){if(e===h&&D)return D;if(!m&&e in O)return O[e];switch(e){case g:case b:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",x=!1,O=e.prototype,T=O[v]||O["@@iterator"]||h&&O[h],D=!m&&T||S(h),$="Array"==t&&O.entries||T;if($&&(M=o($.call(new e)),f!==Object.prototype&&M.next&&(u||o(M)===f||(a?a(M,f):"function"!=typeof M[v]&&c(M,v,A)),s(M,E,!0,!0),u&&(p[E]=A))),h==b&&T&&T.name!==b&&(x=!0,D=function(){return T.call(this)}),u&&!w||O[v]===D||c(O,v,D),p[t]=D,h)if(k={values:S(b),keys:_?D:S(g),entries:S(y)},w)for(C in k)(m||x||!(C in O))&&l(O,C,k[C]);else i({target:t,proto:!0,forced:m||x},k);return k}},"7dfe":function(e,t,n){(t=n("24fb")(!1)).push([e.i,".none-enter-active[data-v-5be4b00c],.none-leave-active[data-v-5be4b00c]{transition-duration:0s}.fade-enter-active[data-v-5be4b00c],.fade-leave-active[data-v-5be4b00c],.slide-down-enter-active[data-v-5be4b00c],.slide-down-leave-active[data-v-5be4b00c],.slide-left-enter-active[data-v-5be4b00c],.slide-left-leave-active[data-v-5be4b00c],.slide-right-enter-active[data-v-5be4b00c],.slide-right-leave-active[data-v-5be4b00c],.slide-up-enter-active[data-v-5be4b00c],.slide-up-leave-active[data-v-5be4b00c]{transition:transform var(--slide-duration) var(--slide-timing),opacity var(--slide-duration) var(--slide-timing);-webkit-backface-visibility:hidden;backface-visibility:hidden}.fade-leave-active[data-v-5be4b00c],.none-leave-active[data-v-5be4b00c],.slide-down-leave-active[data-v-5be4b00c],.slide-left-leave-active[data-v-5be4b00c],.slide-right-leave-active[data-v-5be4b00c],.slide-up-leave-active[data-v-5be4b00c]{position:absolute;width:100%}.fade-enter[data-v-5be4b00c],.fade-leave-to[data-v-5be4b00c],.none-enter[data-v-5be4b00c],.none-leave-to[data-v-5be4b00c],.slide-down-enter[data-v-5be4b00c],.slide-down-leave-to[data-v-5be4b00c],.slide-left-enter[data-v-5be4b00c],.slide-left-leave-to[data-v-5be4b00c],.slide-right-enter[data-v-5be4b00c],.slide-right-leave-to[data-v-5be4b00c],.slide-up-enter[data-v-5be4b00c],.slide-up-leave-to[data-v-5be4b00c]{opacity:0}
98.slide-left-enter[data-v-5be4b00c],.slide-right-leave-to[data-v-5be4b00c]{transform:translateX(var(--slide-translate))}.slide-left-leave-to[data-v-5be4b00c],.slide-right-enter[data-v-5be4b00c]{transform:translateX(calc(var(--slide-translate)*-1))}.slide-down-leave-to[data-v-5be4b00c],.slide-up-enter[data-v-5be4b00c]{transform:translateY(var(--slide-translate))}.slide-down-enter[data-v-5be4b00c],.slide-up-leave-to[data-v-5be4b00c]{transform:translateY(calc(var(--slide-translate)*-1))}",""]),e.exports=t},"7e64":function(e,t,n){var i=n("5e2e"),r=n("efb6"),o=n("2fcc"),a=n("802a"),s=n("55a3"),c=n("d02c");function l(e){var t=this.__data__=new i(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,e.exports=l},"7ed2":function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},"7efe":function(e){e.exports=JSON.parse('{"title":"MMMM YYYY","weekdays":"W","navMonths":"MMM","input":["L","YYYY-MM-DD","YYYY/MM/DD"],"inputDateTime":["L h:mm A","YYYY-MM-DD h:mm A","YYYY/MM/DD h:mm A"],"inputDateTime24hr":["L HH:mm","YYYY-MM-DD HH:mm","YYYY/MM/DD HH:mm"],"inputTime":["h:mm A"],"inputTime24hr":["HH:mm"],"dayPopover":"WWW, MMM D, YYYY","data":["L","YYYY-MM-DD","YYYY/MM/DD"],"iso":"YYYY-MM-DDTHH:mm:ss.SSSZ"}')},"7f9a":function(e,t,n){var i=n("da84"),r=n("8925"),o=i.WeakMap;e.exports="function"==typeof o&&/native code/.test(r(o))},"802a":function(e,t){e.exports=function(e){return this.__data__.get(e)}},8057:function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}},"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}},8296:function(e,t,n){var i=n("656b"),r=n("2b10");e.exports=function(e,t){return t.length<2?e:i(e,r(t,0,-1))}},8384:function(e,t){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},"83ab":function(e,t,n){var i=n("d039");e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"85a9":function(e){e.exports=JSON.parse('{"sm":"640px","md":"768px","lg":"1024px","xl":"1280px"}')},"85e3":function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},8604:function(e,t,n){var i=n("26e8"),r=n("e2c0");e.exports=function(e,t){return null!=e&&r(e,t,i)}},"861d":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"872a":function(e,t,n){var i=n("3b4a");e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},8925:function(e,t,n){var i=n("c6cd"),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return r.call(e)}),e.exports=i.inspectSource},"89d9":function(e,t,n){var i=n("656b"),r=n("159a"),o=n("e2e4");e.exports=function(e,t,n){for(var a=-1,s=t.length,c={};++a<s;){var l=t[a],d=i(e,l);n(d,l)&&r(c,o(l,e),d)}return c}},"8aa5":function(e,t,n){var i=n("6547").charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"8adb":function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},"8bbf":function(t,n){t.exports=e},"8c86":function(e,t,n){function i(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return i}))},"8d74":function(e,t,n){var i=n("4cef"),r=/^\s+/;e.exports=function(e){return e?e.slice(0,i(e)+1).replace(r,""):e}},"8de2":function(e,t,n){var i=n("8eeb"),r=n("9934");e.exports=function(e){return i(e,r(e))}},"8eeb":function(e,t,n){var i=n("32b3"),r=n("872a");e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var l=t[s],d=o?o(n[l],e[l],l,n,e):void 0;void 0===d&&(d=e[l]),a?r(n,l,d):i(n,l,d)}return n}},9010:function(e,t,n){var i=n("70b8");n.n(i).a},"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)}},9112:function(e,t,n){var i=n("83ab"),r=n("9bf2"),o=n("5c6c");e.exports=i?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"91e9":function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},9263:function(e,t,n){var i=n("ad6d"),r=n("9f7f"),o=n("5692"),a=n("7c73"),s=n("69f3").get,c=n("fce3"),l=n("10
987c"),d=RegExp.prototype.exec,u=o("native-string-replace",String.prototype.replace),p=d,h=function(){var e=/a/,t=/b*/g;return d.call(e,"a"),d.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),f=r.UNSUPPORTED_Y||r.BROKEN_CARET,m=void 0!==/()??/.exec("")[1];(h||m||f||c||l)&&(p=function(e){var t,n,r,o,c,l,v,g=this,b=s(g),y=b.raw;if(y)return y.lastIndex=g.lastIndex,t=p.call(y,e),g.lastIndex=y.lastIndex,t;var A=b.groups,_=f&&g.sticky,w=i.call(g),M=g.source,k=0,C=e;if(_&&(-1===(w=w.replace("y","")).indexOf("g")&&(w+="g"),C=String(e).slice(g.lastIndex),g.lastIndex>0&&(!g.multiline||g.multiline&&"\n"!==e[g.lastIndex-1])&&(M="(?: "+M+")",C=" "+C,k++),n=new RegExp("^(?:"+M+")",w)),m&&(n=new RegExp("^"+M+"$(?!\\s)",w)),h&&(r=g.lastIndex),o=d.call(_?n:g,C),_?o?(o.input=o.input.slice(k),o[0]=o[0].slice(k),o.index=g.lastIndex,g.lastIndex+=o[0].length):g.lastIndex=0:h&&o&&(g.lastIndex=g.global?o.index+o[0].length:r),m&&o&&o.length>1&&u.call(o[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(o[c]=void 0)})),o&&A)for(o.groups=l=a(null),c=0;c<A.length;c++)l[(v=A[c])[0]]=o[v[1]];return o}
98),e.exports=p},9349:function(e,t,n){n.d(t,"a",(function(){return o})),n("ddb0");var i=n("22f3"),r=n("2fa3");class o{constructor(e,t,n){this.theme=e,this.locale=t,this.map={},this.refresh(n,!0)}refresh(e,t){var n=this;const o={},a=[];let s=null;const c=[],l=t?new Set:new Set(Object.keys(this.map));return Object(r.b)(e)&&e.forEach((function(e,d){if(!e||!e.dates)return;const u=e.key?e.key.toString():d.toString(),p=e.order||0,h=Object(r.g)(JSON.stringify(e));let f=n.map[u];!t&&f&&f.hashcode===h?l.delete(u):(f=new i.a({key:u,order:p,hashcode:h,...e},n.theme,n.locale),c.push(f)),f&&f.pinPage&&(s=f),o[u]=f,a.push(f)})),this.map=o,this.list=a,this.pinAttr=s,{adds:c,deletes:Array.from(l)}}}},"93ed":function(e,t,n){var i=n("4245");e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},9404:function(e,t,n){n.d(t,"j",(function(){return H})),n.d(t,"m",(function(){return U})),n.d(t,"e",(function(){return X})),n.d(t,"f",(function(){return Y})),n.d(t,"v",(function(){return G}));var i=n("6679"),r=n.n(i);n.d(t,"i",(function(){return r.a}));var o=n("501e"),a=n.n(o);n.d(t,"l",(function(){return a.a}));var s=n("e2a0"),c=n.n(s);n.d(t,"n",(function(){return c.a}));var l=n("dcbe"),d=n.n(l);n.d(t,"h",(function(){return d.a}));var u=n("9520"),p=n.n(u);n.d(t,"k",(function(){return p.a}));var h=n("4cfe"),f=n.n(h);n.d(t,"o",(function(){return f.a}));var m=n("6220"),v=n.n(m),g=n("f678"),b=n.n(g);n.d(t,"a",(function(){return b.a}));var y=n("9b02"),A=n.n(y);n.d(t,"d",(function(){return A.a}));var _=n("0f5c"),w=n.n(_);n.d(t,"u",(function(){return w.a}));var M=n("9e86"),k=n.n(M);n.d(t,"r",(function(){return k.a}));var C=n("f542"),S=n.n(C);n.d(t,"w",(function(){return S.a}));var E=n("95ae"),x=n.n(E);n.d(t,"b",(function(){return x.a}));var O=n("3f84"),T=n.n(O);n.d(t,"c",(function(){return T.a}));var D=n("2593"),$=n.n(D);n.d(t,"t",(function(){return $.a}));var P=n("3eea"),N=n.n(P);n.d(t,"s",(function(){return N.a}));var L=n("3852"),z=n.n(L),I=n("dd61"),R=n.n(I);n.d(t,"q",(function(){return R.a}));var B=n("a59b"),j=n.n(B);n.d(t,"g",(function(){return j.a}));var q=n("4416"),F=n.n(q);n.d(t,"p",(function(){return F.a}));var V=n("3092"),W=n.n(V);const H=function(e){return v()(e)&&!isNaN(e.getTime())},U=function(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)},X=z.a,Y=function(e,t){return W()(t,(function(t){return z()(e,t)}))},G=W.a},"94ca":function(e,t,n){var i=n("d039"),r=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==l||n!=c&&("function"==typeof t?i(t):!!t)},a=o.normalize=function(e){return String(e).replace(r,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},"950a":function(e,t,n){var i=n("30c9");e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==r(s[a],a,s););return n}}},9520:function(e,t,n){var i=n("3729"),r=n("1a8c");e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},"95ae":function(e,t,n){var i=n("100e"),r=n("9638"),o=n("9aff"),a=n("9934"),s=Object.prototype,c=s.hasOwnProperty,l=i((function(e,t){e=Object(e);var n=-1,i=t.length,l=i>2?t[2]:void 0;for(l&&o(t[0],t[1],l)&&(i=1);++n<i;)for(var d=t[n],u=a(d),p=-1,h=u.length;++p<h;){var f=u[p],m=e[f];(void 0===m||r(m,s[f])&&!c.call(e,f))&&(e[f]=d[f])}return e}));e.exports=l},9638:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},"966f":function(e,t,n){var i=n("7e64"),r=n("c05f");e.exports=function(e,t,n,o){var a=n.length,s=a,c=!o;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var d=(l=n[a])[0],u=e[d],p=l[1];if(c&&l[2]){if(void 0===u&&!(d in e))return!1}else{var h=new i;if(o)var f=o(u,p,d,e,t,h);if(!(void 0===f?r(p,u,3,o,h):f))return!1}}return!0}},"96f3":function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},"973b":function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-select[data-v-14bdabaf]{position:relative}.vc-select select[data-v-14bdabaf]{flex-grow:1;display:block;-webkit-appearance:none;appearance:none;width:52px;height:30px;font-size:var(--text-base);font-weight:var(--font-medium);text-align:left;background-color:var(--gray-200);border:2px solid;border-color:var(--gray-200);color:var(--gray-900);padding:0 20px 0 8px;border-radius:var(--rounded);line-height:var(--leading-tight);text-indent:0;cursor:pointer;-moz-padding-start:3px}.vc-select select[data-v-14bdabaf]:hover{color:var(--gray-600)}.vc-select select[data-v-14bdabaf]:focus{outline:0;border-color:var(--accent-400);background-color:var(--white)}.vc-select-arrow[data-v-14bdabaf]{display:flex;align-items:center;pointer-events:none;position:absolute;top:0;bottom:0;right:0;padding:0 4px 0 0;color:var(--gray-500)}.vc-select-arrow svg[data-v-14bdabaf]{width:16px;height:16px;fill:currentColor}.vc-is-dark select[data-v-14bdabaf]{background:var(--gray-700);color:var(--gray-100);border-color:var(--gray-700)}.vc-is-dark select[data-v-14bdabaf]:hover{color:var(--gray-400)}.vc-is-dark select[data-v-14bdabaf]:focus{border-color:var(--accent-500);background-color:var(--gray-800)}",""]),e.exports=t},"97d3":function(e,t,n){var i=n("48a0"),r=n("30c9");
98e.exports=function(e,t){var n=-1,o=r(e)?Array(e.length):[];return i(e,(function(e,i,r){o[++n]=t(e,i,r)})),o}},9934:function(e,t,n){var i=n("6fcd"),r=n("41c3"),o=n("30c9");e.exports=function(e){return o(e)?i(e,!0):r(e)}},"99cd":function(e,t){e.exports=function(e){return function(t,n,i){for(var r=-1,o=Object(t),a=i(t),s=a.length;s--;){var c=a[e?s:++r];if(!1===n(o[c],c,o))break}return t}}},"99d3":function(e,t,n){(function(e){var i=n("585a"),r=t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===r&&i.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n("62e4")(e))},"9aff":function(e,t,n){var i=n("9638"),r=n("30c9"),o=n("c098"),a=n("1a8c");e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?r(n)&&o(t,n.length):"string"==s&&t in n)&&i(n[t],e)}},"9b02":function(e,t,n){var i=n("656b");e.exports=function(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}},"9bf2":function(e,t,n){var i=n("83ab"),r=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),r)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}},"9e2e":function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-pane-container{width:100%;position:relative}.vc-pane-container.in-transition{overflow:hidden}.vc-pane-layout{display:grid}.vc-arrow{display:flex;justify-content:center;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:auto;color:var(--gray-600);border-width:2px;border-style:solid;border-radius:var(--rounded);border-color:transparent}.vc-arrow:hover{background:var(--gray-200)}.vc-arrow:focus{border-color:var(--gray-300)}.vc-arrow.is-disabled{opacity:.25;pointer-events:none;cursor:not-allowed}.vc-day-popover-container{color:var(--white);background-color:var(--gray-800);border:1px solid;border-color:var(--gray-700);border-radius:var(--rounded);font-size:var(--text-xs);font-weight:var(--font-medium);padding:4px 8px;box-shadow:var(--shadow)}.vc-day-popover-header{font-size:var(--text-xs);color:var(--gray-300);font-weight:var(--font-semibold);text-align:center}.vc-arrows-container{width:100%;position:absolute;top:0;display:flex;justify-content:space-between;padding:8px 10px;pointer-events:none}.vc-arrows-container.title-left{justify-content:flex-end}.vc-arrows-container.title-right{justify-content:flex-start}.vc-is-dark .vc-arrow{color:var(--white)}.vc-is-dark .vc-arrow:hover{background:var(--gray-800)}.vc-is-dark .vc-arrow:focus{border-color:var(--gray-700)}.vc-is-dark .vc-day-popover-container{color:var(--gray-800);background-color:var(--white);border-color:var(--gray-100)}.vc-is-dark .vc-day-popover-header{color:var(--gray-700)}",""]),e.exports=t},"9e69":function(e,t,n){var i=n("2b3e").Symbol;e.exports=i},"9e83":function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-nav-popover-container{color:var(--white);font-size:var(--text-sm);font-weight:var(--font-semibold);background-color:var(--gray-800);border:1px solid;border-color:var(--gray-700);border-radius:var(--rounded-lg);padding:4px;box-shadow:var(--shadow)}.vc-is-dark .vc-nav-popover-container{color:var(--gray-800);background-color:var(--white);border-color:var(--gray-100)}",""]),e.exports=t},"9e86":function(e,t,n){var i=n("872a"),r=n("242e"),o=n("badf");e.exports=function(e,t){var n={};return t=o(t,3),r(e,(function(e,r,o){i(n,r,t(e,r,o))})),n}},"9ed3":function(e,t,n){var i=n("ae93").IteratorPrototype,r=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(i,{next:o(1,n)}),a(e,l,!1,!0),s[l]=c,e}},"9f7f":function(e,t,n){var i=n("d039"),r=function(e,t){return RegExp(e,t)};t.UNSUPPORTED_Y=i((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=i((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a029:function(e,t,n){var i=n("087d"),r=n("2dcb"),o=n("32f4"),a=n("d327"),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)i(t,o(e)),e=r(e);return t}:a;e.exports=s}
98,a10d:function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-day[data-v-4420d078]{position:relative;min-height:32px;z-index:1}.vc-day.is-not-in-month *[data-v-4420d078]{opacity:0;pointer-events:none}.vc-day-layer[data-v-4420d078]{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}.vc-day-box-center-center[data-v-4420d078]{display:flex;justify-content:center;align-items:center;transform-origin:50% 50%}.vc-day-box-left-center[data-v-4420d078]{display:flex;justify-content:flex-start;align-items:center;transform-origin:0 50%}.vc-day-box-right-center[data-v-4420d078]{display:flex;justify-content:flex-end;align-items:center;transform-origin:100% 50%}.vc-day-box-center-bottom[data-v-4420d078]{display:flex;justify-content:center;align-items:flex-end}.vc-day-content[data-v-4420d078]{display:flex;justify-content:center;align-items:center;font-size:var(--text-sm);font-weight:var(--font-medium);width:28px;height:28px;line-height:28px;border-radius:var(--rounded-full);-webkit-user-select:none;user-select:none;cursor:pointer}.vc-day-content[data-v-4420d078]:hover{background-color:rgba(204,214,224,.3)}.vc-day-content[data-v-4420d078]:focus{font-weight:var(--font-bold);background-color:rgba(204,214,224,.4)}.vc-day-content.is-disabled[data-v-4420d078]{color:var(--gray-400)}.vc-is-dark .vc-day-content[data-v-4420d078]:hover{background-color:rgba(114,129,151,.3)}.vc-is-dark .vc-day-content[data-v-4420d078]:focus{background-color:rgba(114,129,151,.4)}.vc-is-dark .vc-day-content.is-disabled[data-v-4420d078]{color:var(--gray-600)}.vc-highlights[data-v-4420d078]{overflow:hidden;pointer-events:none;z-index:-1}.vc-highlight[data-v-4420d078]{width:28px;height:28px}.vc-highlight.vc-highlight-base-start[data-v-4420d078]{width:50%!important;border-radius:0!important;border-right-width:0!important}.vc-highlight.vc-highlight-base-end[data-v-4420d078]{width:50%!important;border-radius:0!important;border-left-width:0!important}.vc-highlight.vc-highlight-base-middle[data-v-4420d078]{width:100%;border-radius:0!important;border-left-width:0!important;border-right-width:0!important;margin:0 -1px}.vc-dots[data-v-4420d078]{display:flex;justify-content:center;align-items:center}.vc-dot[data-v-4420d078]{width:5px;height:5px;border-radius:50%;transition:all var(--day-content-transition-time)}.vc-dot[data-v-4420d078]:not(:last-child){margin-right:3px}.vc-bars[data-v-4420d078]{display:flex;justify-content:flex-start;align-items:center;width:75%}.vc-bar[data-v-4420d078]{flex-grow:1;height:3px;transition:all var(--day-content-transition-time)}",""]),e.exports=t},a2be:function(e,t,n){var i=n("d612"),r=n("4284"),o=n("c584");e.exports=function(e,t,n,a,s,c){var l=1&n,d=e.length,u=t.length;if(d!=u&&!(l&&u>d))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var f=-1,m=!0,v=2&n?new i:void 0;for(c.set(e,t),c.set(t,e);++f<d;){var g=e[f],b=t[f];if(a)var y=l?a(b,g,f,t,e,c):a(g,b,f,e,t,c);if(void 0!==y){if(y)continue;m=!1;break}if(v){if(!r(t,(function(e,t){if(!o(v,t)&&(g===e||s(g,e,n,a,c)))return v.push(t)}))){m=!1;break}}else if(g!==b&&!s(g,b,n,a,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},a2db:function(e,t,n){var i=n("9e69"),r=i?i.prototype:void 0,o=r?r.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},a3fd:function(e,t,n){var i=n("7948");e.exports=function(e,t){return i(t,(function(t){return[t,e[t]]}))}},a454:function(e,t,n){var i=n("72f0"),r=n("3b4a"),o=n("cd9d"),a=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:o;e.exports=a},a524:function(e,t,n){var i=n("4245");e.exports=function(e){return i(this,e).has(e)}},a59b:function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},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)}},a994:function(e,t,n){var i=n("7d1f"),r=n("32f4"),o=n("ec69");e.exports=function(e){return i(e,o,r)}},ac1f:function(e,t,n){var i=n("23e7"),r=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ac41:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},ad6d:function(e,t,n){var i=n("825a");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}}
98,adc8:function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-day-popover-row[data-v-eb5afd1a]{--day-content-transition-time:0.13s ease-in;display:flex;align-items:center;transition:all var(--day-content-transition-time)}.vc-day-popover-row[data-v-eb5afd1a]:not(:first-child){margin-top:3px}.vc-day-popover-row-indicator[data-v-eb5afd1a]{display:flex;justify-content:center;align-items:center;flex-grow:0;width:15px;margin-right:3px}.vc-day-popover-row-indicator span[data-v-eb5afd1a]{transition:all var(--day-content-transition-time)}.vc-day-popover-row-content[data-v-eb5afd1a]{display:flex;align-items:center;flex-wrap:none;flex-grow:1;width:max-content}",""]),e.exports=t},ae93:function(e,t,n){var i,r,o,a=n("d039"),s=n("e163"),c=n("9112"),l=n("5135"),d=n("b622"),u=n("c430"),p=d("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(r=s(s(o)))!==Object.prototype&&(i=r):h=!0);var f=null==i||a((function(){var e={};return i[p].call(e)!==e}));f&&(i={}),u&&!f||l(i,p)||c(i,p,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:h}},b047:function(e,t){e.exports=function(e){return function(t){return e(t)}}},b1d2:function(e,t,n){var i=n("3729"),r=n("1310");e.exports=function(e){return r(e)&&"[object Date]"==i(e)}},b1e5:function(e,t,n){var i=n("a994"),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var c=1&n,l=i(e),d=l.length;if(d!=i(t).length&&!c)return!1;for(var u=d;u--;){var p=l[u];if(!(c?p in t:r.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var v=c;++u<d;){var g=e[p=l[u]],b=t[p];if(o)var y=c?o(b,g,p,t,e,s):o(g,b,p,e,t,s);if(!(void 0===y?g===b||a(g,b,n,o,s):y)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var A=e.constructor,_=t.constructor;A==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof A&&A instanceof A&&"function"==typeof _&&_ instanceof _||(m=!1)}return s.delete(e),s.delete(t),m}},b218:function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},b4b0:function(e,t,n){var i=n("8d74"),r=n("1a8c"),o=n("ffd6"),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},b4c0:function(e,t,n){var i=n("cb5a");e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},b5a7:function(e,t,n){var i=n("0b07")(n("2b3e"),"DataView");e.exports=i},b622:function(e,t,n){var i=n("da84"),r=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),l=r("wks"),d=i.Symbol,u=c?d:d&&d.withoutSetter||a;e.exports=function(e){return o(l,e)&&(s||"string"==typeof l[e])||(s&&o(d,e)?l[e]=d[e]:l[e]=u("Symbol."+e)),l[e]}},b760:function(e,t,n){var i=n("872a"),r=n("9638");e.exports=function(e,t,n){(void 0!==n&&!r(e[t],n)||void 0===n&&!(t in e))&&i(e,t,n)}},badf:function(e,t,n){var i=n("642a"),r=n("1838"),o=n("cd9d"),a=n("6747"),s=n("f9ce");e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?r(e[0],e[1]):i(e):s(e)}},bbc0:function(e,t,n){var i=n("6044"),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},bffb:function(e,t,n){(t=n("24fb")(!1)).push([e.i,'.vc-popover-content-wrapper[data-v-05016e86]{--popover-horizontal-content-offset:8px;--popover-vertical-content-offset:10px;--popover-slide-translation:15px;--popover-transition-time:0.14s ease-in-out;--popover-caret-horizontal-offset:18px;--popover-caret-vertical-offset:8px;position:absolute;display:block;outline:none;z-index:10}.vc-popover-content-wrapper[data-v-05016e86]:not(.is-interactive){pointer-events:none}.vc-popover-content[data-v-05016e86]{position:relative;outline:none;z-index:10;box-shadow:var(--shadow-lg)}.vc-popover-content.direction-bottom[data-v-05016e86]{margin-top:var(--popover-vertical-content-offset)}.vc-popover-content.direction-top[data-v-05016e86]{margin-bottom:var(--popover-vertical-content-offset)}.vc-popover-content.direction-left[data-v-05016e86]{margin-right:var(--popover-horizontal-content-offset)}.vc-popover-content.direction-right[data-v-05016e86]{margin-left:var(--popover-horizontal-content-offset)}.vc-popover-caret[data-v-05016e86]{content:"";position:absolute;display:block;width:12px;height:12px;border-top:inherit;border-left:inherit;background-color:inherit;-webkit-user-select:none;user-select:none;z-index:-1}
98.vc-popover-caret.direction-bottom[data-v-05016e86]{top:0}.vc-popover-caret.direction-bottom.align-left[data-v-05016e86]{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-center[data-v-05016e86]{transform:translateX(-50%) translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-right[data-v-05016e86]{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-top[data-v-05016e86]{top:100%}.vc-popover-caret.direction-top.align-left[data-v-05016e86]{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-center[data-v-05016e86]{transform:translateX(-50%) translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-right[data-v-05016e86]{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-left[data-v-05016e86]{left:100%}.vc-popover-caret.direction-left.align-top[data-v-05016e86]{transform:translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-middle[data-v-05016e86]{transform:translateY(-50%) translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-bottom[data-v-05016e86]{transform:translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-right[data-v-05016e86]{left:0}.vc-popover-caret.direction-right.align-top[data-v-05016e86]{transform:translateX(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-middle[data-v-05016e86]{transform:translateY(-50%) translateX(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-bottom[data-v-05016e86]{transform:translateX(-50%) rotate(-45deg)}.vc-popover-caret.align-left[data-v-05016e86]{left:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-center[data-v-05016e86]{left:50%}.vc-popover-caret.align-right[data-v-05016e86]{right:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-top[data-v-05016e86]{top:var(--popover-caret-vertical-offset)}.vc-popover-caret.align-middle[data-v-05016e86]{top:50%}.vc-popover-caret.align-bottom[data-v-05016e86]{bottom:var(--popover-caret-vertical-offset)}.fade-enter-active[data-v-05016e86],.fade-leave-active[data-v-05016e86],.slide-fade-enter-active[data-v-05016e86],.slide-fade-leave-active[data-v-05016e86]{transition:all var(--popover-transition-time);pointer-events:none}.fade-enter[data-v-05016e86],.fade-leave-to[data-v-05016e86],.slide-fade-enter[data-v-05016e86],.slide-fade-leave-to[data-v-05016e86]{opacity:0}.slide-fade-enter.direction-bottom[data-v-05016e86],.slide-fade-leave-to.direction-bottom[data-v-05016e86]{transform:translateY(calc(var(--popover-slide-translation)*-1))}.slide-fade-enter.direction-top[data-v-05016e86],.slide-fade-leave-to.direction-top[data-v-05016e86]{transform:translateY(var(--popover-slide-translation))}.slide-fade-enter.direction-left[data-v-05016e86],.slide-fade-leave-to.direction-left[data-v-05016e86]{transform:translateX(var(--popover-slide-translation))}.slide-fade-enter.direction-right[data-v-05016e86],.slide-fade-leave-to.direction-right[data-v-05016e86]{transform:translateX(calc(var(--popover-slide-translation)*-1))}',""]),e.exports=t},c04e:function(e,t,n){var i=n("861d");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")}},c05f:function(e,t,n){var i=n("7b97"),r=n("1310");e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:i(t,n,o,a,e,s))}},c098:function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<t}},c1c9:function(e,t,n){var i=n("a454"),r=n("f3c1")(i);e.exports=r},c2b6:function(e,t,n){var i=n("f8af"),r=n("5d89"),o=n("6f6c"),a=n("a2db"),s=n("c8fe");e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return i(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return r(e,n);
98case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Set]":return new c;case"[object Symbol]":return a(e)}}},c3fc:function(e,t,n){var i=n("42a2"),r=n("1310");e.exports=function(e){return r(e)&&"[object Set]"==i(e)}},c430:function(e,t){e.exports=!1},c584:function(e,t){e.exports=function(e,t){return e.has(t)}},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var i=n("da84"),r=n("ce4e"),o="__core-js_shared__",a=i[o]||r(o,{});e.exports=a},c6cf:function(e,t,n){var i=n("4d8c"),r=n("2286"),o=n("c1c9");e.exports=function(e){return o(r(e,void 0,i),e+"")}},c869:function(e,t,n){var i=n("0b07")(n("2b3e"),"Set");e.exports=i},c87c:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(i.index=e.index,i.input=e.input),i}},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},c8fe:function(e,t,n){var i=n("f8af");e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},ca84:function(e,t,n){var i=n("5135"),r=n("fc6a"),o=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=r(e),c=0,l=[];for(n in s)!i(a,n)&&i(s,n)&&l.push(n);for(;t.length>c;)i(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},cb5a:function(e,t,n){var i=n("9638");e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},cc12:function(e,t,n){var i=n("da84"),r=n("861d"),o=i.document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cc45:function(e,t,n){var i=n("1a2d"),r=n("b047"),o=n("99d3"),a=o&&o.isMap,s=a?r(a):i;e.exports=s},cd9d:function(e,t){e.exports=function(e){return e}},ce4e:function(e,t,n){var i=n("da84"),r=n("9112");e.exports=function(e,t){try{r(i,e,t)}catch(n){i[e]=t}return t}},ce86:function(e,t,n){var i=n("9e69"),r=n("7948"),o=n("6747"),a=n("ffd6"),s=i?i.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},cebd:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}},cfe5:function(e,t,n){n.d(t,"a",(function(){return s}));var i=n("f7f1"),r=n("2fa3"),o=n("9404"),a=n("29ae");class s{constructor(e,{order:t=0,locale:n,isFullDay:c}={}){if(this.isDateInfo=!0,this.order=t,this.locale=n instanceof a.b?n:new a.b(n),this.firstDayOfWeek=this.locale.firstDayOfWeek,!Object(o.m)(e)){const t=this.locale.normalizeDate(e);e=c?{start:t,end:t}:{startOn:t,endOn:t}}let l=null,d=null;if(e.start?l=this.locale.normalizeDate(e.start,{...this.opts,time:"00:00:00"}):e.startOn&&(l=this.locale.normalizeDate(e.startOn,this.opts)),e.end?d=this.locale.normalizeDate(e.end,{...this.opts,time:"23:59:59"}):e.endOn&&(d=this.locale.normalizeDate(e.endOn,this.opts)),l&&d&&l>d){const e=l;l=d,d=e}else l&&e.span>=1&&(d=Object(i.a)(l,e.span-1));this.start=l,this.startTime=l?l.getTime():NaN,this.end=d,this.endTime=d?d.getTime():NaN,this.isDate=this.startTime&&this.startTime===this.endTime,this.isRange=!this.isDate;const u=Object(r.i)(e,{},s.patternProps);if(u.assigned&&(this.on={and:u.target}),e.on){const t=(Object(o.h)(e.on)?e.on:[e.on]).map((function(e){if(Object(o.k)(e))return e;const t=Object(r.i)(e,{},s.patternProps);return t.assigned?t.target:null})).filter((function(e){return e}));t.length&&(this.on={...this.on,or:t})}this.isComplex=!!this.on}get opts(){return{order:this.order,locale:this.locale}}toDateInfo(e){return e.isDateInfo?e:new s(e,this.opts)}startOfWeek(e){const t=e.getDay()+1,n=t>=this.firstDayOfWeek?this.firstDayOfWeek-t:-(7-(this.firstDayOfWeek-t));return Object(i.a)(e,n)}diffInDays(e,t){return Math.round((t-e)/864e5)}diffInWeeks(e,t){return this.diffInDays(this.startOfWeek(e),this.startOfWeek(t))}diffInYears(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}diffInMonths(e,t){return 12*this.diffInYears(e,t)+(t.getMonth()-e.getMonth())}static get patterns(){return{dailyInterval:{test:function(e,t,n){return n.diffInDays(n.start||new Date,e.date)%t==0}},weeklyInterval:{test:function(e,t,n){return n.diffInWeeks(n.start||new Date,e.date)%t==0}},monthlyInterval:{test:function(e,t,n){return n.diffInMonths(n.start||new Date,e.date)%t==0}},yearlyInterval:{test:function(){return function(e,t,n){return n.diffInYears(n.start||new Date,e.date)%t==0}}},days:{validate:function(e){return Object(o.h)(e)?e:[parseInt(e,10)]},test:function(e,t){return t.includes(e.day)||t.includes(-e.dayFromEnd)}},weekdays:{validate:function(e){return Object(o.h)(e)?e:[parseInt(e,10)]},test:function(e,t){return t.includes(e.weekday)}},ordinalWeekdays:{validate:function(e){return Object.keys(e).reduce((function(t,n){const i=e[n];return i?(t[n]=Object(o.h)(i)?i:[parseInt(i,10)],t):t}),{})},test:function(e,t){return Object.keys(t).map((function(e){return parseInt(e,10)})).find((function(n){return t[n].includes(e.weekday)&&(n===e.weekdayOrdinal||n===-e.weekdayOrdinalFromEnd)}))}},weekends:{validate:function(e){return e},test:function(e){return 1===e.weekday||7===e.weekday}},workweek:{validate:function(e){return e},test:function(e){return e.weekday>=2&&e.weekday<=6}},weeks:{validate:function(e){return Object(o.h)(e)?e:[parseInt(e,10)]},test:function(e,t){return t.includes(e.week)||t.includes(-e.weekFromEnd)}},months:{validate:function(e){return Object(o.h)(e)?e:[parseInt(e,10)]},test:function(e,t){return t.includes(e.month)}},years:{validate:function(e){return Object(o.h)(e)?e:[parseInt(e,10)]},test:function(e,t){return t.includes(e.year)}}}}static get patternProps(){return Object.keys(s.patterns).map((function(e){return{name:e,validate:s.patterns[e].validate}}))}
98static testConfig(e,t,n){return Object(o.k)(e)?e(t):Object(o.m)(e)?Object.keys(e).every((function(i){return s.patterns[i].test(t,e[i],n)})):null}iterateDatesInRange({start:e,end:t},n){if(!e||!t||!Object(o.k)(n))return null;const r={i:0,date:e=this.locale.normalizeDate(e,{...this.opts,time:"00:00:00"}),day:this.locale.getDateParts(e),finished:!1};let a=null;for(;!r.finished&&r.date<=t;r.i++)a=n(r),r.date=Object(i.a)(r.date,1),r.day=this.locale.getDateParts(r.date);return a}shallowIntersectingRange(e){return this.rangeShallowIntersectingRange(this,this.toDateInfo(e))}rangeShallowIntersectingRange(e,t){if(!this.dateShallowIntersectsDate(e,t))return null;const n=e.toRange(),i=t.toRange();let r=null,o=null;return n.start?r=i.start?n.start>i.start?n.start:i.start:n.start:i.start&&(r=i.start),n.end?o=i.end?n.end<i.end?n.end:i.end:n.end:i.end&&(o=i.end),{start:r,end:o}}intersectsDate(e){var t=this;const n=this.toDateInfo(e);if(!this.shallowIntersectsDate(n))return null;if(!this.on)return this;const i=this.rangeShallowIntersectingRange(this,n);let r=!1;return this.iterateDatesInRange(i,(function(e){t.matchesDay(e.day)&&(r=r||n.matchesDay(e.day),e.finished=r)})),r}shallowIntersectsDate(e){return this.dateShallowIntersectsDate(this,this.toDateInfo(e))}dateShallowIntersectsDate(e,t){return e.isDate?t.isDate?e.startTime===t.startTime:this.dateShallowIncludesDate(t,e):t.isDate?this.dateShallowIncludesDate(e,t):!(e.start&&t.end&&e.start>t.end||e.end&&t.start&&e.end<t.start)}includesDate(e){var t=this;const n=this.toDateInfo(e);if(!this.shallowIncludesDate(n))return!1;if(!this.on)return!0;const i=this.rangeShallowIntersectingRange(this,n);let r=!0;return this.iterateDatesInRange(i,(function(e){t.matchesDay(e.day)&&(r=r&&n.matchesDay(e.day),e.finished=!r)})),r}shallowIncludesDate(e){return this.dateShallowIncludesDate(this,e.isDate?e:new s(e,this.opts))}dateShallowIncludesDate(e,t){return e.isDate?t.isDate?e.startTime===t.startTime:!(!t.startTime||!t.endTime)&&e.startTime===t.startTime&&e.startTime===t.endTime:t.isDate?!(e.start&&t.start<e.start||e.end&&t.start>e.end):!(e.start&&(!t.start||t.start<e.start)||e.end&&(!t.end||t.end>e.end))}intersectsDay(e){return this.shallowIntersectsDate(e.range)&&this.matchesDay(e)?this:null}matchesDay(e){var t=this;return!(this.on&&(this.on.and&&!s.testConfig(this.on.and,e,this)||this.on.or&&!this.on.or.some((function(n){return s.testConfig(n,e,t)}))))}toRange(){return new s({start:this.start,end:this.end},this.opts)}compare(e){if(this.order!==e.order)return this.order-e.order;if(this.isDate!==e.isDate)return this.isDate?1:-1;if(this.isDate)return 0;const t=this.start-e.start;return 0!==t?t:this.end-e.end}}},d012:function(e,t){e.exports={}},d02c:function(e,t,n){var i=n("5e2e"),r=n("79bc"),o=n("7b83");e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},d066:function(e,t,n){var i=n("428f"),r=n("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e])||o(r[e]):i[e]&&i[e][t]||r[e]&&r[e][t]}},d1e7:function(e,t,n){var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},d2bb:function(e,t,n){var i=n("825a"),r=n("3bbe");
98e.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,o){return i(n),r(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d327:function(e,t){e.exports=function(){return[]}},d370:function(e,t,n){var i=n("253c"),r=n("1310"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},d438:function(e,t,n){var i=n("3db9");n.n(i).a},d44e:function(e,t,n){var i=n("9bf2").f,r=n("5135"),o=n("b622")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},d483:function(e,t,n){var i=n("bffb");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("e3b25692",i,!0,{sourceMap:!1,shadowMode:!1})},d612:function(e,t,n){var i=n("7b83"),r=n("7ed2"),o=n("dc0f");function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=o,e.exports=a},d784:function(e,t,n){n("ac1f");var i=n("6eeb"),r=n("9263"),o=n("d039"),a=n("b622"),s=n("9112"),c=a("species"),l=RegExp.prototype;e.exports=function(e,t,n,d){var u=a(e),p=!o((function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})),h=p&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[u]=/./[u]),n.exec=function(){return t=!0,null},n[u](""),!t}));if(!p||!h||n){var f=/./[u],m=t(u,""[e],(function(e,t,n,i,o){var a=t.exec;return a===r||a===l.exec?p&&!o?{done:!0,value:f.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}));i(String.prototype,e,m[0]),i(l,u,m[1])}d&&s(l[u],"sham",!0)}},d7ee:function(e,t,n){var i=n("c3fc"),r=n("b047"),o=n("99d3"),a=o&&o.isSet,s=a?r(a):i;e.exports=s},d99e:function(e,t,n){var i=n("d483");n.n(i).a},da03:function(e,t,n){var i=n("2b3e")["__core-js_shared__"];e.exports=i},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc0f:function(e,t){e.exports=function(e){return this.__data__.has(e)}},dc57:function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},dc8c:function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-container{--white:#fff;--black:#000;--gray-100:#f7fafc;--gray-200:#edf2f7;--gray-300:#e2e8f0;--gray-400:#cbd5e0;--gray-500:#a0aec0;--gray-600:#718096;--gray-700:#4a5568;--gray-800:#2d3748;--gray-900:#1a202c;--red-100:#fff5f5;--red-200:#fed7d7;--red-300:#feb2b2;--red-400:#fc8181;--red-500:#f56565;--red-600:#e53e3e;--red-700:#c53030;--red-800:#9b2c2c;--red-900:#742a2a;--orange-100:#fffaf0;--orange-200:#feebc8;--orange-300:#fbd38d;--orange-400:#f6ad55;--orange-500:#ed8936;--orange-600:#dd6b20;--orange-700:#c05621;--orange-800:#9c4221;--orange-900:#7b341e;--yellow-100:ivory;--yellow-200:#fefcbf;--yellow-300:#faf089;--yellow-400:#f6e05e;--yellow-500:#ecc94b;--yellow-600:#d69e2e;--yellow-700:#b7791f;--yellow-800:#975a16;--yellow-900:#744210;--green-100:#f0fff4;--green-200:#c6f6d5;--green-300:#9ae6b4;--green-400:#68d391;--green-500:#48bb78;--green-600:#38a169;--green-700:#2f855a;--green-800:#276749;--green-900:#22543d;--teal-100:#e6fffa;--teal-200:#b2f5ea;--teal-300:#81e6d9;--teal-400:#4fd1c5;--teal-500:#38b2ac;--teal-600:#319795;--teal-700:#2c7a7b;--teal-800:#285e61;--teal-900:#234e52;--blue-100:#ebf8ff;--blue-200:#bee3f8;--blue-300:#90cdf4;--blue-400:#63b3ed;--blue-500:#4299e1;--blue-600:#3182ce;--blue-700:#2b6cb0;--blue-800:#2c5282;--blue-900:#2a4365;--indigo-100:#ebf4ff;--indigo-200:#c3dafe;--indigo-300:#a3bffa;--indigo-400:#7f9cf5;--indigo-500:#667eea;--indigo-600:#5a67d8;--indigo-700:#4c51bf;--indigo-800:#434190;--indigo-900:#3c366b;--purple-100:#faf5ff;--purple-200:#e9d8fd;--purple-300:#d6bcfa;--purple-400:#b794f4;--purple-500:#9f7aea;--purple-600:#805ad5;--purple-700:#6b46c1;--purple-800:#553c9a;--purple-900:#44337a;--pink-100:#fff5f7;--pink-200:#fed7e2;--pink-300:#fbb6ce;--pink-400:#f687b3;--pink-500:#ed64a6;--pink-600:#d53f8c;
98--pink-700:#b83280;--pink-800:#97266d;--pink-900:#702459}.vc-container.vc-red{--accent-100:var(--red-100);--accent-200:var(--red-200);--accent-300:var(--red-300);--accent-400:var(--red-400);--accent-500:var(--red-500);--accent-600:var(--red-600);--accent-700:var(--red-700);--accent-800:var(--red-800);--accent-900:var(--red-900)}.vc-container.vc-orange{--accent-100:var(--orange-100);--accent-200:var(--orange-200);--accent-300:var(--orange-300);--accent-400:var(--orange-400);--accent-500:var(--orange-500);--accent-600:var(--orange-600);--accent-700:var(--orange-700);--accent-800:var(--orange-800);--accent-900:var(--orange-900)}.vc-container.vc-yellow{--accent-100:var(--yellow-100);--accent-200:var(--yellow-200);--accent-300:var(--yellow-300);--accent-400:var(--yellow-400);--accent-500:var(--yellow-500);--accent-600:var(--yellow-600);--accent-700:var(--yellow-700);--accent-800:var(--yellow-800);--accent-900:var(--yellow-900)}.vc-container.vc-green{--accent-100:var(--green-100);--accent-200:var(--green-200);--accent-300:var(--green-300);--accent-400:var(--green-400);--accent-500:var(--green-500);--accent-600:var(--green-600);--accent-700:var(--green-700);--accent-800:var(--green-800);--accent-900:var(--green-900)}.vc-container.vc-teal{--accent-100:var(--teal-100);--accent-200:var(--teal-200);--accent-300:var(--teal-300);--accent-400:var(--teal-400);--accent-500:var(--teal-500);--accent-600:var(--teal-600);--accent-700:var(--teal-700);--accent-800:var(--teal-800);--accent-900:var(--teal-900)}.vc-container.vc-blue{--accent-100:var(--blue-100);--accent-200:var(--blue-200);--accent-300:var(--blue-300);--accent-400:var(--blue-400);--accent-500:var(--blue-500);--accent-600:var(--blue-600);--accent-700:var(--blue-700);--accent-800:var(--blue-800);--accent-900:var(--blue-900)}.vc-container.vc-indigo{--accent-100:var(--indigo-100);--accent-200:var(--indigo-200);--accent-300:var(--indigo-300);--accent-400:var(--indigo-400);--accent-500:var(--indigo-500);--accent-600:var(--indigo-600);--accent-700:var(--indigo-700);--accent-800:var(--indigo-800);--accent-900:var(--indigo-900)}.vc-container.vc-purple{--accent-100:var(--purple-100);--accent-200:var(--purple-200);--accent-300:var(--purple-300);--accent-400:var(--purple-400);--accent-500:var(--purple-500);--accent-600:var(--purple-600);--accent-700:var(--purple-700);--accent-800:var(--purple-800);--accent-900:var(--purple-900)}.vc-container.vc-pink{--accent-100:var(--pink-100);--accent-200:var(--pink-200);--accent-300:var(--pink-300);--accent-400:var(--pink-400);--accent-500:var(--pink-500);--accent-600:var(--pink-600);--accent-700:var(--pink-700);--accent-800:var(--pink-800);--accent-900:var(--pink-900)}.vc-container{--font-normal:400;--font-medium:500;--font-semibold:600;--font-bold:700;--text-xs:12px;--text-sm:14px;--text-base:16px;--text-lg:18px;--leading-snug:1.375;--rounded:0.25rem;--rounded-lg:0.5rem;--rounded-full:9999px;--shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);--shadow-lg:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);--shadow-inner:inset 0 2px 4px 0 rgba(0,0,0,0.06);--slide-translate:22px;--slide-duration:0.15s;--slide-timing:ease;--day-content-transition-time:0.13s ease-in;--weeknumber-offset:-34px;position:relative;display:inline-flex;width:max-content;height:max-content;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:var(--gray-900);background-color:var(--white);border:1px solid;border-color:var(--gray-400);border-radius:var(--rounded-lg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}.vc-container,.vc-container *{box-sizing:border-box}.vc-container:focus,.vc-container :focus{outline:none}
98.vc-container [role=button],.vc-container button{cursor:pointer}.vc-container.vc-is-expanded{min-width:100%}.vc-container .vc-container{border:none}.vc-container.vc-is-dark{color:var(--gray-100);background-color:var(--gray-900);border-color:var(--gray-700)}",""]),e.exports=t},dcbe:function(e,t,n){var i=n("30c9"),r=n("1310");e.exports=function(e){return r(e)&&i(e)}},dd61:function(e,t,n){var i=n("7948"),r=n("badf"),o=n("97d3"),a=n("6747");e.exports=function(e,t){return(a(e)?i:o)(e,r(t,3))}},ddb0:function(e,t,n){var i=n("da84"),r=n("fdbc"),o=n("e260"),a=n("9112"),s=n("b622"),c=s("iterator"),l=s("toStringTag"),d=o.values;for(var u in r){var p=i[u],h=p&&p.prototype;if(h){if(h[c]!==d)try{a(h,c,d)}catch(e){h[c]=d}if(h[l]||a(h,l,u),r[u])for(var f in o)if(h[f]!==o[f])try{a(h,f,o[f])}catch(e){h[f]=o[f]}}}},de5e:function(e,t,n){var i=n("72f5");n.n(i).a},df75:function(e,t,n){var i=n("ca84"),r=n("7839");e.exports=Object.keys||function(e){return i(e,r)}},df9e:function(e,t,n){var i=n("9e83");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("29f48e5f",i,!0,{sourceMap:!1,shadowMode:!1})},e031:function(e,t,n){var i=n("f909"),r=n("1a8c");e.exports=function e(t,n,o,a,s,c){return r(t)&&r(n)&&(c.set(n,t),i(t,n,void 0,e,c),c.delete(n)),t}},e0e7:function(e,t,n){var i=n("60ed");e.exports=function(e){return i(e)?void 0:e}},e163:function(e,t,n){var i=n("5135"),r=n("7b0b"),o=n("f772"),a=n("e177"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),i(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c: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}))},e24b:function(e,t,n){var i=n("49f4"),r=n("1efc"),o=n("bbc0"),a=n("7a48"),s=n("2524");function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},e260:function(e,t,n){var i=n("fc6a"),r=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("7dd0"),c="Array Iterator",l=a.set,d=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){l(this,{type:c,target:i(e),index:0,kind:t})}),(function(){var e=d(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"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},e2a0:function(e,t,n){var i=n("3729"),r=n("6747"),o=n("1310");e.exports=function(e){return"string"==typeof e||!r(e)&&o(e)&&"[object String]"==i(e)}},e2c0:function(e,t,n){var i=n("e2e4"),r=n("d370"),o=n("6747"),a=n("c098"),s=n("b218"),c=n("f4d6");e.exports=function(e,t,n){for(var l=-1,d=(t=i(t,e)).length,u=!1;++l<d;){var p=c(t[l]);if(!(u=null!=e&&n(e,p)))break;e=e[p]}return u||++l!=d?u:!!(d=null==e?0:e.length)&&s(d)&&a(p,d)&&(o(e)||r(e))}},e2e4:function(e,t,n){var i=n("6747"),r=n("f608"),o=n("18d8"),a=n("76dd");e.exports=function(e,t){return i(e)?e:r(e,t)?[e]:o(a(e))}},e380:function(e,t,n){var i=n("7b83");function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(r.Cache||i),n}r.Cache=i,e.exports=r},e3f8:function(e,t,n){var i=n("656b");e.exports=function(e){return function(t){return i(t,e)}}},e538:function(e,t,n){(function(e){var i=n("2b3e"),r=t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===r?i.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=s?s(n):new e.constructor(n);return e.copy(i),i}}).call(this,n("62e4")(e))},e893:function(e,t,n){var i=n("5135"),r=n("56ef"),o=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=r(t),s=a.f,c=o.f,l=0;l<n.length;l++){var d=n[l];i(e,d)||s(e,d,c(t,d))}}},e969:function(e,t,n){var i=n("0da5");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,n("499e").default)("61c2bd5e",i,!0,{sourceMap:!1,shadowMode:!1})},eac5:function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},ec47:function(e,t,n){var i=n("a3fd"),r=n("42a2"),o=n("edfa"),a=n("cebd");e.exports=function(e){return function(t){var n=r(t);return"[object Map]"==n?o(t):"[object Set]"==n?a(t):i(t,e(t))}}},ec69:function(e,t,n){var i=n("6fcd"),r=n("03dd"),o=n("30c9");e.exports=function(e){return o(e)?i(e):r(e)}},ec8c:function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},ed08:function(e,t,n){n.r(t),n.d(t,"Locale",(function(){return i.b})),n.d(t,"DateInfo",(function(){return r.a})),n.d(t,"Attribute",(function(){return o.a})),n.d(t,"AttributeStore",(function(){return a.a})),n.d(t,"setupCalendar",(function(){return l})),n.d(t,"pad",(function(){return d.m})),n.d(t,"evalFn",(function(){return d.f})),n.d(t,"mergeEvents",(function(){return d.h})),n.d(t,"pageIsValid",(function(){return d.r})),n.d(t,"pageIsBeforePage",(function(){return d.o})),n.d(t,"pageIsAfterPage",(function(){return d.n})),n.d(t,"pageIsBetweenPages",(function(){return d.p})),n.d(t,"pageIsEqualToPage",(function(){return d.q})),n.d(t,"addPages",(function(){return d.a})),n.d(t,"pageRangeToArray",(function(){return d.s})),n.d(t,"datesAreEqual",(function(){return d.d})),n.d(t,"arrayHasItems",(function(){return d.b})),n.d(t,"mixinOptionalProps",(function(){return d.i})),n.d(t,"on",(function(){return d.k})),n.d(t,"off",(function(){return d.j})),n.d(t,"elementContains",(function(){return d.e})),n.d(t,"onSpaceOrEnter",(function(){return d.l})),n.d(t,"createGuid",(function(){return d.c})),n.d(t,"hash",(function(){return d.g})),n.d(t,"addTapOrClickHandler",(function(){return u.b})),n.d(t,"addHorizontalSwipeHandler",(function(){return u.a}));var i=n("29ae"),r=n("cfe5"),o=n("22f3"),a=n("9349"),s=n("51ec"),c=n("1315"),l=function(e){const t=Object(s.b)(e);return Object(c.a)(t.screens,!0),t},d=n("2fa3"),u=n("0733")},edfa:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}},ef5d:function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},efb6:function(e,t,n){var i=n("5e2e");e.exports=function(){this.__data__=new i,this.size=0}},f15d:function(e,t,n){n("ddb0");var i=n("9404");const r={ar:{dow:7,L:"D/âM/âYYYY"}
98,bg:{dow:2,L:"D.MM.YYYY"},ca:{dow:2,L:"DD/MM/YYYY"},"zh-CN":{dow:2,L:"YYYY/MM/DD"},"zh-TW":{dow:1,L:"YYYY/MM/DD"},hr:{dow:2,L:"DD.MM.YYYY"},cs:{dow:2,L:"DD.MM.YYYY"},da:{dow:2,L:"DD.MM.YYYY"},nl:{dow:2,L:"DD-MM-YYYY"},"en-US":{dow:1,L:"MM/DD/YYYY"},"en-AU":{dow:2,L:"DD/MM/YYYY"},"en-CA":{dow:1,L:"YYYY-MM-DD"},"en-GB":{dow:2,L:"DD/MM/YYYY"},"en-IE":{dow:2,L:"DD-MM-YYYY"},"en-NZ":{dow:2,L:"DD/MM/YYYY"},"en-ZA":{dow:1,L:"YYYY/MM/DD"},eo:{dow:2,L:"YYYY-MM-DD"},et:{dow:2,L:"DD.MM.YYYY"},fi:{dow:2,L:"DD.MM.YYYY"},fr:{dow:2,L:"DD/MM/YYYY"},"fr-CA":{dow:1,L:"YYYY-MM-DD"},"fr-CH":{dow:2,L:"DD.MM.YYYY"},de:{dow:2,L:"DD.MM.YYYY"},he:{dow:1,L:"DD.MM.YYYY"},id:{dow:2,L:"DD/MM/YYYY"},it:{dow:2,L:"DD/MM/YYYY"},ja:{dow:1,L:"YYYYå¹´MæDæ¥"},ko:{dow:1,L:"YYYY.MM.DD"},lv:{dow:2,L:"DD.MM.YYYY"},lt:{dow:2,L:"DD.MM.YYYY"},mk:{dow:2,L:"D.MM.YYYY"},nb:{dow:2,L:"D. MMMM YYYY"},nn:{dow:2,L:"D. MMMM YYYY"},pl:{dow:2,L:"DD.MM.YYYY"},pt:{dow:2,L:"DD/MM/YYYY"},ro:{dow:2,L:"DD.MM.YYYY"},ru:{dow:2,L:"DD.MM.YYYY"},sk:{dow:2,L:"DD.MM.YYYY"},"es-ES":{dow:2,L:"DD/MM/YYYY"},"es-MX":{dow:2,L:"DD/MM/YYYY"},sv:{dow:2,L:"YYYY-MM-DD"},th:{dow:1,L:"DD/MM/YYYY"},tr:{dow:2,L:"DD.MM.YYYY"},uk:{dow:2,L:"DD.MM.YYYY"},vi:{dow:2,L:"DD/MM/YYYY"}};r.en=r["en-US"],r.es=r["es-ES"],r.no=r.nb,r.zh=r["zh-CN"],Object(i.w)(r).forEach((function([e,{dow:t,L:n}]){r[e]={id:e,firstDayOfWeek:t,masks:{L:n}}})),t.a=r},f3c1:function(e,t){var n=Date.now;e.exports=function(e){var t=0,i=0;return function(){var r=n(),o=16-(r-i);if(i=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},f4d6:function(e,t,n){var i=n("ffd6");e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},f542:function(e,t,n){var i=n("ec47")(n("ec69"));e.exports=i},f608:function(e,t,n){var i=n("6747"),r=n("ffd6"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},f678:function(e,t,n){var i=n("8384"),r=n("b4b0");e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=r(n))==n?n:0),void 0!==t&&(t=(t=r(t))==t?t:0),i(r(e),t,n)}},f772:function(e,t,n){var i=n("5692"),r=n("90e3"),o=i("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},f7f1:function(e,t,n){n.d(t,"a",(function(){return a}));var i=n("fe1f"),r=n("fd3a"),o=n("8c86");function a(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e),a=Object(i.a)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},f8af:function(e,t,n){var i=n("2474");e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},f909:function(e,t,n){var i=n("7e64"),r=n("b760"),o=n("72af"),a=n("4f50"),s=n("1a8c"),c=n("9934"),l=n("8adb");e.exports=function e(t,n,d,u,p){t!==n&&o(n,(function(o,c){if(p||(p=new i),s(o))a(t,n,c,d,e,u,p);else{var h=u?u(l(t,c),o,c+"",t,n,p):void 0;void 0===h&&(h=o),r(t,c,h)}}),c)}},f9ce:function(e,t,n){var i=n("ef5d"),r=n("e3f8"),o=n("f608"),a=n("f4d6");e.exports=function(e){return o(e)?i(a(e)):r(e)}},fa21:function(e,t,n){var i=n("7530"),r=n("2dcb"),o=n("eac5");e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:i(r(e))}},fb15:function(e,t,n){if(n.r(t),n.d(t,"Calendar",(function(){return o.c})),n.d(t,"CalendarNav",(function(){return o.d})),n.d(t,"DatePicker",(function(){return o.f})),n.d(t,"Popover",(function(){return o.h})),n.d(t,"Locale",(function(){return o.g})),n.d(t,"DateInfo",(function(){return o.e})),n.d(t,"Attribute",(function(){return o.a})),n.d(t,"AttributeStore",(function(){return o.b})),n.d(t,"setupCalendar",(function(){return o.E})),n.d(t,"pad",(function(){return o.x})),n.d(t,"evalFn",(function(){return o.q})),n.d(t,"mergeEvents",(function(){return o.s})),n.d(t,"pageIsValid",(function(){return o.C})),n.d(t,"pageIsBeforePage",(function(){return o.z})),n.d(t,"pageIsAfterPage",(function(){return o.y})),n.d(t,"pageIsBetweenPages",(function(){return o.A})),n.d(t,"pageIsEqualToPage",(function(){return o.B})),n.d(t,"addPages",(function(){return o.j})),n.d(t,"pageRangeToArray",(function(){return o.D})),n.d(t,"datesAreEqual",(function(){return o.n})),n.d(t,"arrayHasItems",(function(){return o.l})),n.d(t,"mixinOptionalProps",(function(){return o.t})),n.d(t,"on",(function(){return o.v})),n.d(t,"off",(function(){return o.u})),n.d(t,"elementContains",(function(){return o.p})),n.d(t,"onSpaceOrEnter",(function(){return o.w})),n.d(t,"createGuid",(function(){return o.m})),n.d(t,"hash",(function(){return o.r})),n.d(t,"addTapOrClickHandler",(function(){return o.k})),n.d(t,"addHorizontalSwipeHandler",(function(){return o.i})),"undefined"!=typeof window){var i=window.document.currentScript,r=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(n.p=r[1])}var o=n("34e9");t.default=o.o},fba5:function(e,t,n){var i=n("cb5a");e.exports=function(e){return i(this.__data__,e)>-1}},fc6a:function(e,t,n){var i=n("44ad"),r=n("1d80");e.exports=function(e){return i(r(e))}},fccf:function(e,t,n){var i=n("53b1");n.n(i).a},fce3:function(e,t,n){var i=n("d039");e.exports=i((function(){var e=RegExp(".","string".charAt(0));return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))}
98,fcff:function(e,t,n){(t=n("24fb")(!1)).push([e.i,".vc-svg-icon[data-v-63f7b5ec]{display:inline-block;stroke:currentColor;stroke-width:0}.vc-svg-icon path[data-v-63f7b5ec]{fill:currentColor}",""]),e.exports=t},fd3a:function(e,t,n){n.d(t,"a",(function(){return r}));var i=n("8c86");function r(e){Object(i.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},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.iterator},fe1f:function(e,t,n){function i(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",(function(){return i}))},ffd6:function(e,t,n){var i=n("3729"),r=n("1310");e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}}})}(Vue$3)})),VCalendar=unwrapExports(vCalendar_umd_min),script$5={name:"PolicyFoundry"};const isOldIE$1="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function createInjector$1(e){return(e,t)=>addStyle$1(e,t)}let HEAD$1;const styles$1={};function addStyle$1(e,t){const n=isOldIE$1?t.media||"default":e,i=styles$1[n]||(styles$1[n]={ids:new Set,styles:[]});if(!i.ids.has(e)){i.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",t.media&&i.element.setAttribute("media",t.media),void 0===HEAD$1&&(HEAD$1=document.head||document.getElementsByTagName("head")[0]),HEAD$1.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{const e=i.ids.size-1,t=document.createTextNode(n),r=i.element.childNodes;r[e]&&i.element.removeChild(r[e]),r.length?i.element.insertBefore(t,r[e]):i.element.appendChild(t)}}}const __vue_script__$6=script$5;var __vue_render__$5=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-grey policy-foundry--view"},[t("router-view",{key:this.$route.fullPath})],1)},__vue_staticRenderFns__$5=[];__vue_render__$5._withStripped=!0;const __vue_inject_styles__$6=function(e){e&&e("data-v-444257e4_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"PolicyFoundry.vue"},media:void 0})},__vue_scope_id__$6="data-v-444257e4",__vue_module_identifier__$6=void 0,__vue_is_functional_template__$6=!1,__vue_component__$4=normalizeComponent({render:__vue_render__$5,staticRenderFns:__vue_staticRenderFns__$5},__vue_inject_styles__$6,__vue_script__$6,__vue_scope_id__$6,__vue_is_functional_template__$6,__vue_module_identifier__$6,!1,createInjector$1,void 0,void 0); 99/*! 100 * vue-router v3.5.2 101 * (c) 2021 Evan You 102 * @license MIT 103 */ 104function extend$4(e,t){for(var n in t)e[n]=t[n];return e}var encodeReserveRE=/[!'()*]/g,encodeReserveReplacer=function(e){return"%"+e.charCodeAt(0).toString(16)},commaRE=/%2C/g,encode=function(e){return encodeURIComponent(e).replace(encodeReserveRE,encodeReserveReplacer).replace(commaRE,",")};function decode(e){try{return decodeURIComponent(e)}catch(e){}return e}function resolveQuery(e,t,n){void 0===t&&(t={});var i,r=n||parseQuery;try{i=r(e||"")}catch(e){i={}}for(var o in t){var a=t[o];i[o]=Array.isArray(a)?a.map(castQueryParamValue):castQueryParamValue(a)}return i}var castQueryParamValue=function(e){return null==e||"object"==typeof e?e:String(e)};function parseQuery(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=decode(n.shift()),r=n.length>0?decode(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]})),t):t}function stringifyQuery(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return encode(t);if(Array.isArray(n)){var i=[];
104return n.forEach((function(e){void 0!==e&&(null===e?i.push(encode(t)):i.push(encode(t)+"="+encode(e)))})),i.join("&")}return encode(t)+"="+encode(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var trailingSlashRE=/\/?$/;function createRoute(e,t,n,i){var r=i&&i.options.stringifyQuery,o=t.query||{};try{o=clone$3(o)}catch(e){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:getFullPath(t,r),matched:e?formatMatch(e):[]};return n&&(a.redirectedFrom=getFullPath(n,r)),Object.freeze(a)}function clone$3(e){if(Array.isArray(e))return e.map(clone$3);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=clone$3(e[n]);return t}return e}var START=createRoute(null,{path:"/"});function formatMatch(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function getFullPath(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;return void 0===r&&(r=""),(n||"/")+(t||stringifyQuery)(i)+r}function isSameRoute(e,t,n){return t===START?e===t:!!t&&(e.path&&t.path?e.path.replace(trailingSlashRE,"")===t.path.replace(trailingSlashRE,"")&&(n||e.hash===t.hash&&isObjectEqual(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&isObjectEqual(e.query,t.query)&&isObjectEqual(e.params,t.params))))}function isObjectEqual(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),i=Object.keys(t).sort();return n.length===i.length&&n.every((function(n,r){var o=e[n];if(i[r]!==n)return!1;var a=t[n];return null==o||null==a?o===a:"object"==typeof o&&"object"==typeof a?isObjectEqual(o,a):String(o)===String(a)}))}function isIncludedRoute(e,t){return 0===e.path.replace(trailingSlashRE,"/").indexOf(t.path.replace(trailingSlashRE,"/"))&&(!t.hash||e.hash===t.hash)&&queryIncludes(e.query,t.query)}function queryIncludes(e,t){for(var n in t)if(!(n in e))return!1;return!0}function handleRouteEntered(e){for(var t=0;t<e.matched.length;t++){var n=e.matched[t];for(var i in n.instances){var r=n.instances[i],o=n.enteredCbs[i];if(r&&o){delete n.enteredCbs[i];for(var a=0;a<o.length;a++)r._isBeingDestroyed||o[a](r)}}}}var View={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,i=t.children,r=t.parent,o=t.data;o.routerView=!0;for(var a=r.$createElement,s=n.name,c=r.$route,l=r._routerViewCache||(r._routerViewCache={}),d=0,u=!1;r&&r._routerRoot!==r;){var p=r.$vnode?r.$vnode.data:{};p.routerView&&d++,p.keepAlive&&r._directInactive&&r._inactive&&(u=!0),r=r.$parent}if(o.routerViewDepth=d,u){var h=l[s],f=h&&h.component;return f?(h.configProps&&fillPropsinData(f,o,h.route,h.configProps),a(f,o,i)):a()}var m=c.matched[d],v=m&&m.components[s];if(!m||!v)return l[s]=null,a();l[s]={component:v},o.registerRouteInstance=function(e,t){var n=m.instances[s];(t&&n!==e||!t&&n===e)&&(m.instances[s]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){m.instances[s]=t.componentInstance},o.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==m.instances[s]&&(m.instances[s]=e.componentInstance),handleRouteEntered(c)};var g=m.props&&m.props[s];return g&&(extend$4(l[s],{route:c,configProps:g}),fillPropsinData(v,o,c,g)),a(v,o,i)}};function fillPropsinData(e,t,n,i){var r=t.props=resolveProps(n,i);if(r){r=t.props=extend$4({},r);var o=t.attrs=t.attrs||{};for(var a in r)e.props&&a in e.props||(o[a]=r[a],delete r[a])}}function resolveProps(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}function resolvePath(e,t,n){var i=e.charAt(0);if("/"===i)return e;if("?"===i||"#"===i)return t+e;var r=t.split("/");n&&r[r.length-1]||r.pop();for(var o=e.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?r.pop():"."!==s&&r.push(s)}return""!==r[0]&&r.unshift(""),r.join("/")}function parsePath$2(e){var t="",n="",i=e.indexOf("#");i>=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}function cleanPath(e){return e.replace(/\/\//g,"/")}var isarray=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},pathToRegexp_1=pathToRegexp,parse_1=parse$1,compile_1=compile,tokensToFunction_1=tokensToFunction,tokensToRegExp_1=tokensToRegExp,PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse$1(e,t){for(var n,i=[],r=0,o=0,a="",s=t&&t.delimiter||"/";null!=(n=PATH_REGEXP.exec(e));){var c=n[0],l=n[1],d=n.index;if(a+=e.slice(o,d),o=d+c.length,l)a+=l[1];else{var u=e[o],p=n[2],h=n[3],f=n[4],m=n[5],v=n[6],g=n[7];a&&(i.push(a),a="");var b=null!=p&&null!=u&&u!==p,y="+"===v||"*"===v,A="?"===v||"*"===v,_=n[2]||s,w=f||m;i.push({name:h||r++,prefix:p||"",delimiter:_,optional:A,repeat:y,partial:b,asterisk:!!g,pattern:w?escapeGroup(w):g?".*":"[^"+escapeString(_)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&i.push(a),i}function compile(e,t){return tokensToFunction(parse$1(e,t),t)}function encodeURIComponentPretty(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeAsterisk(e){return encodeURI(e).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function tokensToFunction(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",flags(t)));return function(t,i){for(var r="",o=t||{},a=(i||{}).pretty?encodeURIComponentPretty:encodeURIComponent,s=0;s<e.length;s++){var c=e[s];if("string"!=typeof c){var l,d=o[c.name];
104if(null==d){if(c.optional){c.partial&&(r+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(isarray(d)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var u=0;u<d.length;u++){if(l=a(d[u]),!n[s].test(l))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(l)+"`");r+=(0===u?c.prefix:c.delimiter)+l}}else{if(l=c.asterisk?encodeAsterisk(d):a(d),!n[s].test(l))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+l+'"');r+=c.prefix+l}}else r+=c}return r}}function escapeString(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function escapeGroup(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function attachKeys(e,t){return e.keys=t,e}function flags(e){return e&&e.sensitive?"":"i"}function regexpToRegexp(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return attachKeys(e,t)}function arrayToRegexp(e,t,n){for(var i=[],r=0;r<e.length;r++)i.push(pathToRegexp(e[r],t,n).source);return attachKeys(new RegExp("(?:"+i.join("|")+")",flags(n)),t)}function stringToRegexp(e,t,n){return tokensToRegExp(parse$1(e,n),t,n)}function tokensToRegExp(e,t,n){isarray(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,r=!1!==n.end,o="",a=0;a<e.length;a++){var s=e[a];if("string"==typeof s)o+=escapeString(s);else{var c=escapeString(s.prefix),l="(?:"+s.pattern+")";t.push(s),s.repeat&&(l+="(?:"+c+l+")*"),o+=l=s.optional?s.partial?c+"("+l+")?":"(?:"+c+"("+l+"))?":c+"("+l+")"}}var d=escapeString(n.delimiter||"/"),u=o.slice(-d.length)===d;return i||(o=(u?o.slice(0,-d.length):o)+"(?:"+d+"(?=$))?"),o+=r?"$":i&&u?"":"(?="+d+"|$)",attachKeys(new RegExp("^"+o,flags(n)),t)}function pathToRegexp(e,t,n){return isarray(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?regexpToRegexp(e,t):isarray(e)?arrayToRegexp(e,t,n):stringToRegexp(e,t,n)}pathToRegexp_1.parse=parse_1,pathToRegexp_1.compile=compile_1,pathToRegexp_1.tokensToFunction=tokensToFunction_1,pathToRegexp_1.tokensToRegExp=tokensToRegExp_1;var regexpCompileCache=Object.create(null);function fillParams(e,t,n){t=t||{};try{var i=regexpCompileCache[e]||(regexpCompileCache[e]=pathToRegexp_1.compile(e));return"string"==typeof t.pathMatch&&(t[0]=t.pathMatch),i(t,{pretty:!0})}catch(e){return""}finally{delete t[0]}}function normalizeLocation(e,t,n,i){var r="string"==typeof e?{path:e}:e;if(r._normalized)return r;if(r.name){var o=(r=extend$4({},e)).params;return o&&"object"==typeof o&&(r.params=extend$4({},o)),r}if(!r.path&&r.params&&t){(r=extend$4({},r))._normalized=!0;var a=extend$4(extend$4({},t.params),r.params);if(t.name)r.name=t.name,r.params=a;else if(t.matched.length){var s=t.matched[t.matched.length-1].path;r.path=fillParams(s,a,"path "+t.path)}return r}var c=parsePath$2(r.path||""),l=t&&t.path||"/",d=c.path?resolvePath(c.path,l,n||r.append):l,u=resolveQuery(c.query,r.query,i&&i.options.parseQuery),p=r.hash||c.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:d,query:u,hash:p}}var toTypes=[String,Object],eventTypes=[String,Array],noop$4=function(){},Link={name:"RouterLink",props:{to:{type:toTypes,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:eventTypes,default:"click"}},render:function(e){var t=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),o=r.location,a=r.route,s=r.href,c={},l=n.options.linkActiveClass,d=n.options.linkExactActiveClass,u=null==l?"router-link-active":l,p=null==d?"router-link-exact-active":d,h=null==this.activeClass?u:this.activeClass,f=null==this.exactActiveClass?p:this.exactActiveClass,m=a.redirectedFrom?createRoute(null,normalizeLocation(a.redirectedFrom),null,n):a;c[f]=isSameRoute(i,m,this.exactPath),c[h]=this.exact||this.exactPath?c[f]:isIncludedRoute(i,m);var v=c[f]?this.ariaCurrentValue:null,g=function(e){guardEvent(e)&&(t.replace?n.replace(o,noop$4):n.push(o,noop$4))},b={click:guardEvent};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=g})):b[this.event]=g;var y={class:c},A=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:a,navigate:g,isActive:c[h],isExactActive:c[f]});if(A){if(1===A.length)return A[0];if(A.length>1||!A.length)return 0===A.length?e():e("span",{},A)}if("a"===this.tag)y.on=b,y.attrs={href:s,"aria-current":v};else{var _=findAnchor(this.$slots.default);if(_){_.isStatic=!1;var w=_.data=extend$4({},_.data);for(var M in w.on=w.on||{},w.on){var k=w.on[M];M in b&&(w.on[M]=Array.isArray(k)?k:[k])}for(var C in b)C in w.on?w.on[C].push(b[C]):w.on[C]=g;var S=_.data.attrs=extend$4({},_.data.attrs);S.href=s,S["aria-current"]=v}else y.on=b}return e(this.tag,y,this.$slots.default)}},_Vue;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function findAnchor(e){if(e)for(var t,n=0;n<e.length;n++){if("a"===(t=e[n]).tag)return t;if(t.children&&(t=findAnchor(t.children)))return t}}function install$5(e){if(!install$5.installed||_Vue!==e){install$5.installed=!0,_Vue=e;var t=function(e){return void 0!==e},n=function(e,n){var i=e.$options._parentVnode;t(i)&&t(i=i.data)&&t(i=i.registerRouteInstance)&&i(e,n)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",View),e.component("RouterLink",Link);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var inBrowser$2="undefined"!=typeof window;function createRouteMap(e,t,n,i,r){var o=t||[],a=n||Object.create(null),s=i||Object.create(null);e.forEach((function(e){addRouteRecord(o,a,s,e,r)}));for(var c=0,l=o.length;c<l;c++)"*"===o[c]&&(o.push(o.splice(c,1)[0]),l--,c--);return{pathList:o,pathMap:a,nameMap:s}}function addRouteRecord(e,t,n,i,r,o){var a=i.path,s=i.name,c=i.pathToRegexpOptions||{},l=normalizePath(a,r,c.strict);"boolean"==typeof i.caseSensitive&&(c.sensitive=i.caseSensitive);var d={path:l,regex:compileRouteRegex(l,c),components:i.components||{default:i.component},alias:i.alias?"string"==typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:s,parent:r,matchAs:o,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};
104if(i.children&&i.children.forEach((function(i){var r=o?cleanPath(o+"/"+i.path):void 0;addRouteRecord(e,t,n,i,d,r)})),t[d.path]||(e.push(d.path),t[d.path]=d),void 0!==i.alias)for(var u=Array.isArray(i.alias)?i.alias:[i.alias],p=0;p<u.length;++p){var h={path:u[p],children:i.children};addRouteRecord(e,t,n,h,r,d.path||"/")}s&&(n[s]||(n[s]=d))}function compileRouteRegex(e,t){return pathToRegexp_1(e,[],t)}function normalizePath(e,t,n){return n||(e=e.replace(/\/$/,"")),"/"===e[0]||null==t?e:cleanPath(t.path+"/"+e)}function createMatcher(e,t){var n=createRouteMap(e),i=n.pathList,r=n.pathMap,o=n.nameMap;function a(e,n,a){var c=normalizeLocation(e,n,!1,t),l=c.name;if(l){var d=o[l];if(!d)return s(null,c);var u=d.regex.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}));if("object"!=typeof c.params&&(c.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in c.params)&&u.indexOf(p)>-1&&(c.params[p]=n.params[p]);return c.path=fillParams(d.path,c.params),s(d,c,a)}if(c.path){c.params={};for(var h=0;h<i.length;h++){var f=i[h],m=r[f];if(matchRoute(m.regex,c.path,c.params))return s(m,c,a)}}return s(null,c)}function s(e,n,i){return e&&e.redirect?function(e,n){var i=e.redirect,r="function"==typeof i?i(createRoute(e,n,null,t)):i;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return s(null,n);var c=r,l=c.name,d=c.path,u=n.query,p=n.hash,h=n.params;if(u=c.hasOwnProperty("query")?c.query:u,p=c.hasOwnProperty("hash")?c.hash:p,h=c.hasOwnProperty("params")?c.params:h,l){o[l];return a({_normalized:!0,name:l,query:u,hash:p,params:h},void 0,n)}return d?a({_normalized:!0,path:fillParams(resolveRecordPath(d,e),h),query:u,hash:p},void 0,n):s(null,n)}(e,i||n):e&&e.matchAs?function(e,t,n){var i=a({_normalized:!0,path:fillParams(n,t.params)});if(i){var r=i.matched,o=r[r.length-1];return t.params=i.params,s(o,t)}return s(null,t)}(0,n,e.matchAs):createRoute(e,n,i,t)}return{match:a,addRoute:function(e,t){var n="object"!=typeof e?o[e]:void 0;createRouteMap([t||e],i,r,o,n),n&&n.alias.length&&createRouteMap(n.alias.map((function(e){return{path:e,children:[t]}})),i,r,o,n)},getRoutes:function(){return i.map((function(e){return r[e]}))},addRoutes:function(e){createRouteMap(e,i,r,o)}}}function matchRoute(e,t,n){var i=t.match(e);if(!i)return!1;if(!n)return!0;for(var r=1,o=i.length;r<o;++r){var a=e.keys[r-1];
104a&&(n[a.name||"pathMatch"]="string"==typeof i[r]?decode(i[r]):i[r])}return!0}function resolveRecordPath(e,t){return resolvePath(e,t.parent?t.parent.path:"/",!0)}var Time=inBrowser$2&&window.performance&&window.performance.now?window.performance:Date;function genStateKey(){return Time.now().toFixed(3)}var _key=genStateKey();function getStateKey(){return _key}function setStateKey(e){return _key=e}var positionStore=Object.create(null);function setupScroll(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),n=extend$4({},window.history.state);return n.key=getStateKey(),window.history.replaceState(n,"",t),window.addEventListener("popstate",handlePopState),function(){window.removeEventListener("popstate",handlePopState)}}function handleScroll(e,t,n,i){if(e.app){var r=e.options.scrollBehavior;r&&e.app.$nextTick((function(){var o=getScrollPosition(),a=r.call(e,t,n,i?o:null);a&&("function"==typeof a.then?a.then((function(e){scrollToPosition(e,o)})).catch((function(e){})):scrollToPosition(a,o))}))}}function saveScrollPosition(){var e=getStateKey();e&&(positionStore[e]={x:window.pageXOffset,y:window.pageYOffset})}function handlePopState(e){saveScrollPosition(),e.state&&e.state.key&&setStateKey(e.state.key)}function getScrollPosition(){var e=getStateKey();if(e)return positionStore[e]}function getElementPosition(e,t){var n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}function isValidPosition(e){return isNumber$2(e.x)||isNumber$2(e.y)}function normalizePosition(e){return{x:isNumber$2(e.x)?e.x:window.pageXOffset,y:isNumber$2(e.y)?e.y:window.pageYOffset}}function normalizeOffset(e){return{x:isNumber$2(e.x)?e.x:0,y:isNumber$2(e.y)?e.y:0}}function isNumber$2(e){return"number"==typeof e}var hashStartsWithNumberRE=/^#\d/;function scrollToPosition(e,t){var n="object"==typeof e;if(n&&"string"==typeof e.selector){var i=hashStartsWithNumberRE.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(i){var r=e.offset&&"object"==typeof e.offset?e.offset:{};t=getElementPosition(i,r=normalizeOffset(r))}else isValidPosition(e)&&(t=normalizePosition(e))}else n&&isValidPosition(e)&&(t=normalizePosition(e));t&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:t.x,top:t.y,behavior:e.behavior}):window.scrollTo(t.x,t.y))}var supportsPushState=inBrowser$2&&(ua=window.navigator.userAgent,(-1===ua.indexOf("Android 2.")&&-1===ua.indexOf("Android 4.0")||-1===ua.indexOf("Mobile Safari")||-1!==ua.indexOf("Chrome")||-1!==ua.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState),ua;function pushState(e,t){saveScrollPosition();var n=window.history;try{if(t){var i=extend$4({},n.state);i.key=getStateKey(),n.replaceState(i,"",e)}else n.pushState({key:setStateKey(genStateKey())},"",e)}catch(n){window.location[t?"replace":"assign"](e)}}function replaceState(e){pushState(e,!0)}function runQueue(e,t,n){var i=function(r){r>=e.length?n():e[r]?t(e[r],(function(){i(r+1)})):i(r+1)};i(0)}var NavigationFailureType={redirected:2,aborted:4,cancelled:8,duplicated:16};function createNavigationRedirectedError(e,t){return createRouterError(e,t,NavigationFailureType.redirected,'Redirected when going from "'+e.fullPath+'" to "'+stringifyRoute(t)+'" via a navigation guard.')}function createNavigationDuplicatedError(e,t){var n=createRouterError(e,t,NavigationFailureType.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function createNavigationCancelledError(e,t){return createRouterError(e,t,NavigationFailureType.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function createNavigationAbortedError(e,t){return createRouterError(e,t,NavigationFailureType.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function createRouterError(e,t,n,i){var r=new Error(i);return r._isRouter=!0,r.from=e,r.to=t,r.type=n,r}var propertiesToLog=["params","query","hash"];function stringifyRoute(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return propertiesToLog.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}function isError$1(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function isNavigationFailure(e,t){return isError$1(e)&&e._isRouter&&(null==t||e.type===t)}function resolveAsyncComponents(e){return function(t,n,i){var r=!1,o=0,a=null;flatMapComponents(e,(function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){r=!0,o++;var c,l=once$4((function(t){isESModule(t)&&(t=t.default),e.resolved="function"==typeof t?t:_Vue.extend(t),n.components[s]=t,--o<=0&&i()})),d=once$4((function(e){var t="Failed to resolve async component "+s+": "+e;a||(a=isError$1(e)?e:new Error(t),i(a))}));try{c=e(l,d)}catch(e){d(e)}if(c)if("function"==typeof c.then)c.then(l,d);
104else{var u=c.component;u&&"function"==typeof u.then&&u.then(l,d)}}})),r||i()}}function flatMapComponents(e,t){return flatten$2(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function flatten$2(e){return Array.prototype.concat.apply([],e)}var hasSymbol$2="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function isESModule(e){return e.__esModule||hasSymbol$2&&"Module"===e[Symbol.toStringTag]}function once$4(e){var t=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var History=function(e,t){this.router=e,this.base=normalizeBase(t),this.current=START,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function normalizeBase(e){if(!e)if(inBrowser$2){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function resolveQueue(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n<i&&e[n]===t[n];n++);return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}function extractGuards(e,t,n,i){var r=flatMapComponents(e,(function(e,i,r,o){var a=extractGuard(e,t);if(a)return Array.isArray(a)?a.map((function(e){return n(e,i,r,o)})):n(a,i,r,o)}));return flatten$2(i?r.reverse():r)}function extractGuard(e,t){return"function"!=typeof e&&(e=_Vue.extend(e)),e.options[t]}function extractLeaveGuards(e){return extractGuards(e,"beforeRouteLeave",bindGuard,!0)}function extractUpdateHooks(e){return extractGuards(e,"beforeRouteUpdate",b
104indGuard)}function bindGuard(e,t){if(t)return function(){return e.apply(t,arguments)}}function extractEnterGuards(e){return extractGuards(e,"beforeRouteEnter",(function(e,t,n,i){return bindEnterGuard(e,n,i)}))}function bindEnterGuard(e,t,n){return function(i,r,o){return e(i,r,(function(e){"function"==typeof e&&(t.enteredCbs[n]||(t.enteredCbs[n]=[]),t.enteredCbs[n].push(e)),o(e)}))}}History.prototype.listen=function(e){this.cb=e},History.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},History.prototype.onError=function(e){this.errorCbs.push(e)},History.prototype.transitionTo=function(e,t,n){var i,r=this;try{i=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach((function(t){t(e)})),e}var o=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),t&&t(i),r.ensureURL(),r.router.afterHooks.forEach((function(e){e&&e(i,o)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!r.ready&&(isNavigationFailure(e,NavigationFailureType.redirected)&&o===START||(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)}))))}))},History.prototype.confirmTransition=function(e,t,n){var i=this,r=this.current;this.pending=e;var o=function(e){!isNavigationFailure(e)&&isError$1(e)&&(i.errorCbs.length?i.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)},a=e.matched.length-1,s=r.matched.length-1;if(isSameRoute(e,r)&&a===s&&e.matched[a]===r.matched[s])return this.ensureURL(),o(createNavigationDuplicatedError(r,e));var c=resolveQueue(this.current.matched,e.matched),l=c.updated,d=c.deactivated,u=c.activated,p=[].concat(extractLeaveGuards(d),this.router.beforeHooks,extractUpdateHooks(l),u.map((function(e){return e.beforeEnter})),resolveAsyncComponents(u)),h=function(t,n){if(i.pending!==e)return o(createNavigationCancelledError(r,e));try{t(e,r,(function(t){!1===t?(i.ensureURL(!0),o(createNavigationAbortedError(r,e))):isError$1(t)?(i.ensureURL(!0),o(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(o(createNavigationRedirectedError(r,e)),"object"==typeof t&&t.replace?i.replace(t):i.push(t)):n(t)}))}catch(e){o(e)}};runQueue(p,h,(function(){runQueue(extractEnterGuards(u).concat(i.router.resolveHooks),h,(function(){if(i.pending!==e)return o(createNavigationCancelledError(r,e));i.pending=null,t(e),i.router.app&&i.router.app.$nextTick((function(){handleRouteEntered(e)}))}))}))},History.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)},History.prototype.setupListeners=function(){},History.prototype.teardown=function(){this.listeners.forEach((function(e){e()})),this.listeners=[],this.current=START,this.pending=null};var HTML5History=function(e){function t(t,n){e.call(this,t,n),this._startLocation=getLocation(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,i=supportsPushState&&n;i&&this.listeners.push(setupScroll());var r=function(){var n=e.current,r=getLocation(e.base);e.current===START&&r===e._startLocation||e.transitionTo(r,(function(e){i&&handleScroll(t,e,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){pushState(cleanPath(i.base+e.fullPath)),handleScroll(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){replaceState(cleanPath(i.base+e.fullPath)),handleScroll(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(getLocation(this.base)!==this.current.fullPath){var t=cleanPath(this.base+this.current.fullPath);e?pushState(t):replaceState(t)}},t.prototype.getCurrentLocation=function(){return getLocation(this.base)},t}(History);function getLocation(e){var t=window.location.pathname,n=t.toLowerCase(),i=e.toLowerCase();return!e||n!==i&&0!==n.indexOf(cleanPath(i+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var HashHistory=function(e){function t(t,n,i){e.call(this,t,n),i&&checkFallback(this.base)||ensureSlash()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=supportsPushState&&t;n&&this.listeners.push(setupScroll());var i=function(){var t=e.current;ensureSlash()&&e.transitionTo(getHash(),(function(i){n&&handleScroll(e.router,i,t,!0),supportsPushState||replaceHash(i.fullPath)}))},r=supportsPushState?"popstate":"hashchange";window.addEventListener(r,i),this.listeners.push((function(){window.removeEventListener(r,i)}
104))}},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){pushHash(e.fullPath),handleScroll(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){replaceHash(e.fullPath),handleScroll(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;getHash()!==t&&(e?pushHash(t):replaceHash(t))},t.prototype.getCurrentLocation=function(){return getHash()},t}(History);function checkFallback(e){var t=getLocation(e);if(!/^\/#/.test(t))return window.location.replace(cleanPath(e+"/#"+t)),!0}function ensureSlash(){var e=getHash();return"/"===e.charAt(0)||(replaceHash("/"+e),!1)}function getHash(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function getUrl(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function pushHash(e){supportsPushState?pushState(getUrl(e)):window.location.hash=e}function replaceHash(e){supportsPushState?replaceState(getUrl(e)):window.location.replace(getUrl(e))}var AbstractHistory=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var e=t.current;t.index=n,t.updateRoute(i),t.router.afterHooks.forEach((function(t){t&&t(i,e)}))}),(function(e){isNavigationFailure(e,NavigationFailureType.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(History),VueRouter=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=createMatcher(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!supportsPushState&&!1!==e.fallback,this.fallback&&(t="hash"),inBrowser$2||(t="abstract"),this.mode=t,t){case"history":this.history=new HTML5History(this,e.base);break;case"hash":this.history=new HashHistory(this,e.base,this.fallback);break;case"abstract":this.history=new AbstractHistory(this,e.base)}},prototypeAccessors$4={currentRoute:{configurable:!0}};function registerHook(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function createHref(e,t,n){var i="hash"===n?"#"+t:t;return e?cleanPath(e+"/"+i):i}VueRouter.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},prototypeAccessors$4.currentRoute.get=function(){return this.history&&this.history.current},VueRouter.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof HTML5History||n instanceof HashHistory){var i=function(e){n.setupListeners(),function(e){var i=n.current,r=t.options.scrollBehavior;supportsPushState&&r&&"fullPath"in e&&handleScroll(t,e,i,!1)}(e)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},VueRouter.prototype.beforeEach=function(e){return registerHook(this.beforeHooks,e)},VueRouter.prototype.beforeResolve=function(e){return registerHook(this.resolveHooks,e)},VueRouter.prototype.afterEach=function(e){return registerHook(this.afterHooks,e)},VueRouter.prototype.onReady=function(e,t){this.history.onReady(e,t)},VueRouter.prototype.onError=function(e){this.history.onError(e)},VueRouter.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){i.history.push(e,t,n
104)}));this.history.push(e,t,n)},VueRouter.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){i.history.replace(e,t,n)}));this.history.replace(e,t,n)},VueRouter.prototype.go=function(e){this.history.go(e)},VueRouter.prototype.back=function(){this.go(-1)},VueRouter.prototype.forward=function(){this.go(1)},VueRouter.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},VueRouter.prototype.resolve=function(e,t,n){var i=normalizeLocation(e,t=t||this.history.current,n,this),r=this.match(i,t),o=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:createHref(this.history.base,o,this.mode),normalizedTo:i,resolved:r}},VueRouter.prototype.getRoutes=function(){return this.matcher.getRoutes()},VueRouter.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==START&&this.history.transitionTo(this.history.getCurrentLocation())},VueRouter.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==START&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(VueRouter.prototype,prototypeAccessors$4),VueRouter.install=install$5,VueRouter.version="3.5.2",VueRouter.isNavigationFailure=isNavigationFailure,VueRouter.NavigationFailureType=NavigationFailureType,VueRouter.START_LOCATION=START,inBrowser$2&&window.Vue&&window.Vue.use(VueRouter);class PolicyFoundryService{async fetchPolicies(){return(await appsApiService.get("v3/policies",{size:9999})).content}async fetchPolicy(e){return appsApiService.get("v3/policies/".concat(e))}async addPolicy(e){return appsApiService.post("v3/policies",e)}async editPolicy(e,t){return appsApiService.put("v3/policies/".concat(e),t)}async deletePolicy(e){let t=e;return Array.isArray(e)&&(t=e.join(",")),appsApiService.delete("v3/policies/".concat(t))}async fetchBeacons(){return(await apiCaller.get("device",{deviceType:"BEACON",maxResult:500})).devices}async fetchManagers(){return(await apiCaller.get("manager")).managers}async fetchCampuses(){return(await appsApiService.get("v2/locations/campuses",{size:9999})).content}async fetchBuildings(){return(await appsApiService.get("v2/locations/buildings",{size:9999})).content}async fetchFloors(){return(await appsApiService.get("v2/locations/floors",{size:9999})).content}async fetchRooms(){return(await appsApiService.get("v2/locations/rooms",{size:9999})).content}async fetchFloor(e){return(await appsApiService.get("v2/locations/floors",{id:e})).content[0]}async fetchRoom(e){return(await appsApiService.get("v2/locations/rooms",{id:e})).content[0]}async fetchChannels(){return appsApiService.get("v3/channels")}async fetchNotifications(){return appsApiService.get("v3/notifications/configurations")}async fetchEmails(){return(await this.fetchNotifications()).filter(e=>"email"===e.channel.type)}async fetchTextMessages(){return(await this.fetchNotifications()).filter(e=>"sms"===e.channel.type)}async fetchViolations(){return(await appsApiService.get("v3/policy/violations",{size:9999,sort:"timestamp,desc"})).content}async addNotification(e){return appsApiService.post("v3/notifications/configurations",e)}}const policyFoundryService=new PolicyFoundryService;var script$6={name:"VTableHeader",props:["columns","multipleSelection","numbering"],methods:{selectAll(){this.$emit("selectAllClick")}}};const __vue_script__$7=script$6;var __vue_render__$6=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("thead",[n("tr",[e.multipleSelection.enabled?n("th",{staticClass:"vtable-checkbox align-center kontakt-icon-font"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.multipleSelection.allSelected,expression:"multipleSelection.allSelected"}],attrs:{type:"checkbox",id:"checkbox-header"},domProps:{checked:Array.isArray(e.multipleSelection.allSelected)?e._i(e.multipleSelection.allSelected,null)>-1:e.multipleSelection.allSelected},on:{change:[function(t){var n=e.multipleSelection.allSelected,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&e.$set(e.multipleSelection,"allSelected",n.concat([null])):o>
104-1&&e.$set(e.multipleSelection,"allSelected",n.slice(0,o).concat(n.slice(o+1)))}else e.$set(e.multipleSelection,"allSelected",r)},e.selectAll]}}),e._v(" "),n("label",{attrs:{for:"checkbox-header"}})]):e._e(),e._v(" "),e.numbering.enabled?n("th",{staticClass:"vtable-no align-center"},[e._v("\n No.\n ")]):e._e(),e._v(" "),e._l(e.columns,(function(t){return n("th",{class:["align-"+t.align],style:{"min-width":t.minWidth,width:t.width}},[e._v("\n "+e._s(t.name)+"\n ")])}))],2)])},__vue_staticRenderFns__$6=[];__vue_render__$6._withStripped=!0;const __vue_inject_styles__$7=function(e){e&&e("data-v-cb4377ce_0",{source:'thead th[data-v-cb4377ce] {\n background-color: #3e63cc;\n background-clip: padding-box;\n font-weight: 400;\n line-height: 2rem;\n font-size: 1rem;\n color: #fff;\n padding: 0.5rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n max-width: 0;\n}\nthead th[data-v-cb4377ce]:first-child {\n padding-left: 1rem;\n}\nthead th[data-v-cb4377ce]:last-child {\n padding-right: 1rem;\n}\nthead th.vtable-checkbox[data-v-cb4377ce] {\n min-width: 3rem;\n}\nthead th.vtable-checkbox input[data-v-cb4377ce] {\n position: absolute;\n opacity: 0;\n top: -2px;\n}\nthead th.vtable-checkbox input + label[data-v-cb4377ce] {\n position: relative;\n cursor: pointer;\n padding: 0;\n}\nthead th.vtable-checkbox input + label[data-v-cb4377ce]:before {\n content: "";\n margin-right: 0;\n display: inline-block;\n vertical-align: text-top;\n width: 16px;\n height: 16px;\n background: transparent;\n border: solid 2px #fff;\n color: #3e63cc;\n border-radius: 2px;\n}\nthead th.vtable-checkbox input:checked + label[data-v-cb4377ce]:before {\n background: #fff;\n border-color: transparent;\n}\nthead th.vtable-checkbox input:checked + label[data-v-cb4377ce]:after {\n content: "";\n width: 5px;\n height: 10px;\n border-color: #3e63cc;\n border-style: solid;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n position: absolute;\n left: 5px;\n top: 2px;\n}\nthead th.vtable-no[data-v-cb4377ce] {\n min-width: 4rem;\n}\nthead th.align-center[data-v-cb4377ce] {\n text-align: center;\n}\nthead th.align-left[data-v-cb4377ce] {\n text-align: left;\n}\nthead th.align-right[data-v-cb4377ce] {\n text-align: right;\n}\n\n/*# sourceMappingURL=VTableHeader.vue.map */',map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VTable/VTableHeader.vue","VTableHeader.vue"],names:[],mappings:"AAmCA;EACA,yBADA;EAEA,4BAAA;EACA,gBAAA;EACA,iBAAA;EACA,eAAA;EACA,WAeA;EAdA,eAAA;EACA,uBAAA;EACA,mBAAA;EACA,gBAAA;EACA,YAAA;AClCA;ADoCA;EACA,kBAAA;AClCA;ADqCA;EACA,mBAAA;ACnCA;ADsCA;EACA,eAAA;ACpCA;ADsCA;EACA,kBAAA;EACA,UAAA;EACA,SAAA;ACpCA;ADsCA;EACA,kBAAA;EACA,eAAA;EACA,UAAA;ACpCA;ADuCA;EACA,WAAA;EACA,eAAA;EACA,qBAAA;EACA,wBAAA;EACA,WAAA;EACA,YAAA;EACA,uBAAA;EACA,sBAAA;EACA,cA5CA;EA6CA,kBAAA;ACrCA;ADwCA;EACA,gBA5BA;EA6BA,yBAAA;ACtCA;ADyCA;EACA,WAAA;EACA,UAAA;EACA,YAAA;EACA,qBAzDA;EA0DA,mBAAA;EACA,yBAAA;EACA,wBAAA;EACA,kBAAA;EACA,SAAA;EACA,QAAA;ACvCA;AD4CA;EACA,eAAA;AC1CA;AD8CA;EACA,kBAAA;AC5CA;AD+CA;EACA,gBAAA;AC7CA;ADgDA;EACA,iBAAA;AC9CA;;AAEA,2CAA2C",file:"VTableHeader.vue",sourcesContent:['<template>\n <thead>\n <tr>\n <th v-if="multipleSelection.enabled" class="vtable-checkbox align-center kontakt-icon-font">\n <input type="checkbox" @change="selectAll" v-model="multipleSelection.allSelected" id="checkbox-header">\n <label for="checkbox-header"></label>\n </th>\n <th v-if="numbering.enabled" class="vtable-no align-center">\n No.\n </th>\n <th v-for="column in columns"\n :class="[`align-${column.align}`]"\n :style="{ \'min-width\': column.minWidth, \'width\': column.width }">\n {{ column.name }}\n </th>\n </tr>\n </thead>\n</template>\n\n<script>\nexport default {\n name: \'VTableHeader\',\n props: [\'columns\', \'multipleSelection\', \'numbering\'],\n methods: {\n selectAll() {\n this.$emit(\'selectAllClick\');\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\nthead {\n th {\n background-color: $color-sl-secondary;\n background-clip: padding-box;\n font-weight: 400;\n line-height: 2rem;\n font-size: 1rem;\n color: $color-white;\n padding: 0.5rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n max-width: 0;\n\n &:first-child {\n padding-left: 1rem;\n }\n\n &:last-child {\n padding-right: 1rem;\n }\n\n &.vtable-checkbox {\n min-width: 3rem;\n\n input {\n position: absolute;\n opacity: 0;\n top: -2px;\n\n & + label {\n position: relative;\n cursor: pointer;\n padding: 0;\n }\n\n & + label:before {\n content: \'\';\n margin-right: 0;\n display: inline-block;\n vertical-align: text-top;\n width: 16px;\n height: 16px;\n background: transparent;\n border: solid 2px $color-white;\n color: $color-sl-secondary;\n border-radius: 2px;\n }\n\n &:checked + label:before {\n background: $color-white;\n border-color: transparent;\n }\n\n &:checked + label:after {\n content: \'\';\n width: 5px;\n height: 10px;\n border-color: $color-sl-secondary;\n border-style: solid;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n position: absolute;\n left: 5px;\n top: 2px;\n }\n }\n }\n\n &.vtable-no {\n min-width: 4rem;\n }\n\n &.align {\n &-center {\n text-align: center;\n }\n\n &-left {\n text-align: left;\n }\n\n &-right {\n text-align: right;\n }\n }\n }\n}\n</style>','thead th {\n background-color: #3e63cc;\n background-clip: padding-box;\n font-weight: 400;\n line-height: 2rem;\n font-size: 1rem;\n color: #fff;\n padding: 0.5rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n max-width: 0;\n}\nthead th:first-child {\n padding-left: 1rem;\n}\nthead th:last-child {\n padding-right: 1rem;\n}\nthead th.vtable-checkbox {\n min-width: 3rem;\n}\nthead th.vtable-checkbox input {\n position: absolute;\n opacity: 0;\n top: -2px;\n}\nthead th.vtable-checkbox input + label {\n position: relative;\n cursor: pointer;\n padding: 0;\n}\nthead th.vtable-checkbox input + label:before {\n content: "";\n margin-right: 0;\n display: inline-block;\n vertical-align: text-top;\n width: 16px;\n height: 16px;\n background: transparent;\n border: solid 2px #fff;
104\n color: #3e63cc;\n border-radius: 2px;\n}\nthead th.vtable-checkbox input:checked + label:before {\n background: #fff;\n border-color: transparent;\n}\nthead th.vtable-checkbox input:checked + label:after {\n content: "";\n width: 5px;\n height: 10px;\n border-color: #3e63cc;\n border-style: solid;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n position: absolute;\n left: 5px;\n top: 2px;\n}\nthead th.vtable-no {\n min-width: 4rem;\n}\nthead th.align-center {\n text-align: center;\n}\nthead th.align-left {\n text-align: left;\n}\nthead th.align-right {\n text-align: right;\n}\n\n/*# sourceMappingURL=VTableHeader.vue.map */']},media:void 0})},__vue_scope_id__$7="data-v-cb4377ce",__vue_module_identifier__$7=void 0,__vue_is_functional_template__$7=!1,__vue_component__$5=normalizeComponent({render:__vue_render__$6,staticRenderFns:__vue_staticRenderFns__$6},__vue_inject_styles__$7,__vue_script__$7,__vue_scope_id__$7,__vue_is_functional_template__$7,__vue_module_identifier__$7,!1,createInjector$1,void 0,void 0);var script$7={name:"VTablePageSelect",props:{items:{type:Array,required:!0},value:{type:Number,required:!0}},data:()=>({open:!1}),methods:{close(){this.open=!1},toggle(){this.open=!this.open},select(e){this.close(),this.$emit("input",e)}}};const __vue_script__$8=script$7;var __vue_render__$7=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-table-page-select",attrs:{tabindex:"-1"},on:{blur:e.close}},[n("div",{staticClass:"v-table-page-select--container",class:{open:e.open},on:{click:e.toggle}},[n("div",{staticClass:"v-table-page-select--container--text"},[e._v("\n "+e._s(e.value)+"\n ")]),e._v(" "),n("div",{staticClass:"v-table-page-select--container--arrow"})]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],staticClass:"v-table-page-select--list"},e._l(e.items,(function(t){return n("div",{staticClass:"v-table-page-select--list--item",on:{click:function(n){return e.select(t)}}},[e._v("\n "+e._s(t)+"\n ")])})),0)])},__vue_staticRenderFns__$7=[];__vue_render__$7._withStripped=!0;const __vue_inject_styles__$8=function(e){e&&e("data-v-090575f7_0",{source:'.v-table-page-select[data-v-090575f7] {\n position: relative;\n user-select: none;\n}\n.v-table-page-select--container[data-v-090575f7] {\n width: 4rem;\n height: 2rem;\n border: solid 1px #3e63cc;\n border-radius: 1rem;\n display: flex;\n justify-content: center;\n cursor: pointer;\n}\n.v-table-page-select--container.open .v-select--arrow[data-v-090575f7]:after {\n transform: rotate(180deg) translateY(5px);\n}\n.v-table-page-select--container--text[data-v-090575f7] {\n color: #121845;\n padding-right: 0.5rem;\n font-weight: 500;\n}\n.v-table-page-select--container--arrow[data-v-090575f7] {\n flex: 0 0 10px;\n position: relative;\n align-self: center;\n}\n.v-table-page-select--container--arrow[data-v-090575f7]:after {\n position: absolute;\n content: "";\n top: -1px;\n right: 0;\n width: 0;\n height: 0;\n border-width: 5px;\n border-style: solid;\n border-color: #121845 transparent transparent transparent;\n}\n.v-table-page-select--list[data-v-090575f7] {\n position: absolute;\n left: 0;\n right: 0;\n border-radius: 1rem;\n background-color: #fff;\n margin-top: 0.25rem;\n padding: 0.5rem 0;\n border: solid 1px rgba(62, 99, 204, 0.1);\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n}\n.v-table-page-select--list--item[data-v-090575f7] {\n border-top: solid 1px rgba(62, 99, 204, 0.1);\n text-align: left;\n padding: 0 0.5rem;\n color: #121845;\n cursor: pointer;\n}\n.v-table-page-select--list--item[data-v-090575f7]:hover {\n background-color: rgba(62, 99, 204, 0.1);\n}\n.v-table-page-select--list--item[data-v-090575f7]:last-child {\n border-bottom: solid 1px rgba(62, 99, 204, 0.1);\n}\n\n/*# sourceMappingURL=VTablePageSelect.vue.map */',map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VTable/VTablePageSelect.vue","VTablePageSelect.vue"],names:[],mappings:"AAmDA;EACA,kBAAA;EACA,iBAAA;AClDA;ADoDA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,mBAAA;EAEA,aAAA;EACA,uBAAA;EAEA,eAAA;ACpDA;ADwDA;EACA,yCAAA;ACtDA;AD2DA;EACA,cAAA;EACA,qBAAA;EACA,gBAAA;ACzDA;AD4DA;EACA,cAAA;EACA,kBAAA;EACA,kBAAA;AC1DA;AD4DA;EACA,kBAAA;EACA,WAAA;EACA,SAAA;EACA,QAAA;EACA,QAAA;EACA,SAAA;EACA,iBAAA;EACA,mBAAA;EACA,yDAAA;AC1DA;AD+DA;EACA,kBAAA;EACA,OAAA;EACA,QAAA;EACA,mBAAA;EACA,sBAhDA;EAiDA,mBAAA;EACA,iBAAA;EACA,wCAAA;EACA,kDAAA;AC7DA;AD+DA;EACA,4CAAA;EACA,gBAAA;EACA,iBAAA;EACA,cAAA;EACA,eAAA;AC7DA;AD+DA;EACA,wCAAA;AC7DA;ADgEA;EACA,+CAAA;AC9DA;;AAEA,+CAA+C",file:"VTablePageSelect.vue",sourcesContent:['<template>\n <div class="v-table-page-select" @blur="close" tabindex="-1">\n <div class="v-table-page-select--container" @click="toggle" :class="{ open: open }">\n <div class="v-table-page-select--container--text">\n {{ value }}\n </div>\n <div class="v-table-page-select--container--arrow"></div>\n </div>\n\n <div class="v-table-page-select--list" v-show="open">\n <div class="v-table-page-select--list--item" v-for="item of items" @click="select(item)">\n {{ item }}\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'VTablePageSelect\',\n props: {\n items: {\n type: Array,\n required: true\n },\n value: {\n type: Number,\n required: true\n }\n },\n data: () => ({\n open: false\n }),\n methods: {\n close() {\n this.open = false;\n },\n toggle() {\n this.open = !this.open;\n },\n select(item) {\n this.close();\n this.$emit(\'input\', item);\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.v-table-page-select {\n position: relative;\n user-select: none;\n\n &--container {\n width: 4rem;\n height: 2rem;\n border: solid 1px $color-sl-secondary;\n border-radius: 1rem;\n\n display: flex;\n justify-content: center;\n\n cursor: pointer;\n\n &.open {\n .v-select--arrow {\n &:after {\n transform: rotate(180deg) translateY(5px);\n }\n }\n }\n\n &--text {\n color: $color-sapphire-4;\n padding-right: 0.5rem;\n font-weight: 500;\n }\n\n &--arrow {\n flex: 0 0 10px;\n position: relative;\n align-self: center;\n\n &:after {\n position: absolute;\n content: \'\';\n top: -1px;\n right: 0;\n width: 0;\n height: 0;\n border-width: 5px;\n border-style: solid;\n border-color: $color-sapphire-4 transparent transparent transparent;\n }\n }\n }\n\n &--list {\n position: absolute;\n left: 0;\n right: 0;\n border-radius: 1rem;\n background-color: $color-white;\n margin-top: 0.25rem;\n padding: 0.5rem 0;\n border: solid 1px $color-sl-secondary-opacity-10;\n box-shadow: 0 12px 6px -6px $color-sl-secondary-opacity-10;\n\n &--item {\n border-top: solid 1px $color-sl-secondary-opacity-10;\n text-align: left;\n padding: 0 0.5rem;\n color: $color-sapphire-4;\n cursor: pointer;\n\n &:hover {\n background-color: $color-sl-secondary-opacity-10;\n }\n\n &:last-child {\n border-bottom: solid 1px $color-sl-secondary-opacity-10;\n }\n }\n }\n}\n</style>','.v-table-page-select {\n position: relative;\n user-select: none;\n}\n.v-table-page-select--container {\n width: 4rem;\n height: 2rem;\n border: solid 1px #3e63cc;\n border-radius: 1rem;\n display: flex;\n justify-content: center;
104\n cursor: pointer;\n}\n.v-table-page-select--container.open .v-select--arrow:after {\n transform: rotate(180deg) translateY(5px);\n}\n.v-table-page-select--container--text {\n color: #121845;\n padding-right: 0.5rem;\n font-weight: 500;\n}\n.v-table-page-select--container--arrow {\n flex: 0 0 10px;\n position: relative;\n align-self: center;\n}\n.v-table-page-select--container--arrow:after {\n position: absolute;\n content: "";\n top: -1px;\n right: 0;\n width: 0;\n height: 0;\n border-width: 5px;\n border-style: solid;\n border-color: #121845 transparent transparent transparent;\n}\n.v-table-page-select--list {\n position: absolute;\n left: 0;\n right: 0;\n border-radius: 1rem;\n background-color: #fff;\n margin-top: 0.25rem;\n padding: 0.5rem 0;\n border: solid 1px rgba(62, 99, 204, 0.1);\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n}\n.v-table-page-select--list--item {\n border-top: solid 1px rgba(62, 99, 204, 0.1);\n text-align: left;\n padding: 0 0.5rem;\n color: #121845;\n cursor: pointer;\n}\n.v-table-page-select--list--item:hover {\n background-color: rgba(62, 99, 204, 0.1);\n}\n.v-table-page-select--list--item:last-child {\n border-bottom: solid 1px rgba(62, 99, 204, 0.1);\n}\n\n/*# sourceMappingURL=VTablePageSelect.vue.map */']},media:void 0})},__vue_scope_id__$8="data-v-090575f7",__vue_module_identifier__$8=void 0,__vue_is_functional_template__$8=!1,__vue_component__$6=normalizeComponent({render:__vue_render__$7,staticRenderFns:__vue_staticRenderFns__$7},__vue_inject_styles__$8,__vue_script__$8,__vue_scope_id__$8,__vue_is_functional_template__$8,__vue_module_identifier__$8,!1,createInjector$1,void 0,void 0);var script$8={name:"VTableControls",components:{VTablePageSelect:__vue_component__$6},props:["filtering","multipleSelection","pagination","filteredRows"],data:()=>({filter:"",pageSize:10}),computed:{selectedRowsCount(){return this.multipleSelection.selected.length},maxPage(){return Math.ceil(this.filteredRows/this.pagination.pageSize)||1},isFirstPage(){return this.pagination.currentPage<=1},isLastPage(){return this.pagination.currentPage>=this.maxPage}},methods:{cancelSelect(){this.$emit("cancelSelectClick")},deleteMultiple(){this.$emit("deleteMultipleClick")},editMultiple(){this.$emit("editMultipleClick")},toFirstPage(){this.$emit("toFirstPageClick")},toPrevPage(){this.$emit("toPrevPageClick")},toNextPage(){this.$emit("toNextPageClick")},toLastPage(){this.$emit("toLastPageClick")},filterChange(){this.$emit("filterChange",this.filter)},pageSizeChange(){this.$emit("pageSizeChange",this.pageSize)}},watch:{"filtering.filter":function(){this.filter=this.filtering.filter},"pagination.pageSize":function(){this.pageSize=this.pagination.pageSize}}};const __vue_script__$9=script$8;var __vue_render__$8=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("caption",[n("div",{staticClass:"v-table-controls"},[n("div",{staticClass:"v-table-controls--actions"},[e.multipleSelection.enabled?n("div",{directives:[{name:"show",rawName:"v-show",value:e.selectedRowsCount,expression:"selectedRowsCount"}],staticClass:"actions-summary"},[n("div",{staticClass:"text"},[e._v(e._s(e.selectedRowsCount)+" selected")]),e._v(" "),n("i",{staticClass:"icon icon-close",on:{click:e.cancelSelect}})]):e._e(),e._v(" "),"edit"===e.multipleSelection.action||"both"===e.multipleSelection.action?n("button",{directives:[{name:"show",rawName:"v-show",value:e.selectedRowsCount,expression:"selectedRowsCount"}],staticClass:"actions-button",attrs:{disabled:!e.selectedRowsCount,type:"button"},on:{click:e.editMultiple}},[n("i",{staticClass:"icon icon-pencil"})]):e._e(),e._v(" "),"delete"===e.multipleSelection.action||"both"===e.multipleSelection.action?n("button",{directives:[{name:"show",rawName:"v-show",value:e.selectedRowsCount,expression:"selectedRowsCount"}],staticClass:"actions-button delete-button",attrs:{disabled:!e.selectedRowsCount,type:"button"},on:{click:e.deleteMultiple}},[n("i",{staticClass:"icon icon-trash"})]):e._e()]),e._v(" "),n("div",{staticClass:"v-table-controls--pagination"}
104,[n("div",{staticClass:"v-table-controls--pagination--page-size"},[n("div",{staticClass:"v-table-controls--pagination--page-size--text"},[e._v("\n Per page\n ")]),e._v(" "),n("div",{staticClass:"v-table-controls--pagination--page-size--selector"},[n("v-table-page-select",{attrs:{items:e.pagination.pageSizes},on:{input:e.pageSizeChange},model:{value:e.pageSize,callback:function(t){e.pageSize=t},expression:"pageSize"}})],1)]),e._v(" "),n("button",{staticClass:"v-table-controls--pagination--button",attrs:{disabled:e.isFirstPage},on:{click:e.toFirstPage}},[n("img",{attrs:{src:"img/icon/svg/table/prevprev.svg"}})]),e._v(" "),n("button",{staticClass:"v-table-controls--pagination--button",attrs:{disabled:e.isFirstPage},on:{click:e.toPrevPage}},[n("img",{attrs:{src:"img/icon/svg/table/prev.svg"}})]),e._v(" "),n("div",{staticClass:"v-table-controls--pagination--text"},[e._v("\n "+e._s(e.pagination.currentPage)+" of "+e._s(e.maxPage)+"\n ")]),e._v(" "),n("button",{staticClass:"v-table-controls--pagination--button",attrs:{disabled:e.isLastPage},on:{click:e.toNextPage}},[n("img",{attrs:{src:"img/icon/svg/table/next.svg"}})]),e._v(" "),n("button",{staticClass:"v-table-controls--pagination--button",attrs:{disabled:e.isLastPage},on:{click:e.toLastPage}},[n("img",{attrs:{src:"img/icon/svg/table/nextnext.svg"}})])])])])},__vue_staticRenderFns__$8=[];__vue_render__$8._withStripped=!0;const __vue_inject_styles__$9=function(e){e&&e("data-v-00d58681_0",{source:".v-table-controls {\n background-color: #ebeff9;\n display: flex;\n justify-content: space-between;\n padding: 1rem 0;\n}\n.v-table-controls--actions {\n display: flex;\n align-items: center;\n}\n.v-table-controls--actions .actions-summary {\n display: flex;\n justify-content: space-between;\n height: 2rem;\n min-width: 10rem;\n padding: 0 1rem;\n margin-right: 0.5rem;\n border: solid 1px #3e63cc;\n border-radius: 1rem;\n color: #3e63cc;\n}\n.v-table-controls--actions .icon-close {\n cursor: pointer;\n}\n.v-table-controls .actions-button {\n width: 2rem;\n height: 2rem;\n color: #3e63cc;\n border: solid 1px #3e63cc;\n border-radius: 50%;\n margin: 0 0.25rem;\n display: flex;\n place-content: center;\n align-items: center;\n cursor: pointer;\n}\n.v-table-controls .actions-button:hover {\n background-color: rgba(62, 99, 204, 0.1);\n}\n.v-table-controls--pagination {\n display: flex;\n justify-content: flex-end;\n}\n.v-table-controls--pagination--page-size {\n display: flex;\n margin-right: 1rem;\n}\n.v-table-controls--pagination--page-size--text {\n color: #121845;\n padding: 0 0.5rem;\n}\n.v-table-controls--pagination--button {\n width: 2rem;\n height: 2rem;\n border: solid 1px #3e63cc;\n border-radius: 50%;\n margin: 0 0.25rem;\n display: flex;\n place-content: center;\n align-items: center;\n cursor: pointer;\n}\n.v-table-controls--pagination--button:hover {\n background-color: rgba(62, 99, 204, 0.1);\n}\n.v-table-controls--pagination--button:disabled {\n pointer-events: none;\n opacity: 0.2;\n}\n.v-table-controls--pagination--text {\n color: #121845;\n padding: 0 0.5rem;\n}\n\n/*# sourceMappingURL=VTableControls.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VTable/VTableControls.vue","VTableControls.vue"],names:[],mappings:"AAuIA;EACA,yBAAA;EACA,aAAA;EACA,8BAAA;EACA,eAAA;ACtIA;ADwIA;EACA,aAAA;EACA,mBAAA;ACtIA;ADwIA;EACA,aAAA;EACA,8BAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA;EACA,oBAAA;EACA,yBAAA;EACA,mBAAA;EACA,cAAA;ACtIA;ADyIA;EACA,eAAA;ACvIA;AD2IA;EACA,WAAA;EACA,YAAA;EACA,cAAA;EACA,yBAAA;EACA,kBAAA;EACA,iBAAA;EAEA,aAAA;EACA,qBAAA;EACA,mBAAA;EAEA,eAAA;AC3IA;AD6IA;EACA,wCAAA;AC3IA;AD+IA;EACA,aAAA;EACA,yBAAA;AC7IA;AD+IA;EACA,aAAA;EACA,kBAAA;AC7IA;AD+IA;EACA,cAAA;EACA,iBAAA;AC7IA;ADoJA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,kBAAA;EACA,iBAAA;EAEA,aAAA;EACA,qBAAA;EACA,mBAAA;EAEA,eAAA;ACpJA;ADsJA;EACA,wCAAA;ACpJA;ADuJA;EACA,oBAAA;EACA,YAAA;ACrJA;ADyJA;EACA,cAAA;EACA,iBAAA;ACvJA;;AAEA,6CAA6C",file:"VTableControls.vue",sourcesContent:['<template>\n <caption>
104\n <div class="v-table-controls">\n <div class="v-table-controls--actions">\n <div v-if="multipleSelection.enabled" v-show="selectedRowsCount" class="actions-summary">\n <div class="text">{{ selectedRowsCount }} selected</div>\n <i class="icon icon-close" @click="cancelSelect"></i>\n </div>\n <button v-if="multipleSelection.action === \'edit\' || multipleSelection.action === \'both\'" v-show="selectedRowsCount"\n :disabled="!selectedRowsCount" @click="editMultiple" type="button" class="actions-button">\n <i class="icon icon-pencil"></i>\n </button>\n <button v-if="multipleSelection.action === \'delete\' || multipleSelection.action === \'both\'" v-show="selectedRowsCount"\n :disabled="!selectedRowsCount" @click="deleteMultiple" type="button" class="actions-button delete-button">\n <i class="icon icon-trash"></i>\n </button>\n </div>\n\n <div class="v-table-controls--pagination">\n <div class="v-table-controls--pagination--page-size">\n <div class="v-table-controls--pagination--page-size--text">\n Per page\n </div>\n\n <div class="v-table-controls--pagination--page-size--selector">\n <v-table-page-select\n :items="pagination.pageSizes"\n v-model="pageSize"\n @input="pageSizeChange"\n ></v-table-page-select>\n </div>\n </div>\n\n <button\n class="v-table-controls--pagination--button"\n :disabled="isFirstPage"\n @click="toFirstPage">\n <img src="img/icon/svg/table/prevprev.svg">\n </button>\n <button\n class="v-table-controls--pagination--button"\n :disabled="isFirstPage"\n @click="toPrevPage">\n <img src="img/icon/svg/table/prev.svg">\n </button>\n\n <div class="v-table-controls--pagination--text">\n {{ pagination.currentPage }} of {{ maxPage }}\n </div>\n\n <button\n class="v-table-controls--pagination--button"\n :disabled="isLastPage"\n @click="toNextPage">\n <img src="img/icon/svg/table/next.svg">\n </button>\n <button\n class="v-table-controls--pagination--button"\n :disabled="isLastPage"\n @click="toLastPage">\n <img src="img/icon/svg/table/nextnext.svg">\n </button>\n </div>\n </div>\n </caption>\n</template>\n\n<script>\nimport VTablePageSelect from "vueCustomComponents/VTable/VTablePageSelect.vue";\n\nexport default {\n name: "VTableControls",\n components: { VTablePageSelect },\n props: ["filtering", "multipleSelection", "pagination", "filteredRows"],\n data: () => ({\n filter: "",\n pageSize: 10,\n }),\n computed: {\n selectedRowsCount() {\n return this.multipleSelection.selected.length;\n },\n maxPage() {\n return Math.ceil(this.filteredRows / this.pagination.pageSize) || 1;\n },\n isFirstPage() {\n return this.pagination.currentPage <= 1;\n },\n isLastPage() {\n return this.pagination.currentPage >= this.maxPage;\n },\n },\n methods: {\n cancelSelect() {\n this.$emit(\'cancelSelectClick\');\n },\n deleteMultiple() {\n this.$emit("deleteMultipleClick");\n },\n editMultiple() {\n this.$emit("editMultipleClick");\n },\n toFirstPage() {\n this.$emit("toFirstPageClick");\n },\n toPrevPage() {\n this.$emit("toPrevPageClick");\n },\n toNextPage() {\n this.$emit("toNextPageClick");\n },\n toLastPage() {\n this.$emit("toLastPageClick");\n },\n filterChange() {\n this.$emit("filterChange", this.filter);\n },\n pageSizeChange() {\n this.$emit("pageSizeChange", this.pageSize);\n },\n },\n watch: {\n "filtering.filter": function() {\n this.filter = this.filtering.filter;\n },\n "pagination.pageSize": function() {\n this.pageSize = this.pagination.pageSize;\n },\n },\n};\n<\/script>\n\n<style lang="scss">\n@import "src/scss/global/brand-colors";
104\n\n.v-table-controls {\n background-color: $color-sapphire-lavender;\n display: flex;\n justify-content: space-between;\n padding: 1rem 0;\n\n &--actions {\n display: flex;\n align-items: center;\n\n .actions-summary {\n display: flex;\n justify-content: space-between;\n height: 2rem;\n min-width: 10rem;\n padding: 0 1rem;\n margin-right: 0.5rem;\n border: solid 1px $color-sl-secondary;\n border-radius: 1rem;\n color: $color-sl-secondary;\n }\n\n .icon-close {\n cursor: pointer;\n }\n }\n\n .actions-button {\n width: 2rem;\n height: 2rem;\n color: $color-sl-secondary;\n border: solid 1px $color-sl-secondary;\n border-radius: 50%;\n margin: 0 0.25rem;\n\n display: flex;\n place-content: center;\n align-items: center;\n\n cursor: pointer;\n\n &:hover {\n background-color: $color-sl-secondary-opacity-10;\n }\n }\n\n &--pagination {\n display: flex;\n justify-content: flex-end;\n\n &--page-size {\n display: flex;\n margin-right: 1rem;\n\n &--text {\n color: $color-sapphire-4;\n padding: 0 0.5rem;\n }\n\n &--selector {\n }\n }\n\n &--button {\n width: 2rem;\n height: 2rem;\n border: solid 1px $color-sl-secondary;\n border-radius: 50%;\n margin: 0 0.25rem;\n\n display: flex;\n place-content: center;\n align-items: center;\n\n cursor: pointer;\n\n &:hover {\n background-color: $color-sl-secondary-opacity-10;\n }\n\n &:disabled {\n pointer-events: none;\n opacity: 0.2;\n }\n }\n\n &--text {\n color: $color-sapphire-4;\n padding: 0 0.5rem;\n }\n }\n}\n</style>\n',".v-table-controls {\n background-color: #ebeff9;\n display: flex;\n justify-content: space-between;\n padding: 1rem 0;\n}\n.v-table-controls--actions {\n display: flex;\n align-items: center;\n}\n.v-table-controls--actions .actions-summary {\n display: flex;\n justify-content: space-between;\n height: 2rem;\n min-width: 10rem;\n padding: 0 1rem;\n margin-right: 0.5rem;\n border: solid 1px #3e63cc;\n border-radius: 1rem;\n color: #3e63cc;\n}\n.v-table-controls--actions .icon-close {\n cursor: pointer;\n}\n.v-table-controls .actions-button {\n width: 2rem;\n height: 2rem;\n color: #3e63cc;\n border: solid 1px #3e63cc;\n border-radius: 50%;\n margin: 0 0.25rem;\n display: flex;\n place-content: center;\n align-items: center;\n cursor: pointer;\n}\n.v-table-controls .actions-button:hover {\n background-color: rgba(62, 99, 204, 0.1);\n}\n.v-table-controls--pagination {\n display: flex;\n justify-content: flex-end;\n}\n.v-table-controls--pagination--page-size {\n display: flex;\n margin-right: 1rem;\n}\n.v-table-controls--pagination--page-size--text {\n color: #121845;\n padding: 0 0.5rem;\n}\n.v-table-controls--pagination--button {\n width: 2rem;\n height: 2rem;\n border: solid 1px #3e63cc;\n border-radius: 50%;\n margin: 0 0.25rem;\n display: flex;\n place-content: center;\n align-items: center;\n cursor: pointer;\n}\n.v-table-controls--pagination--button:hover {\n background-color: rgba(62, 99, 204, 0.1);\n}\n.v-table-controls--pagination--button:disabled {\n pointer-events: none;\n opacity: 0.2;\n}\n.v-table-controls--pagination--text {\n color: #121845;\n padding: 0 0.5rem;\n}\n\n/*# sourceMappingURL=VTableControls.vue.map */"]},media:void 0})},__vue_scope_id__$9=void 0,__vue_module_identifier__$9=void 0,__vue_is_functional_template__$9=!1,__vue_component__$7=normalizeComponent({render:__vue_render__$8,staticRenderFns:__vue_staticRenderFns__$8},__vue_inject_styles__$9,__vue_script__$9,__vue_scope_id__$9,__vue_is_functional_template__$9,__vue_module_identifier__$9,!1,createInjector$1,void 0,void 0);var script$9={name:"VTable",components:{VTableControls:__vue_component__$7,VTableHeader:__vue_component__$5},props:{rows:{type:Array,required:!0},columns:{type:Array,required:!0},settings:{type:Object}},data:()=>({numbering:{enabled:!1,startOn:1,decorator:e=>"".concat("0".repeat(2)).concat(e).slice(-2)},disabling:{enabled:!1,testingMethod:()=>{}},multipleSelection:{enabled:!1,key:"id",action:"delete",allSelected:!1,selected:[]},filtering:{enabled:!1,filter:"",customFilter:null,columns:[]},pagination:{currentPage:1,pageSize:10,pageSizes:[10,20,50,100,200,500]}}),computed:{filteringColumns(){return 0!==this.filtering.columns.length?this.filtering.columns:this.columns.map(e=>e.key)},selectedRowsCount(){return this.multipleSelection.selected.length},sortedRows(){return this.rows},filteredRows(){return this.filtering.enabled?null!=this.filtering.customFilter?this.sortedRows.filter(this.filtering.customFilter):this.sortedRows.filter(this.defaultFilter):this.sortedRows},paginatedRows(){return this.filteredRows.filter((e,t)=>
104{const n=(this.pagination.currentPage-1)*this.pagination.pageSize,i=this.pagination.currentPage*this.pagination.pageSize;return t>=n&&t<i})},maxPage(){return Math.ceil(this.filteredRows.length/this.pagination.pageSize)||1},isFirstPage(){return this.pagination.currentPage<=1},isLastPage(){return this.pagination.currentPage>=this.maxPage},columnCount(){let e=this.columns.length;return this.multipleSelection.enabled&&e++,this.numbering.enabled&&e++,e}},methods:{defaultFilter(e){const t=this.filtering.filter.toLowerCase();return this.filteringColumns.map(t=>this.parseData(e[t],this.columns.filter(e=>e.key===t).decorator).toString().toLowerCase()).some(e=>e.includes(t))},hasSlot(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return!!this.$slots[e]||!!this.$scopedSlots[e]},parseData(e){return null==e?"":(arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e)(e)},returnData(e,t,n){return t?this.parseData(e[t],n):""},selectAll(){this.multipleSelection.selected=[],this.multipleSelection.allSelected&&this.$set(this.multipleSelection,"selected",this.rows.map(e=>e[this.multipleSelection.key]))},unselectAll(){this.multipleSelection.selected=[],this.multipleSelection.allSelected=!1},selectOne(){this.allSelected=this.multipleSelection.selected.length===this.rows.length},toNextPage(){this.pagination.currentPage++},toPrevPage(){this.pagination.currentPage--},toFirstPage(){this.pagination.currentPage=1},toLastPage(){this.pagination.currentPage=this.maxPage},deleteMultiple(){this.$emit("deleteMultipleClick",[...this.multipleSelection.selected]),this.multipleSelection.selected=[],this.multipleSelection.allSelected=!1},editMultiple(){this.$emit("editMultipleClick",[...this.multipleSelection.selected])},pageSizeChange(e){this.pagination.pageSize=e},filterChange(e){this.filtering.filter=e},getSelected(){return this.multipleSelection.selected}},watch:{maxPage(){this.maxPage<this.pagination.currentPage&&(this.pagination.currentPage=this.maxPage)},settings:{handler(){Object.assign(this.numbering,this.settings.numbering),Object.assign(this.disabling,this.settings.disabling),Object.assign(this.multipleSelection,this.settings.multipleSelection),Object.assign(this.filtering,this.settings.filtering)},deep:!0,immediate:!0},"multipleSelection.selected":{deep:!0,immediate:!0,handler(e){this.$emit("selection:update",e),this.$emit("input",e)}}}};const __vue_script__$a=script$9;var __vue_render__$9=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",[n("v-table-controls",{attrs:{filtering:e.filtering,"multiple-selection":e.multipleSelection,pagination:e.pagination,"filtered-rows":e.filteredRows.length},on:{deleteMultipleClick:e.deleteMultiple,editMultipleClick:e.editMultiple,toFirstPageClick:e.toFirstPage,toPrevPageClick:e.toPrevPage,toNextPageClick:e.toNextPage,toLastPageClick:e.toLastPage,pageSizeChange:e.pageSizeChange,filterChange:e.filterChange,cancelSelectClick:e.unselectAll}}),e._v(" "),n("v-table-header",{attrs:{columns:e.columns,"multiple-selection":e.multipleSelection,numbering:e.numbering},on:{selectAllClick:e.selectAll}}),e._v(" "),n("tbody",e._l(e.paginatedRows,(function(t,i){return n("tr",{class:{selected:e.multipleSelection.selected.includes(t[e.multipleSelection.key]),disabled:e.disabling.testingMethod(t)}},[e.multipleSelection.enabled?n("td",{staticClass:"vtable-checkbox align-center kontakt-icon-font"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.multipleSelection.selected,expression:"multipleSelection.selected"}],attrs:{type:"checkbox",id:"checkbox-"+t[e.multipleSelection.key]+"-"+i},domProps:{value:t[e.multipleSelection.key],checked:Array.isArray(e.multipleSelection.selected)?e._i(e.multipleSelection.selected,t[e.multipleSelection.key])>-1:e.multipleSelection.selected},on:{change:[function(n){var i=e.multipleSelection.selected,r=n.target,o=!!r.checked;if(Array.isArray(i)){var a=t[e.multipleSelection.key],s=e._i(i,a);r.checked?s<0&&e.$set(e.multipleSelection,"selected",i.concat([a])):s>-1&&e.$set(e.multipleSelection,"selected",i.slice(0,s).concat(i.slice(s+1)))}else e.$set(e.multipleSelection,"selected",o)},e.selectOne]}}),e._v(" "),n("label",{attrs:{for:"checkbox-"+t[e.multipleSelection.key]+"-"+i}}
104)]):e._e(),e._v(" "),e.numbering.enabled?n("td",{staticClass:"vtable-no align-center"},[e._v("\n "+e._s(e.parseData(i+e.numbering.startOn+(e.pagination.currentPage-1)*e.pagination.pageSize,e.numbering.decorator))+"\n ")]):e._e(),e._v(" "),e._l(e.columns,(function(r){return n("td",{class:["align-"+r.align],style:{"min-width":r.minWidth,width:r.width}},[e.hasSlot("item."+r.key)?e._t("item."+r.key,null,{item:Object.assign({},{index:i},t)}):[e._v("\n "+e._s(e.returnData(t,r.key,r.decorator))+"\n ")]],2)}))],2)})),0),e._v(" "),n("tfoot",[n("tr",[n("td",{attrs:{colspan:e.columnCount}})])])],1)},__vue_staticRenderFns__$9=[];__vue_render__$9._withStripped=!0;const __vue_inject_styles__$a=function(e){e&&e("data-v-f623ad58_0",{source:'table {\n width: 100%;\n margin-top: 0;\n background-color: transparent;\n}\ntable tr {\n color: #121845;\n background-color: #fff;\n}\ntable tr.selected td {\n position: relative;\n}\ntable tr.selected td:after {\n content: "";\n position: absolute;\n top: 3px;\n bottom: 3px;\n left: 0;\n right: 0;\n background-color: rgba(62, 99, 204, 0.1);\n pointer-events: none;\n}\ntable tr.selected td:first-child:after {\n border-radius: 50% 0 0 50%;\n left: 3px;\n}\ntable tr.disabled {\n color: #818181;\n}\ntable tr td {\n border-bottom: solid 2px rgba(62, 99, 204, 0.1);\n background-color: transparent;\n background-clip: padding-box;\n font-weight: 400;\n line-height: 2rem;\n font-size: 1rem;\n color: inherit;\n padding: 0.75rem 0.5rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n max-width: 0;\n transition: background-color 0.18s ease-out;\n}\ntable tr td:first-child {\n padding-left: 1rem;\n}\ntable tr td:last-child {\n padding-right: 1rem;\n}\ntable tr td.vtable-checkbox {\n min-width: 3rem;\n}\ntable tr td.vtable-checkbox input {\n position: absolute;\n opacity: 0;\n top: -2px;\n}\ntable tr td.vtable-checkbox input + label {\n position: relative;\n cursor: pointer;\n padding: 0;\n}\ntable tr td.vtable-checkbox input + label:before {\n content: "";\n margin-right: 0;\n display: inline-block;\n vertical-align: text-top;\n width: 16px;\n height: 16px;\n background: white;\n border: solid 2px #121845;\n color: #121845;\n border-radius: 2px;\n}\ntable tr td.vtable-checkbox input:checked + label:before {\n background: #3e63cc;\n border-color: transparent;\n}
104\ntable tr td.vtable-checkbox input:checked + label:after {\n content: "";\n width: 5px;\n height: 10px;\n border-color: #fff;\n border-style: solid;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n position: absolute;\n left: 5px;\n top: 2px;\n}\ntable tr td.vtable-no {\n min-width: 4rem;\n}\ntable tr td.align-center {\n text-align: center;\n}\ntable tr td.align-left {\n text-align: left;\n}\ntable tr td.align-right {\n text-align: right;\n}\ntable tfoot tr {\n background-color: transparent;\n}\ntable tfoot tr td {\n background-color: #fff;\n border-radius: 0 0 0.5rem 0.5rem;\n border-bottom: none;\n}\n\n/*# sourceMappingURL=VTable.vue.map */',map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VTable/VTable.vue","VTable.vue"],names:[],mappings:"AA2PA;EACA,WAAA;EACA,aAAA;EACA,6BAAA;AC1PA;AD4PA;EACA,cAAA;EACA,sBAAA;AC1PA;AD8PA;EACA,kBAAA;AC5PA;AD8PA;EACA,WAAA;EACA,kBAAA;EACA,QAAA;EACA,WAAA;EACA,OAAA;EACA,QAAA;EACA,wCAAA;EACA,oBAAA;AC5PA;ADgQA;EACA,0BAAA;EACA,SAAA;AC9PA;ADoQA;EACA,cAAA;AClQA;ADqQA;EACA,+CAAA;EACA,6BAAA;EACA,4BAAA;EACA,gBAAA;EACA,iBAAA;EACA,eAAA;EACA,cAAA;EACA,uBAAA;EACA,uBAAA;EACA,mBAAA;EACA,gBAAA;EACA,YAAA;EACA,2CAAA;ACnQA;ADqQA;EACA,kBAAA;ACnQA;ADsQA;EACA,mBAAA;ACpQA;ADuQA;EACA,eAAA;ACrQA;ADuQA;EACA,kBAAA;EACA,UAAA;EACA,SAAA;ACrQA;ADuQA;EACA,kBAAA;EACA,eAAA;EACA,UAAA;ACrQA;ADwQA;EACA,WAAA;EACA,eAAA;EACA,qBAAA;EACA,wBAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,yBAAA;EACA,cAAA;EACA,kBAAA;ACtQA;ADyQA;EACA,mBAAA;EACA,yBAAA;ACvQA;AD0QA;EACA,WAAA;EACA,UAAA;EACA,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,wBAAA;EACA,kBAAA;EACA,SAAA;EACA,QAAA;ACxQA;AD6QA;EACA,eAAA;AC3QA;AD+QA;EACA,kBAAA;AC7QA;ADgRA;EACA,gBAAA;AC9QA;ADiRA;EACA,iBAAA;AC/QA;ADsRA;EACA,6BAAA;ACpRA;ADsRA;EACA,sBAAA;EACA,gCAAA;EACA,mBAAA;ACpRA;;AAEA,qCAAqC",file:"VTable.vue",sourcesContent:['<template>\n <table>\n <v-table-controls :filtering="filtering" :multiple-selection="multipleSelection" :pagination="pagination"\n :filtered-rows="filteredRows.length" @deleteMultipleClick="deleteMultiple" @editMultipleClick="editMultiple"\n @toFirstPageClick="toFirstPage" @toPrevPageClick="toPrevPage" @toNextPageClick="toNextPage"\n @toLastPageClick="toLastPage" @pageSizeChange="pageSizeChange" @filterChange="filterChange"\n @cancelSelectClick="unselectAll">\n </v-table-controls>\n\n <v-table-header :columns="columns" :multiple-selection="multipleSelection"\n :numbering="numbering" @selectAllClick="selectAll"></v-table-header>\n\n <tbody>\n <tr v-for="(row, index) in paginatedRows"\n :class="{ \'selected\': multipleSelection.selected.includes(row[multipleSelection.key]),\n \'disabled\': disabling.testingMethod(row) }">\n\n <td v-if="multipleSelection.enabled" class="vtable-checkbox align-center kontakt-icon-font">\n <input type="checkbox" @change="selectOne" :value="row[multipleSelection.key]"\n v-model="multipleSelection.selected" :id="`checkbox-${row[multipleSelection.key]}-${index}`">\n <label :for="`checkbox-${row[multipleSelection.key]}-${index}`"></label>\n </td>\n\n <td v-if="numbering.enabled" class="vtable-no align-center">\n {{ parseData(index + numbering.startOn + (pagination.currentPage - 1) * pagination.pageSize, numbering.decorator) }}\n </td>\n\n <td v-for="column in columns"\n :class="[`align-${column.align}`]"\n :style="{ \'min-width\': column.minWidth, \'width\': column.width }">\n <slot v-if="hasSlot(`item.${column.key}`)"\n :name="`item.${column.key}`"\n v-bind:item="{ index, ...row }"></slot>\n <template v-else>\n {{ returnData(row, column.key, column.decorator) }}\n </template>\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td :colspan="columnCount"></td>\n </tr>\n </tfoot>\n </table>\n</template>\n\n<script>\nimport VTableHeader from \'vueCustomComponents/VTable/VTableHeader.vue\';\nimport VTableControls from \'vueCustomComponents/VTable/VTableControls.vue\';
104\n\nexport default {\n name: \'VTable\',\n components: {VTableControls, VTableHeader},\n props: {\n rows: {\n type: Array,\n required: true\n },\n columns: {\n type: Array,\n required: true\n },\n settings: {\n type: Object\n },\n },\n data: () => ({\n numbering: {\n enabled: false,\n startOn: 1,\n decorator: value => `${\'0\'.repeat(2)}${value}`.slice(-2)\n },\n disabling: {\n enabled: false,\n testingMethod: () => {}\n },\n multipleSelection: {\n enabled: false,\n key: \'id\',\n action: \'delete\', // delete, edit, both\n allSelected: false,\n selected: []\n },\n filtering: {\n enabled: false,\n filter: \'\',\n customFilter: null,\n columns: []\n },\n pagination: {\n currentPage: 1,\n pageSize: 10,\n pageSizes: [10, 20, 50, 100, 200, 500]\n }\n }),\n computed: {\n filteringColumns() {\n if (this.filtering.columns.length !== 0) {\n return this.filtering.columns;\n }\n\n return this.columns.map(item => item.key);\n },\n selectedRowsCount() {\n return this.multipleSelection.selected.length;\n },\n sortedRows() {\n return this.rows;\n },\n filteredRows() {\n if (!this.filtering.enabled) {\n return this.sortedRows;\n }\n\n if (this.filtering.customFilter != null) {\n return this.sortedRows.filter(this.filtering.customFilter);\n }\n\n return this.sortedRows.filter(this.defaultFilter);\n },\n paginatedRows() {\n return this.filteredRows.filter((row, index) => {\n const start = (this.pagination.currentPage - 1) * this.pagination.pageSize;\n const end = this.pagination.currentPage * this.pagination.pageSize;\n\n return index >= start && index < end;\n });\n },\n maxPage() {\n return Math.ceil(this.filteredRows.length / this.pagination.pageSize) || 1;\n },\n isFirstPage() {\n return this.pagination.currentPage <= 1;\n },\n isLastPage() {\n return this.pagination.currentPage >= this.maxPage;\n },\n columnCount() {\n let count = this.columns.length;\n\n if (this.multipleSelection.enabled) {\n count++;\n }\n\n if (this.numbering.enabled) {\n count++;\n }\n\n return count;\n }\n },\n methods: {\n defaultFilter(row) {\n const searchTerm = this.filtering.filter.toLowerCase();\n const results = this.filteringColumns.map(key => this.parseData(row[key], this.columns.filter(column => column.key === key).decorator).toString().toLowerCase());\n\n return results.some(item => item.includes(searchTerm));\n },\n hasSlot(name = \'default\') {\n return !!this.$slots[name] || !!this.$scopedSlots[name];\n },\n parseData(value, decorator = value => value) {\n if (value === undefined || value === null) {\n return \'\';\n }\n\n return decorator(value);\n },\n returnData(row, key, decorator) {\n if (!key) {\n return \'\';\n }\n\n return this.parseData(row[key], decorator);\n },\n selectAll() {\n this.multipleSelection.selected = [];\n\n if (this.multipleSelection.allSelected) {\n this.$set(this.multipleSelection, \'selected\', this.rows.map(item => item[this.multipleSelection.key]));\n }\n },\n unselectAll() {\n this.multipleSelection.selected = [];\n this.multipleSelection.allSelected = false;\n },\n selectOne() {\n this.allSelected = this.multipleSelection.selected.length === this.rows.length;\n },\n toNextPage() {\n this.pagination.currentPage++;\n },\n toPrevPage() {\n this.pagination.currentPage--;\n },\n toFirstPage() {\n this.pagination.currentPage = 1;\n },\n toLastPage() {\n this.pagination.currentPage = this.maxPage;\n },\n deleteMultiple() {\n this.$emit(\'deleteMultipleClick\', [...this.multipleSelection.selected]);\n this.multipleSelection.selected = [];\n this.multipleSelection.allSelected = false;\n },\n editMultiple() {\n this.$emit(\'editMultipleClick\', [...this.multipleSelection.selected]);\n },\n pageSizeChange(size) {\n this.pagination.pageSize = size;\n }
104,\n filterChange(filter) {\n this.filtering.filter = filter;\n },\n getSelected() {\n return this.multipleSelection.selected;\n }\n },\n watch: {\n maxPage() {\n if (this.maxPage < this.pagination.currentPage) {\n this.pagination.currentPage = this.maxPage;\n }\n },\n settings: {\n handler() {\n Object.assign(this.numbering, this.settings.numbering);\n Object.assign(this.disabling, this.settings.disabling);\n Object.assign(this.multipleSelection, this.settings.multipleSelection);\n Object.assign(this.filtering, this.settings.filtering);\n },\n deep: true,\n immediate: true\n },\n \'multipleSelection.selected\': {\n deep: true,\n immediate: true,\n handler(newVal) {\n this.$emit(\'selection:update\', newVal);\n this.$emit(\'input\', newVal)\n }\n }\n }\n}\n<\/script>\n\n<style lang="scss">\n@import \'src/scss/global/brand-colors\';\n\ntable {\n width: 100%;\n margin-top: 0;\n background-color: transparent;\n\n tr {\n color: $color-sapphire-4;\n background-color: $color-white;\n\n &.selected {\n\n td {\n position: relative;\n\n &:after {\n content: \'\';\n position: absolute;\n top: 3px;\n bottom: 3px;\n left: 0;\n right: 0;\n background-color: $color-sl-secondary-opacity-10;\n pointer-events: none;\n }\n\n &:first-child {\n &:after {\n border-radius: 50% 0 0 50%;\n left: 3px;\n }\n }\n }\n }\n\n &.disabled {\n color: $color-grey-4;\n }\n\n td {\n border-bottom: solid 2px $color-sl-secondary-opacity-10;\n background-color: transparent;\n background-clip: padding-box;\n font-weight: 400;\n line-height: 2rem;\n font-size: 1rem;\n color: inherit;\n padding: 0.75rem 0.5rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n max-width: 0;\n transition: background-color 0.18s ease-out;\n\n &:first-child {\n padding-left: 1rem;\n }\n\n &:last-child {\n padding-right: 1rem;\n }\n\n &.vtable-checkbox {\n min-width: 3rem;\n\n input {\n position: absolute;\n opacity: 0;\n top: -2px;\n\n & + label {\n position: relative;\n cursor: pointer;\n padding: 0;\n }\n\n & + label:before {\n content: \'\';\n margin-right: 0;\n display: inline-block;\n vertical-align: text-top;\n width: 16px;\n height: 16px;\n background: white;\n border: solid 2px $color-sapphire-4;\n color: $color-sapphire-4;\n border-radius: 2px;\n }\n\n &:checked + label:before {\n background: $color-sl-secondary;\n border-color: transparent;\n }\n\n &:checked + label:after {\n content: \'\';\n width: 5px;\n height: 10px;\n border-color: $color-white;\n border-style: solid;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n position: absolute;\n left: 5px;\n top: 2px;\n }\n }\n }\n\n &.vtable-no {\n min-width: 4rem;\n }\n\n &.align {\n &-center {\n text-align: center;\n }\n\n &-left {\n text-align: left;\n }\n\n &-right {\n text-align: right;\n }\n }\n }\n }\n\n tfoot {\n tr {\n background-color: transparent;\n\n td {\n background-color: $color-white;\n border-radius: 0 0 0.5rem 0.5rem;\n border-bottom: none;\n }\n }\n }\n}\n</style>','table {\n width: 100%;\n margin-top: 0;\n background-color: transparent;\n}\ntable tr {\n color: #121845;\n background-color: #fff;\n}\ntable tr.selected td {\n position: relative;\n}
104\ntable tr.selected td:after {\n content: "";\n position: absolute;\n top: 3px;\n bottom: 3px;\n left: 0;\n right: 0;\n background-color: rgba(62, 99, 204, 0.1);\n pointer-events: none;\n}\ntable tr.selected td:first-child:after {\n border-radius: 50% 0 0 50%;\n left: 3px;\n}\ntable tr.disabled {\n color: #818181;\n}\ntable tr td {\n border-bottom: solid 2px rgba(62, 99, 204, 0.1);\n background-color: transparent;\n background-clip: padding-box;\n font-weight: 400;\n line-height: 2rem;\n font-size: 1rem;\n color: inherit;\n padding: 0.75rem 0.5rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n max-width: 0;\n transition: background-color 0.18s ease-out;\n}\ntable tr td:first-child {\n padding-left: 1rem;\n}\ntable tr td:last-child {\n padding-right: 1rem;\n}\ntable tr td.vtable-checkbox {\n min-width: 3rem;\n}\ntable tr td.vtable-checkbox input {\n position: absolute;\n opacity: 0;\n top: -2px;\n}\ntable tr td.vtable-checkbox input + label {\n position: relative;\n cursor: pointer;\n padding: 0;\n}\ntable tr td.vtable-checkbox input + label:before {\n content: "";\n margin-right: 0;\n display: inline-block;\n vertical-align: text-top;\n width: 16px;\n height: 16px;\n background: white;\n border: solid 2px #121845;\n color: #121845;\n border-radius: 2px;\n}\ntable tr td.vtable-checkbox input:checked + label:before {\n background: #3e63cc;\n border-color: transparent;\n}
vendor: 12,193 bytes, lines 104-110
104\ntable tr td.vtable-checkbox input:checked + label:after {\n content: "";\n width: 5px;\n height: 10px;\n border-color: #fff;\n border-style: solid;\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n position: absolute;\n left: 5px;\n top: 2px;\n}\ntable tr td.vtable-no {\n min-width: 4rem;\n}\ntable tr td.align-center {\n text-align: center;\n}\ntable tr td.align-left {\n text-align: left;\n}\ntable tr td.align-right {\n text-align: right;\n}\ntable tfoot tr {\n background-color: transparent;\n}\ntable tfoot tr td {\n background-color: #fff;\n border-radius: 0 0 0.5rem 0.5rem;\n border-bottom: none;\n}\n\n/*# sourceMappingURL=VTable.vue.map */']},media:void 0})},__vue_scope_id__$a=void 0,__vue_module_identifier__$a=void 0,__vue_is_functional_template__$a=!1,__vue_component__$8=normalizeComponent({render:__vue_render__$9,staticRenderFns:__vue_staticRenderFns__$9},__vue_inject_styles__$a,__vue_script__$a,__vue_scope_id__$a,__vue_is_functional_template__$a,__vue_module_identifier__$a,!1,createInjector$1,void 0,void 0);var vueScrollbar_umd_min=createCommonjsModule((function(e,t){"undefined"!=typeof self&&self,e.exports=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")}({"3ae1":function(e,t,n){n("e386")},8875:function(e,t,n){var i,r,o;"undefined"!=typeof self&&self,r=[],void 0===(o="function"==typeof(i=function(){return function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(e){var n,i,r,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e.stack)||/@([^@]*):(\d+):(\d+)\s*$/gi.exec(e.stack),a=o&&o[1]||!1,s=o&&o[2]||!1,c=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");a===c&&(n=document.documentElement.outerHTML,i=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===a)return l[d];if(a===c&&l[d].innerHTML&&l[d].innerHTML.trim()===r)return l[d]}return null}}})?i.apply(t,r):i)||(e.exports=o)},e386:function(e,t,n){},fb15:function(e,t,n){if(n.r(t),"undefined"!=typeof window){var i=window.document.currentScript,r=n("8875");i=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])} 105/*! 106 * perfect-scrollbar v1.5.0 107 * Copyright 2020 Hyunje Jun, MDBootstrap and Contributors 108 * Licensed under MIT 109 */ 110function a(e){return getComputedStyle(e)}function s(e,t){for(var n in t){var i=t[n];"number"==typeof i&&(i+="px"),e.style[n]=i}return e}function c(e){var t=document.createElement("div");return t.className=e,t}var l="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function d(e,t){if(!l)throw new Error("No element matching method supported");return l.call(e,t)}function u(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function p(e,t){return Array.prototype.filter.call(e.children,(function(e){return d(e,t)}))}var h="ps",f="ps__rtl",m={thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},v={focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}},g={x:null,y:null};function b(e,t){var n=e.element.classList,i=v.scrolling(t);n.contains(i)?clearTimeout(g[t]):n.add(i)}function y(e,t){g[t]=setTimeout((function(){return e.isAlive&&e.element.classList.remove(v.scrolling(t))}),e.settings.scrollingThreshold)}var A=function(e){this.element=e,this.handlers={}},_={isEmpty:{configurable:!0}};A.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},A.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter((function(i){return!(!t||i===t)||(n.element.removeEventListener(e,i,!1),!1)}))},A.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},_.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every((function(t){return 0===e.handlers[t].length}))},Object.defineProperties(A.prototype,_);var w=function(){this.eventElements=[]};function M(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function k(e,t,n,i,r){var o;if(void 0===i&&(i=!0),void 0===r&&(r=!1),"top"===t)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,i,r){var o=n[0],a=n[1],s=n[2],c=n[3],l=n[4],d=n[5];void 0===i&&(i=!0),void 0===r&&(r=!1);var u=e.element;e.reach[c]=null,u[s]<1&&(e.reach[c]="start"),u[s]>e[o]-e[a]-1&&(e.reach[c]="end"),t&&(u.dispatchEvent(M("ps-scroll-"+c)),t<0?u.dispatchEvent(M("ps-scroll-"+l)):t>0&&u.dispatchEvent(M("ps-scroll-"+d)),i&&function(e,t){b(e,t),y(e,t)}(e,c)),e.reach[c]&&(t||r)&&u.dispatchEvent(M("ps-"+c+"-reach-"+e.reach[c]))}(e,n,o,i,r)}function C(e){return parseInt(e,10)||0}w.prototype.eventElement=function(e){var t=this.eventElements.filter((function(t){return t.element===e}))[0];return t||(t=new A(e),this.eventElements.push(t)),t},w.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},w.prototype.unbind=function(e,t,n){var i=this.eventElement(e);i.unbind(t,n),i.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(i),1)},w.prototype.unbindAll=function(){this.eventElements.forEach((function(e){return e.unbindAll()})),this.eventElements=[]},w.prototype.once=function(e,t,n){var i=this.eventElement(e),r=function(e){i.unbind(t,r),n(e)};i.bind(t,r)};var S={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function E(e){var t=e.element,n=Math.floor(t.scrollTop),i=t.getBoundingClientRect();e.containerWidth=Math.ceil(i.width),e.containerHeight=Math.ceil(i.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(p(t,m.rail("x")).forEach((function(e){return u(e)})),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(p(t,m.rail("y")).forEach((function(e){return u(e)})),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=x(e,C(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=C((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=x(e,C(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=C(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var n={width:t.railXWidth},i=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-i:n.top=t.scrollbarXTop+i,s(t.scrollbarXRail,n);var r={top:i,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?r.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:r.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?r.left=t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:r.left=t.scrollbarYLeft+e.scrollLeft,s(t.scrollbarYRail,r),s(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),s(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(v.active("x")):(t.classList.remove(v.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(v.active("y")):(t.classList.remove(v.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function x(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function O(e,t){var n=t[0],i=t[1],r=t[2],o=t[3],a=t[4],s=t[5],c=t[6],l=t[7],d=t[8],u=e.element,p=null,h=null,f=null;function m(t){t.touches&&t.touches[0]&&(t[r]=t.touches[0].pageY),u[c]=p+f*(t[r]-h),b(e,l),E(e),t.stopPropagation(),t.preventDefault()}function g(){y(e,l),e[d].classList.remove(v.clicking),e.event.unbind(e.ownerDocument,"mousemove",m)}function A(t,a){p=u[c],a&&t.touches&&(t[r]=t.touches[0].pageY),h=t[r],f=(e[i]-e[n])/(e[o]-e[s]),a?e.event.bind(e.ownerDocument,"touchmove",m):(e.event.bind(e.ownerDocument,"mousemove",m),e.event.once(e.ownerDocument,"mouseup",g),t.preventDefault()),e[d].classList.add(v.clicking),t.stopPropagation()}e.event.bind(e[a],"mousedown",(function(e){A(e)})),e.event.bind(e[a],"touchstart",(function(e){A(e,!0)}))}var T={"click-rail":function(e){e.element,e.event.bind(e.scrollbarY,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarYRail,"mousedown",(function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top>e.scrollbarYTop?1:-1;e.element.scrollTop+=n*e.containerHeight,E(e),t.stopPropagation()})),e.event.bind(e.scrollbarX,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarXRail,"mousedown",(function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=n*e.containerWidth,E(e),t.stopPropagation()}))},"drag-thumb":function(e){O(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),O(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(d(t,":hover")||d(e.scrollbarX,":focus")||d(e.scrollbarY,":focus"))){var i=document.activeElement?document.activeElement:e.ownerDocument.activeElement;
vendor: 7,969 bytes, line 110
110if(i){if("IFRAME"===i.tagName)i=i.contentDocument.activeElement;else for(;i.shadowRoot;)i=i.shadowRoot.activeElement;if(function(e){return d(e,"input,[contenteditable]")||d(e,"select,[contenteditable]")||d(e,"textarea,[contenteditable]")||d(e,"button,[contenteditable]")}(i))return}var r=0,o=0;switch(n.which){case 37:r=n.metaKey?-e.contentWidth:n.altKey?-e.containerWidth:-30;break;case 38:o=n.metaKey?e.contentHeight:n.altKey?e.containerHeight:30;break;case 39:r=n.metaKey?e.contentWidth:n.altKey?e.containerWidth:30;break;case 40:o=n.metaKey?-e.contentHeight:n.altKey?-e.containerHeight:-30;break;case 32:o=n.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:o=e.containerHeight;break;case 34:o=-e.containerHeight;break;case 36:o=e.contentHeight;break;case 35:o=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==r||e.settings.suppressScrollY&&0!==o||(t.scrollTop-=o,t.scrollLeft+=r,E(e),function(n,i){var r=Math.floor(t.scrollTop);if(0===n){if(!e.scrollbarYActive)return!1;if(0===r&&i>0||r>=e.contentHeight-e.containerHeight&&i<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===i){if(!e.scrollbarXActive)return!1;if(0===o&&n<0||o>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(r,o)&&n.preventDefault())}}))},wheel:function(e){var t=e.element;function n(e,n,i){if(!S.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var r=e;r&&r!==t;){if(r.classList.contains(m.consuming))return!0;var o=a(r);if(i&&o.overflowY.match(/(scroll|auto)/)){var s=r.scrollHeight-r.clientHeight;if(s>0&&(r.scrollTop>0&&i<0||r.scrollTop<s&&i>0))return!0}if(n&&o.overflowX.match(/(scroll|auto)/)){var c=r.scrollWidth-r.clientWidth;if(c>0&&(r.scrollLeft>0&&n<0||r.scrollLeft<c&&n>0))return!0}r=r.parentNode}return!1}function i(i){var r=function(e){var t=e.deltaX,n=-1*e.deltaY;return void 0!==t&&void 0!==n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!=t&&n!=n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}(i),o=r[0],a=r[1];if(!n(i.target,o,a)){var s=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(a?t.scrollTop-=a*e.settings.wheelSpeed:t.scrollTop+=o*e.settings.wheelSpeed,s=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(o?t.scrollLeft+=o*e.settings.wheelSpeed:t.scrollLeft-=a*e.settings.wheelSpeed,s=!0):(t.scrollTop-=a*e.settings.wheelSpeed,t.scrollLeft+=o*e.settings.wheelSpeed),E(e),(s=s||function(n,i){var r=Math.floor(t.scrollTop),o=0===t.scrollTop,a=r+t.offsetHeight===t.scrollHeight,s=0===t.scrollLeft,c=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(i)>Math.abs(n)?o||a:s||c)||!e.settings.wheelPropagation}(o,a))&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}void 0!==window.onwheel?e.event.bind(t,"wheel",i):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",i)},touch:function(e){if(S.supportsTouch||S.supportsIePointer){var t=e.element,n={},i=0,r={},o=null;S.supportsTouch?(e.event.bind(t,"touchstart",u),e.event.bind(t,"touchmove",h),e.event.bind(t,"touchend",f)):S.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",u),e.event.bind(t,"pointermove",h),e.event.bind(t,"pointerup",f)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",u),e.event.bind(t,"MSPointerMove",h),e.event.bind(t,"MSPointerUp",f)))}function s(n,i){var r=Math.floor(t.scrollTop),o=t.scrollLeft,a=Math.abs(n),s=Math.abs(i);if(s>a){if(i<0&&r===e.contentHeight-e.containerHeight||i>0&&0===r)return 0===window.scrollY&&i>0&&S.isChrome}else if(a>s&&(n<0&&o===e.contentWidth-e.containerWidth||n>0&&0===o))return!0;return!0}function c(n,i){t.scrollTop-=i,t.scrollLeft-=n,E(e)}function l(e){return e.targetTouches?e.targetTouches[0]:e}function d(e){return!(e.pointerType&&"pen"===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function u(e){if(d(e)){var t=l(e);n.pageX=t.pageX,n.pageY=t.pageY,i=(new Date).getTime(),null!==o&&clearInterval(o)}}function p(e,n,i){if(!t.contains(e))return!1;for(var r=e;r&&r!==t;){if(r.classList.contains(m.consuming))return!0;var o=a(r);if(i&&o.overflowY.match(/(scroll|auto)/)){var s=r.scrollHeight-r.clientHeight;if(s>0&&(r.scrollTop>0&&i<0||r.scrollTop<s&&i>0))return!0}if(n&&o.overflowX.match(/(scroll|auto)/)){var c=r.scrollWidth-r.clientWidth;if(c>0&&(r.scrollLeft>0&&n<0||r.scrollLeft<c&&n>0))return!0}r=r.parentNode}return!1}function h(e){if(d(e)){var t=l(e),o={pageX:t.pageX,pageY:t.pageY},a=o.pageX-n.pageX,u=o.pageY-n.pageY;if(p(e.target,a,u))return;c(a,u),n=o;var h=(new Date).getTime(),f=h-i;f>0&&(r.x=a/f,r.y=u/f,i=h),s(a,u)&&e.preventDefault()}}function f(){e.settings.swipeEasing&&(clearInterval(o),o=setInterval((function(){e.isInitialized?clearInterval(o):r.x||r.y?Math.abs(r.x)<.01&&Math.abs(r.y)<.01?clearInterval(o):(c(30*r.x,30*r.y),r.x*=.8,r.y*=.8):clearInterval(o)}),10))}}},D=function(e,t){var n=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var i in this.element=e,e.classList.add(h),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[i]=t[i];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var r=function(){return e.classList.add(v.focus)},o=function(){return e.classList.remove(v.focus)};this.isRtl="rtl"===a(e).direction,!0===this.isRtl&&e.classList.add(f),this.isNegativeScroll=function(){var t,n=e.scrollLeft;return e.scrollLeft=-1,t=e.scrollLeft<0,e.scrollLeft=n,t}(),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new w,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=c(m.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=c(m.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",r),this.event.bind(this.scrollbarX,"blur",o),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=a(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=C(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=C(l.borderLeftWidth)+C(l.borderRightWidth),s(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=C(l.marginLeft)+C(l.marginRight),s(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=c(m.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=c(m.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",r),this.event.bind(this.scrollbarY,"blur",o),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var d=a(this.scrollbarYRail);this.scrollbarYRight=parseInt(d.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=C(d.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=a(e);return C(t.width)+C(t.paddingLeft)+C(t.paddingRight)+C(t.borderLeftWidth)+C(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=C(d.borderTopWidth)+C(d.borderBottomWidth),s(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=C(d.marginTop)+C(d.marginBottom),s(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null}
110,this.isAlive=!0,this.settings.handlers.forEach((function(e){return T[e](n)})),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",(function(e){return n.onScroll(e)})),E(this)};D.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,s(this.scrollbarXRail,{display:"block"}),s(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=C(a(this.scrollbarXRail).marginLeft)+C(a(this.scrollbarXRail).marginRight),this.railYMarginHeight=C(a(this.scrollbarYRail).marginTop)+C(a(this.scrollbarYRail).marginBottom),s(this.scrollbarXRail,{display:"none"}),s(this.scrollbarYRail,{display:"none"}),E(this),k(this,"top",0,!1,!0),k(this,"left",0,!1,!0),s(this.scrollbarXRail,{display:""}),s(this.scrollbarYRail,{display:""}))},D.prototype.onScroll=function(e){this.isAlive&&(E(this),k(this,"top",this.element.scrollTop-this.lastScrollTop),k(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},D.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),u(this.scrollbarX),u(this.scrollbarY),u(this.scrollbarXRail),u(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},D.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(e){return!e.match(/^ps([-_].+|)$/)})).join(" ")};var $=D,P={name:"vue-custom-scrollbar",props:{settings:{default:null},swicher:{type:Boolean,default:!0},tagname:{type:String,default:"section"}},data:function(){return{ps:null}},methods:{scrollHandle:function(e){this.$emit(e.type,e)},update:function(){this.ps&&this.ps.update()},__init:function(){this.swicher&&(this._ps_inited?this.ps.update():(this._ps_inited=!0,this.ps=new $(this.$el,this.settings)))},__uninit:function(){this.ps&&(this.ps.destroy(),this.ps=null,this._ps_inited=!1)}},watch:{swicher:function(e){e&&!this._ps_inited&&this.__init(),!e&&this._ps_inited&&this.__uninit()},settings:{deep:!0,handler:function(){this.__uninit(),this.__init()}},$route:function(){this.update()}},mounted:function(){this.$isServer||this.__init()},updated:function(){this.$nextTick(this.update)},activated:function(){this.__init()},deactivated:function(){this.__uninit()},beforeDestroy:function(){this.__uninit()}};n("3ae1");var N=function(e,t,n,i,r,o,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=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)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}(P,(function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.$props.tagname,{tag:"section",staticClass:"ps-container",on:{"ps-scroll-y":e.scrollHandle,"ps-scroll-x":e.scrollHandle,"ps-scroll-up":e.scrollHandle,"ps-scroll-down":e.scrollHandle,"ps-scroll-left":e.scrollHandle,"ps-scroll-right":e.scrollHandle,"ps-y-reach-start":e.scrollHandle,"ps-y-reach-end":e.scrollHandle,"ps-x-reach-start":e.scrollHandle,"ps-x-reach-end":e.scrollHandle}},[e._t("default")],2)}),[],!1,null,null,null).exports;t.default=N}}).default})),vueCustomScrollbar=unwrapExports(vueScrollbar_umd_min),script$a={name:"VSelect",components:{vueCustomScrollbar:vueCustomScrollbar},props:{items:{type:Array,required:!0},value:{required:!0,validator:e=>"string"==typeof e||null===e},placeholder:{type:String,required:!1,default:""},code:{type:String,required:!1,default:"code"},label:{type:String,required:!1,default:"label"},icon:{type:String,required:!1,default:"icon"}},data:()=>({selected:null,open:!1,settings:{suppressScrollX:!0,suppressScrollY:!1,wheelPropagation:!1}}),computed:{hasSelected(){return null!==this.selected},hasIcons(){return this.items.some(e=>e.hasOwnProperty(this.icon))},selectedItem(){return this.items.find(e=>
110e[this.code]===this.selected)},selectedLabel(){return this.hasSelected?this.selectedItem[this.label]:this.placeholder},selectedIcon(){return this.hasSelected&&this.selectedItem.hasOwnProperty(this.icon)?this.selectedItem[this.icon]:""}},methods:{close(){this.open=!1},toggle(){this.open=!this.open},select(e){this.selected!==e&&(this.selected=e,this.close(),this.$emit("input",e),this.$emit("change"))}},watch:{value:{immediate:!0,handler(e){this.select(e)}}}};const __vue_script__$b=script$a;var __vue_render__$a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-select",attrs:{tabindex:"-1"},on:{blur:e.close}},[n("div",{staticClass:"v-select--container",class:{open:e.open},on:{click:e.toggle}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.hasSelected&&e.hasIcons,expression:"hasSelected && hasIcons"}],staticClass:"v-select--icon white"},[n("img",{attrs:{src:e.selectedIcon,alt:""}})]),e._v(" "),n("div",{staticClass:"v-select--text"},[e._v("\n "+e._s(e.selectedLabel)+"\n ")]),e._v(" "),n("div",{staticClass:"v-select--arrow"})]),e._v(" "),n("vue-custom-scrollbar",{staticClass:"v-select--list",class:{hidden:!e.open},attrs:{settings:e.settings}},e._l(e.items,(function(t,i){return n("div",{key:i,staticClass:"v-select--list--item",class:{selected:t[e.code]===e.selected},on:{click:function(n){return e.select(t[e.code])}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.hasIcons,expression:"hasIcons"}],staticClass:"v-select--icon"},[t.hasOwnProperty(e.icon)?n("img",{attrs:{src:t[e.icon],alt:""}}):e._e()]),e._v(" "),n("div",{staticClass:"v-select--text"},[e._v("\n "+e._s(t[e.label])+"\n ")]),e._v(" "),n("div",{staticClass:"v-select--marker"})])})),0)],1)},__vue_staticRenderFns__$a=[];__vue_render__$a._withStripped=!0;const __vue_inject_styles__$b=function(e){e&&e("data-v-6c6e7f00_0",{source:'.v-select[data-v-6c6e7f00] {\n width: 100%;\n outline: none;\n}\n.v-select--container[data-v-6c6e7f00] {\n background-color: #3e63cc;\n border-radius: 4px;\n color: #fff;\n padding: 0 0.6rem;\n cursor: pointer;\n user-select: none;\n font-size: 0.86rem;\n font-weight: normal;\n display: flex;\n align-items: center;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n height: 3rem;\n text-transform: uppercase;\n}\n.v-select--container.open .v-select--arrow[data-v-6c6e7f00]:after {\n transform: rotate(180deg) translateY(5px);\n}\n.v-select--list[data-v-6c6e7f00] {\n color: #3e63cc;\n border-radius: 4px;\n overflow: hidden;\n position: absolute;\n background-color: #fff;\n left: 0;\n right: 0;\n z-index: 1;\n font-size: 1.286rem;\n line-height: 2.343rem;\n font-weight: 400;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n max-height: 16rem;\n}\n.v-select--list.hidden[data-v-6c6e7f00] {\n display: none;\n}\n.v-select--list[data-v-6c6e7f00] .ps__rail-y {\n right: 0 !important;\n left: auto !important;\n opacity: 1 !important;\n}\n.v-select--list--item[data-v-6c6e7f00] {\n display: flex;\n padding: 0 0.6rem 0 0.7rem;\n cursor: pointer;\n user-select: none;\n border-bottom: solid 1px rgba(62, 99, 204, 0.1);\n align-items: center;\n height: 2.343rem;\n font-size: 1.286rem;\n line-height: 2.343rem;\n}\n.v-select--list--item.selected .v-select--text[data-v-6c6e7f00] {\n font-weight: 500;\n}\n.v-select--list--item.selected .v-select--marker[data-v-6c6e7f00]:before, .v-select--list--item.selected .v-select--marker[data-v-6c6e7f00]:after {\n visibility: visible;\n}\n.v-select--list--item[data-v-6c6e7f00]:last-child {\n border-bottom: none;\n}\n.v-select--list--item[data-v-6c6e7f00]:hover {\n background-color: #3e63cc;\n color: #fff;\n}\n.v-select--list--item:hover .v-select--icon img[data-v-6c6e7f00] {\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n}\n.v-select--list--item:hover .v-select--marker[data-v-6c6e7f00]:before, .v-select--list--item:hover .v-select--marker[data-v-6c6e7f00]:after {\n background-color: #fff;\n}\n.v-select--icon[data-v-6c6e7f00] {\n flex: 0 0 2rem;\n display: flex;\n justify-content: center;\n}\n.v-select--icon img[data-v-6c6e7f00] {\n height: 1.6rem;\n width: 1.6rem;
110\n filter: brightness(0%) invert(34%) sepia(92%) saturate(1952%) hue-rotate(214deg) brightness(84%) contrast(87%);\n}\n.v-select--icon.white img[data-v-6c6e7f00] {\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n}\n.v-select--text[data-v-6c6e7f00] {\n padding-left: 0.6rem;\n flex: 1 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n.v-select--arrow[data-v-6c6e7f00] {\n flex: 0 0 1.5rem;\n position: relative;\n}\n.v-select--arrow[data-v-6c6e7f00]:after {\n position: absolute;\n content: "";\n top: -2px;\n right: 3px;\n width: 0;\n height: 0;\n border: 5px solid transparent;\n border-color: #fff transparent transparent transparent;\n}\n.v-select--marker[data-v-6c6e7f00] {\n flex: 0 0 1.5rem;\n position: relative;\n height: 12px;\n}\n.v-select--marker[data-v-6c6e7f00]:before {\n position: absolute;\n left: 0;\n top: 50%;\n height: 50%;\n width: 2px;\n background-color: #3e63cc;\n content: "";\n transform: translateX(10px) rotate(-45deg);\n transform-origin: left bottom;\n visibility: hidden;\n}\n.v-select--marker[data-v-6c6e7f00]:after {\n position: absolute;\n left: 0;\n bottom: 0;\n height: 2px;\n width: 75%;\n background-color: #3e63cc;\n content: "";\n transform: translateX(10px) rotate(-45deg);\n transform-origin: left bottom;\n visibility: hidden;\n}\n\n/*# sourceMappingURL=VSelect.vue.map */',map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VSelect.vue","VSelect.vue"],names:[],mappings:"AAmIA;EACA,WAAA;EACA,aAAA;AClIA;ADoIA;EACA,yBAAA;EACA,kBAAA;EACA,WAAA;EACA,iBAAA;EACA,eAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;EACA,aAAA;EACA,mBAAA;EACA,kDAAA;EACA,YAAA;EACA,yBAAA;AClIA;ADsIA;EACA,yCAAA;ACpIA;AD0IA;EACA,cAAA;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sBAAA;EACA,OAAA;EACA,QAAA;EACA,UAAA;EACA,mBAAA;EACA,qBAAA;EACA,gBAAA;EACA,kDAAA;EACA,iBAAA;ACxIA;AD0IA;EACA,aAAA;ACxIA;AD4IA;EACA,mBAAA;EACA,qBAAA;EACA,qBAAA;AC1IA;AD8IA;EACA,aAAA;EACA,0BAAA;EACA,eAAA;EACA,iBAAA;EACA,+CAAA;EACA,mBAAA;EACA,gBAAA;EACA,mBAAA;EACA,qBAAA;AC5IA;AD+IA;EACA,gBAAA;AC7IA;ADiJA;EAEA,mBAAA;AChJA;ADqJA;EACA,mBAAA;ACnJA;ADsJA;EACA,yBAAA;EACA,WAAA;ACpJA;ADuJA;EACA,4GAAA;ACrJA;AD0JA;EAEA,sBAAA;ACzJA;ADgKA;EACA,cAAA;EACA,aAAA;EACA,uBAAA;AC9JA;ADgKA;EACA,cAAA;EACA,aAAA;EACA,8GAAA;AC9JA;ADkKA;EACA,4GAAA;AChKA;ADqKA;EACA,oBAAA;EACA,cAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;EACA,gBAAA;ACnKA;ADsKA;EACA,gBAAA;EACA,kBAAA;ACpKA;ADsKA;EACA,kBAAA;EACA,WAAA;EACA,SAAA;EACA,UAAA;EACA,QAAA;EACA,SAAA;EACA,6BAAA;EACA,sDAAA;ACpKA;ADwKA;EACA,gBAAA;EACA,kBAAA;EACA,YAAA;ACtKA;ADwKA;EACA,kBAAA;EACA,OAAA;EACA,QAAA;EACA,WAAA;EACA,UAAA;EACA,yBAAA;EACA,WAAA;EACA,0CAAA;EACA,6BAAA;EACA,kBAAA;ACtKA;ADyKA;EACA,kBAAA;EACA,OAAA;EACA,SAAA;EACA,WAAA;EACA,UAAA;EACA,yBAAA;EACA,WAAA;EACA,0CAAA;EACA,6BAAA;EACA,kBAAA;ACvKA;;AAEA,sCAAsC",file:"VSelect.vue",sourcesContent:['<template>\n <div class="v-select" @blur="close" tabindex="-1">\n <div class="v-select--container" @click="toggle" :class="{ open: open }">\n <div class="v-select--icon white" v-show="hasSelected && hasIcons">\n <img :src="selectedIcon" alt="">\n </div>\n <div class="v-select--text">\n {{ selectedLabel }}\n </div>\n <div class="v-select--arrow"></div>\n </div>\n\n <vue-custom-scrollbar class="v-select--list" :class="{ hidden: !open }" :settings="settings">\n <div v-for="(item, index) of items" :key="index" class="v-select--list--item" @click="select(item[code])"\n :class="{ selected: item[code] === selected }">\n <div class="v-select--icon" v-show="hasIcons">\n <img v-if="item.hasOwnProperty(icon)" :src="item[icon]" alt="">\n </div>\n <div class="v-select--text">\n {{ item[label] }}\n </div>\n <div class="v-select--marker">\n\n </div>\n </div>\n </vue-custom-scrollbar>\n </div>\n</template>\n\n<script>\nimport vueCustomScrollbar from \'vue-custom-scrollbar\';
110\n\nexport default {\n name: \'VSelect\',\n components: { vueCustomScrollbar },\n props: {\n items: {\n type: Array,\n required: true\n },\n value: {\n required: true,\n validator: value => typeof value === \'string\' || value === null\n },\n placeholder: {\n type: String,\n required: false,\n default: \'\'\n },\n code: {\n type: String,\n required: false,\n default: \'code\'\n },\n label: {\n type: String,\n required: false,\n default: \'label\'\n },\n icon: {\n type: String,\n required: false,\n default: \'icon\'\n }\n },\n data: () => ({\n selected: null,\n open: false,\n settings: {\n suppressScrollX: true,\n suppressScrollY: false,\n wheelPropagation: false\n }\n }),\n computed: {\n hasSelected() {\n return this.selected !== null;\n },\n hasIcons() {\n return this.items.some(item => item.hasOwnProperty(this.icon));\n },\n selectedItem() {\n return this.items.find(item => item[this.code] === this.selected);\n },\n selectedLabel() {\n if (!this.hasSelected) {\n return this.placeholder\n }\n\n return this.selectedItem[this.label];\n },\n selectedIcon() {\n if (!this.hasSelected || !this.selectedItem.hasOwnProperty(this.icon)) {\n return \'\';\n }\n\n return this.selectedItem[this.icon];\n }\n },\n methods: {\n close() {\n this.open = false;\n },\n toggle() {\n this.open = !this.open;\n },\n select(item) {\n if (this.selected === item) {\n return;\n }\n\n this.selected = item;\n this.close();\n this.$emit(\'input\', item);\n this.$emit(\'change\');\n }\n },\n watch: {\n value: {\n immediate: true,\n handler(newVal) {\n this.select(newVal);\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.v-select {\n width: 100%;\n outline: none;\n\n &--container {\n background-color: $color-sl-secondary;\n border-radius: 4px;\n color: $color-white;\n padding: 0 0.6rem;\n cursor: pointer;\n user-select: none;\n font-size: 0.86rem;\n font-weight: normal;\n display: flex;\n align-items: center;\n box-shadow: 0 12px 6px -6px $color-sl-secondary-opacity-10;\n height: 3rem;\n text-transform: uppercase;\n\n &.open {\n .v-select--arrow {\n &:after {\n transform: rotate(180deg) translateY(5px);\n }\n }\n }\n }\n\n &--list {\n color: $color-sl-secondary;\n border-radius: 4px;\n overflow: hidden;\n position: absolute;\n background-color: $color-white;\n left: 0;\n right: 0;\n z-index: 1;\n font-size: 1.286rem;\n line-height: 2.343rem;\n font-weight: 400;\n box-shadow: 0 12px 6px -6px $color-sl-secondary-opacity-10;\n max-height: 16rem;\n\n &.hidden {\n display: none;\n }\n\n ::v-deep {\n .ps__rail-y {\n right: 0 !important;\n left: auto !important;\n opacity: 1 !important;\n }\n }\n\n &--item {\n display: flex;\n padding: 0 0.6rem 0 0.7rem;\n cursor: pointer;\n user-select: none;\n border-bottom: solid 1px $color-sl-secondary-opacity-10;\n align-items: center;\n height: 2.343rem;\n font-size: 1.286rem;\n line-height: 2.343rem;\n\n &.selected {\n .v-select--text {\n font-weight: 500;\n }\n\n .v-select--marker {\n &:before,\n &:after {\n visibility: visible;\n }\n }\n }\n\n &:last-child {\n border-bottom: none;\n }\n\n &:hover {\n background-color: $color-sl-secondary;\n color: $color-white;\n\n .v-select--icon {\n img {\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n }\n }\n\n .v-select--marker {\n &:before,\n &:after {\n background-color: $color-white;\n }\n }\n }\n }\n }\n\n &--icon {\n flex: 0 0 2rem;\n display: flex;\n justify-content: center;\n\n img {\n height: 1.6rem;\n width: 1.6rem;
110\n filter: brightness(0%) invert(34%) sepia(92%) saturate(1952%) hue-rotate(214deg) brightness(84%) contrast(87%);\n }\n\n &.white {\n img {\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n }\n }\n }\n\n &--text {\n padding-left: 0.6rem;\n flex: 1 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n }\n\n &--arrow {\n flex: 0 0 1.5rem;\n position: relative;\n\n &:after {\n position: absolute;\n content: \'\';\n top: -2px;\n right: 3px;\n width: 0;\n height: 0;\n border: 5px solid transparent;\n border-color: $color-white transparent transparent transparent;\n }\n }\n\n &--marker {\n flex: 0 0 1.5rem;\n position: relative;\n height: 12px;\n\n &:before {\n position: absolute;\n left: 0;\n top: 50%;\n height: 50%;\n width: 2px;\n background-color: $color-sl-secondary;\n content: \'\';\n transform: translateX(10px) rotate(-45deg);\n transform-origin: left bottom;\n visibility: hidden;\n }\n\n &:after {\n position: absolute;\n left: 0;\n bottom: 0;\n height: 2px;\n width: 75%;\n background-color: $color-sl-secondary;\n content: \'\';\n transform: translateX(10px) rotate(-45deg);\n transform-origin: left bottom;\n visibility: hidden;\n }\n }\n}\n</style>','.v-select {\n width: 100%;\n outline: none;\n}\n.v-select--container {\n background-color: #3e63cc;\n border-radius: 4px;\n color: #fff;\n padding: 0 0.6rem;\n cursor: pointer;\n user-select: none;\n font-size: 0.86rem;\n font-weight: normal;\n display: flex;\n align-items: center;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n height: 3rem;\n text-transform: uppercase;\n}\n.v-select--container.open .v-select--arrow:after {\n transform: rotate(180deg) translateY(5px);\n}\n.v-select--list {\n color: #3e63cc;\n border-radius: 4px;\n overflow: hidden;\n position: absolute;\n background-color: #fff;\n left: 0;\n right: 0;\n z-index: 1;\n font-size: 1.286rem;\n line-height: 2.343rem;\n font-weight: 400;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n max-height: 16rem;\n}\n.v-select--list.hidden {\n display: none;\n}\n.v-select--list ::v-deep .ps__rail-y {\n right: 0 !important;\n left: auto !important;\n opacity: 1 !important;\n}\n.v-select--list--item {\n display: flex;\n padding: 0 0.6rem 0 0.7rem;\n cursor: pointer;\n user-select: none;\n border-bottom: solid 1px rgba(62, 99, 204, 0.1);\n align-items: center;\n height: 2.343rem;\n font-size: 1.286rem;\n line-height: 2.343rem;\n}\n.v-select--list--item.selected .v-select--text {\n font-weight: 500;\n}\n.v-select--list--item.selected .v-select--marker:before, .v-select--list--item.selected .v-select--marker:after {\n visibility: visible;\n}\n.v-select--list--item:last-child {\n border-bottom: none;\n}\n.v-select--list--item:hover {\n background-color: #3e63cc;\n color: #fff;\n}\n.v-select--list--item:hover .v-select--icon img {\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n}\n.v-select--list--item:hover .v-select--marker:before, .v-select--list--item:hover .v-select--marker:after {\n background-color: #fff;\n}\n.v-select--icon {\n flex: 0 0 2rem;\n display: flex;\n justify-content: center;\n}\n.v-select--icon img {\n height: 1.6rem;\n width: 1.6rem;\n filter: brightness(0%) invert(34%) sepia(92%) saturate(1952%) hue-rotate(214deg) brightness(84%) contrast(87%);\n}\n.v-select--icon.white img {\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n}\n.v-select--text {\n padding-left: 0.6rem;\n flex: 1 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n}\n.v-select--arrow {\n flex: 0 0 1.5rem;\n position: relative;\n}\n.v-select--arrow:after {\n position: absolute;\n content: "";\n top: -2px;\n right: 3px;\n width: 0;\n height: 0;\n border: 5px solid transparent;\n border-color: #fff transparent transparent transparent;\n}\n.v-select--marker {\n flex: 0 0 1.5rem;\n position: relative;\n height: 12px;\n}\n.v-select--marker:before {\n position: absolute;\n left: 0;\n top: 50%;\n height: 50%;\n width: 2px;\n background-color: #3e63cc;\n content: "";\n transform: translateX(10px) rotate(-45deg);\n transform-origin: left bottom;\n visibility: hidden;\n}\n.v-select--marker:after {\n position: absolute;\n left: 0;\n bottom: 0;\n height: 2px;\n width: 75%;\n background-color: #3e63cc;\n content: "";\n transform: translateX(10px) rotate(-45deg);\n transform-origin: left bottom;\n visibility: hidden;\n}\n\n/*# sourceMappingURL=VSelect.vue.map */']},media:void 0})},__vue_scope_id__$b="data-v-6c6e7f00",__vue_module_identifier__$b=void 0,__vue_is_functional_template__$b=!1,__vue_component__$9=normalizeComponent({render:__vue_render__$a,staticRenderFns:__vue_staticRenderFns__$a},__vue_inject_styles__$b,__vue_script__$b,__vue_scope_id__$b,__vue_is_functional_template__$b,__vue_module_identifier__$b,!1,createInjector$1,void 0,void 0);var script$b={name:"AddNewPolicyModal",props:["policies"],components:{VSelect:__vue_component__$9},data:()=>({policy:null}),computed:{isBasedOnSelected(){return null!==this.policy},parsedPolicies(){return this.policies.map(e=>({id:e.id,name:e.name}))}},methods:{createFromScratch(){this.$emit("modal:resolve",{action:"create"})},createBasedOn(){this.$emit("modal:resolve",{action:"basedOn",data:this.policy})}}};const __vue_script__$c=script$b;var __vue_render__$b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-container"},[e._m(0),e._v(" "),n("div",{staticClass:"content-body"},[n("div",{staticClass:"content-body__row--customised"}
110,[e._v("\n Create simple rules that will call up selected actions. You can start from scratch or work on a copy of the policy.\n ")]),e._v(" "),n("div",{staticClass:"content-body__row"},[n("button",{staticClass:"button primary full-width-button",attrs:{type:"button"},on:{click:e.createFromScratch}},[e._v("Create from scratch")])]),e._v(" "),n("div",{staticClass:"content-body__row--customised"},[e._v("\n or create based on\n ")]),e._v(" "),n("div",{staticClass:"content-body__row"},[n("v-select",{attrs:{items:e.parsedPolicies,placeholder:"Choose based on",label:"name",code:"id"},model:{value:e.policy,callback:function(t){e.policy=t},expression:"policy"}})],1),e._v(" "),n("div",{staticClass:"content-body__row"},[n("button",{staticClass:"button primary full-width-button",attrs:{type:"button",disabled:!e.isBasedOnSelected},on:{click:e.createBasedOn}},[e._v("\n Continue\n ")])])])])},__vue_staticRenderFns__$b=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"content-header"},[t("div",{staticClass:"header-image"},[t("img",{attrs:{src:"img/icon/svg/icon-policies.svg"}})]),this._v(" "),t("h2",[this._v("Add new policy")])])}];__vue_render__$b._withStripped=!0;const __vue_inject_styles__$c=function(e){e&&e("data-v-6bb69aa2_0",{source:".content-container[data-v-6bb69aa2] {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.content-container > *[data-v-6bb69aa2] {\n width: 100%;\n flex: 0 0 auto;\n}\n.content-container .content-header[data-v-6bb69aa2] {\n border-bottom: solid 1px #e2e2e2;\n display: flex;\n align-items: center;\n padding: 0.5rem 5rem 0.5rem 0;\n}\n.content-container .content-header h2[data-v-6bb69aa2] {\n margin: 0;\n font-weight: bold;\n}\n.content-container .content-header .header-image[data-v-6bb69aa2] {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n}\n.content-container .content-header .header-image img[data-v-6bb69aa2] {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n}\n.content-container .content-body[data-v-6bb69aa2] {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n}\n.content-container .content-body .content-body__row[data-v-6bb69aa2] {\n text-align: center;\n padding: 1rem 0;\n}\n.content-container .content-body .content-body__row--customised[data-v-6bb69aa2] {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n}\n.content-container .content-body .content-body__row[data-v-6bb69aa2]:first-child {\n padding-top: 0;\n}\n.content-container .content-body .content-body__row[data-v-6bb69aa2]:last-child {\n padding-bottom: 0;\n}\n.content-container .content-body .content-body__row li.row[data-v-6bb69aa2] {\n font-weight: 600;\n color: #3e63cc;\n padding: 0 20px !important;\n}\n.content-container .content-body .content-body__row .row[data-v-6bb69aa2] {\n display: flex;\n flex-direction: row;\n padding: 0.25rem 0;\n}\n.content-container .content-body .content-body__row .row .icon[data-v-6bb69aa2] {\n flex-basis: 30px;\n position: relative;\n top: 2px;\n}\n.content-container .content-body .content-body__row .row .name[data-v-6bb69aa2] {\n flex: 1 1 40%;\n}\n.content-container .content-body .content-body__row .row .type[data-v-6bb69aa2] {\n flex: 1 1 40%;\n margin-left: 0.25rem;\n}\n.content-container .content-body .content-body__row .row .name[data-v-6bb69aa2], .content-container .content-body .content-body__row .row .type[data-v-6bb69aa2] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.content-container .content-footer[data-v-6bb69aa2] {\n border-top: solid 1px #e2e2e2;\n text-align: right;\n}\n\n/*# sourceMappingURL=AddNewPolicyModal.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/modals/AddNewPolicyModal.vue","AddNewPolicyModal.vue"],names:[],mappings:"AAsEA;EACA,aAAA;EACA,sBAAA;EACA,WAAA;ACrEA;ADuEA;EACA,WAAA;EACA,cAAA;ACrEA;ADwEA;EACA,gCAAA;EACA,aAAA;EACA,mBAAA;EACA,6BAAA;ACtEA;ADwEA;EACA,SAAA;EACA,iBAAA;ACtEA;ADyEA;EACA,mBAAA;EACA,WAAA;EACA,kBAAA;ACvEA;ADyEA;EACA,YAAA;EACA,+FAAA;ACvEA;AD4EA;EACA,cAAA;EACA,4BAAA;AC1EA;AD4EA;EACA,kBAAA;EACA,eAAA;AC1EA;AD4EA;EACA,UAAA;EACA,mBAAA;EACA,iBAAA;EACA,gBAAA;AC1EA;AD6EA;EACA,cAAA;AC3EA;AD8EA;EACA,iBAAA;AC5EA;AD+EA;EACA,gBAAA;EACA,cAAA;EACA,0BAAA;AC7EA;ADgFA;EACA,aAAA;EACA,mBAAA;EACA,kBAAA;AC9EA;ADgFA;EACA,gBAAA;EACA,kBAAA;EACA,QAAA;AC9EA;ADiFA;EACA,aAAA;AC/EA;ADkFA;EACA,aAAA;EACA,oBAAA;AChFA;ADmFA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;ACjFA;ADuFA;EACA,6BAAA;EACA,iBAAA;ACrFA;;AAEA,gDAAgD",file:"AddNewPolicyModal.vue",sourcesContent:['<template>\n <div class="content-container">\n <div class="content-header">\n <div class="header-image">\n <img src="img/icon/svg/icon-policies.svg">\n </div>\n <h2>Add new policy</h2>\n </div>\n\n <div class="content-body">\n <div class="content-body__row--customised">
110\n Create simple rules that will call up selected actions. You can start from scratch or work on a copy of the policy.\n </div>\n\n <div class="content-body__row">\n <button type="button" class="button primary full-width-button" @click="createFromScratch">Create from scratch</button>\n </div>\n\n <div class="content-body__row--customised">\n or create based on\n </div>\n\n <div class="content-body__row">\n <v-select :items="parsedPolicies" v-model="policy" placeholder="Choose based on" label="name" code="id"></v-select>\n </div>\n\n <div class="content-body__row">\n <button type="button" class="button primary full-width-button" @click="createBasedOn" :disabled="!isBasedOnSelected">\n Continue\n </button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport VSelect from \'vueCustomComponents/VSelect.vue\';\n\nexport default {\n name: \'AddNewPolicyModal\',\n props: [\'policies\'],\n components: { VSelect },\n data: () => ({\n policy: null\n }),\n computed: {\n isBasedOnSelected() {\n return this.policy !== null\n },\n parsedPolicies() {\n return this.policies.map(item => ({\n id: item.id,\n name: item.name\n }));\n }\n },\n methods: {\n createFromScratch() {\n this.$emit(\'modal:resolve\', { action: \'create\' });\n },\n createBasedOn() {\n this.$emit(\'modal:resolve\', { action: \'basedOn\', data: this.policy });\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.content-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n\n & > * {\n width: 100%;\n flex: 0 0 auto;\n }\n\n .content-header {\n border-bottom: solid 1px $color-grey-2;\n display: flex;\n align-items: center;\n padding: 0.5rem 5rem 0.5rem 0;\n\n h2 {\n margin: 0;\n font-weight: bold;\n }\n\n .header-image {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n\n img {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n }\n }\n }\n\n .content-body {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n\n .content-body__row {\n text-align: center;\n padding: 1rem 0;\n\n &--customised {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n }\n\n &:first-child {\n padding-top: 0;\n }\n\n &:last-child {\n padding-bottom: 0;\n }\n\n li.row {\n font-weight: 600;\n color: #3e63cc;\n padding: 0 20px !important;\n }\n\n .row {\n display: flex;\n flex-direction: row;\n padding: 0.25rem 0;\n\n .icon {\n flex-basis: 30px;\n position: relative;\n top: 2px;\n }\n\n .name {\n flex: 1 1 40%;\n }\n\n .type {\n flex: 1 1 40%;\n margin-left: 0.25rem;\n }\n\n .name, .type {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n }\n }\n }\n\n .content-footer {\n border-top: solid 1px $color-grey-2;\n text-align: right;\n }\n}\n</style>',".content-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.content-container > * {\n width: 100%;\n flex: 0 0 auto;\n}\n.content-container .content-header {\n border-bottom: solid 1px #e2e2e2;\n display: flex;\n align-items: center;\n padding: 0.5rem 5rem 0.5rem 0;\n}\n.content-container .content-header h2 {\n margin: 0;\n font-weight: bold;\n}\n.content-container .content-header .header-image {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n}\n.content-container .content-header .header-image img {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n}\n.content-container .content-body {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n}\n.content-container .content-body .content-body__row {\n text-align: center;\n padding: 1rem 0;\n}\n.content-container .content-body .content-body__row--customised {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n}\n.content-container .content-body .content-body__row:first-child {\n padding-top: 0;\n}\n.content-container .content-body .content-body__row:last-child {\n padding-bottom: 0;\n}\n.content-container .content-body .content-body__row li.row {\n font-weight: 600;\n color: #3e63cc;\n padding: 0 20px !important;\n}\n.content-container .content-body .content-body__row .row {\n display: flex;\n flex-direction: row;\n padding: 0.25rem 0;\n}\n.content-container .content-body .content-body__row .row .icon {\n flex-basis: 30px;\n position: relative;\n top: 2px;\n}\n.content-container .content-body .content-body__row .row .name {\n flex: 1 1 40%;\n}\n.content-container .content-body .content-body__row .row .type {\n flex: 1 1 40%;\n margin-left: 0.25rem;\n}\n.content-container .content-body .content-body__row .row .name, .content-container .content-body .content-body__row .row .type {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.content-container .content-footer {\n border-top: solid 1px #e2e2e2;\n text-align: right;\n}\n\n/*# sourceMappingURL=AddNewPolicyModal.vue.map */"]},media:void 0})},__vue_scope_id__$c="data-v-6bb69aa2",__vue_module_identifier__$c=void 0,__vue_is_functional_template__$c=!1,__vue_component__$a=normalizeComponent({render:__vue_render__$b,staticRenderFns:__vue_staticRenderFns__$b},__vue_inject_styles__$c,__vue_script__$c,__vue_scope_id__$c,__vue_is_functional_template__$c,__vue_module_identifier__$c,!1,createInjector$1,void 0,void 0);var script$c={name:"Policies",components:{VTable:__vue_component__$8,AddNewPolicyModal:__vue_component__$a},data:()=>({columns:[{name:"ID",key:"id",align:"left",minWidth:"14rem"},{name:"Name",key:"name",align:"left",minWidth:"16rem"},{name:"Description",key:"description",align:"left",width:"100%"},{name:"Status",key:"status",align:"center",minWidth:"6rem"},{name:"Actions",key:"actions",minWidth:"8rem",align:"center"}],settings:{numbering:{enabled:!0},disabling:{enabled:!0,testingMethod:e=>"paused"===e.status},multipleSelection:{enabled:!0},filtering:{enabled:!0,columns:["id","name","description","status"]}}}
110),computed:_objectSpread2({},mapGetters$1("policies",["policies"])),methods:_objectSpread2(_objectSpread2({},mapActions$1("policies",["updatePolicies","selectPolicy","resetCurrentSetupModule"])),{},{async getData(){const e=await policyFoundryService.fetchPolicies();this.updatePolicies(e)},async deletePolicy(e){await policyFoundryService.deletePolicy(e),await this.getData()},async deleteMultiplePolicies(e){await policyFoundryService.deletePolicy(e),await this.getData()},async prepareView(){this.resetCurrentSetupModule(),await this.getData()},async openCreateOrCopyModal(){try{const{action:e,data:t}=await this.$modal.open(__vue_component__$a,{policies:this.policies},{maxWidth:"450px"});"create"===e?(this.selectPolicy(null),await this.$router.push("/policy/new")):(this.selectPolicy(t),await this.$router.push("/policy/new"))}catch(e){}}}),mounted(){this.prepareView()},watch:{$route(){this.prepareView()}}};const __vue_script__$d=script$c;var __vue_render__$c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policies"},[n("div",{staticClass:"list-header content-wrapper"},[n("div",{staticClass:"display--flex margin-right--large nowrap sm-no-margin"},[n("h2",{staticClass:"main-header"},[e._v("Policies")]),e._v(" "),n("div",{staticClass:"actions hidden-lg sm-margin-left-small md-margin-left-very-large"},[n("router-link",{staticClass:"button",attrs:{tag:"button",to:"/policy/new"}},[e._v("Add policy")])],1)]),e._v(" "),n("div",{staticClass:"actions hidden-sm hidden-md"},[n("button",{staticClass:"button",attrs:{type:"button"},on:{click:e.openCreateOrCopyModal}},[e._v("Add policy")])])]),e._v(" "),n("v-table",{attrs:{rows:e.policies,columns:e.columns,settings:e.settings},on:{deleteMultipleClick:e.deleteMultiplePolicies},scopedSlots:e._u([{key:"item.status",fn:function(t){var i=t.item;return[n("span",{staticClass:"status",class:{active:"active"===i.status}},[e._v("\n "+e._s(e._f("capitalize")(i.status))+"\n ")])]}},{key:"item.actions",fn:function(t){var i=t.item;return[n("router-link",{attrs:{to:"/policy/"+i.id}},[n("i",{staticClass:"action-edit icon icon-pencil"})]),e._v(" "),n("a",{on:{click:function(t){return e.deletePolicy(i.id)}}},[n("i",{staticClass:"action-delete icon icon-trash"})])]}}])})],1)},__vue_staticRenderFns__$c=[];__vue_render__$c._withStripped=!0;const __vue_inject_styles__$d=function(e){e&&e("data-v-5e35b5fc_0",{source:".policies[data-v-5e35b5fc] {\n width: 100%;\n min-height: 100%;\n}\n.status[data-v-5e35b5fc] {\n color: #e02d2d;\n}\n.status.active[data-v-5e35b5fc] {\n color: #079d04;\n}\n.action-edit[data-v-5e35b5fc] {\n color: #079d04;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n.action-delete[data-v-5e35b5fc] {\n color: #e02d2d;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n/*# sourceMappingURL=Policies.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/views/Policies.vue","Policies.vue"],names:[],mappings:"AAgJA;EACA,WAAA;EACA,gBAAA;AC/IA;ADkJA;EACA,cAAA;AC/IA;ADiJA;EACA,cAAA;AC/IA;ADmJA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;AChJA;ADmJA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;AChJA;;AAEA,uCAAuC",file:"Policies.vue",sourcesContent:["<template>\n <div class=\"policies\">\n <div class=\"list-header content-wrapper\">\n <div class=\"display--flex margin-right--large nowrap sm-no-margin\">\n <h2 class=\"main-header\">Policies</h2>\n <div class=\"actions hidden-lg sm-margin-left-small md-margin-left-very-large\">\n <router-link tag=\"button\" to=\"/policy/new\" class=\"button\">Add policy</router-link>\n </div>\n </div>\n <div class=\"actions hidden-sm hidden-md\">\n <button type=\"button\" class=\"button\" @click=\"openCreateOrCopyModal\">Add policy</button>\n </div>\n </div>\n\n <v-table :rows=\"policies\" :columns=\"columns\" :settings=\"settings\"\n @deleteMultipleClick=\"deleteMultiplePolicies\">\n <template v-slot:item.status=\"{ item }\">\n <span class=\"status\" :class=\"{ 'active': item.status === 'active' }\">\n {{ item.status | capitalize }}\n </span>\n </template>\n <template v-slot:item.actions=\"{ item }\">\n <router-link :to=\"`/policy/${item.id}`\">\n <i class=\"action-edit icon icon-pencil\"></i>\n </router-link>\n <a @click=\"deletePolicy(item.id)\">\n <i class=\"action-delete icon icon-trash\"></i>\n </a>\n </template>\n </v-table>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapGetters } from 'vuex';\n\nimport { policyFoundryService } from 'policyFoundry/logic/services/policyFoundryService';\n\nimport VTable from 'vueCustomComponents/VTable/VTable.vue';\nimport AddNewPolicyModal from 'policyFoundry/logic/newComponents/modals/AddNewPolicyModal.vue';
110\n\nexport default {\n name: 'Policies',\n components: { VTable, AddNewPolicyModal },\n data: () => ({\n columns: [\n {\n name: 'ID',\n key: 'id',\n align: 'left',\n minWidth: '14rem'\n },\n {\n name: 'Name',\n key: 'name',\n align: 'left',\n minWidth: '16rem'\n },\n {\n name: 'Description',\n key: 'description',\n align: 'left',\n width: '100%'\n },\n {\n name: 'Status',\n key: 'status',\n align: 'center',\n minWidth: '6rem'\n },\n {\n name: 'Actions',\n key: 'actions',\n minWidth: '8rem',\n align: 'center'\n }\n ],\n settings: {\n numbering: {\n enabled: true\n },\n disabling: {\n enabled: true,\n testingMethod: item => item.status === 'paused'\n },\n multipleSelection: {\n enabled: true,\n },\n filtering: {\n enabled: true,\n columns: ['id', 'name', 'description', 'status']\n }\n }\n }),\n computed: {\n ...mapGetters('policies', ['policies'])\n },\n methods: {\n ...mapActions('policies', ['updatePolicies', 'selectPolicy', 'resetCurrentSetupModule']),\n async getData() {\n const policies = await policyFoundryService.fetchPolicies();\n this.updatePolicies(policies);\n },\n async deletePolicy(id) {\n await policyFoundryService.deletePolicy(id);\n await this.getData();\n },\n async deleteMultiplePolicies(ids) {\n await policyFoundryService.deletePolicy(ids);\n await this.getData();\n },\n async prepareView() {\n this.resetCurrentSetupModule();\n\n await this.getData();\n },\n async openCreateOrCopyModal() {\n try {\n const { action, data } = await this.$modal.open(AddNewPolicyModal, { policies: this.policies }, {maxWidth: '450px' });\n\n if (action === 'create') {\n this.selectPolicy(null);\n await this.$router.push('/policy/new');\n } else {\n this.selectPolicy(data);\n await this.$router.push('/policy/new');\n }\n } catch (ex) {}\n }\n },\n mounted() {\n this.prepareView();\n },\n watch: {\n $route() {\n this.prepareView();\n }\n }\n}\n<\/script>\n\n<style scoped lang=\"scss\">\n@import 'src/scss/global/brand-colors';\n\n.policies {\n width: 100%;\n min-height: 100%;\n}\n\n.status {\n color: $color-red-error;\n\n &.active {\n color: $color-green-2;\n }\n}\n\n.action-edit {\n color: $color-green-2;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n.action-delete {\n color: $color-red-error;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n</style>",".policies {\n width: 100%;\n min-height: 100%;\n}\n\n.status {\n color: #e02d2d;\n}\n.status.active {\n color: #079d04;\n}\n\n.action-edit {\n color: #079d04;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n.action-delete {\n color: #e02d2d;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n/*# sourceMappingURL=Policies.vue.map */"]},media:void 0})},__vue_scope_id__$d="data-v-5e35b5fc",__vue_module_identifier__$d=void 0,__vue_is_functional_template__$d=!1,__vue_component__$b=normalizeComponent({render:__vue_render__$c,staticRenderFns:__vue_staticRenderFns__$c},__vue_inject_styles__$d,__vue_script__$d,__vue_scope_id__$d,__vue_is_functional_template__$d,__vue_module_identifier__$d,!1,createInjector$1,void 0,void 0);var script$d={name:"Breadcrumbs",props:{pageTitle:{value:String,required:!0}},components:{},data:()=>({links:[],backObj:{}}),computed:_objectSpread2({},mapState$1("globalOptions",["currentLeftNavigation"])),mounted(){this.getActiveLinks(this.currentLeftNavigation),this.backObj=_objectSpread2({},this.links[0])},methods:{goTo(e){navigationService.execute(e),navigationService.refresh()},getActiveLinks(e){const t=e.find(e=>e.active);return t?(t.url&&this.links.push(t),t.children.length?this.getActiveLinks(t.children):this.links):this.links}}};const __vue_script__$e=script$d;var __vue_render__$d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.links?n("div",{staticClass:"smart-location-view"},[n("div",{staticClass:"nav-links"},[n("a",{attrs:{href:e.backObj.url,title:e.backObj.title}},[n("img",{staticClass:"menu-back-icon",attrs:{src:"img/icon/png/backIcon.png",title:e.backObj.title}})]),e._v(" "),e._l(e.links,(function(t){return[n("a",{key:t.id,staticClass:"navigation-link nav-link router-link-active",attrs:{href:t.url,t
110itle:t.title}},[e._v(e._s(t.title)+"\n ")]),e._v("\n /\n ")]})),e._v(" "),n("span",{staticClass:"nav-target"},[e._v(e._s(e.pageTitle))])],2)]):e._e()},__vue_staticRenderFns__$d=[];__vue_render__$d._withStripped=!0;const __vue_inject_styles__$e=void 0,__vue_scope_id__$e=void 0,__vue_module_identifier__$e=void 0,__vue_is_functional_template__$e=!1,__vue_component__$c=normalizeComponent({render:__vue_render__$d,staticRenderFns:__vue_staticRenderFns__$d},__vue_inject_styles__$e,__vue_script__$e,__vue_scope_id__$e,__vue_is_functional_template__$e,__vue_module_identifier__$e,!1,void 0,void 0,void 0);var script$e={name:"Loader",props:{transparent:{type:Boolean,default:!1,required:!1},customClasses:{type:String,default:"",required:!1},fullHeight:{type:Boolean,default:!1,required:!1},global:{type:Boolean,default:!1,required:!1}}};const __vue_script__$f=script$e;var __vue_render__$e=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"full-width",class:[this.customClasses,this.global?"":"general-loader-wrapper",this.fullHeight?"full-height":""]},[t("div",{staticClass:"loader-container loader-container-inner",class:{"no-background":this.transparent}},[this._m(0)])])},__vue_staticRenderFns__$e=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"loader-position-helper"},[t("div",{staticClass:"loader"})])}];__vue_render__$e._withStripped=!0;const __vue_inject_styles__$f=void 0,__vue_scope_id__$f=void 0,__vue_module_identifier__$f=void 0,__vue_is_functional_template__$f=!1,__vue_component__$d=normalizeComponent({render:__vue_render__$e,staticRenderFns:__vue_staticRenderFns__$e},__vue_inject_styles__$f,__vue_script__$f,__vue_scope_id__$f,__vue_is_functional_template__$f,__vue_module_identifier__$f,!1,void 0,void 0,void 0);var script$f={name:"VToggle",props:{value:{type:Boolean,required:!0},settings:{type:Object,default:()=>({on:{text:"On"},off:{text:"Off"}})}},data:()=>({innerValue:!1,innerSettings:{}}),computed:{uid(){return this._uid},text(){return this.innerValue?this.innerSettings.on.text:this.innerSettings.off.text}}
110,methods:{update(){this.$emit("input",this.innerValue)}},watch:{value:{immediate:!0,handler(e){this.innerValue=e}},settings:{deep:!0,immediate:!0,handler(e){Object.assign(this.innerSettings,e)}}}};const __vue_script__$g=script$f;var __vue_render__$f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-toggle--wrap"},[n("label",{staticClass:"v-toggle--label",class:{"v-toggle--active":e.innerValue},attrs:{for:"v-toggle--"+e.uid}},[e._v("\n "+e._s(e.text)+"\n ")]),e._v(" "),n("div",{staticClass:"v-toggle"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.innerValue,expression:"innerValue"}],attrs:{id:"v-toggle--"+e.uid,type:"checkbox"},domProps:{checked:Array.isArray(e.innerValue)?e._i(e.innerValue,null)>-1:e.innerValue},on:{change:[function(t){var n=e.innerValue,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e._i(n,null);i.checked?o<0&&(e.innerValue=n.concat([null])):o>-1&&(e.innerValue=n.slice(0,o).concat(n.slice(o+1)))}else e.innerValue=r},e.update]}}),e._v(" "),n("label",{attrs:{for:"v-toggle--"+e.uid}})])])},__vue_staticRenderFns__$f=[];__vue_render__$f._withStripped=!0;const __vue_inject_styles__$g=function(e){e&&e("data-v-ded79eae_0",{source:'div.v-toggle--wrap[data-v-ded79eae] {\n display: inline-flex;\n flex-direction: row;\n justify-content: flex-end;\n}\ndiv.v-toggle--wrap label.v-toggle--label[data-v-ded79eae] {\n font-weight: 400;\n font-size: 0.857rem;\n line-height: 0.857rem;\n margin: 0 0.7rem 0 0;\n width: 6rem;\n cursor: pointer;\n text-align: right;\n place-self: center;\n transition: 0.18s ease-out color;\n color: #979797;\n}\ndiv.v-toggle--wrap label.v-toggle--label.v-toggle--active[data-v-ded79eae] {\n color: #079d04;\n}\ndiv.v-toggle--wrap div.v-toggle[data-v-ded79eae] {\n flex-grow: 1;\n display: flex;\n justify-content: flex-end;\n}\ndiv.v-toggle--wrap div.v-toggle label[data-v-ded79eae] {\n height: 1.7rem;\n width: 3rem;\n border-radius: 0.85rem;\n display: block;\n position: relative;\n background-color: transparent;\n border-style: solid;\n border-width: 1px;\n border-color: #979797;\n transition: 0.18s ease-out border-color;\n cursor: pointer;\n}\ndiv.v-toggle--wrap div.v-toggle label[data-v-ded79eae]::before {\n position: absolute;\n background: #979797;\n display: block;\n content: "";\n border-radius: 50%;\n width: 1.3rem;\n height: 1.3rem;\n top: 0.13rem;\n left: 0.1rem;\n transition: 0.18s ease-out left, right, background-color;\n color: inherit;\n}\ndiv.v-toggle--wrap div.v-toggle input[data-v-ded79eae] {\n display: none;\n}\ndiv.v-toggle--wrap div.v-toggle input:checked + label[data-v-ded79eae] {\n border-color: #079d04;\n}\ndiv.v-toggle--wrap div.v-toggle input:checked + label[data-v-ded79eae]::before {\n background-color: #079d04;\n left: 1.46rem;\n}\n\n/*# sourceMappingURL=VToggle.vue.map */',map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VToggle.vue","VToggle.vue"],names:[],mappings:"AAsEA;EACA,oBAAA;EACA,mBAAA;EACA,yBAAA;ACrEA;ADuEA;EACA,gBAAA;EACA,mBAAA;EACA,qBAAA;EACA,oBAAA;EACA,WAAA;EACA,eAAA;EACA,iBAAA;EACA,kBAAA;EACA,gCAAA;EACA,cAAA;ACrEA;ADuEA;EACA,cAAA;ACrEA;ADyEA;EACA,YAAA;EACA,aAAA;EACA,yBAAA;ACvEA;ADyEA;EACA,cAAA;EACA,WAAA;EACA,sBAAA;EACA,cAAA;EACA,kBAAA;EACA,6BAAA;EACA,mBAAA;EACA,iBAAA;EACA,qBAAA;EACA,uCAAA;EACA,eAAA;ACvEA;ADyEA;EACA,kBAAA;EACA,mBAAA;EACA,cAAA;EACA,WAAA;EACA,kBAAA;EACA,aAAA;EACA,cAAA;EACA,YAAA;EACA,YAAA;EACA,wDAAA;EACA,cAAA;ACvEA;AD2EA;EACA,aAAA;ACzEA;AD2EA;EACA,qBAAA;ACzEA;AD2EA;EACA,yBAAA;EACA,aAAA;ACzEA;;AAEA,sCAAsC",file:"VToggle.vue",sourcesContent:['<template>\n <div class="v-toggle--wrap">\n <label class="v-toggle--label" :class="{ \'v-toggle--active\': innerValue }" :for="`v-toggle--${uid}`">\n {{ text }}\n </label>\n <div class="v-toggle">\n <input :id="`v-toggle--${uid}`" type="checkbox" v-model="innerValue" @change="update">\n <label :for="`v-toggle--${uid}`"></label>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'VToggle\',\n props: {\n value: {\n type: Boolean,\n required: true\n },\n settings: {\n type: Object,\n default: () => ({\n on: {\n text: \'On\'\n },\n off: {\n text: \'Off\'\n }\n })\n },\n },\n data: () => ({\n innerValue: false,\n innerSettings: {},\n }),\n computed: {\n uid() {\n return this._uid;\n },\n text() {\n return this.innerValue ? this.innerSettings.on.text : this.innerSettings.off.text;\n }\n },\n methods: {\n update() {\n this.$emit(\'input\', this.innerValue);\n }\n },\n watch: {\n value: {\n immediate: true,\n handler(newVal) {\n this.innerValue = newVal;\n }\n },\n settings: {\n deep: true,\n immediate: true,\n handler(newVal) {\n Object.assign(this.innerSettings, newVal);\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\ndiv.v-toggle--wrap {\n display: inline-flex;\n flex-direction: row;\n justify-content: flex-end;\n\n label.v-toggle--label {\n font-weight: 400;\n font-size: 0.857rem;\n line-height: 0.857rem;\n margin: 0 0.7rem 0 0;\n width: 6rem;\n cursor: pointer;\n text-align: right;\n place-self: center;\n transition: 0.18s ease-out color;\n color: $color-grey-6;\n\n &.v-toggle--active {\n color: $color-green-2;\n }\n }\n\n div.v-toggle {\n flex-grow: 1;\n display: flex;\n justify-content: flex-end;\n\n label {\n height: 1.7rem;\n width: 3rem;\n border-radius: 0.85rem;\n display: block;\n position: relative;\n background-color: transparent;\n border-style: solid;\n border-width: 1px;\n border-color: $color-grey-6;\n transition: 0.18s ease-out border-color;\n cursor: pointer;\n\n &::before {\n position: absolute;\n background: $color-grey-6;\n display: block;\n content: \'\';\n border-radius: 50%;\n width: 1.3rem;\n height: 1.3rem;\n top: 0.13rem;\n left: 0.1rem;\n transition: 0.18s ease-out left, right, background-color;\n color: inherit;\n }\n }\n\n input {\n display: none;\n\n &:checked + label {\n border-color: $color-green-2;\n\n &::before {\n background-color: $color-green-2;\n left: 1.46rem;\n }\n }\n }\n }\n}\n</style>','div.v-toggle--wrap {\n display: inline-flex;\n flex-direction: row;\n justify-content: flex-end;\n}\ndiv.v-toggle--wrap label.v-toggle--label {\n font-weight: 400;\n font-size: 0.857rem;\n line-height: 0.857rem;\n margin: 0 0.7rem 0 0;\n width: 6rem;\n cursor: pointer;\n text-align: right;\n place-self: center;\n transition: 0.18s ease-out color;\n color: #979797;\n}\ndiv.v-toggle--wrap label.v-toggle--label.v-toggle--active {\n color: #079d04;\n}\ndiv.v-toggle--wrap div.v-toggle {\n flex-grow: 1;\n display: flex;\n justify-content: flex-end;\n}\ndiv.v-toggle--wrap div.v-toggle label {\n height: 1.7rem;\n width: 3rem;\n border-radius: 0.85rem;\n display: block;\n position: relative;\n background-color: transparent;\n border-style: solid;\n border-width: 1px;\n border-color: #979797;\n transition: 0.18s ease-out border-color;\n cursor: pointer;\n}\ndiv.v-toggle--wrap div.v-toggle label::before {\n position: absolute;\n background: #979797;\n display: block;\n content: "";\n border-radius: 50%;\n width: 1.3rem;\n height: 1.3rem;\n top: 0.13rem;\n left: 0.1rem;\n transition: 0.18s ease-out left, right, background-color;\n color: inherit;\n}\ndiv.v-toggle--wrap div.v-toggle input {\n display: none;\n}\ndiv.v-toggle--wrap div.v-toggle input:checked + label {\n border-color: #079d04;\n}\ndiv.v-toggle--wrap div.v-toggle input:checked + label::before {\n background-color: #079d04;\n left: 1.46rem;\n}\n\n/*# sourceMappingURL=VToggle.vue.map */']},media:void 0})},__vue_scope_id__$g="data-v-ded79eae",__vue_module_identifier__$g=void 0,__vue_is_functional_template__$g=!1,__vue_component__$e=normalizeComponent({render:__vue_render__$f,staticRenderFns:__vue_staticRenderFns__$f},__vue_inject_styles__$g,__vue_script__$g,__vue_scope_id__$g,__vue_is_functional_template__$g,__vue_module_identifier__$g,!1,createInjector$1,void 0,void 0);var script$g={name:"PolicyNotActiveInfoModal",methods:{close(){this.$emit("modal:resolve")}}};const __vue_script__$h=script$g;var __vue_render__$g=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-not-active-info-modal"},[t("h3",{staticClass:"policy-not-active-info-modal--title"},[this._v("Your policy is saved but is not active")]),this._v(" "),t("h4",{staticClass:"policy-not-active-info-modal--subtitle"},[this._v("You can activate the policy later.")]),this._v(" "),t("button",{staticClass:"button",on:{click:this.close}},[this._v("\n OK\n ")])])},__vue_staticRenderFns__$g=[];__vue_render__$g._withStripped=!0;const __vue_inject_styles__$h=function(e){e&&e("data-v-7fce299a_0",{source:".policy-not-active-info-modal[data-v-7fce299a] {\n text-align: center;\n width: 100%;\n padding: 2rem;\n}\n.policy-not-active-info-modal--title[data-v-7fce299a] {\n margin: 0 0 1rem 0;\n font-weight: 500;\n font-size: 1.429rem;\n line-height: 1.429rem;\n}\n.policy-not-active-info-modal--subtitle[data-v-7fce299a] {\n margin: 0 0 1.5rem 0;\n font-weight: 400;\n font-size: 1rem;\n line-height: 1rem;\n}\n\n/*# sourceMappingURL=PolicyNotActiveInfoModal.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/modals/PolicyNotActiveInfoModal.vue","PolicyNotActiveInfoModal.vue"],names:[],mappings:"AAwBA;EACA,kBAAA;EACA,WAAA;EACA,aAAA;ACvBA;ADyBA;EACA,kBAAA;EACA,gBAAA;EACA,mBAAA;EACA,qBAAA;ACvBA;AD0BA;EACA,oBAAA;EACA,gBAAA;EACA,eAAA;EACA,iBAAA;ACxBA;;AAEA,uDAAuD",file:"PolicyNotActiveInfoModal.vue",sourcesContent:['<template>\n <div class="policy-not-active-info-modal">\n <h3 class="policy-not-active-info-modal--title">Your policy is saved but is not active</h3>\n\n <h4 class="policy-not-active-info-modal--subtitle">You can activate the policy later.</h4>\n\n <button class="button" @click="close">\n OK\n </button>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'PolicyNotActiveInfoModal\',\n methods: {\n close() {\n this.$emit(\'modal:resolve\');\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n.policy-not-active-info-modal {\n text-align: center;\n width: 100%;\n padding: 2rem;\n\n &--title {\n margin: 0 0 1rem 0;\n font-weight: 500;\n font-size: 1.429rem;\n line-height: 1.429rem;\n }\n\n &--subtitle {\n margin: 0 0 1.5rem 0;\n font-weight: 400;\n font-size: 1rem;\n line-height: 1rem;\n }\n}\n</style>',".policy-not-active-info-modal {\n text-align: center;\n width: 100%;\n padding: 2rem;\n}\n.policy-not-active-info-modal--title {\n margin: 0 0 1rem 0;\n font-weight: 500;\n font-size: 1.429rem;\n line-height: 1.429rem;\n}\n.policy-not-active-info-modal--subtitle {\n margin: 0 0 1.5rem 0;\n font-weight: 400;\n font-size: 1rem;\n line-height: 1rem;\n}\n\n/*# sourceMappingURL=PolicyNotActiveInfoModal.vue.map */"]},media:void 0})},__vue_scope_id__$h="data-v-7fce299a",__vue_module_identifier__$h=void 0,__vue_is_functional_template__$h=!1,__vue_component__$f=normalizeComponent({render:__vue_render__$g,staticRenderFns:__vue_staticRenderFns__$g},__vue_inject_styles__$h,__vue_script__$h,__vue_scope_id__$h,__vue_is_functional_template__$h,__vue_module_identifier__$h,!1,createInjector$1,void 0,void 0);var script$h={name:"VInput",props:{value:{required:!0},label:{default:null,validator:e=>"string"==typeof e||null===e},suffix:{default:null,validator:e=>"string"==typeof e||null===e},prefix:{default:null,validator:e=>"string"==typeof e||null===e},disabled:{type:Boolean,default:!1},type:{validator:e=>["text","number","textarea"].includes(e),required:!0},min:{type:Number,default:Number.NEGATIVE_INFINITY},max:{type:Number,default:Number.POSITIVE_INFINITY},step:{type:Number,default:1}},data:()=>({}),computed:{uid(){return this._uid},isText(){return"text"===this.type},isTextarea(){return"textarea"===this.type},isNumber(){return"number"===this.type},isLabel(){return null!==this.label},isPrefix(){return null!==this.prefix},isSuffix(){return null!==this.suffix}},methods:{round:(e,t)=>Math.round(e/t)*t,clamp:(e,t,n)=>Math.min(Math.max(n,e),t),propagate(e){let t=e.target.value;this.isNumber&&(t=this.round(this.clamp(this.min,this.max,e.target.value),this.step)),this.$emit("input",t),this.$refs.input.value=t}}};const __vue_script__$i=script$h;var __vue_render__$h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-input",class:{disabled:e.disabled}},[e.isLabel?n("div",{staticClass:"v-input--label"}
110,[e._v("\n "+e._s(e.label)+"\n ")]):e._e(),e._v(" "),n("div",{staticClass:"v-input--wrapper"},[e.isPrefix?n("div",{staticClass:"v-input--wrapper--prefix"},[e._v("\n "+e._s(e.prefix)+"\n ")]):e._e(),e._v(" "),e.isText?n("input",{ref:"input",attrs:{type:e.type,disabled:e.disabled},domProps:{value:e.value},on:{change:e.propagate}}):e.isTextarea?n("textarea",{ref:"input",attrs:{disabled:e.disabled},domProps:{value:e.value},on:{change:e.propagate}}):e.isNumber?n("input",{ref:"input",attrs:{type:e.type,disabled:e.disabled,min:e.min,max:e.max,step:e.step},domProps:{value:e.value},on:{change:e.propagate}}):e._e(),e._v(" "),e.isSuffix?n("div",{staticClass:"v-input--wrapper--suffix"},[e._v("\n "+e._s(e.suffix)+"\n ")]):e._e()])])},__vue_staticRenderFns__$h=[];__vue_render__$h._withStripped=!0;const __vue_inject_styles__$i=function(e){e&&e("data-v-63340a4c_0",{source:".v-input[data-v-63340a4c] {\n display: inline-block;\n position: relative;\n line-height: normal;\n background-color: inherit;\n width: 100%;\n height: 100%;\n}\n.v-input--label[data-v-63340a4c] {\n position: absolute;\n font-size: 0.857rem;\n color: #079d04;\n background-color: #fff;\n top: -0.35rem;\n left: 0.5rem;\n padding: 0 0.2rem;\n font-weight: 400;\n}\n.v-input--wrapper[data-v-63340a4c] {\n display: flex;\n flex-direction: row;\n}\n.v-input--wrapper--prefix[data-v-63340a4c], .v-input--wrapper--suffix[data-v-63340a4c] {\n flex: 0 0 auto;\n font-weight: 500;\n align-self: center;\n}\n.v-input--wrapper--prefix[data-v-63340a4c] {\n padding-right: 0.75rem;\n}\n.v-input--wrapper--suffix[data-v-63340a4c] {\n padding-left: 0.75rem;\n}\n.v-input--wrapper input[data-v-63340a4c],\n.v-input--wrapper textarea[data-v-63340a4c] {\n flex: 1 1 auto;\n border: 1px solid #079d04;\n background-color: transparent;\n font-size: 1rem;\n font-weight: 400;\n margin: 0;\n padding: 1rem;\n height: 3.5rem;\n width: 100%;\n}\n.v-input--wrapper textarea[data-v-63340a4c] {\n resize: none;\n height: 6rem;\n}\n.v-input--wrapper input[type=number][data-v-63340a4c] {\n -moz-appearance: textfield;\n}\n.v-input--wrapper input[type=number][data-v-63340a4c]::-webkit-inner-spin-button, .v-input--wrapper input[type=number][data-v-63340a4c]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.v-input.disabled .v-input--label[data-v-63340a4c] {\n color: #121845;\n}\n.v-input.disabled .v-input--wrapper[data-v-63340a4c] {\n border-color: rgba(18, 24, 69, 0.2);\n}\n.v-input.disabled .v-input--wrapper input[data-v-63340a4c],\n.v-input.disabled .v-input--wrapper textarea[data-v-63340a4c] {\n color: rgba(18, 24, 69, 0.2);\n}\n\n/*# sourceMappingURL=VInput.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VInput.vue","VInput.vue"],names:[],mappings:"AAgHA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,WAAA;EACA,YAAA;AC/GA;ADiHA;EACA,kBAAA;EACA,mBAAA;EACA,cAAA;EACA,sBAAA;EACA,aAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;AC/GA;ADkHA;EACA,aAAA;EACA,mBAAA;AChHA;ADkHA;EAEA,cAAA;EACA,gBAAA;EACA,kBAAA;ACjHA;ADoHA;EACA,sBAAA;AClHA;ADqHA;EACA,qBAAA;ACnHA;ADsHA;;EAEA,cAAA;EACA,yBAAA;EACA,6BAAA;EACA,eAAA;EACA,gBAAA;EACA,SAAA;EACA,aAAA;EACA,cAAA;EACA,WAAA;ACpHA;ADuHA;EACA,YAAA;EACA,YAAA;ACrHA;ADwHA;EACA,0BAAA;ACtHA;ADwHA;EAEA,wBAAA;EACA,SAAA;ACvHA;AD6HA;EACA,cAAA;AC3HA;AD8HA;EACA,mCAAA;AC5HA;AD8HA;;EAEA,4BAAA;AC5HA;;AAEA,qCAAqC",file:"VInput.vue",sourcesContent:['<template>\n<div class="v-input" :class="{ disabled }">\n <div v-if="isLabel" class="v-input--label">\n {{ label }}\n </div>\n\n <div class="v-input--wrapper">\n <div v-if="isPrefix" class="v-input--wrapper--prefix">\n {{ prefix }}\n </div>\n\n <input v-if="isText" ref="input" :type="type" :value="value" :disabled="disabled" @change="propagate">\n <textarea v-else-if="isTextarea" ref="input" :value="value" :disabled="disabled" @change="propagate"></textarea>\n <input v-else-if="isNumber" ref="input" :type="type" :value="value" :disabled="disabled" :min="min" :max="max" :step="step" @change="prop
110agate">\n\n <div v-if="isSuffix" class="v-input--wrapper--suffix">\n {{ suffix }}\n </div>\n </div>\n</div>\n</template>\n\n<script>\nexport default {\n name: \'VInput\',\n props: {\n value: {\n required: true\n },\n label: {\n default: null,\n validator: value => typeof value === \'string\' || value === null\n },\n suffix: {\n default: null,\n validator: value => typeof value === \'string\' || value === null\n },\n prefix: {\n default: null,\n validator: value => typeof value === \'string\' || value === null\n },\n disabled: {\n type: Boolean,\n default: false\n },\n type: {\n validator: value => [\'text\', \'number\', \'textarea\'].includes(value),\n required: true\n },\n min: {\n type: Number,\n default: Number.NEGATIVE_INFINITY\n },\n max: {\n type: Number,\n default: Number.POSITIVE_INFINITY\n },\n step: {\n type: Number,\n default: 1\n }\n },\n data: () => ({\n\n }),\n computed: {\n uid() {\n return this._uid;\n },\n isText() {\n return this.type === \'text\';\n },\n isTextarea() {\n return this.type === \'textarea\';\n },\n isNumber() {\n return this.type === \'number\';\n },\n isLabel() {\n return this.label !== null;\n },\n isPrefix() {\n return this.prefix !== null;\n },\n isSuffix() {\n return this.suffix !== null;\n }\n },\n methods: {\n round(number, increment) {\n return Math.round(number / increment) * increment;\n },\n clamp(min, max, number) {\n return Math.min(Math.max(number, min), max);\n },\n propagate(event) {\n let value = event.target.value;\n\n if (this.isNumber) {\n value = this.round(this.clamp(this.min, this.max, event.target.value), this.step);\n }\n\n this.$emit(\'input\', value);\n this.$refs.input.value = value;\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.v-input {\n display: inline-block;\n position: relative;\n line-height: normal;\n background-color: inherit;\n width: 100%;\n height: 100%;\n\n &--label {\n position: absolute;\n font-size: 0.857rem;\n color: $color-green;\n background-color: $color-white;\n top: -0.35rem;\n left: 0.5rem;\n padding: 0 0.2rem;\n font-weight: 400;\n }\n\n &--wrapper {\n display: flex;\n flex-direction: row;\n\n &--prefix,\n &--suffix {\n flex: 0 0 auto;\n font-weight: 500;\n align-self: center;\n }\n\n &--prefix {\n padding-right: 0.75rem;\n }\n\n &--suffix {\n padding-left: 0.75rem;\n }\n\n input,\n textarea {\n flex: 1 1 auto;\n border: 1px solid $color-green;\n background-color: transparent;\n font-size: 1rem;\n font-weight: 400;\n margin: 0;\n padding: 1rem;\n height: 3.5rem;\n width: 100%;\n }\n\n textarea {\n resize: none;\n height: 6rem;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n\n &::-webkit-inner-spin-button,\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n }\n }\n\n &.disabled {\n .v-input--label {\n color: $color-sapphire-4;\n }\n\n .v-input--wrapper {\n border-color: $color-sapphire-4-opacity-20;\n\n input,\n textarea {\n color: $color-sapphire-4-opacity-20;\n }\n }\n }\n}\n</style>',".v-input {\n display: inline-block;\n position: relative;\n line-height: normal;\n background-color: inherit;\n width: 100%;\n height: 100%;\n}\n.v-input--label {\n position: absolute;\n font-size: 0.857rem;\n color: #079d04;\n background-color: #fff;\n top: -0.35rem;\n left: 0.5rem;\n padding: 0 0.2rem;\n font-weight: 400;\n}\n.v-input--wrapper {\n display: flex;\n flex-direction: row;\n}\n.v-input--wrapper--prefix, .v-input--wrapper--suffix {\n flex: 0 0 auto;\n font-weight: 500;\n align-self: center;\n}\n.v-input--wrapper--prefix {\n padding-right: 0.75rem;\n}\n.v-input--wrapper--suffix {\n padding-left: 0.75rem;\n}\n.v-input--wrapper input,\n.v-input--wrapper textarea {\n flex: 1 1 auto;\n border: 1px solid #079d04;\n background-color: transparent;\n font-size: 1rem;\n font-weight: 400;\n margin: 0;\n padding: 1rem;\n height: 3.5rem;\n width: 100%;\n}\n.v-input--wrapper textarea {\n resize: none;\n height: 6rem;\n}\n.v-input--wrapper input[type=number] {\n -moz-appearance: textfield;\n}\n.v-input--wrapper input[type=number]::-webkit-inner-spin-button, .v-input--wrapper input[type=number]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.v-input.disabled .v-input--label {\n color: #121845;\n}\n.v-input.disabled .v-input--wrapper {\n border-color: rgba(18, 24, 69, 0.2);\n}\n.v-input.disabled .v-input--wrapper input,\n.v-input.disabled .v-input--wrapper textarea {\n color: rgba(18, 24, 69, 0.2);\n}\n\n/*# sourceMappingURL=VInput.vue.map */"]},media:void 0})},__vue_scope_id__$i="data-v-63340a4c",__vue_module_identifier__$i=void 0,__vue_is_functional_template__$i=!1,__vue_component__$g=normalizeComponent({render:__vue_render__$h,staticRenderFns:__vue_staticRenderFns__$h},__vue_inject_styles__$i,__vue_script__$i,__vue_scope_id__$i,__vue_is_functional_template__$i,__vue_module_identifier__$i,!1,createInjector$1,void 0,void 0);var script$i={name:"NameAndDescription",components:{VInput:__vue_component__$g},props:{value:{type:Object,required:!0}},data:()=>({name:"",description:""}),computed:{id(){return this.$route.params.id},isNew(){return"new"===this.id},isComplete(){return 0!==this.name.length},parsedData(){return{name:this.name,description:this.description}}}
110,methods:{propagate(){this.$emit("input",{complete:this.isComplete,data:this.parsedData})}},watch:{value:{deep:!0,immediate:!0,handler(){const e=this.value.data;JSON.stringify(e)!==JSON.stringify(this.parsedData)&&(this.name=e.name,this.description=e.description,this.propagate())}}}};const __vue_script__$j=script$i;var __vue_render__$i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-section"},[n("div",{staticClass:"policy-section--body"},[n("div",{staticClass:"policy-section--body--wrapper"},[n("v-input",{directives:[{name:"show",rawName:"v-show",value:!e.isNew,expression:"!isNew"}],staticClass:"policy-section--body--wrapper--entry",attrs:{type:"text",label:"ID",value:e.id,disabled:!0}}),e._v(" "),n("v-input",{staticClass:"policy-section--body--wrapper--entry",attrs:{type:"text",label:"Name*"},on:{input:e.propagate},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),n("v-input",{staticClass:"policy-section--body--wrapper--entry",attrs:{type:"textarea",label:"Description"},on:{input:e.propagate},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}})],1)])])},__vue_staticRenderFns__$i=[];__vue_render__$i._withStripped=!0;const __vue_inject_styles__$j=function(e){e&&e("data-v-8e6f70d4_0",{source:".policy-section--body--wrapper[data-v-8e6f70d4] {\n width: 50%;\n background-color: inherit;\n}\n.policy-section--body--wrapper--entry[data-v-8e6f70d4] {\n width: 50%;\n margin-bottom: 1.5rem;\n}\n.policy-section--body--wrapper--entry[data-v-8e6f70d4]:last-child {\n margin-bottom: 0;\n}\n\n/*# sourceMappingURL=NameAndDescription.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/policy/NameAndDescription.vue","NameAndDescription.vue"],names:[],mappings:"AA6EA;EACA,UAAA;EACA,yBAAA;AC5EA;AD8EA;EACA,UAAA;EACA,qBAAA;AC5EA;AD8EA;EACA,gBAAA;AC5EA;;AAEA,iDAAiD",file:"NameAndDescription.vue",sourcesContent:['<template>\n <div class="policy-section">\n <div class="policy-section--body">\n <div class="policy-section--body--wrapper">\n <v-input v-show="!isNew" class="policy-section--body--wrapper--entry" type="text" label="ID" :value="id" :disabled="true"></v-input>\n <v-input class="policy-section--body--wrapper--entry" type="text" label="Name*" v-model="name" @input="propagate"></v-input>\n <v-input class="policy-section--body--wrapper--entry" type="textarea" label="Description" v-model="description" @input="propagate"></v-input>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport VInput from \'vueCustomComponents/VInput.vue\';\n\nexport default {\n name: \'NameAndDescription\',\n components: { VInput },\n props: {\n value: {\n type: Object,\n required: true\n }\n },\n data: () => ({\n name: \'\',\n description: \'\'\n }),\n computed: {\n id() {\n return this.$route.params.id;\n },\n isNew() {\n return this.id === \'new\';\n },\n isComplete() {\n return this.name.length !== 0;\n },\n parsedData() {\n return {\n name: this.name,\n description: this.description\n }\n }\n },\n methods: {\n propagate() {\n this.$emit(\'input\', {\n complete: this.isComplete,\n data: this.parsedData\n });\n }\n },\n watch: {\n value: {\n deep: true,\n immediate: true,\n handler() {\n const data = this.value.data;\n\n if (JSON.stringify(data) === JSON.stringify(this.parsedData)) {\n return;\n }\n\n this.name = data.name;\n this.description = data.description;\n\n this.propagate();\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n.policy-section {\n &--body {\n &--wrapper {\n width: 50%;\n background-color: inherit;\n\n &--entry {\n width: 50%;\n margin-bottom: 1.5rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n }\n }\n}\n</style>',".policy-section--body--wrapper {\n width: 50%;\n background-color: inherit;\n}\n.policy-section--body--wrapper--entry {\n width: 50%;\n margin-bottom: 1.5rem;\n}\n.policy-section--body--wrapper--entry:last-child {\n margin-bottom: 0;\n}\n\n/*# sourceMappingURL=NameAndDescription.vue.map */"]},media:void 0})},__vue_scope_id__$j="data-v-8e6f70d4",__vue_module_identifier__$j=void 0,__vue_is_functional_template__$j=!1,__vue_component__$h=normalizeComponent({render:__vue_render__$i,staticRenderFns:__vue_staticRenderFns__$i},__vue_inject_styles__$j,__vue_script__$j,__vue_scope_id__$j,__vue_is_functional_template__$j,__vue_module_identifier__$j,!1,createInjector$1,void 0,void 0);var script$j={name:"VMultipleSelect",props:{entries:{type:Array,required:!0},value:{type:Array,required:!1},name:{type:String,default:"name"},code:{type:String,default:"code"}},data:()=>({selected:[]}),computed:{uid(){return this._uid}}
110,methods:{update(){this.$emit("input",this.selected)}},watch:{value:{deep:!0,immediate:!0,handler(e){this.selected=e}}}};const __vue_script__$k=script$j;var __vue_render__$j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-multiple-select--wrapper"},e._l(e.entries,(function(t,i){return n("div",{staticClass:"v-multiple-select--component"},[n("label",{attrs:{for:"v-multiple-select--entry--"+e.uid+"--"+i}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],attrs:{type:"checkbox",id:"v-multiple-select--entry--"+e.uid+"--"+i},domProps:{value:t[e.code],checked:Array.isArray(e.selected)?e._i(e.selected,t[e.code])>-1:e.selected},on:{change:[function(n){var i=e.selected,r=n.target,o=!!r.checked;if(Array.isArray(i)){var a=t[e.code],s=e._i(i,a);r.checked?s<0&&(e.selected=i.concat([a])):s>-1&&(e.selected=i.slice(0,s).concat(i.slice(s+1)))}else e.selected=o},e.update]}}),e._v(" "),n("span",[e._v(e._s(t[e.name]))])])])})),0)},__vue_staticRenderFns__$j=[];__vue_render__$j._withStripped=!0;const __vue_inject_styles__$k=function(e){e&&e("data-v-336e2130_0",{source:".v-multiple-select--wrapper[data-v-336e2130] {\n border-radius: 4px;\n padding: 1rem 0;\n display: flex;\n background-color: rgba(98, 187, 70, 0.25);\n justify-content: space-around;\n}\n.v-multiple-select--component[data-v-336e2130] {\n display: flex;\n justify-content: center;\n}\n.v-multiple-select--component label[data-v-336e2130] {\n display: block;\n width: 2.5rem;\n height: 2.5rem;\n}\n.v-multiple-select--component label input[data-v-336e2130] {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.v-multiple-select--component label input:checked ~ span[data-v-336e2130] {\n color: #fff;\n background-color: #079d04;\n box-shadow: 0 12px 6px -6px rgba(98, 187, 70, 0.25);\n}\n.v-multiple-select--component label span[data-v-336e2130] {\n text-align: center;\n line-height: 2.5rem;\n color: #079d04;\n font-size: 1rem;\n font-weight: 300;\n width: 100%;\n height: 100%;\n display: block;\n background-color: #fff;\n border-radius: 50%;\n cursor: pointer;\n user-select: none;\n}\n.v-multiple-select--component label span[data-v-336e2130]:hover {\n background-color: #ebeff9;\n}\n\n/*# sourceMappingURL=VMultipleSelect.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VMultipleSelect.vue","VMultipleSelect.vue"],names:[],mappings:"AA8DA;EACA,kBAAA;EACA,eAAA;EACA,aAAA;EACA,yCAAA;EACA,6BAAA;AC7DA;ADgEA;EACA,aAAA;EACA,uBAAA;AC9DA;ADgEA;EACA,cAAA;EACA,aAAA;EACA,cAAA;AC9DA;ADgEA;EACA,kBAAA;EACA,UAAA;EACA,eAAA;EACA,SAAA;EACA,QAAA;AC9DA;ADgEA;EACA,WAAA;EACA,yBAAA;EACA,mDAAA;AC9DA;ADkEA;EACA,kBAAA;EACA,mBAAA;EACA,cAAA;EACA,eAAA;EACA,gBAAA;EACA,WAAA;EACA,YAAA;EACA,cAAA;EACA,sBAAA;EACA,kBAAA;EACA,eAAA;EACA,iBAAA;AChEA;ADkEA;EACA,yBAAA;AChEA;;AAEA,8CAA8C",file:"VMultipleSelect.vue",sourcesContent:['<template>\n <div class="v-multiple-select--wrapper">\n <div v-for="(entry, index) of entries" class="v-multiple-select--component">\n <label :for="`v-multiple-select--entry--${uid}--${index}`">\n <input type="checkbox" :id="`v-multiple-select--entry--${uid}--${index}`" :value="entry[code]"\n v-model="selected" @change="update">\n <span>{{ entry[name] }}</span>\n </label>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'VMultipleSelect\',\n props: {\n entries: {\n type: Array,\n required: true\n },\n value: {\n type: Array,\n required: false\n },\n name: {\n type: String,\n default: \'name\'\n },\n code: {\n type: String,\n default: \'code\'\n }\n },\n data: () => ({\n selected: []\n }),\n computed: {\n uid() {\n return this._uid;\n }\n },\n methods: {\n update() {\n this.$emit(\'input\', this.selected)\n }\n },\n watch: {\n value: {\n deep: true,\n immediate: true,\n handler(newVal) {\n this.selected = newVal;\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.v-multiple-select {\n &--wrapper {\n border-radius: 4px;\n padding: 1rem 0;\n display: flex;\n background-color: $color-green-opacity-25;\n justify-content: space-around;\n }\n\n &--component {\n display: flex;\n justify-content: center;\n\n label {\n display: block;\n width: 2.5rem;\n height: 2.5rem;\n\n input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n\n &:checked ~ span {\n color: $color-white;\n background-color: $color-green;\n box-shadow: 0 12px 6px -6px $color-green-opacity-25;\n }\n }\n\n span {\n text-align: center;\n line-height: 2.5rem;\n color: $color-green;\n font-size: 1rem;\n font-weight: 300;\n width: 100%;\n height: 100%;\n display: block;\n background-color: $color-white;\n border-radius: 50%;\n cursor: pointer;\n user-select: none;\n\n &:hover {\n background-color: $color-sapphire-lavender;\n }\n }\n }\n }\n}\n</style>',".v-multiple-select--wrapper {\n border-radius: 4px;\n padding: 1rem 0;\n display: flex;\n background-color: rgba(98, 187, 70, 0.25);\n justify-content: space-around;\n}\n.v-multiple-select--component {\n display: flex;\n justify-content: center;\n}\n.v-multiple-select--component label {\n display: block;\n width: 2.5rem;\n height: 2.5rem;\n}\n.v-multiple-select--component label input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.v-multiple-select--component label input:checked ~ span {\n color: #fff;\n background-color: #079d04;\n box-shadow: 0 12px 6px -6px rgba(98, 187, 70, 0.25);\n}\n.v-multiple-select--component label span {\n text-align: center;\n line-height: 2.5rem;\n color: #079d04;\n font-size: 1rem;\n font-weight: 300;\n width: 100%;\n height: 100%;\n display: block;\n background-color: #fff;\n border-radius: 50%;\n cursor: pointer;\n user-select: none;\n}\n.v-multiple-select--component label span:hover {\n background-color: #ebeff9;\n}\n\n/*# sourceMappingURL=VMultipleSelect.vue.map */"]},media:void 0})},__vue_scope_id__$k="data-v-336e2130",__vue_module_identifier__$k=void 0,__vue_is_functional_template__$k=!1,__vue_component__$i=normalizeComponent({render:__vue_render__$j,staticRenderFns:__vue_staticRenderFns__$j},__vue_inject_styles__$k,__vue_script__$k,__vue_scope_id__$k,__vue_is_functional_template__$k,__vue_module_identifier__$k,!1,createInjector$1,void 0,void 0),RangeEnum={ALWAYS:0,ON_DAYS:1,BETWEEN_DATES:2},DaysEnum={MONDAY:{name:"Mo",code:"Mon"},TUESDAY:{name:"Tu",code:"Tue"},WEDNESDAY:{name:"We",code:"Wed"},THURSDAY:{name:"Th",code:"Thu"},FRIDAY:{name:"Fr",code:"Fri"},SATURDAY:{name:"Sa",code:"Sat"},SUNDAY:{name:"Su",code:"Sun"}};var script$k={name:"Timing",components:{VInput:__vue_component__$g,VMultipleSelect:__vue_component__$i},props:{value:{type:Object,required:!0}},data:()=>({RangeEnum:RangeEnum,DaysEnum:DaysEnum,masks:{input:"DD/MM/YYYY"},modelConfig:{type:"string",mask:"YYYY-MM-DD"},range:null,days:[],dates:{start:null,end:null},timezone:null}),computed:{daysList:()=>Object.values(DaysEnum),isComplete(){return this.range===RangeEnum.ON_DAYS?0!==this.days.length:this.range!==RangeEnum.BETWEEN_DATES||null!==this.dates.start&&null!==this.dates.end},parsedData(){const e={type:"always",timezone:this.timezone?this.timezone:this.getTimezone()};return this.range!==RangeEnum.ALWAYS?(e.type="custom",e.customRange={},this.range===RangeEnum.ON_DAYS?(e.customRange.days=this.days.map(e=>({day:e})),this.dates.start=null,this.dates.end=null):(e.customRange.dates={from:this.dates.start,to:this.dates.end},this.days=[])):(this.days=[],this.dates.start=null,this.dates.end=null),e}}
110,methods:{propagate(){this.$emit("input",{complete:this.isComplete,data:this.parsedData})},getTimezone(){const e=(new Date).getTimezoneOffset()/-60,t="".concat(e>=0?"+":"").concat(e);return"Etc/GMT".concat(t)}},watch:{value:{deep:!0,immediate:!0,handler(){const e=this.value.data;if(JSON.stringify(e)!==JSON.stringify(this.parsedData)){if("always"!==e.type){const t=e.customRange;t.hasOwnProperty("days")?(this.range=RangeEnum.ON_DAYS,this.days=t.days.map(e=>e.day)):t.hasOwnProperty("dates")&&(this.range=RangeEnum.BETWEEN_DATES,this.dates={start:t.dates.from,end:t.dates.to})}else this.range=RangeEnum.ALWAYS;this.propagate()}}}}};const __vue_script__$l=script$k;var __vue_render__$k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-section"},[e._m(0),e._v(" "),n("div",{staticClass:"policy-section--body flex"},[n("div",{staticClass:"timing-column"},[n("div",{staticClass:"timing-column--header"},[n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.range,expression:"range"}],staticClass:"radio--input",attrs:{id:"activity-always",type:"radio",name:"activity-always"},domProps:{value:e.RangeEnum.ALWAYS,checked:e._q(e.range,e.RangeEnum.ALWAYS)},on:{change:[function(t){e.range=e.RangeEnum.ALWAYS},e.propagate]}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"activity-always"}},[e._v("Always")])])]),e._v(" "),n("div",{staticClass:"timing-column--body"})]),e._v(" "),n("div",{staticClass:"timing-column"},[n("div",{staticClass:"timing-column--header bigger-gap"},[n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.range,expression:"range"}],staticClass:"radio--input",attrs:{id:"activity-days",type:"radio",name:"activity-days"},domProps:{value:e.RangeEnum.ON_DAYS,checked:e._q(e.range,e.RangeEnum.ON_DAYS)},on:{change:[function(t){e.range=e.RangeEnum.ON_DAYS},e.propagate]}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"activity-days"}},[e._v("On days")])])]),e._v(" "),n("div",{staticClass:"timing-column--body",class:{active:e.range===e.RangeEnum.ON_DAYS}},[n("v-multiple-select",{attrs:{entries:e.daysList},on:{input:e.propagate},model:{value:e.days,callback:function(t){e.days=t},expression:"days"}})],1)]),e._v(" "),n("div",{staticClass:"timing-column"},[n("div",{staticClass:"timing-column--header"},[n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.range,expression:"range"}],staticClass:"radio--input",attrs:{id:"activity-dates",type:"radio",name:"activity-dates"},domProps:{value:e.RangeEnum.BETWEEN_DATES,checked:e._q(e.range,e.RangeEnum.BETWEEN_DATES)},on:{change:[function(t){e.range=e.RangeEnum.BETWEEN_DATES},e.propagate]}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"activity-dates"}},[e._v("Between dates")])])]),e._v(" "),n("div",{staticClass:"timing-column--body",class:{active:e.range===e.RangeEnum.BETWEEN_DATES}},[n("v-date-picker",{attrs:{"trim-weeks":"","is-range":"","title-position":"left",locale:"en-US",masks:e.masks,"model-config":e.modelConfig},on:{input:e.propagate},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.inputValue,r=t.inputEvents;return[n("div",{staticClass:"input-with-label form-group"},[n("div",{staticClass:"form-label-container"},[n("label",{attrs:{for:"timing-start"}},[e._v("From")])]),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",e._g({staticClass:"form-input",attrs:{id:"timing-start",readonly:""},domProps:{value:i.start}},r.start))])]),e._v(" "),n("div",{staticClass:"input-with-label form-group"},[n("div",{staticClass:"form-label-container"},[n("label",{attrs:{for:"timing-end"}},[e._v("To")])]),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",e._g({staticClass:"form-input",attrs:{id:"timing-end",readonly:""},domProps:{value:i.end}},r.end))])])]}}]),model:{value:e.dates,callback:function(t){e.dates=t},expression:"dates"}})],1)])])])},__vue_staticRenderFns__$k=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-section--header"},[t("div",{staticClass:"policy-section--header--icon"},[t("img",{attrs:{src:"img/icon/svg/calendar.svg",alt:""}})]),this._v(" "),t("h2",{staticClass:"policy-section--header--text"},[this._v("\n Timing\n ")])])}];__vue_render__$k._withStripped=!0;const __vue_inject_styles__$l=function(e){e&&e("data-v-7bab0251_0",{source:".policy-section--body[data-v-7bab0251] {\n flex-direction: row !important;\n}\n.policy-section--body .timing-column[data-v-7bab0251] {\n flex: 1 1 33%;\n margin-right: 2rem;\n}\n.policy-section--body .timing-column[data-v-7bab0251]:last-child {\n margin-right: 0;\n}\n.policy-section--body .timing-column--header[data-v-7bab0251] {\n padding-bottom: 1rem;\n}\n.policy-section--body .timing-column--header.bigger-gap[data-v-7bab0251] {\n padding-bottom: 2rem;\n}\n.policy-section--body .timing-column--body[data-v-7bab0251] {\n pointer-events: none;\n opacity: 0.5;\n}\n.policy-section--body .timing-column--body.active[data-v-7bab0251] {\n opacity: 1;\n pointer-events: all;\n}\n[data-v-7bab0251] .vc-container {\n border-radius: 4px;\n border: solid 1px rgba(98, 187, 70, 0.5);\n background-color: #fff;\n}\n[data-v-7bab0251] .vc-container .vc-header {\n padding-bottom: 1rem;\n}\n[data-v-7bab0251] .vc-container .vc-header .vc-title {\n color: #079d04;\n font-size: 1.2rem;\n}\n[data-v-7bab0251] .vc-container svg.vc-svg-icon path {\n fill: #079d04;\n}\n[data-v-7bab0251] .vc-container .vc-weeks {\n padding: 0 0.25rem;\n}\n[data-v-7bab0251] .vc-container .vc-weekday {\n text-transform: uppercase;\n color: #6c7294;\n font-size: 0.8rem;\n}\n[data-v-7bab0251] .vc-container .vc-day-box-center-center > [class=vc-highlight] {\n background-color: #079d04 !important;\n font-weight: 300;\n width: 2.5rem;\n height: 2.5rem;\n line-height: 2.5rem;\n border-radius: 4px !important;\n}\n[data-v-7bab0251] .vc-container .vc-highlight-base-start,[data-v-7bab0251] .vc-container .vc-highlight-base-middle,[data-v-7bab0251] .vc-container .vc-highlight-base-end {\n height: 2.5rem;\n background-color: rgba(98, 187, 70, 0.25) !important;\n}\n[data-v-7bab0251] .vc-container .vc-day-content {\n width: 2.5rem;\n height: 2.5rem;\n line-height: 2.5rem;\n font-size: 1.2rem;\n margin: 0.2rem 0;\n border-radius: 4px !important;\n}\n[data-v-7bab0251] .vc-container .vc-day-content:hover {\n background-color: #fff !important;\n color: #079d04 !important;\n}\n[data-v-7bab0251] .vc-container .vc-day-content:focus {\n background-color: inherit;\n}\n[data-v-7bab0251] .vc-container .vc-day-content .vc-highlight {\n border: none !important;\n}\n\n/*# sourceMappingURL=Timing.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/policy/Timing.vue","Timing.vue"],names:[],mappings:"AAmQA;EACA,8BAAA;AClQA;ADoQA;EACA,aAAA;EACA,kBAAA;AClQA;ADoQA;EACA,eAAA;AClQA;ADqQA;EACA,oBAAA;ACnQA;ADsQA;EACA,oBAAA;ACpQA;ADuQA;EACA,oBAAA;EACA,YAAA;ACrQA;ADuQA;EACA,UAAA;EACA,mBAAA;ACrQA;AD2QA;EACA,kBAAA;EACA,wCAAA;EACA,sBAAA;ACxQA;AD0QA;EACA,oBAAA;ACxQA;AD0QA;EACA,cAAA;EACA,iBAAA;ACxQA;AD6QA;EACA,aAAA;AC3QA;AD+QA;EACA,kBAAA;AC7QA;ADgRA;EACA,yBAAA;EACA,cAAA;EACA,iBAAA;AC9QA;ADiRA;EACA,oCAAA;EACA,gBAAA;EACA,aAAA;EACA,cAAA;EACA,mBAAA;EACA,6BAAA;AC/QA;ADkRA;EAGA,cAAA;EACA,oDAAA;AChRA;ADmRA;EACA,aAAA;EACA,cAAA;EACA,mBAAA;EACA,iBAAA;EACA,gBAAA;EACA,6BAAA;ACjRA;ADmRA;EACA,iCAAA;EACA,yBAAA;ACjRA;ADoRA;EACA,yBAAA;AClRA;ADqRA;EACA,uBAAA;ACnRA;;AAEA,qCAAqC",file:"Timing.vue",sourcesContent:['<template>\n <div class="policy-section">\n <div class="policy-section--header">\n <div class="policy-section--header--icon">\n <img src="img/icon/svg/calendar.svg" alt="">\n </div>\n \n <h2 class="policy-section--header--text">\n Timing\n </h2>\n </div>\n <div class="policy-section--body flex">\n <div class="timing-column">\n <div class="timing-column--header">\n <div class="radio--container">\n <input class="radio--input" id="activity-always" type="radio" name="activity-always"\n :value="RangeEnum.ALWAYS" v-model="range" @change="prop
110agate">\n <label class="radio--label" for="activity-always">Always</label>\n </div>\n </div>\n\n <div class="timing-column--body">\n\n </div>\n </div>\n\n <div class="timing-column">\n <div class="timing-column--header bigger-gap">\n <div class="radio--container">\n <input class="radio--input" id="activity-days" type="radio" name="activity-days"\n :value="RangeEnum.ON_DAYS" v-model="range" @change="propagate">\n <label class="radio--label" for="activity-days">On days</label>\n </div>\n </div>\n\n <div class="timing-column--body" :class="{ active: range === RangeEnum.ON_DAYS }">\n <v-multiple-select :entries="daysList" v-model="days" @input="propagate"></v-multiple-select>\n </div>\n </div>\n\n <div class="timing-column">\n <div class="timing-column--header">\n <div class="radio--container">\n <input class="radio--input" id="activity-dates" type="radio" name="activity-dates"\n :value="RangeEnum.BETWEEN_DATES" v-model="range" @change="propagate">\n <label class="radio--label" for="activity-dates">Between dates</label>\n </div>\n </div>\n\n <div class="timing-column--body" :class="{ active: range === RangeEnum.BETWEEN_DATES }">\n <v-date-picker trim-weeks is-range v-model="dates" title-position="left" locale="en-US" :masks="masks"\n :model-config="modelConfig" @input="propagate">\n <template v-slot="{ inputValue, inputEvents }">\n\n <div class="input-with-label form-group">\n <div class="form-label-container">\n <label for="timing-start">From</label>\n </div>\n <div class="form-input-container">\n <input class="form-input" id="timing-start" :value="inputValue.start" v-on="inputEvents.start" readonly>\n </div>\n </div>\n\n <div class="input-with-label form-group">\n <div class="form-label-container">\n <label for="timing-end">To</label>\n </div>\n <div class="form-input-container">\n <input class="form-input" id="timing-end" :value="inputValue.end" v-on="inputEvents.end" readonly>\n </div>\n </div>\n\n </template>\n </v-date-picker>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport VInput from \'vueCustomComponents/VInput.vue\';\nimport VMultipleSelect from \'vueCustomComponents/VMultipleSelect.vue\';\n\nconst RangeEnum = {\n ALWAYS: 0,\n ON_DAYS: 1,\n BETWEEN_DATES: 2\n}\n\nconst DaysEnum = {\n MONDAY: {\n name: \'Mo\',\n code: \'Mon\'\n },\n TUESDAY: {\n name: \'Tu\',\n code: \'Tue\'\n },\n WEDNESDAY: {\n name: \'We\',\n code: \'Wed\'\n },\n THURSDAY: {\n name: \'Th\',\n code: \'Thu\'\n },\n FRIDAY: {\n name: \'Fr\',\n code: \'Fri\'\n },\n SATURDAY: {\n name: \'Sa\',\n code: \'Sat\'\n },\n SUNDAY: {\n name: \'Su\',\n code: \'Sun\'\n },\n}\n\nexport default {\n name: \'Timing\',\n components: { VInput, VMultipleSelect },\n props: {\n value: {\n type: Object,\n required: true\n }\n },\n data: () => ({\n RangeEnum,\n DaysEnum,\n masks: {\n input: \'DD/MM/YYYY\'\n },\n modelConfig: {\n type: \'string\',\n mask: \'YYYY-MM-DD\'\n },\n\n range: null,\n days: [],\n dates: {\n start: null,\n end: null\n },\n timezone: null\n }),\n computed: {\n daysList() {\n return Object.values(DaysEnum);\n },\n isComplete() {\n if (this.range === RangeEnum.ON_DAYS) {\n return this.days.length !== 0;\n }\n\n if (this.range === RangeEnum.BETWEEN_DATES) {\n return this.dates.start !== null && this.dates.end !== null;\n }\n\n return true;\n },\n parsedData() {\n const data = {\n type: \'always\',\n timezone: this.timezone ? this.timezone : this.getTimezone()\n }\n\n if (this.range !== RangeEnum.ALWAYS) {\n data.type = \'custom\';\n data.customRange = {};\n\n if (this.range === RangeEnum.ON_DAYS) {\n data.customRange.days = this.days.map(item => ({ day: item }));\n\n this.dates.start = null;\n this.dates.end = null;\n } else {\n data.customRange.dates = {\n from: this.dates.start,\n to: this.dates.end\n }\n\n this.days = [];\n }\n } else {\n this.days = [];\n this.dates.start = null;\n this.dates.end = null;\n }\n\n return data;\n }\n },\n methods: {\n propagate() {\n this.$emit(\'input\', {\n complete: this.isComplete,\n data: this.parsedData\n });\n },\n getTimezone() {\n /**\n * Calculations to return timezone to backend in format that can be understood by Java\n * https://garygregory.wordpress.com/2013/06/18/what-are-the-java-timezone-ids/\n * */\n\n const date = new Date();\n\n /* Timezone offset is returned in minutes. Positive for behind UTC, negative for ahead.\n * Dividing by -60 reverses the sign and changes from minutes to full hours. */\n const timezone = date.getTimezoneOffset() / -60\n const timezoneString = `${timezone >= 0 ? \'+\' : \'\'}${timezone}`\n\n return `Etc/GMT${timezoneString}`;\n },\n },\n watch: {\n value: {\n deep: true,\n immediate: true,\n handler() {\n const data = this.value.data;\n\n if (JSON.stringify(data) === JSON.stringify(this.parsedData)) {\n return;\n }\n\n if (data.type !== \'always\') {\n const customRange = data.customRange;\n\n if (customRange.hasOwnProperty(\'days\')) {\n this.range = RangeEnum.ON_DAYS;\n\n this.days = customRange.days.map(item => item.day);\n } else if (customRange.hasOwnProperty(\'dates\')) {\n this.range = RangeEnum.BETWEEN_DATES;\n\n this.dates = {\n start: customRange.dates.from,\n end: customRange.dates.to\n }\n }\n } else {\n this.range = RangeEnum.ALWAYS;\n }
110\n\n this.propagate();\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.policy-section--body {\n flex-direction: row !important;\n\n .timing-column {\n flex: 1 1 33%;\n margin-right: 2rem;\n\n &:last-child {\n margin-right: 0;\n }\n\n &--header {\n padding-bottom: 1rem;\n }\n \n &--header.bigger-gap {\n padding-bottom: 2rem;\n }\n\n &--body {\n pointer-events: none;\n opacity: 0.5;\n\n &.active {\n opacity: 1;\n pointer-events: all;\n }\n }\n }\n}\n\n::v-deep .vc-container {\n border-radius: 4px;\n border: solid 1px $color-green-opacity-50;\n background-color: $color-white;\n\n .vc-header {\n padding-bottom: 1rem;\n\n .vc-title {\n color: $color-green;\n font-size: 1.2rem;\n }\n }\n\n svg.vc-svg-icon {\n path {\n fill: $color-green;\n }\n }\n\n .vc-weeks {\n padding: 0 0.25rem;\n }\n\n .vc-weekday {\n text-transform: uppercase;\n color: $color-slateGray;\n font-size: 0.8rem;\n }\n\n .vc-day-box-center-center > [class="vc-highlight"] {\n background-color: $color-green !important;\n font-weight: 300;\n width: 2.5rem;\n height: 2.5rem;\n line-height: 2.5rem;\n border-radius: 4px !important;\n }\n\n .vc-highlight-base-start,\n .vc-highlight-base-middle,\n .vc-highlight-base-end {\n height: 2.5rem;\n background-color: $color-green-opacity-25 !important;\n }\n\n .vc-day-content {\n width: 2.5rem;\n height: 2.5rem;\n line-height: 2.5rem;\n font-size: 1.2rem;\n margin: 0.2rem 0;\n border-radius: 4px !important;\n\n &:hover {\n background-color: $color-white !important;\n color: $color-green !important;\n }\n\n &:focus {\n background-color: inherit;\n }\n\n .vc-highlight {\n border: none !important;\n }\n }\n\n}\n</style>',".policy-section--body {\n flex-direction: row !important;\n}\n.policy-section--body .timing-column {\n flex: 1 1 33%;\n margin-right: 2rem;\n}\n.policy-section--body .timing-column:last-child {\n margin-right: 0;\n}\n.policy-section--body .timing-column--header {\n padding-bottom: 1rem;\n}\n.policy-section--body .timing-column--header.bigger-gap {\n padding-bottom: 2rem;\n}\n.policy-section--body .timing-column--body {\n pointer-events: none;\n opacity: 0.5;\n}\n.policy-section--body .timing-column--body.active {\n opacity: 1;\n pointer-events: all;\n}\n\n::v-deep .vc-container {\n border-radius: 4px;\n border: solid 1px rgba(98, 187, 70, 0.5);\n background-color: #fff;\n}\n::v-deep .vc-container .vc-header {\n padding-bottom: 1rem;\n}\n::v-deep .vc-container .vc-header .vc-title {\n color: #079d04;\n font-size: 1.2rem;\n}\n::v-deep .vc-container svg.vc-svg-icon path {\n fill: #079d04;\n}\n::v-deep .vc-container .vc-weeks {\n padding: 0 0.25rem;\n}\n::v-deep .vc-container .vc-weekday {\n text-transform: uppercase;\n color: #6c7294;\n font-size: 0.8rem;\n}\n::v-deep .vc-container .vc-day-box-center-center > [class=vc-highlight] {\n background-color: #079d04 !important;\n font-weight: 300;\n width: 2.5rem;\n height: 2.5rem;\n line-height: 2.5rem;\n border-radius: 4px !important;\n}\n::v-deep .vc-container .vc-highlight-base-start,\n::v-deep .vc-container .vc-highlight-base-middle,\n::v-deep .vc-container .vc-highlight-base-end {\n height: 2.5rem;\n background-color: rgba(98, 187, 70, 0.25) !important;\n}\n::v-deep .vc-container .vc-day-content {\n width: 2.5rem;\n height: 2.5rem;\n line-height: 2.5rem;\n font-size: 1.2rem;\n margin: 0.2rem 0;\n border-radius: 4px !important;\n}\n::v-deep .vc-container .vc-day-content:hover {\n background-color: #fff !important;\n color: #079d04 !important;\n}\n::v-deep .vc-container .vc-day-content:focus {\n background-color: inherit;\n}\n::v-deep .vc-container .vc-day-content .vc-highlight {\n border: none !important;\n}\n\n/*# sourceMappingURL=Timing.vue.map */"]},media:void 0})},__vue_scope_id__$l="data-v-7bab0251",__vue_module_identifier__$l=void 0,__vue_is_functional_template__$l=!1,__vue_component__$j=normalizeComponent({render:__vue_render__$k,staticRenderFns:__vue_staticRenderFns__$k},__vue_inject_styles__$l,__vue_script__$l,__vue_scope_id__$l,__vue_is_functional_template__$l,__vue_module_identifier__$l,!1,createInjector$1,void 0,void 0),RangeEnum$1={ALL:0,SPECIFIC:1},TableColumns=[{name:"ID",key:"uniqueId",align:"left",minWidth:"6rem"},{name:"Name",key:"name",align:"left",minWidth:"10rem"},{name:"MAC",key:"mac",minWidth:"10rem",align:"left",decorator:e=>e.toUpperCase()},{name:"Product",key:"product",align:"left",minWidth:"12rem"},{name:"Firmware",key:"firmware",align:"left",minWidth:"4rem"},{name:"Order ID",key:"orderId",align:"left",minWidth:"6rem"},{name:"Profiles",key:"profiles",align:"left",minWidth:"6rem",decorator:e=>e.join(", ")},{name:"Tags",key:"tags",minWidth:"6rem",align:"left",decorator:e=>e.join(", ")},{name:"Manager",key:"managerId",align:"left",minWidth:"6rem"}];var script$l={name:"Devices",components:{VInput:__vue_component__$g,VTable:__vue_component__$8},props:{value:{type:Object,required:!0}},data:()=>({RangeEnum:RangeEnum$1,range:null,columns:TableColumns,settings:{numbering:{enabled:!0}
110,multipleSelection:{enabled:!0,action:"none",key:"mac",selected:[]},filtering:{enabled:!0,columns:["name","product","manager","orderId","id","tags"]}},search:"",filters:{id:"",orderId:"",tag:"",manager:"",product:"",profile:""},selected:[]}),computed:_objectSpread2(_objectSpread2({},mapGetters$1("beacons",["beacons"])),{},{isSpecific(){return this.range===RangeEnum$1.SPECIFIC},isComplete(){return!this.isSpecific||0!==this.selected.length},filteredBeacons(){return this.searchedBeacons.filter(this.uniqueIdFilter).filter(this.orderIdFilter).filter(this.tagsFilter)},searchedBeacons(){return this.beacons},parsedData(){return{trackingIds:this.selected}}}),methods:{uniqueIdFilter(e){const t=this.filters.id.toLowerCase().trim();return!t||e.uniqueId.toLowerCase().includes(t)},orderIdFilter(e){const t=this.filters.orderId.toLowerCase().trim();return!t||e.orderId.toLowerCase().includes(t)},tagsFilter(e){const t=this.filters.tag.toLowerCase().trim();return!t||e.tags.map(e=>e.toLowerCase()).some(e=>e.includes(t))},propagate(){this.range===RangeEnum$1.ALL&&(this.selected=[]),this.$emit("input",{complete:this.isComplete,data:this.parsedData})}},watch:{value:{deep:!0,immediate:!0,handler(){const e=this.value.data;JSON.stringify(e)===JSON.stringify(this.parsedData)&&null!==this.range||(e.trackingIds.length>0?this.range=RangeEnum$1.SPECIFIC:this.range=RangeEnum$1.ALL,this.selected=e.trackingIds,this.settings.multipleSelection.selected=this.selected,this.propagate())}}}};const __vue_script__$m=script$l;var __vue_render__$l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-section"},[e._m(0),e._v(" "),n("div",{staticClass:"policy-section--body"},[n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.range,expression:"range"}],staticClass:"radio--input",attrs:{id:"devices-all",type:"radio",name:"devices-all"},domProps:{value:e.RangeEnum.ALL,checked:e._q(e.range,e.RangeEnum.ALL)},on:{change:[function(t){e.range=e.RangeEnum.ALL},e.propagate]}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"devices-all"}},[e._v("All devices")])]),e._v(" "),n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.range,expression:"range"}],staticClass:"radio--input",attrs:{id:"devices-specific",type:"radio",name:"devices-specific"},domProps:{value:e.RangeEnum.SPECIFIC,checked:e._q(e.range,e.RangeEnum.SPECIFIC)},on:{change:[function(t){e.range=e.RangeEnum.SPECIFIC},e.propagate]}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"devices-specific"}},[e._v("Specific devices")])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isSpecific,expression:"isSpecific"}],staticClass:"devices--specific"},[n("div",{staticClass:"devices--specific--search"}),e._v(" "),n("div",{staticClass:"devices--specific--filters"},[n("div",{staticClass:"devices--specific--filters--row"},[n("v-input",{attrs:{type:"text",label:"ID"},model:{value:e.filters.id,callback:function(t){e.$set(e.filters,"id",t)},expression:"filters.id"}}),e._v(" "),n("v-input",{attrs:{type:"text",label:"Order ID"},model:{value:e.filters.orderId,callback:function(t){e.$set(e.filters,"orderId",t)},expression:"filters.orderId"}}),e._v(" "),n("v-input",{attrs:{type:"text",label:"Tag"},model:{value:e.filters.tag,callback:function(t){e.$set(e.filters,"tag",t)},expression:"filters.tag"}})],1),e._v(" "),n("div",{staticClass:"devices--specific--filters--row"},[n("v-input",{attrs:{type:"text",label:"Manager"},model:{value:e.filters.manager,callback:function(t){e.$set(e.filters,"manager",t)},expression:"filters.manager"}}),e._v(" "),n("v-input",{attrs:{type:"text",label:"Product"},model:{value:e.filters.product,callback:function(t){e.$set(e.filters,"product",t)},expression:"filters.product"}}),e._v(" "),n("v-input",{attrs:{type:"text",label:"Profile"},model:{value:e.filters.profile,callback:function(t){e.$set(e.filters,"profile",t)},expression:"filters.profile"}})],1)]),e._v(" "),n("v-table",{attrs:{rows:e.filteredBeacons,columns:e.columns,settings:e.settings},on:{input:e.propagate},scopedSlots:e._u([{key:"item.product",fn:function(t){var i=t.item;return[n("div",{staticClass:"product-row"},[n("div",{staticClass:"beacon-title"},[e._v(e._s(i.product))])])]}},{key:"item.tags",fn:function(t){var i=t.item;return e._l(i.tags,(function(t){return n("span",{staticClass:"beacon-tag"},[e._v("\n "+e._s(t)+"\n ")])}))}}]),model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1)])])},__vue_staticRenderFns__$l=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-section--header"},[t("div",{staticClass:"policy-section--header--icon"},[t("img",{attrs:{src:"img/icon/svg/beacons.svg",alt:""}})]),this._v(" "),t("h2",{staticClass:"policy-section--header--text"},[this._v("\n Participating Devices\n ")])])}];__vue_render__$l._withStripped=!0;const __vue_inject_styles__$m=function(e){e&&e("data-v-4f5812b9_0",{source:".devices--specific[data-v-4f5812b9] {\n width: 100%;\n background-color: inherit;\n}\n.devices--specific *[data-v-4f5812b9] {\n background-color: inherit;\n}\n.devices--specific--filters--row[data-v-4f5812b9] {\n display: flex;\n margin-top: 1rem;\n}\n.devices--specific--filters--row[data-v-4f5812b9]:first-child {\n margin-top: 0;\n}\n.devices--specific--filters--row *[data-v-4f5812b9] {\n margin-left: 1rem;\n}\n.devices--specific--filters--row *[data-v-4f5812b9]:first-child {\n margin-left: 0;\n}\n.radio--container[data-v-4f5812b9] {\n margin-bottom: 1rem;\n}\n.radio--container[data-v-4f5812b9]:last-child {\n margin-bottom: 0;\n}\n\n/*# sourceMappingURL=Devices.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/policy/Devices.vue","Devices.vue"],names:[],mappings:"AAqQA;EACA,WAAA;EACA,yBAAA;ACpQA;ADsQA;EACA,yBAAA;ACpQA;ADyQA;EACA,aAAA;EACA,gBAAA;ACvQA;ADyQA;EACA,aAAA;ACvQA;AD0QA;EACA,iBAAA;ACxQA;AD0QA;EACA,cAAA;ACxQA;AD+QA;EACA,mBAAA;AC5QA;AD8QA;EACA,gBAAA;AC5QA;;AAEA,sCAAsC",file:"Devices.vue",sourcesContent:['<template>\n <div class="policy-section">\n <div class="policy-section--header">\n <div class="policy-section--header--icon">\n <img src="img/icon/svg/beacons.svg" alt="">\n </div>\n\n <h2 class="policy-section--header--text">\n Participating Devices\n </h2>\n </div>\n <div class="policy-section--body">\n <div class="radio--container">\n <input class="radio--input" id="devices-all" type="radio" name="devices-all"\n :value="RangeEnum.ALL" v-model="range" @change="prop
110agate">\n <label class="radio--label" for="devices-all">All devices</label>\n </div>\n\n <div class="radio--container">\n <input class="radio--input" id="devices-specific" type="radio" name="devices-specific"\n :value="RangeEnum.SPECIFIC" v-model="range" @change="propagate">\n <label class="radio--label" for="devices-specific">Specific devices</label>\n </div>\n\n <div class="devices--specific" v-show="isSpecific">\n <div class="devices--specific--search">\n\n </div>\n\n <div class="devices--specific--filters">\n <div class="devices--specific--filters--row">\n <v-input type="text" v-model="filters.id" label="ID"></v-input>\n <v-input type="text" v-model="filters.orderId" label="Order ID"></v-input>\n <v-input type="text" v-model="filters.tag" label="Tag"></v-input>\n </div>\n <div class="devices--specific--filters--row">\n <v-input type="text" v-model="filters.manager" label="Manager"></v-input>\n <v-input type="text" v-model="filters.product" label="Product"></v-input>\n <v-input type="text" v-model="filters.profile" label="Profile"></v-input>\n </div>\n </div>\n\n <v-table :rows="filteredBeacons" :columns="columns" :settings="settings" v-model="selected" @input="propagate">\n <template v-slot:item.product="{ item }">\n <div class="product-row">\n <div class="beacon-title">{{ item.product }}</div>\n </div>\n </template>\n <template v-slot:item.tags="{ item }">\n <span v-for="tag of item.tags" class="beacon-tag">\n {{ tag }}\n </span>\n </template>\n </v-table>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { mapGetters } from \'vuex\';\n\nimport VInput from \'vueCustomComponents/VInput.vue\';\nimport VTable from \'vueCustomComponents/VTable/VTable.vue\';\n\nconst RangeEnum = {\n ALL: 0,\n SPECIFIC: 1\n}\n\nconst TableColumns = [\n {\n name: \'ID\',\n key: \'uniqueId\',\n align: \'left\',\n minWidth: \'6rem\'\n },\n {\n name: \'Name\',\n key: \'name\',\n align: \'left\',\n minWidth: \'10rem\'\n },\n {\n name: \'MAC\',\n key: \'mac\',\n minWidth: \'10rem\',\n align: \'left\',\n decorator: item => item.toUpperCase()\n },\n {\n name: \'Product\',\n key: \'product\',\n align: \'left\',\n minWidth: \'12rem\'\n },\n {\n name: \'Firmware\',\n key: \'firmware\',\n align: \'left\',\n minWidth: \'4rem\'\n },\n {\n name: \'Order ID\',\n key: \'orderId\',\n align: \'left\',\n minWidth: \'6rem\'\n },\n {\n name: \'Profiles\',\n key: \'profiles\',\n align: \'left\',\n minWidth: \'6rem\',\n decorator: item => item.join(\', \')\n },\n {\n name: \'Tags\',\n key: \'tags\',\n // width: \'100%\',\n minWidth: \'6rem\',\n align: \'left\',\n decorator: item => item.join(\', \')\n },\n {\n name: \'Manager\',\n key: \'managerId\',\n align: \'left\',\n minWidth: \'6rem\'\n },\n];\n\nexport default {\n name: \'Devices\',\n components: { VInput, VTable },\n props: {\n value: {\n type: Object,\n required: true\n }\n },\n data: () => ({\n RangeEnum,\n range: null,\n columns: TableColumns,\n settings: {\n numbering: {\n enabled: true\n },\n multipleSelection: {\n enabled: true,\n action: \'none\',\n key: \'mac\',\n selected: []\n },\n filtering: {\n enabled: true,\n columns: [\'name\', \'product\', \'manager\', \'orderId\', \'id\', \'tags\']\n }\n },\n search: \'\',\n filters: {\n id: \'\',\n orderId: \'\',\n tag: \'\',\n manager: \'\',\n product: \'\',\n profile: \'\'\n },\n selected: []\n }),\n computed: {\n ...mapGetters(\'beacons\', [\'beacons\']),\n isSpecific() {\n return this.range === RangeEnum.SPECIFIC;\n },\n isComplete() {\n if (this.isSpecific) {\n return this.selected.length !== 0;\n }\n\n return true;\n },\n filteredBeacons() {\n return this.searchedBeacons.filter(this.uniqueIdFilter).filter(this.orderIdFilter).filter(this.tagsFilter);\n },\n searchedBeacons() {\n return this.beacons;\n }
110,\n parsedData() {\n return {\n trackingIds: this.selected\n }\n }\n },\n methods: {\n uniqueIdFilter(item) {\n const query = this.filters.id.toLowerCase().trim();\n\n if (!query) {\n return true;\n }\n\n return item.uniqueId.toLowerCase().includes(query);\n },\n orderIdFilter(item) {\n const query = this.filters.orderId.toLowerCase().trim();\n\n if (!query) {\n return true;\n }\n\n return item.orderId.toLowerCase().includes(query);\n },\n tagsFilter(item) {\n const query = this.filters.tag.toLowerCase().trim();\n\n if (!query) {\n return true;\n }\n\n return item.tags.map(tag => tag.toLowerCase()).some(tag => tag.includes(query))\n },\n propagate() {\n if (this.range === RangeEnum.ALL) {\n this.selected = [];\n }\n\n this.$emit(\'input\', {\n complete: this.isComplete,\n data: this.parsedData\n });\n }\n },\n watch: {\n value: {\n deep: true,\n immediate: true,\n handler() {\n const data = this.value.data;\n\n if (JSON.stringify(data) === JSON.stringify(this.parsedData) && this.range !== null) {\n return;\n }\n\n if (data.trackingIds.length > 0) {\n this.range = RangeEnum.SPECIFIC;\n } else {\n this.range = RangeEnum.ALL;\n }\n\n this.selected = data.trackingIds;\n this.settings.multipleSelection.selected = this.selected;\n\n this.propagate();\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n.devices--specific {\n width: 100%;\n background-color: inherit;\n\n * {\n background-color: inherit;\n }\n\n &--filters {\n\n &--row {\n display: flex;\n margin-top: 1rem;\n\n &:first-child {\n margin-top: 0;\n }\n\n * {\n margin-left: 1rem;\n\n &:first-child {\n margin-left: 0;\n }\n }\n }\n }\n}\n\n.radio--container {\n margin-bottom: 1rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n</style>',".devices--specific {\n width: 100%;\n background-color: inherit;\n}\n.devices--specific * {\n background-color: inherit;\n}\n.devices--specific--filters--row {\n display: flex;\n margin-top: 1rem;\n}\n.devices--specific--filters--row:first-child {\n margin-top: 0;\n}\n.devices--specific--filters--row * {\n margin-left: 1rem;\n}\n.devices--specific--filters--row *:first-child {\n margin-left: 0;\n}\n\n.radio--container {\n margin-bottom: 1rem;\n}\n.radio--container:last-child {\n margin-bottom: 0;\n}\n\n/*# sourceMappingURL=Devices.vue.map */"]},media:void 0})},__vue_scope_id__$m="data-v-4f5812b9",__vue_module_identifier__$m=void 0,__vue_is_functional_template__$m=!1,__vue_component__$k=normalizeComponent({render:__vue_render__$l,staticRenderFns:__vue_staticRenderFns__$l},__vue_inject_styles__$m,__vue_script__$m,__vue_scope_id__$m,__vue_is_functional_template__$m,__vue_module_identifier__$m,!1,createInjector$1,void 0,void 0);var script$m={name:"VLocationTreeNode",props:{node:{type:Object,required:!0},depth:{type:Number,default:0},selected:{type:Array,required:!0},lock:{type:Number,required:!0}},data:()=>({open:!1}),computed:{hasChildren(){return this.node.hasOwnProperty("children")&&0!==this.node.children.length},isLock(){return this.lock!==Number.POSITIVE_INFINITY&&this.lock!==this.depth},isDisabled(){return this.isLock},checked(){return this.selected.includes(this.node.id)}},methods:{toggleOpen(){this.open=!this.open},click(){this.select({id:this.node.id,depth:this.depth})},select(e){let{id:t,depth:n}=e;this.$emit("node:checked",{id:t,depth:n})}}};const __vue_script__$n=script$m;var __vue_render__$m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"v-tree-node"},[n("div",{staticClass:"v-tree-node--row",class:{disabled:e.isDisabled},on:{click:function(t){return t.target!==t.currentTarget?null:e.toggleOpen.apply(null,arguments)}}},[n("div",{staticClass:"v-tree-node--row--arrow"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.hasChildren,expression:"hasChildren"}],staticClass:"arrow",class:{open:e.open}})]),e._v(" "),n("div",{staticClass:"v-tree-node--row--checkbox"},[n("label",{staticClass:"v-checkbox"},[n("input",{attrs:{type:"checkbox",disabled:e.isDisabled},domProps:{value:e.node.id,checked:e.checked},on:{click:e.click}}),e._v(" "),n("span",{staticClass:"v-checkbox--checkmark"})])]),e._v(" "),n("div",{staticClass:"v-tree-node--row--text"},[e._v("\n "+e._s(e.node.label)+"\n ")])]),e._v(" "),e.hasChildren?n("ul",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}]},e._l(e.node.children,(function(t){return n("v-location-tree-node",{attrs:{node:t,depth:e.depth+1,selected:e.selected,lock:e.lock},on:{"node:checked":e.select}})}
110)),1):e._e()])},__vue_staticRenderFns__$m=[];__vue_render__$m._withStripped=!0;const __vue_inject_styles__$n=function(e){e&&e("data-v-423223f2_0",{source:'.v-tree-node ul[data-v-423223f2] {\n padding-left: 27px;\n}\n.v-tree-node--row[data-v-423223f2] {\n display: flex;\n flex-direction: row;\n padding-left: 8px;\n user-select: none;\n}\n.v-tree-node--row[data-v-423223f2]:hover {\n background-color: rgba(18, 24, 69, 0.2);\n cursor: pointer;\n}\n.v-tree-node--row.disabled .v-tree-node--row--checkbox[data-v-423223f2] {\n pointer-events: none;\n}\n.v-tree-node--row.disabled .v-tree-node--row--text[data-v-423223f2] {\n color: #818181;\n}\n.v-tree-node--row--arrow[data-v-423223f2] {\n display: flex;\n flex: 0 0 auto;\n align-self: center;\n width: 10px;\n pointer-events: none;\n position: relative;\n left: -4px;\n}\n.v-tree-node--row--arrow .arrow[data-v-423223f2] {\n width: 0;\n height: 0;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n border-left: 9px solid #121845;\n transition: all ease-in-out 150ms;\n}\n.v-tree-node--row--arrow .arrow.open[data-v-423223f2] {\n transform: rotate(90deg);\n}\n.v-tree-node--row--checkbox[data-v-423223f2] {\n display: flex;\n flex: 0 0 auto;\n padding: 0 8px;\n align-items: center;\n height: 2rem;\n}\n.v-tree-node--row--text[data-v-423223f2] {\n flex: 1 1 auto;\n pointer-events: none;\n color: #121845;\n font-weight: 400;\n font-size: 1rem;\n}\n.v-checkbox[data-v-423223f2] {\n display: block;\n position: relative;\n cursor: pointer;\n font-size: 22px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n width: 1.429rem;\n height: 1.429rem;\n}\n.v-checkbox input[data-v-423223f2] {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.v-checkbox input:checked ~ .v-checkbox--checkmark[data-v-423223f2] {\n background-color: #3e63cc;\n border: solid #3e63cc 2px;\n}\n.v-checkbox input:checked ~ .v-checkbox--checkmark[data-v-423223f2]:after {\n display: block;\n}\n.v-checkbox input:disabled ~ .v-checkbox--checkmark[data-v-423223f2] {\n border: solid #818181 2px;\n}\n.v-checkbox--checkmark[data-v-423223f2] {\n position: absolute;\n top: 0;\n left: 0;\n height: 1.429rem;\n width: 1.429rem;\n background-color: transparent;\n border-radius: 4px;\n border: solid #3e63cc 2px;\n}\n.v-checkbox--checkmark[data-v-423223f2]:after {\n content: "";\n position: absolute;\n display: none;\n left: 5px;\n top: 1px;\n width: 6px;\n height: 12px;\n border: solid #fff;\n border-width: 0 2px 2px 0;\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n\n/*# sourceMappingURL=VLocationTreeNode.vue.map */',map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VLocationTree/VLocationTreeNode.vue","VLocationTreeNode.vue"],names:[],mappings:"AAwFA;EACA,kBAAA;ACvFA;AD0FA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;EACA,iBAAA;ACxFA;AD0FA;EACA,uCAAA;EACA,eAAA;ACxFA;AD6FA;EACA,oBAAA;AC3FA;AD8FA;EACA,cAAA;AC5FA;ADiGA;EACA,aAAA;EACA,cAAA;EACA,kBAAA;EACA,WAAA;EACA,oBAAA;EACA,kBAAA;EACA,UAAA;AC/FA;ADiGA;EACA,QAAA;EACA,SAAA;EACA,iCAAA;EACA,oCAAA;EACA,8BAAA;EACA,iCAAA;AC/FA;ADiGA;EACA,wBAAA;AC/FA;ADoGA;EACA,aAAA;EACA,cAAA;EACA,cAAA;EACA,mBAAA;EACA,YAAA;AClGA;ADqGA;EACA,cAAA;EACA,oBAAA;EACA,cAAA;EACA,gBAAA;EACA,eAAA;ACnGA;ADwGA;EACA,cAAA;EACA,kBAAA;EACA,eAAA;EACA,eAAA;EACA,yBAAA;EACA,sBAAA;EACA,qBAAA;EACA,iBAAA;EACA,eAAA;EACA,gBAAA;ACrGA;ADuGA;EACA,kBAAA;EACA,UAAA;EACA,eAAA;EACA,SAAA;EACA,QAAA;ACrGA;ADyGA;EACA,yBAAA;EACA,yBAAA;ACvGA;ADyGA;EACA,cAAA;ACvGA;AD6GA;EACA,yBAAA;AC3GA;ADgHA;EACA,kBAAA;EACA,MAAA;EACA,OAAA;EACA,gBAAA;EACA,eAAA;EACA,6BAAA;EACA,kBAAA;EACA,yBAAA;AC9GA;ADgHA;EACA,WAAA;EACA,kBAAA;EACA,aAAA;EAEA,SAAA;EACA,QAAA;EACA,UAAA;EACA,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,gCAAA;EACA,4BAAA;EACA,wBAAA;AC/GA;;AAEA,gDAAgD",file:"VLocationTreeNode.vue",sourcesContent:['<template>\n <li class="v-tree-node">\n <div class="v-tree-node--row" :class="{ \'disabled\': isDisabled }" @click.self="toggleOpen">\n <div class="v-tree-node--row--arrow">
110\n <div class="arrow" :class="{ \'open\': open }" v-show="hasChildren"></div>\n </div>\n\n <div class="v-tree-node--row--checkbox">\n <label class="v-checkbox">\n <input type="checkbox" :value="node.id" :checked="checked" :disabled="isDisabled" @click="click">\n <span class="v-checkbox--checkmark"></span>\n </label>\n </div>\n\n <div class="v-tree-node--row--text">\n {{ node.label }}\n </div>\n </div>\n\n <ul v-if="hasChildren" v-show="open">\n <v-location-tree-node v-for="child in node.children"\n :node="child" :depth="depth + 1" :selected="selected" :lock="lock"\n @node:checked="select"></v-location-tree-node>\n </ul>\n </li>\n</template>\n\n<script>\nexport default {\n name: \'VLocationTreeNode\',\n props: {\n node: {\n type: Object,\n required: true\n },\n depth: {\n type: Number,\n default: 0\n },\n selected: {\n type: Array,\n required: true\n },\n lock: {\n type: Number,\n required: true\n },\n },\n data: () => ({\n open: false\n }),\n computed: {\n hasChildren() {\n return this.node.hasOwnProperty(\'children\') && this.node.children.length !== 0;\n },\n isLock() {\n if (this.lock === Number.POSITIVE_INFINITY) {\n return false;\n }\n\n return this.lock !== this.depth;\n },\n isDisabled() {\n return this.isLock;\n },\n checked() {\n return this.selected.includes(this.node.id)\n }\n },\n methods: {\n toggleOpen() {\n this.open = !this.open;\n },\n click() {\n this.select({ id: this.node.id, depth: this.depth });\n },\n select({ id, depth }) {\n this.$emit(\'node:checked\', { id, depth });\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.v-tree-node {\n\n ul {\n padding-left: 27px;\n }\n\n &--row {\n display: flex;\n flex-direction: row;\n padding-left: 8px;\n user-select: none;\n\n &:hover {\n background-color: $color-sapphire-4-opacity-20;\n cursor: pointer;\n }\n\n &.disabled {\n .v-tree-node--row {\n &--checkbox {\n pointer-events: none;\n }\n\n &--text {\n color: $color-grey-4;\n }\n }\n }\n\n &--arrow {\n display: flex;\n flex: 0 0 auto;\n align-self: center;\n width: 10px;\n pointer-events: none;\n position: relative;\n left: -4px;\n\n .arrow {\n width: 0;\n height: 0;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n border-left: 9px solid $color-sapphire-4;\n transition: all ease-in-out 150ms;\n\n &.open {\n transform: rotate(90deg);\n }\n }\n }\n\n &--checkbox {\n display: flex;\n flex: 0 0 auto;\n padding: 0 8px;\n align-items: center;\n height: 2rem;\n }\n\n &--text {\n flex: 1 1 auto;\n pointer-events: none;\n color: $color-sapphire-4;\n font-weight: 400;\n font-size: 1rem;\n }\n }\n}\n\n.v-checkbox {\n display: block;\n position: relative;\n cursor: pointer;\n font-size: 22px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n width: 1.429rem;\n height: 1.429rem;\n\n input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n\n &:checked {\n\n &~ .v-checkbox--checkmark {\n background-color: $color-sl-secondary;\n border: solid $color-sl-secondary 2px;\n\n &:after {\n display: block;\n }\n }\n }\n\n &:disabled {\n &~ .v-checkbox--checkmark {\n border: solid $color-grey-4 2px;\n }\n }\n }\n\n &--checkmark {\n position: absolute;\n top: 0;\n left: 0;\n height: 1.429rem;\n width: 1.429rem;\n background-color: transparent;\n border-radius: 4px;\n border: solid $color-sl-secondary 2px;\n\n &:after {\n content: \'\';\n position: absolute;\n display: none;\n\n left: 5px;\n top: 1px;\n width: 6px;\n height: 12px;\n border: solid $color-white;\n border-width: 0 2px 2px 0;\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n }\n}\n</style>','.v-tree-node ul {\n padding-left: 27px;\n}\n.v-tree-node--row {\n display: flex;\n flex-direction: row;\n padding-left: 8px;\n user-select: none;\n}\n.v-tree-node--row:hover {\n background-color: rgba(18, 24, 69, 0.2);\n cursor: pointer;\n}\n.v-tree-node--row.disabled .v-tree-node--row--checkbox {\n pointer-events: none;\n}\n.v-tree-node--row.disabled .v-tree-node--row--text {\n color: #818181;\n}\n.v-tree-node--row--arrow {\n display: flex;\n flex: 0 0 auto;\n align-self: center;\n width: 10px;\n pointer-events: none;\n position: relative;\n left: -4px;\n}\n.v-tree-node--row--arrow .arrow {\n width: 0;\n height: 0;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n border-left: 9px solid #121845;\n transition: all ease-in-out 150ms;\n}\n.v-tree-node--row--arrow .arrow.open {\n transform: rotate(90deg);\n}\n.v-tree-node--row--checkbox {\n display: flex;\n flex: 0 0 auto;\n padding: 0 8px;\n align-items: center;\n height: 2rem;\n}\n.v-tree-node--row--text {\n flex: 1 1 auto;\n pointer-events: none;\n color: #121845;\n font-weight: 400;\n font-size: 1rem;\n}\n\n.v-checkbox {\n display: block;\n position: relative;\n cursor: pointer;\n font-size: 22px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n width: 1.429rem;\n height: 1.429rem;\n}\n.v-checkbox input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.v-checkbox input:checked ~ .v-checkbox--checkmark {\n background-color: #3e63cc;\n border: solid #3e63cc 2px;\n}\n.v-checkbox input:checked ~ .v-checkbox--checkmark:after {\n display: block;\n}\n.v-checkbox input:disabled ~ .v-checkbox--checkmark {\n border: solid #818181 2px;\n}\n.v-checkbox--checkmark {\n position: absolute;\n top: 0;\n left: 0;\n height: 1.429rem;\n width: 1.429rem;\n background-color: transparent;\n border-radius: 4px;\n border: solid #3e63cc 2px;\n}
110\n.v-checkbox--checkmark:after {\n content: "";\n position: absolute;\n display: none;\n left: 5px;\n top: 1px;\n width: 6px;\n height: 12px;\n border: solid #fff;\n border-width: 0 2px 2px 0;\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n\n/*# sourceMappingURL=VLocationTreeNode.vue.map */']},media:void 0})},__vue_scope_id__$n="data-v-423223f2",__vue_module_identifier__$n=void 0,__vue_is_functional_template__$n=!1,__vue_component__$l=normalizeComponent({render:__vue_render__$m,staticRenderFns:__vue_staticRenderFns__$m},__vue_inject_styles__$n,__vue_script__$n,__vue_scope_id__$n,__vue_is_functional_template__$n,__vue_module_identifier__$n,!1,createInjector$1,void 0,void 0);var script$n={name:"VLocationTree",components:{VLocationTreeNode:__vue_component__$l},props:{data:{type:Array,required:!0},value:{type:Object,default:()=>{}}},data:()=>({innerValue:[]}),computed:{ids(){return this.value.ids},depth(){return this.value.depth}},methods:{nodeChecked(e){let{id:t,depth:n}=e;this.innerValue.includes(t)?this.innerValue=this.innerValue.filter(e=>e!==t):this.innerValue.push(t),this.$emit("input",{ids:this.innerValue,depth:this.innerValue.length?n:Number.POSITIVE_INFINITY})}},watch:{ids:{deep:!0,immediate:!0,handler(){this.innerValue=[...this.ids]}}}};const __vue_script__$o=script$n;var __vue_render__$n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-tree"},e._l(e.data,(function(t){return n("ul",{staticClass:"v-tree--entry"},[n("v-location-tree-node",{attrs:{node:t,selected:e.ids,lock:e.depth},on:{"node:checked":e.nodeChecked}})],1)})),0)},__vue_staticRenderFns__$n=[];__vue_render__$n._withStripped=!0;const __vue_inject_styles__$o=function(e){e&&e("data-v-1d350bc1_0",{source:".v-tree ul {\n margin: 0 !important;\n list-style-type: none;\n}\n.v-tree--entry {\n padding: 0;\n}\n\n/*# sourceMappingURL=VLocationTree.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VLocationTree/VLocationTree.vue","VLocationTree.vue"],names:[],mappings:"AA2DA;EACA,oBAAA;EACA,qBAAA;AC1DA;AD6DA;EACA,UAAA;AC3DA;;AAEA,4CAA4C",file:"VLocationTree.vue",sourcesContent:['<template>\n <div class="v-tree">\n <ul class="v-tree--entry" v-for="root in data">\n <v-location-tree-node :node="root" :selected="ids" :lock="depth" @node:checked="nodeChecked"></v-location-tree-node>\n </ul>\n </div>\n</template>\n\n<script>\nimport VLocationTreeNode from "vueCustomComponents/VLocationTree/VLocationTreeNode.vue";\nexport default {\n name: \'VLocationTree\',\n components: {VLocationTreeNode},\n props: {\n data: {\n type: Array,\n required: true\n },\n value: {\n type: Object,\n default: () => {}\n }\n },\n data: () => ({\n innerValue: [],\n }),\n computed: {\n ids() {\n return this.value.ids;\n },\n depth() {\n return this.value.depth;\n }\n },\n methods: {\n nodeChecked({ id, depth }) {\n if (this.innerValue.includes(id)) {\n this.innerValue = this.innerValue.filter(item => item !== id);\n } else {\n this.innerValue.push(id);\n }\n\n this.$emit(\'input\', { ids: this.innerValue, depth: this.innerValue.length ? depth : Number.POSITIVE_INFINITY });\n },\n },\n watch: {\n ids: {\n deep: true,\n immediate: true,\n handler() {\n this.innerValue = [ ...this.ids ];\n }\n }\n }\n}\n<\/script>\n\n<style lang="scss">\n.v-tree {\n ul {\n margin: 0 !important;\n list-style-type: none;\n }\n\n &--entry {\n padding: 0;\n }\n}\n</style>',".v-tree ul {\n margin: 0 !important;\n list-style-type: none;\n}\n.v-tree--entry {\n padding: 0;\n}\n\n/*# sourceMappingURL=VLocationTree.vue.map */"]},media:void 0})},__vue_scope_id__$o=void 0,__vue_module_identifier__$o=void 0,__vue_is_functional_template__$o=!1,__vue_component__$m=normalizeComponent({render:__vue_render__$n,staticRenderFns:__vue_staticRenderFns__$n},__vue_inject_styles__$o,__vue_script__$o,__vue_scope_id__$o,__vue_is_functional_template__$o,__vue_module_identifier__$o,!1,createInjector$1,void 0,void 0),RangeEnum$2={ALL:0,SPECIFIC:1,ZONES:2};var script$o={name:"Locations",components:{VLocationTree:__vue_component__$m},props:{value:{type:Object,required:!0}},data:()=>({RangeEnum:RangeEnum$2,range:RangeEnum$2.ALL,locations:{ids:[],depth:Number.POSITIVE_INFINITY}}
110),computed:_objectSpread2(_objectSpread2({},mapGetters$1("locations",["locationsTree"])),{},{isSpecific(){return this.range===RangeEnum$2.SPECIFIC},isComplete(){return!this.isSpecific||0!==this.locations.ids.length},parsedData(){const e=["campusId","buildingId","floorId","roomId"],{depth:t,ids:n}=this.locations,i={locationRange:"any",locationIds:[]};return this.range===RangeEnum$2.SPECIFIC&&(i.locationRange=t===Number.POSITIVE_INFINITY?"any":e[t],i.locationIds=n),i}}),methods:{propagate(){this.$emit("input",{complete:this.isComplete,data:this.parsedData})}},watch:{value:{deep:!0,immediate:!0,handler(){const e=this.value.data;if(JSON.stringify(e)===JSON.stringify(this.parsedData))return;e.locationIds.length>0?this.range=RangeEnum$2.SPECIFIC:this.range=RangeEnum$2.ALL;const t=["campusId","buildingId","floorId","roomId"].indexOf(e.locationRange);this.locations={ids:e.locationIds,depth:-1!==t?t:Number.POSITIVE_INFINITY},this.propagate()}}}};const __vue_script__$p=script$o;var __vue_render__$o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-section"},[e._m(0),e._v(" "),n("div",{staticClass:"policy-section--body"},[e._m(1),e._v(" "),n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.range,expression:"range"}],staticClass:"radio--input",attrs:{id:"locations-all",type:"radio",name:"locations-all"},domProps:{value:e.RangeEnum.ALL,checked:e._q(e.range,e.RangeEnum.ALL)},on:{change:[function(t){e.range=e.RangeEnum.ALL},e.propagate]}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"locations-all"}},[e._v("All locations")])]),e._v(" "),n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.range,expression:"range"}],staticClass:"radio--input",attrs:{id:"locations-specific",type:"radio",name:"locations-specific"},domProps:{value:e.RangeEnum.SPECIFIC,checked:e._q(e.range,e.RangeEnum.SPECIFIC)},on:{change:[function(t){e.range=e.RangeEnum.SPECIFIC},e.propagate]}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"locations-specific"}},[e._v("Specific locations")])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isSpecific,expression:"isSpecific"}],staticClass:"location-card"},[n("v-location-tree",{attrs:{data:e.locationsTree},on:{input:e.propagate},model:{value:e.locations,callback:function(t){e.locations=t},expression:"locations"}})],1),e._v(" "),n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.range,expression:"range"}],staticClass:"radio--input",attrs:{id:"locations-zones",type:"radio",name:"locations-zones",disabled:""},domProps:{value:e.RangeEnum.ZONES,checked:e._q(e.range,e.RangeEnum.ZONES)},on:{change:function(t){e.range=e.RangeEnum.ZONES}}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"locations-zones"}},[e._v("Specific zones")])])])])},__vue_staticRenderFns__$o=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-section--header"},[t("div",{staticClass:"policy-section--header--icon"},[t("img",{attrs:{src:"img/icon/svg/locations.svg",alt:""}})]),this._v(" "),t("h2",{staticClass:"policy-section--header--text"},[this._v("\n Affected Locations\n ")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("h3",{staticClass:"policy-section--body--subtitle"},[this._v("\n Here you can define the areas in which your policy will be evaluated."),t("br"),this._v("\n You can select any location or be more specific and only evaluate certain buildings, floors or rooms.\n ")])}];__vue_render__$o._withStripped=!0;const __vue_inject_styles__$p=function(e){e&&e("data-v-11178f2c_0",{source:".radio--container[data-v-11178f2c] {\n margin-bottom: 1rem;\n}\n.radio--container[data-v-11178f2c]:last-child {\n margin-bottom: 0;\n}\n.location-card[data-v-11178f2c] {\n background-color: white;\n padding: 1rem;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px rgba(18, 24, 69, 0.2);\n width: calc(50% - 2.2rem);\n margin-bottom: 1rem;\n margin-left: 2.2rem;\n}\n\n/*# sourceMappingURL=Locations.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/policy/Locations.vue","Locations.vue"],names:[],mappings:"AA8IA;EACA,mBAAA;AC7IA;AD+IA;EACA,gBAAA;AC7IA;ADiJA;EACA,uBAAA;EACA,aAAA;EACA,kBAAA;EACA,iDAAA;EACA,yBAAA;EACA,mBAAA;EACA,mBAAA;AC9IA;;AAEA,wCAAwC",file:"Locations.vue",sourcesContent:['<template>\n <div class="policy-section">\n <div class="policy-section--header">\n <div class="policy-section--header--icon">\n <img src="img/icon/svg/locations.svg" alt="">\n </div>\n\n <h2 class="policy-section--header--text">\n Affected Locations\n </h2>\n </div>\n <div class="policy-section--body">\n <h3 class="policy-section--body--subtitle">\n Here you can define the areas in which your policy will be evaluated.<br>\n You can select any location or be more specific and only evaluate certain buildings, floors or rooms.\n </h3>\n\n <div class="radio--container">\n <input class="radio--input" id="locations-all" type="radio" name="locations-all"\n :value="RangeEnum.ALL" v-model="range" @change="prop
110agate">\n <label class="radio--label" for="locations-all">All locations</label>\n </div>\n\n <div class="radio--container">\n <input class="radio--input" id="locations-specific" type="radio" name="locations-specific"\n :value="RangeEnum.SPECIFIC" v-model="range" @change="propagate">\n <label class="radio--label" for="locations-specific">Specific locations</label>\n </div>\n\n <div v-show="isSpecific" class="location-card">\n <v-location-tree :data="locationsTree" v-model="locations" @input="propagate"></v-location-tree>\n </div>\n\n <div class="radio--container">\n <input class="radio--input" id="locations-zones" type="radio" name="locations-zones"\n :value="RangeEnum.ZONES" v-model="range" disabled>\n <label class="radio--label" for="locations-zones">Specific zones</label>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { mapGetters } from \'vuex\';\n\nimport VLocationTree from \'vueCustomComponents/VLocationTree/VLocationTree.vue\';\n\nconst RangeEnum = {\n ALL: 0,\n SPECIFIC: 1,\n ZONES: 2\n}\n\nexport default {\n name: \'Locations\',\n components: { VLocationTree },\n props: {\n value: {\n type: Object,\n required: true\n }\n },\n data: () => ({\n RangeEnum,\n range: RangeEnum.ALL,\n locations: {\n ids: [],\n depth: Number.POSITIVE_INFINITY\n },\n }),\n computed: {\n ...mapGetters(\'locations\', [\'locationsTree\']),\n isSpecific() {\n return this.range === RangeEnum.SPECIFIC;\n },\n isComplete() {\n if (this.isSpecific) {\n return this.locations.ids.length !== 0;\n }\n\n return true;\n },\n parsedData() {\n const translators = [\'campusId\', \'buildingId\', \'floorId\', \'roomId\'];\n const { depth, ids } = this.locations;\n\n const data = {\n locationRange: \'any\',\n locationIds: []\n };\n\n if (this.range === RangeEnum.SPECIFIC) {\n data.locationRange = depth === Number.POSITIVE_INFINITY ? \'any\' : translators[depth];\n data.locationIds = ids;\n }\n\n return data;\n }\n },\n methods: {\n propagate() {\n this.$emit(\'input\', {\n complete: this.isComplete,\n data: this.parsedData\n });\n }\n },\n watch: {\n value: {\n deep: true,\n immediate: true,\n handler() {\n const rangeDecoder = [\'campusId\', \'buildingId\', \'floorId\', \'roomId\'];\n const data = this.value.data;\n\n if (JSON.stringify(data) === JSON.stringify(this.parsedData)) {\n return;\n }\n\n if (data.locationIds.length > 0) {\n this.range = RangeEnum.SPECIFIC;\n } else {\n this.range = RangeEnum.ALL;\n }\n\n const range = rangeDecoder.indexOf(data.locationRange);\n\n this.locations = {\n ids: data.locationIds,\n depth: range !== -1 ? range : Number.POSITIVE_INFINITY\n };\n\n this.propagate();\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.radio--container {\n margin-bottom: 1rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n.location-card {\n background-color: white;\n padding: 1rem;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px $color-sapphire-4-opacity-20;\n width: calc(50% - 2.2rem);\n margin-bottom: 1rem;\n margin-left: 2.2rem;\n}\n</style>',".radio--container {\n margin-bottom: 1rem;\n}\n.radio--container:last-child {\n margin-bottom: 0;\n}\n\n.location-card {\n background-color: white;\n padding: 1rem;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px rgba(18, 24, 69, 0.2);\n width: calc(50% - 2.2rem);\n margin-bottom: 1rem;\n margin-left: 2.2rem;\n}\n\n/*# sourceMappingURL=Locations.vue.map */"]},media:void 0})},__vue_scope_id__$p="data-v-11178f2c",__vue_module_identifier__$p=void 0,__vue_is_functional_template__$p=!1,__vue_component__$n=normalizeComponent({render:__vue_render__$o,staticRenderFns:__vue_staticRenderFns__$o},__vue_inject_styles__$p,__vue_script__$p,__vue_scope_id__$p,__vue_is_functional_template__$p,__vue_module_identifier__$p,!1,createInjector$1,void 0,void 0),TimeSelect=[{code:"3600",label:"Hours"},{code:"60",label:"Minutes"},{code:"1",label:"Seconds"}],OperatorSelect=[{code:"equals",label:"Equal"},{code:"greater_than",label:"Above"},{code:"greater_equals_than",label:"Above or equal"},{code:"lower_than",label:"Below"},{code:"lower_equals_than",label:"Below or equal"}],ButtonSelect=[{code:"first_button",label:"Default (Blue)"},{code:"second_button",label:"Second (Red)"}];
110function secondsToUnits(e,t){t=t.map(e=>Number(e.code)).sort((e,t)=>t-e);for(let n of t)if(Number.isInteger(e/n))return{value:e/n,multiplier:n.toString()}}function decodeCodeToLabel(e,t){const n=t.find(t=>t.code===e);return n?n.label:""}var script$p={name:"AirQuality",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{isSummary:{type:Boolean,default:!1},icon:{type:String,default:""},value:{type:Object,required:!0},complete:{type:Boolean,required:!1}},data:()=>({TimeSelect:TimeSelect,OperatorSelect:OperatorSelect,timeMultiplier:"1",timeValue:0,operator:"equals",threshold:25}),computed:{operatorToDisplay(){return decodeCodeToLabel(this.operator,OperatorSelect)},multiplierToDisplay(){return decodeCodeToLabel(this.timeMultiplier,TimeSelect)},isComplete(){return 0!==this.operator.length&&this.threshold>=0},parsedData(){return{operator:this.operator,threshold:this.threshold}}},watch:{isComplete:{immediate:!0,handler(){this.$emit("update:complete",this.isComplete)}},parsedData:{immediate:!0,deep:!0,handler(){this.$emit("input",this.isComplete?this.parsedData:{})}},value:{immediate:!0,deep:!0,handler(){this.value&&(this.value.hasOwnProperty("operator")&&(this.operator=this.value.operator),this.value.hasOwnProperty("threshold")&&(this.threshold=this.value.threshold))}}}};const __vue_script__$q=script$p;var __vue_render__$p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isSummary?n("div",{staticClass:"policy-foundry--summary"},[n("div",{staticClass:"policy-foundry--summary--icon"},[n("img",{attrs:{src:e.icon}})]),e._v(" "),n("div",{staticClass:"policy-foundry--summary--text"},[e._v("\n For this policy to trigger, "),n("b",[e._v("Air quality")]),e._v(" must be "),n("b",[e._v(e._s(e._f("lowercase")(e.operatorToDisplay))+" "+e._s(e.threshold))]),e._v(".\n")])]):n("div",{staticClass:"policy-foundry--configuration"},[n("div",{staticClass:"configuration--row"},[n("div",{staticClass:"configuration--row--entry width--6"},[e._v("\n For the policy to trigger, this condition must be\n ")]),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-select",{attrs:{items:e.OperatorSelect},model:{value:e.operator,callback:function(t){e.operator=t},expression:"operator"}})],1),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-input",{attrs:{type:"number",min:0,max:255},model:{value:e.threshold,callback:function(t){e.threshold=t},expression:"threshold"}})],1)])])])},__vue_staticRenderFns__$p=[];__vue_render__$p._withStripped=!0;const __vue_inject_styles__$q=void 0,__vue_scope_id__$q=void 0,__vue_module_identifier__$q=void 0,__vue_is_functional_template__$q=!1,__vue_component__$o=normalizeComponent({render:__vue_render__$p,staticRenderFns:__vue_staticRenderFns__$p},__vue_inject_styles__$q,__vue_script__$q,__vue_scope_id__$q,__vue_is_functional_template__$q,__vue_module_identifier__$q,!1,void 0,void 0,void 0);var script$q={name:"BatteryLevel",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{isSummary:{type:Boolean,default:!1},icon:{type:String,default:""},value:{type:Object,required:!0},complete:{type:Boolean,required:!1}},data:()=>({TimeSelect:TimeSelect,OperatorSelect:OperatorSelect,timeMultiplier:"1",timeValue:0,operator:"equals",threshold:25}),computed:{operatorToDisplay(){return decodeCodeToLabel(this.operator,OperatorSelect)},multiplierToDisplay(){return decodeCodeToLabel(this.timeMultiplier,TimeSelect)},isComplete(){return 0!==this.operator.length&&this.threshold>=0},parsedData(){return{operator:this.operator,threshold:this.threshold}}},watch:{isComplete:{immediate:!0,handler(){this.$emit("update:complete",this.isComplete)}},parsedData:{immediate:!0,deep:!0,handler(){this.$emit("input",this.isComplete?this.parsedData:{})}},value:{immediate:!0,deep:!0,handler(){this.value&&(this.value.hasOwnProperty("operator")&&(this.operator=this.value.operator),this.value.hasOwnProperty("threshold")&&(this.threshold=this.value.threshold))}}}};const __vue_script__$r=script$q;var __vue_render__$q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isSummary?n("div",{staticClass:"policy-foundry--summary"},[n("div",{staticClass:"policy-foundry--summary--icon"},[n("img",{attrs:{src:e.icon}})]),e._v(" "),n("div",{staticClass:"policy-foundry--summary--text"},[e._v("\n For this policy to trigger, "),n("b",[e._v("Battery level")]),e._v(" must be "),n("b",[e._v(e._s(e._f("lowercase")(e.operatorToDisplay))+" "+e._s(e.threshold)+"%")]),e._v(".\n ")])]):n("div",{staticClass:"policy-foundry--configuration"},[n("div",{staticClass:"configuration--row"},[n("div",{staticClass:"configuration--row--entry width--6"},[e._v("\n For the policy to trigger, this condition must be\n ")]),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-select",{attrs:{items:e.OperatorSelect},model:{value:e.operator,callback:function(t){e.operator=t},expression:"operator"}})],1),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-input",{attrs:{type:"number",suffix:"%",min:0,max:100},model:{value:e.threshold,callback:function(t){e.threshold=t},expression:"threshold"}})],1)])])])},__vue_staticRenderFns__$q=[];__vue_render__$q._withStripped=!0;const __vue_inject_styles__$r=void 0,__vue_scope_id__$r=void 0,__vue_module_identifier__$r=void 0,__vue_is_functional_template__$r=!1,__vue_component__$p=normalizeComponent({render:__vue_render__$q,staticRenderFns:__vue_staticRenderFns__$q},__vue_inject_styles__$r,__vue_script__$r,__vue_scope_id__$r,__vue_is_functional_template__$r,__vue_module_identifier__$r,!1,void 0,void 0,void 0);var script$r={name:"ButtonClick",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{isSummary:{type:Boolean,default:!1},icon:{type:String,default:""},value:{type:Object,required:!0},complete:{type:Boolean,required:!1}},data:()=>({TimeSelect:TimeSelect,timeMultiplier:"1",timeValue:0,ButtonSelect:ButtonSelect,buttonType:"first_button"}),computed:{buttonTypeToDisplay(){return decodeCodeToLabel(this.buttonType,ButtonSelect)},multiplierToDisplay(){return decodeCodeToLabel(this.timeMultiplier,TimeSelect)}
110,isComplete:()=>!0,parsedData(){return{buttonClickType:this.buttonType}}},watch:{isComplete:{immediate:!0,handler(){this.$emit("update:complete",this.isComplete)}},parsedData:{immediate:!0,deep:!0,handler(){this.$emit("input",this.isComplete?this.parsedData:{})}},value:{immediate:!0,deep:!0,handler(){if(this.value&&this.value.hasOwnProperty("buttonClickType")){ButtonSelect.map(e=>e.code).includes(this.value.buttonClickType)?this.buttonType=this.value.buttonClickType:this.buttonType="first_button"}}}}};const __vue_script__$s=script$r;var __vue_render__$r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isSummary?n("div",{staticClass:"policy-foundry--summary"},[n("div",{staticClass:"policy-foundry--summary--icon"},[n("img",{attrs:{src:e.icon}})]),e._v(" "),n("div",{staticClass:"policy-foundry--summary--text"},[e._v("\n For this policy to trigger, "),n("b",[e._v(e._s(e.buttonTypeToDisplay))]),e._v(" must be "),n("b",[e._v("pressed")]),e._v(".\n ")])]):n("div",{staticClass:"policy-foundry--configuration"},[n("div",{staticClass:"configuration--row"},[n("div",{staticClass:"configuration--row--entry width--6"},[e._v("\n For the policy to trigger, following button must be pressed\n ")]),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-select",{attrs:{items:e.ButtonSelect},model:{value:e.buttonType,callback:function(t){e.buttonType=t},expression:"buttonType"}})],1)])])])},__vue_staticRenderFns__$r=[];__vue_render__$r._withStripped=!0;const __vue_inject_styles__$s=void 0,__vue_scope_id__$s=void 0,__vue_module_identifier__$s=void 0,__vue_is_functional_template__$s=!1,__vue_component__$q=normalizeComponent({render:__vue_render__$r,staticRenderFns:__vue_staticRenderFns__$r},__vue_inject_styles__$s,__vue_script__$s,__vue_scope_id__$s,__vue_is_functional_template__$s,__vue_module_identifier__$s,!1,void 0,void 0,void 0);var script$s={name:"EnterRoom",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{isSummary:{type:Boolean,default:!1},icon:{type:String,default:""},value:{type:Object,required:!0},complete:{type:Boolean,required:!1}},data:()=>({TimeSelect:TimeSelect}),computed:{multiplierToDisplay(){return decodeCodeToLabel(this.timeMultiplier,TimeSelect)},isComplete:()=>!0,parsedData:()=>({threshold:0})},watch:{isComplete:{immediate:!0,handler(){this.$emit("update:complete",this.isComplete)}},parsedData:{immediate:!0,deep:!0,handler(){this.$emit("input",this.isComplete?this.parsedData:{})}},value:{immediate:!0,deep:!0,handler(){this.value}}}};const __vue_script__$t=script$s;var __vue_render__$s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[this.isSummary?t("div",{staticClass:"policy-foundry--summary"},[t("div",{staticClass:"policy-foundry--summary--icon"},[t("img",{attrs:{src:this.icon}})]),this._v(" "),this._m(0)]):t("div",{staticClass:"policy-foundry--configuration"},[this._m(1)])])},__vue_staticRenderFns__$s=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-foundry--summary--text"},[this._v("\n For this policy to trigger, "),t("b",[this._v("Location")]),this._v(" must be "),t("b",[this._v("entered")]),this._v(".\n ")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"configuration--row"},[t("div",{staticClass:"configuration--row--entry width--6"},[this._v("\n For the policy to trigger, this location must be entered\n ")])])}];__vue_render__$s._withStripped=!0;const __vue_inject_styles__$t=void 0,__vue_scope_id__$t=void 0,__vue_module_identifier__$t=void 0,__vue_is_functional_template__$t=!1,__vue_component__$r=normalizeComponent({render:__vue_render__$s,staticRenderFns:__vue_staticRenderFns__$s},__vue_inject_styles__$t,__vue_script__$t,__vue_scope_id__$t,__vue_is_functional_template__$t,__vue_module_identifier__$t,!1,void 0,void 0,void 0);var script$t={name:"ExitRoom",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{isSummary:{type:Boolean,default:!1},icon:{type:String,default:""},value:{type:Object,required:!0},complete:{type:Boolean,required:!1}},data:()=>({TimeSelect:TimeSelect}),computed:{multiplierToDisplay(){return decodeCodeToLabel(this.timeMultiplier,TimeSelect)}
110,isComplete:()=>!0,parsedData:()=>({threshold:0})},watch:{isComplete:{immediate:!0,handler(){this.$emit("update:complete",this.isComplete)}},parsedData:{immediate:!0,deep:!0,handler(){this.$emit("input",this.isComplete?this.parsedData:{})}},value:{immediate:!0,deep:!0,handler(){this.value}}}};const __vue_script__$u=script$t;var __vue_render__$t=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[this.isSummary?t("div",{staticClass:"policy-foundry--summary"},[t("div",{staticClass:"policy-foundry--summary--icon"},[t("img",{attrs:{src:this.icon}})]),this._v(" "),this._m(0)]):t("div",{staticClass:"policy-foundry--configuration"},[this._m(1)])])},__vue_staticRenderFns__$t=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-foundry--summary--text"},[this._v("\n For this policy to trigger, "),t("b",[this._v("Location")]),this._v(" must be "),t("b",[this._v("exited")]),this._v(".\n")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"configuration--row"},[t("div",{staticClass:"configuration--row--entry width--6"},[this._v("\n For the policy to trigger, this location must be exited\n ")])])}];__vue_render__$t._withStripped=!0;const __vue_inject_styles__$u=void 0,__vue_scope_id__$u=void 0,__vue_module_identifier__$u=void 0,__vue_is_functional_template__$u=!1,__vue_component__$s=normalizeComponent({render:__vue_render__$t,staticRenderFns:__vue_staticRenderFns__$t},__vue_inject_styles__$u,__vue_script__$u,__vue_scope_id__$u,__vue_is_functional_template__$u,__vue_module_identifier__$u,!1,void 0,void 0,void 0);var script$u={name:"Humidity",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{isSummary:{type:Boolean,default:!1},icon:{type:String,default:""},value:{type:Object,required:!0},complete:{type:Boolean,required:!1}},data:()=>({TimeSelect:TimeSelect,OperatorSelect:OperatorSelect,operator:"equals",threshold:25}),computed:{operatorToDisplay(){return decodeCodeToLabel(this.operator,OperatorSelect)},multiplierToDisplay(){return decodeCodeToLabel(this.timeMultiplier,TimeSelect)},isComplete(){return 0!==this.operator.length&&this.threshold>=0},parsedData(){return{operator:this.operator,threshold:this.threshold}}},watch:{isComplete:{immediate:!0,handler(){this.$emit("update:complete",this.isComplete)}},parsedData:{immediate:!0,deep:!0,handler(){this.$emit("input",this.isComplete?this.parsedData:{})}},value:{immediate:!0,deep:!0,handler(){this.value&&(this.value.hasOwnProperty("operator")&&(this.operator=this.value.operator),this.value.hasOwnProperty("threshold")&&(this.threshold=this.value.threshold))}}}};const __vue_script__$v=script$u;var __vue_render__$u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isSummary?n("div",{staticClass:"policy-foundry--summary"},[n("div",{staticClass:"policy-foundry--summary--icon"},[n("img",{attrs:{src:e.icon}})]),e._v(" "),n("div",{staticClass:"policy-foundry--summary--text"},[e._v("\n For this policy to trigger, "),n("b",[e._v("Humidity")]),e._v(" must be "),n("b",[e._v(e._s(e._f("lowercase")(e.operatorToDisplay))+" "+e._s(e.threshold)+"%")]),e._v(".\n")])]):n("div",{staticClass:"policy-foundry--configuration"},[n("div",{staticClass:"configuration--row"},[n("div",{staticClass:"configuration--row--entry width--6"},[e._v("\n For the policy to trigger, this condition must be\n ")]),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-select",{attrs:{items:e.OperatorSelect},model:{value:e.operator,callback:function(t){e.operator=t},expression:"operator"}})],1),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-input",{attrs:{type:"number",suffix:"%",min:0,max:100},model:{value:e.threshold,callback:function(t){e.threshold=t},expression:"threshold"}})],1)])])])},__vue_staticRenderFns__$u=[];__vue_render__$u._withStripped=!0;const __vue_inject_styles__$v=void 0,__vue_scope_id__$v=void 0,__vue_module_identifier__$v=void 0,__vue_is_functional_template__$v=!1,__vue_component__$t=normalizeComponent({render:__vue_render__$u,staticRenderFns:__vue_staticRenderFns__$u},__vue_inject_styles__$v,__vue_script__$v,__vue_scope_id__$v,__vue_is_functional_template__$v,__vue_module_identifier__$v,!1,void 0,void 0,void 0);var script$v={name:"Occupancy",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{isSummary:{type:Boolean,default:!1},icon:{type:String,default:""},value:{type:Object,required:!0},complete:{type:Boolean,required:!1}},data:()=>({TimeSelect:TimeSelect,OperatorSelect:OperatorSelect,operator:"equals",occupancyLimit:25}),computed:{operatorToDisplay(){return decodeCodeToLabel(this.operator,OperatorSelect)}
110,multiplierToDisplay(){return decodeCodeToLabel(this.timeMultiplier,TimeSelect)},isComplete(){return 0!==this.operator.length&&this.occupancyLimit>=0},parsedData(){return{operator:this.operator,occupancyLimit:this.occupancyLimit}}},watch:{isComplete:{immediate:!0,handler(){this.$emit("update:complete",this.isComplete)}},parsedData:{immediate:!0,deep:!0,handler(){this.$emit("input",this.isComplete?this.parsedData:{})}},value:{immediate:!0,deep:!0,handler(){this.value&&(this.value.hasOwnProperty("operator")&&(this.operator=this.value.operator),this.value.hasOwnProperty("occupancyLimit")&&(this.occupancyLimit=this.value.occupancyLimit))}}}};const __vue_script__$w=script$v;var __vue_render__$v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isSummary?n("div",{staticClass:"policy-foundry--summary"},[n("div",{staticClass:"policy-foundry--summary--icon"},[n("img",{attrs:{src:e.icon}})]),e._v(" "),n("div",{staticClass:"policy-foundry--summary--text"},[e._v("\n For this policy to trigger, "),n("b",[e._v("Room occupancy")]),e._v(" must be "),n("b",[e._v(e._s(e._f("lowercase")(e.operatorToDisplay))+" "+e._s(e.occupancyLimit)+" people")]),e._v(".\n")])]):n("div",{staticClass:"policy-foundry--configuration"},[n("div",{staticClass:"configuration--row"},[n("div",{staticClass:"configuration--row--entry width--6"},[e._v("\n For the policy to trigger, this condition must be\n ")]),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-select",{attrs:{items:e.OperatorSelect},model:{value:e.operator,callback:function(t){e.operator=t},expression:"operator"}})],1),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-input",{attrs:{type:"number",suffix:"people",min:0},model:{value:e.occupancyLimit,callback:function(t){e.occupancyLimit=t},expression:"occupancyLimit"}})],1)])])])},__vue_staticRenderFns__$v=[];__vue_render__$v._withStripped=!0;const __vue_inject_styles__$w=function(e){e&&e("data-v-d5a7ceaa_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"Occupancy.vue"},media:void 0})},__vue_scope_id__$w="data-v-d5a7ceaa",__vue_module_identifier__$w=void 0,__vue_is_functional_template__$w=!1,__vue_component__$u=normalizeComponent({render:__vue_render__$v,staticRenderFns:__vue_staticRenderFns__$v},__vue_inject_styles__$w,__vue_script__$w,__vue_scope_id__$w,__vue_is_functional_template__$w,__vue_module_identifier__$w,!1,createInjector$1,void 0,void 0);var script$w={name:"Temperature",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{isSummary:{type:Boolean,default:!1},icon:{type:String,default:""},value:{type:Object,required:!0},complete:{type:Boolean,required:!1}},data:()=>({TimeSelect:TimeSelect,OperatorSelect:OperatorSelect,operator:"equals",threshold:25}),computed:{operatorToDisplay(){return decodeCodeToLabel(this.operator,OperatorSelect)},multiplierToDisplay(){return decodeCodeToLabel(this.timeMultiplier,TimeSelect)},isComplete(){return 0!==this.operator.length&&this.threshold>=0},parsedData(){return{operator:this.operator,threshold:this.threshold}}},watch:{isComplete:{immediate:!0,handler(){this.$emit("update:complete",this.isComplete)}},parsedData:{immediate:!0,deep:!0,handler(){this.$emit("input",this.isComplete?this.parsedData:{})}},value:{immediate:!0,deep:!0,handler(){this.value&&(this.value.hasOwnProperty("operator")&&(this.operator=this.value.operator),this.value.hasOwnProperty("threshold")&&(this.threshold=this.value.threshold))}}}};const __vue_script__$x=script$w;var __vue_render__$w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isSummary?n("div",{staticClass:"policy-foundry--summary"},[n("div",{staticClass:"policy-foundry--summary--icon"},[n("img",{attrs:{src:e.icon}})]),e._v(" "),n("div",{staticClass:"policy-foundry--summary--text"},[e._v("\n For this policy to trigger, "),n("b",[e._v("Temperature")]),e._v(" must be "),n("b",[e._v(e._s(e._f("lowercase")(e.operatorToDisplay))+" "+e._s(e.threshold)+"°C")]),e._v(".\n")])]):n("div",{staticClass:"policy-foundry--configuration"},[n("div",{staticClass:"configuration--row"},[n("div",{staticClass:"configuration--row--entry width--6"},[e._v("\n For the policy to trigger, this condition must be\n ")]),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-select",{attrs:{items:e.OperatorSelect},model:{value:e.operator,callback:function(t){e.operator=t},expression:"operator"}})],1),e._v(" "),n("div",{staticClass:"configuration--row--entry width--3"},[n("v-input",{attrs:{type:"number",suffix:"°C",min:-40,max:85},model:{value:e.threshold,callback:function(t){e.threshold=t},expression:"threshold"}})],1)])])])},__vue_staticRenderFns__$w=[];__vue_render__$w._withStripped=!0;const __vue_inject_styles__$x=void 0,__vue_scope_id__$x=void 0,__vue_module_identifier__$x=void 0,__vue_is_functional_template__$x=!1,__vue_component__$v=normalizeComponent({render:__vue_render__$w,staticRenderFns:__vue_staticRenderFns__$w},__vue_inject_styles__$x,__vue_script__$x,__vue_scope_id__$x,__vue_is_functional_template__$x,__vue_module_identifier__$x,!1,void 0,void 0,void 0);var Configurations={AirQuality:__vue_component__$o,BatteryLevel:__vue_component__$p,ButtonClick:__vue_component__$q,EnterRoom:__vue_component__$r,ExitRoom:__vue_component__$s,Humidity:__vue_component__$t,Occupancy:__vue_component__$u,Temperature:__vue_component__$v},script$x={name:"VStepIndicator",props:{steps:{type:Number,required:!0},step:{type:Number,required:!0}}};const __vue_script__$y=script$x;var __vue_render__$x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-step-indicator"},e._l(e.steps,(function(t,i){return n("div",{staticClass:"v-step-indicator--dot",class:{active:i<=e.step}})})),0)},__vue_staticRenderFns__$x=[];__vue_render__$x._withStripped=!0;const __vue_inject_styles__$y=function(e){e&&e("data-v-b24ee840_0",{source:".v-step-indicator[data-v-b24ee840] {\n display: flex;\n}\n.v-step-indicator--dot[data-v-b24ee840] {\n width: 0.75rem;\n height: 0.75rem;\n margin-right: 0.5rem;\n border-radius: 50%;\n background-color: #ebeff9;\n}\n.v-step-indicator--dot[data-v-b24ee840]:last-child {\n margin-right: 0;\n}\n.v-step-indicator--dot.active[data-v-b24ee840] {\n background-color: #3e63cc;\n}\n\n/*# sourceMappingURL=VStepIndicator.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VStepIndicator.vue","VStepIndicator.vue"],names:[],mappings:"AAyBA;EACA,aAAA;ACxBA;AD0BA;EACA,cAAA;EACA,eAAA;EACA,oBAAA;EACA,kBAAA;EACA,yBAAA;ACxBA;AD0BA;EACA,eAAA;ACxBA;AD2BA;EACA,yBALA;ACpBA;;AAEA,6CAA6C",file:"VStepIndicator.vue",sourcesContent:['<template>\n <div class="v-step-indicator">\n <div v-for="(item, index) of steps" class="v-step-indicator--dot" :class="{ active: index <= step }"></div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'VStepIndicator\',\n props: {\n steps: {\n type: Number,\n required: true\n },\n step: {\n type: Number,\n required: true\n }\n },\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.v-step-indicator {\n display: flex;\n\n &--dot {\n width: 0.75rem;\n height: 0.75rem;\n margin-right: 0.5rem;\n border-radius: 50%;\n background-color: $color-sapphire-lavender;\n\n &:last-child {\n margin-right: 0;\n }\n\n &.active {\n background-color: $color-sl-secondary;\n }\n }\n}\n</style>',".v-step-indicator {\n display: flex;\n}\n.v-step-indicator--dot {\n width: 0.75rem;\n height: 0.75rem;\n margin-right: 0.5rem;\n border-radius: 50%;\n background-color: #ebeff9;\n}\n.v-step-indicator--dot:last-child {\n margin-right: 0;\n}\n.v-step-indicator--dot.active {\n background-color: #3e63cc;\n}\n\n/*# sourceMappingURL=VStepIndicator.vue.map */"]},media:void 0})},__vue_scope_id__$y="data-v-b24ee840",__vue_module_identifier__$y=void 0,__vue_is_functional_template__$y=!1,__vue_component__$w=normalizeComponent({render:__vue_render__$x,staticRenderFns:__vue_staticRenderFns__$x},__vue_inject_styles__$y,__vue_script__$y,__vue_scope_id__$y,__vue_is_functional_template__$y,__vue_module_identifier__$y,!1,createInjector$1,void 0,void 0),StepsEnum={GROUP:0,CONFIG:1,SUMMARY:2};var script$y={name:"ConditionCreatorModal",components:_objectSpread2
110(_objectSpread2({},Configurations),{},{VSelect:__vue_component__$9,VStepIndicator:__vue_component__$w}),props:{groups:{type:Array,required:!0},conditions:{type:Array,required:!0},data:{}},data:()=>({StepsEnum:StepsEnum,step:0,steps:Object.values(StepsEnum).length,group:null,condition:null,config:{complete:!1,data:{}}}),computed:{isInEditMode(){return this.data},hasCondition(){return null!==this.condition},conditionConfigurationEntry(){return this.hasCondition?this.conditions.find(e=>e.id===this.condition):{icon:null}},configurationComponent(){return this.hasCondition?Configurations[this.conditionConfigurationEntry.component]:null},isStepComplete(){return this.isStepGroup?this.isGroupComplete:this.isConfigComplete},allStepsComplete(){return this.isGroupComplete&&this.isConfigComplete},isStepGroup(){return this.step===StepsEnum.GROUP},isStepConfig(){return this.step===StepsEnum.CONFIG},isStepSummary(){return this.step===StepsEnum.SUMMARY},isGroupComplete(){return null!==this.group},isConfigComplete(){return this.hasCondition&&this.config.complete},lastIndex(){return this.steps-1},isFirstPage(){return this.step<=0},isLastPage(){return this.step>=this.lastIndex},filteredConditions(){return this.conditions.filter(e=>e.group===this.group)}},methods:{back(){this.isFirstPage?this.step=0:this.step--},next(){this.isLastPage?this.step=this.lastIndex:this.step++},finish(){const e=this.conditionConfigurationEntry.config.reduce((e,t)=>(e[t]="",e),{});Object.assign(e,this.config.data),this.$emit("modal:resolve",{action:this.isInEditMode?"edit":"add",payload:{name:this.conditionConfigurationEntry.id,config:e}})},close(){this.$emit("modal:reject")},groupChange(){this.condition=null,this.config={complete:!1,data:{}}},conditionChange(){this.config={complete:!1,data:{}}}},watch:{data:{immediate:!0,deep:!0,handler(){if(this.isInEditMode){const e=this.conditions.find(e=>e.id===this.data.name);this.group=e.group,this.condition=e.id,this.config.complete=!0,this.config.data=_objectSpread2({},this.data.config),this.step=this.steps-1}}}}};const __vue_script__$z=script$y;var __vue_render__$y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pf-modal"},[n("div",{staticClass:"pf-modal--header"},[n("div",{staticClass:"pf-modal--header--close"},[n("button",{staticClass:"button modal-close",on:{click:e.close}},[e._v("â")])]),e._v(" "),n("h2",{staticClass:"pf-modal--header--title"},[e._v("\n Condition creator\n ")]),e._v(" "),n("div",{staticClass:"pf-modal--header--appendix"},[n("v-step-indicator",{attrs:{steps:e.steps,step:e.step}})],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isStepGroup,expression:"isStepGroup"}],staticClass:"pf-modal--body"},[n("h3",{staticClass:"pf-modal--body--title"},[e._v("\n Select category\n ")]),e._v(" "),e._l(e.groups,(function(t){return n("div",{staticClass:"radio--container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.group,expression:"group"}],staticClass:"radio--input",attrs:{id:"radio--"+t.id,type:"radio",name:"radio--"+t.id},domProps:{value:t.id,checked:e._q(e.group,t.id)},on:{change:[function(n){e.group=t.id},e.groupChange]}}),e._v(" "),n("label",{staticClass:"radio--label",attrs:{for:"radio--"+t.id}},[e._v(e._s(t.text))])])}))],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isStepConfig,expression:"isStepConfig"}],staticClass:"pf-modal--body"},[n("h3",{staticClass:"pf-modal--body--title"},[e._v("\n Select condition\n ")]),e._v(" "),n("v-select",{staticStyle:{width:"50%","margin-bottom":"1rem"},attrs:{items:e.filteredConditions,placeholder:"Select a condition",code:"id",label:"name"},on:{change:e.conditionChange},model:{value:e.condition,callback:function(t){e.condition=t},expression:"condition"}}),e._v(" "),n("h3",{directives:[{name:"show",rawName:"v-show",value:e.hasCondition,expression:"hasCondition"}],staticClass:"pf-modal--body--title"},[e._v("\n Configure condition\n ")]),e._v(" "),n(e.configurationComponent,{tag:"component",attrs:{complete:e.config.complete},on:{"update:complete":function(t){return e.$set(e.config,"complete",t)}},model:{value:e.config.data,callback:function(t){e.$set(e.config,"data",t)},expression:"config.data"}})],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isStepSummary,expression:"isStepSummary"}],staticClass:"pf-modal--body"},[n("h3",{staticClass:"pf-modal--body--title"},[e._v("\n Summary\n ")]),e._v(" "),n("h4",{staticClass:"pf-modal--body--subtitle"},[e._v("\n The condition below must be met in order to trigger this policy. You can use BACK button to make changes.\n ")]),e._v(" "),n(e.configurationComponent,{tag:"component",attrs:{value:e.config.data,"is-summary":!0,icon:e.conditionConfigurationEntry.icon}})],1),e._v(" "),n("div",{staticClass:"pf-modal--footer"},[n("button",{staticClass:"button cancel-new",on:{click:e.close}},[e._v("Cancel")]),e._v(" "),n("button",{staticClass:"button action",attrs:{disabled:e.isFirstPage},on:{click:e.back}},[e._v("Back")]),e._v(" "),e.isLastPage?n("button",{staticClass:"button finish",attrs:{disabled:!e.allStepsComplete},on:{click:e.finish}},[e._v("Finish")]):n("button",{staticClass:"button action",attrs:{disabled:!e.isStepComplete},on:{click:e.next}},[e._v("Next")])])])},__vue_staticRenderFns__$y=[];__vue_render__$y._withStripped=!0;const __vue_inject_styles__$z=function(e){e&&e("data-v-c837b4ea_0",{source:".radio--container[data-v-c837b4ea] {\n margin-bottom: 1rem;\n}\n.radio--container[data-v-c837b4ea]:last-child {\n margin-bottom: 0;\n}\n\n/*# sourceMappingURL=ConditionCreatorModal.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/modals/ConditionCreatorModal.vue","ConditionCreatorModal.vue"],names:[],mappings:"AAmOA;EACA,mBAAA;AClOA;ADoOA;EACA,gBAAA;AClOA;;AAEA,oDAAoD",file:"ConditionCreatorModal.vue",sourcesContent:['<template>\n <div class="pf-modal">\n <div class="pf-modal--header">\n <div class="pf-modal--header--close">\n <button class="button modal-close" @click="close">✖</button>\n </div>\n <h2 class="pf-modal--header--title">\n Condition creator\n </h2>\n <div class="pf-modal--header--appendix">\n <v-step-indicator :steps="steps" :step="step"></v-step-indicator>\n </div>\n </div>\n\n <div v-show="isStepGroup" class="pf-modal--body">\n <h3 class="pf-modal--body--title">\n Select category\n </h3>\n\n <div class="radio--container" v-for="item of groups">\n <input class="radio--input" :id="`radio--${item.id}`" type="radio" :name="`radio--${item.id}`"\n :value="item.id" v-model="group" @change="groupChange">\n <label class="radio--label" :for="`radio--${item.id}`">{{ item.text }}</label>\n </div>\n </div>\n\n <div v-show="isStepConfig" class="pf-modal--body">\n <h3 class="pf-modal--body--title">\n Select condition\n </h3>\n\n <v-select :items="filteredConditions" v-model="condition" placeholder="Select a condition" style="width: 50%; margin-bottom: 1rem;"\n code="id" label="name" @change="conditionChange"></v-select>\n\n <h3 v-show="hasCondition" class="pf-modal--body--title">\n Configure condition\n </h3>\n\n <component :is="configurationComponent" v-model="config.data" :complete.sync="config.complete"></component>\n </div>\n\n <div v-show="isStepSummary" class="pf-modal--body">\n <h3 class="pf-modal--body--title">\n Summary\n </h3>\n\n <h4 class="pf-modal--body--subtitle">\n The condition below must be met in order to trigger this policy. You can use BACK button to make changes.\n </h4>\n\n <component :is="configurationComponent" :value="config.data" :is-summary="true" :icon="conditionConfigurationEntry.icon"></component>\n </div>\n\n <div class="pf-modal--footer">\n <button class="button cancel-new" @click="close">Cancel</button>\n <button class="button action" @click="back" :disabled="isFirstPage">Back</button>\n <button v-if="!isLastPage" class="button action" @click="next" :disabled="!isStepComplete">Next</button>\n <button v-else class="button finish" @click="finish" :disabled="!allStepsComplete">Finish</button>\n </div>\n </div>\n</template>\n\n<script>\nimport Configurations from \'policyFoundry/logic/newComponents/policy/configurations\';\n\nimport VSelect from \'vueCustomComponents/VSelect.vue\';\nimport VStepIndicator from \'vueCustomComponents/VStepIndicator.vue\';\n\nconst StepsEnum = {\n GROUP: 0,\n CONFIG: 1,\n SUMMARY: 2\n}\n\nexport default {\n name: \'ConditionCreatorModal\',\n components: { ...Configurations, VSelect, VStepIndicator },\n props: {\n groups: {\n type: Array,\n required: true\n },\n conditions: {\n type: Array,\n required: true\n },\n data: {}\n },\n data: () => ({\n StepsEnum,\n\n step: 0,\n steps: Object.values(StepsEnum).length,\n\n group: null,\n condition: null,\n config: {\
110n complete: false,\n data: {}\n }\n }),\n computed: {\n isInEditMode() {\n return this.data;\n },\n hasCondition() {\n return this.condition !== null;\n },\n conditionConfigurationEntry() {\n if (!this.hasCondition) {\n return { icon: null };\n }\n\n return this.conditions.find(item => item.id === this.condition);\n },\n configurationComponent() {\n if (!this.hasCondition) {\n return null;\n }\n\n return Configurations[this.conditionConfigurationEntry.component];\n },\n isStepComplete() {\n if (this.isStepGroup) {\n return this.isGroupComplete;\n }\n\n return this.isConfigComplete;\n },\n allStepsComplete() {\n return this.isGroupComplete && this.isConfigComplete;\n },\n isStepGroup() {\n return this.step === StepsEnum.GROUP;\n },\n isStepConfig() {\n return this.step === StepsEnum.CONFIG;\n },\n isStepSummary() {\n return this.step === StepsEnum.SUMMARY;\n },\n isGroupComplete() {\n return this.group !== null;\n },\n isConfigComplete() {\n return this.hasCondition && this.config.complete;\n },\n lastIndex() {\n return this.steps - 1;\n },\n isFirstPage() {\n return this.step <= 0;\n },\n isLastPage() {\n return this.step >= this.lastIndex;\n },\n filteredConditions() {\n return this.conditions.filter(item => item.group === this.group)\n },\n },\n methods: {\n back() {\n if (this.isFirstPage) {\n this.step = 0;\n return;\n }\n\n this.step--;\n },\n next() {\n if (this.isLastPage) {\n this.step = this.lastIndex;\n return;\n }\n\n this.step++;\n },\n finish() {\n const data = this.conditionConfigurationEntry.config.reduce((obj, key) => {\n obj[key] = \'\';\n return obj;\n }, {});\n\n Object.assign(data, this.config.data);\n\n this.$emit(\'modal:resolve\', {\n action: this.isInEditMode ? \'edit\' : \'add\',\n payload: {\n name: this.conditionConfigurationEntry.id,\n config: data\n }\n });\n },\n close() {\n this.$emit(\'modal:reject\');\n },\n groupChange() {\n this.condition = null;\n this.config = { complete: false, data: {} };\n },\n conditionChange() {\n this.config = { complete: false, data: {} };\n }\n },\n watch: {\n data: {\n immediate: true,\n deep: true,\n handler() {\n if (this.isInEditMode) {\n const condition = this.conditions.find(item => item.id === this.data.name);\n\n this.group = condition.group;\n this.condition = condition.id;\n\n this.config.complete = true;\n this.config.data = { ...this.data.config };\n\n this.step = this.steps - 1;\n }\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n.radio--container {\n margin-bottom: 1rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n</style>',".radio--container {\n margin-bottom: 1rem;\n}\n.radio--container:last-child {\n margin-bottom: 0;\n}\n\n/*# sourceMappingURL=ConditionCreatorModal.vue.map */"]},media:void 0})},__vue_scope_id__$z="data-v-c837b4ea",__vue_module_identifier__$z=void 0,__vue_is_functional_template__$z=!1,__vue_component__$x=normalizeComponent({render:__vue_render__$y,staticRenderFns:__vue_staticRenderFns__$y},__vue_inject_styles__$z,__vue_script__$z,__vue_scope_id__$z,__vue_is_functional_template__$z,__vue_module_identifier__$z,!1,createInjector$1,void 0,void 0),OperatorEnum={AND:"and",OR:"or",SEQUENTIAL:""};var script$z={name:"Conditions",components:_objectSpread2({ConditionCreatorModal:__vue_component__$x},Configurations),props:{value:{type:Object,required:!0}},data:()=>({OperatorEnum:OperatorEnum,operator:OperatorEnum.AND,createdConditions:[]}),computed:_objectSpread2(_objectSpread2(_objectSpread2({},mapState$1("conditions",["groups"])),mapGetters$1("conditions",["conditions"])),{},{isAnyConditions(){return 0!==this.createdConditions.length},parsedCreatedConditions(){return this.createdConditions.map(e=>({config:this.conditions.find(t=>
110t.id===e.name),data:e}))},parsedData(){return{operator:this.operator,conditionGroups:this.createdConditions}}}),methods:{propagate(){this.$emit("input",{complete:this.isAnyConditions,data:this.parsedData})},async openConditionCreatorModal(e){const t=this.createdConditions[e];try{const n=await this.$modal.open(__vue_component__$x,{groups:this.groups,conditions:this.conditions,data:t||null},{width:"60%"});"add"===n.action?this.createdConditions.push(_objectSpread2({conditionType:"system"},n.payload)):this.$set(this.createdConditions,e,_objectSpread2({conditionType:"system"},n.payload)),this.propagate()}catch(e){}},deleteCondition(e){this.createdConditions.splice(e,1),this.propagate()},getComponent:e=>Configurations[e]},watch:{value:{deep:!0,immediate:!0,handler(){const e=this.value.data;JSON.stringify(e)!==JSON.stringify(this.parsedData)&&(this.createdConditions=e.conditionGroups,this.propagate())}}}};const __vue_script__$A=script$z;var __vue_render__$z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-section"},[e._m(0),e._v(" "),n("div",{staticClass:"policy-section--body"},[e._l(e.parsedCreatedConditions,(function(t,i){return n("div",{staticClass:"condition-entry",on:{click:function(t){return e.openConditionCreatorModal(i)}}},[n("div",{staticClass:"button-delete",on:{click:function(t){return t.stopPropagation(),e.deleteCondition(i)}}},[n("img",{attrs:{src:"img/icon/svg/delete.svg"}})]),e._v(" "),n(e.getComponent(t.config.component),{tag:"component",attrs:{"is-summary":!0,icon:t.config.icon,value:t.data.config}})],1)})),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isAnyConditions,expression:"isAnyConditions"}],staticClass:"policy-section--body--subscript"},[e._v("\n Click to edit\n ")]),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!e.isAnyConditions,expression:"!isAnyConditions"}],staticClass:"button action",on:{click:e.openConditionCreatorModal}},[e._v("\n Add condition\n ")])],2)])},__vue_staticRenderFns__$z=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-section--header"},[t("div",{staticClass:"policy-section--header--icon"},[t("img",{attrs:{src:"img/icon/svg/cond.svg",alt:""}})]),this._v(" "),t("h2",{staticClass:"policy-section--header--text"},[this._v("\n Conditions\n ")])])}];__vue_render__$z._withStripped=!0;const __vue_inject_styles__$A=function(e){e&&e("data-v-a837142c_0",{source:".condition-entry[data-v-a837142c] {\n position: relative;\n width: 66%;\n margin-bottom: 1rem;\n cursor: pointer;\n}\n.condition-entry .button-delete[data-v-a837142c] {\n position: absolute;\n right: 0;\n top: 0;\n width: 2rem;\n height: 2rem;\n background-color: #fff;\n border-radius: 50%;\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px rgba(18, 24, 69, 0.2);\n cursor: pointer;\n display: flex;\n justify-content: center;\n}\n.condition-entry .button-delete[data-v-a837142c]:hover {\n background-color: #d9e0f3;\n}\n.condition-entry .button-delete img[data-v-a837142c] {\n width: 1.5rem;\n}\n\n/*# sourceMappingURL=Conditions.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/policy/Conditions.vue","Conditions.vue"],names:[],mappings:"AAoIA;EACA,kBAAA;EACA,UAAA;EACA,mBAAA;EAEA,eAAA;ACpIA;ADsIA;EACA,kBAAA;EACA,QAAA;EACA,MAAA;EAEA,WAAA;EACA,YAAA;EACA,sBAAA;EACA,kBAAA;EAEA,+BAAA;EACA,iDAAA;EACA,eAAA;EAEA,aAAA;EACA,uBAAA;ACvIA;ADyIA;EACA,yBAAA;ACvIA;AD0IA;EACA,aAAA;ACxIA;;AAEA,yCAAyC",file:"Conditions.vue",sourcesContent:['<template>\n <div class="policy-section">\n <div class="policy-section--header">\n <div class="policy-section--header--icon">\n <img src="img/icon/svg/cond.svg" alt="">\n </div>\n\n <h2 class="policy-section--header--text">\n Conditions\n </h2>\n </div>\n <div class="policy-section--body">\n <div class="condition-entry" v-for="(condition, index) in parsedCreatedConditions" @click="openConditionCreatorModal(index)">\n <div class="button-delete" @click.stop="deleteCondition(index)">\n <img src="img/icon/svg/delete.svg">\n </div>\n\n <component :is="getComponent(condition.config.component)" :is-summary="true"\n :icon="condition.config.icon" :value="condition.data.config"></component>\n </div>\n\n <div v-show="isAnyConditions" class="policy-section--body--subscript">\n Click to edit\n </div>\n\n <button v-show="!isAnyConditions" class="button action" @click="openConditionCreatorModal">\n Add condition\n </button>\n </div>\n </div>\n</template>\n\n<script>\nimport { mapState, mapGetters } from \'vuex\';\n\nimport Configurations from \'policyFoundry/logic/newComponents/policy/configurations\';\nimport ConditionCreatorModal from \'policyFoundry/logic/newComponents/modals/ConditionCreatorModal.vue\';\n\nconst OperatorEnum = {\n AND: \'and\',\n OR: \'or\',\n SEQUENTIAL: \'\'\n}\n\nexport default {\n name: \'Conditions\',\n components: { ConditionCreatorModal, ...Configurations },\n props: {\n value: {\n type: Object,\n required: true\n }\n },\n data: () => ({\n OperatorEnum,\n\n operator: OperatorEnum.AND,\n createdConditions: [],\n }),\n computed: {\n ...mapState(\'conditions\', [\'groups\']),\n ...mapGetters(\'conditions\', [\'conditions\']),\n isAnyConditions() {\n return this.createdConditions.length !== 0;\n },\n parsedCreatedConditions() {\n return this.createdConditions.map(data => {\n const config = this.conditions.find(condition => condition.id === data.name);\n return { config: config, data: data }\n })\n }
110,\n parsedData() {\n return {\n operator: this.operator,\n conditionGroups: this.createdConditions\n }\n }\n },\n methods: {\n propagate() {\n this.$emit(\'input\', {\n complete: this.isAnyConditions,\n data: this.parsedData\n });\n },\n async openConditionCreatorModal(index) {\n const condition = this.createdConditions[index];\n\n try {\n const result = await this.$modal.open(ConditionCreatorModal, { groups: this.groups, conditions: this.conditions, data: condition ? condition : null }, { width: \'60%\' });\n\n if (result.action === \'add\') {\n this.createdConditions.push({ conditionType: \'system\', ...result.payload });\n } else {\n this.$set(this.createdConditions, index, { conditionType: \'system\', ...result.payload });\n }\n\n this.propagate();\n } catch(ex) {}\n },\n deleteCondition(index) {\n this.createdConditions.splice(index, 1);\n\n this.propagate();\n },\n getComponent(name) {\n return Configurations[name];\n }\n },\n watch: {\n value: {\n deep: true,\n immediate: true,\n handler() {\n const data = this.value.data;\n\n if (JSON.stringify(data) === JSON.stringify(this.parsedData)) {\n return;\n }\n\n this.createdConditions = data.conditionGroups;\n\n this.propagate();\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.condition-entry {\n position: relative;\n width: 66%;\n margin-bottom: 1rem;\n\n cursor: pointer;\n\n .button-delete {\n position: absolute;\n right: 0;\n top: 0;\n\n width: 2rem;\n height: 2rem;\n background-color: $color-white;\n border-radius: 50%;\n\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px $color-sapphire-4-opacity-20;\n cursor: pointer;\n \n display: flex;\n justify-content: center;\n \n &:hover {\n background-color: $color-sapphire-lavender-accent;\n }\n \n img {\n width: 1.5rem;\n }\n }\n}\n</style>',".condition-entry {\n position: relative;\n width: 66%;\n margin-bottom: 1rem;\n cursor: pointer;\n}\n.condition-entry .button-delete {\n position: absolute;\n right: 0;\n top: 0;\n width: 2rem;\n height: 2rem;\n background-color: #fff;\n border-radius: 50%;\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px rgba(18, 24, 69, 0.2);\n cursor: pointer;\n display: flex;\n justify-content: center;\n}\n.condition-entry .button-delete:hover {\n background-color: #d9e0f3;\n}\n.condition-entry .button-delete img {\n width: 1.5rem;\n}\n\n/*# sourceMappingURL=Conditions.vue.map */"]},media:void 0})},__vue_scope_id__$A="data-v-a837142c",__vue_module_identifier__$A=void 0,__vue_is_functional_template__$A=!1,__vue_component__$y=normalizeComponent({render:__vue_render__$z,staticRenderFns:__vue_staticRenderFns__$z},__vue_inject_styles__$A,__vue_script__$A,__vue_scope_id__$A,__vue_is_functional_template__$A,__vue_module_identifier__$A,!1,createInjector$1,void 0,void 0);var script$A={name:"ActionSelectModal",components:{VSelect:__vue_component__$9},props:{actions:{type:Array,required:!0}},data:()=>({action:null}),computed:{hasAction(){return null!==this.action},parsedActions(){const e={email:"icon-mails.svg",sms:"icon-sms.svg",kinesis:"icon-stream
110s.svg",eventHub:"icon-streams.svg"};return this.actions.filter(e=>"active"===e.status).map(t=>({code:t.id,icon:"".concat("img/icon/svg/").concat(e[t.channel.type]),label:t.name}))}},methods:{close(){this.$emit("modal:reject")},save(){const e=this.actions.find(e=>e.id===this.action);this.$emit("modal:resolve",{actionName:{eventHub:"firehose",kinesis:"firehose",sms:"sms",email:"email"}[e.channel.type],configurationId:this.action})}}};const __vue_script__$B=script$A;var __vue_render__$A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pf-modal"},[n("div",{staticClass:"pf-modal--header"},[n("div",{staticClass:"pf-modal--header--close"},[n("button",{staticClass:"button modal-close",on:{click:e.close}},[e._v("â")])])]),e._v(" "),n("div",{staticClass:"pf-modal--body"},[n("h3",{staticClass:"pf-modal--body--title"},[e._v("\n Action\n ")]),e._v(" "),e._m(0),e._v(" "),n("v-select",{staticStyle:{width:"50%"},attrs:{items:e.parsedActions,placeholder:"Choose an action"},model:{value:e.action,callback:function(t){e.action=t},expression:"action"}})],1),e._v(" "),n("div",{staticClass:"pf-modal--footer"},[n("button",{staticClass:"button cancel-new",on:{click:e.close}},[e._v("Cancel")]),e._v(" "),n("button",{staticClass:"button",attrs:{disabled:!e.hasAction},on:{click:e.save}},[e._v("Select")])])])},__vue_staticRenderFns__$A=[function(){var e=this.$createElement,t=this._self._c||e;return t("h4",{staticClass:"pf-modal--body--subtitle"},[this._v("\n What should happen when the policy triggers? You may select from action templates you previously prepared."),t("br")])}];__vue_render__$A._withStripped=!0;const __vue_inject_styles__$B=void 0,__vue_scope_id__$B=void 0,__vue_module_identifier__$B=void 0,__vue_is_functional_template__$B=!1,__vue_component__$z=normalizeComponent({render:__vue_render__$A,staticRenderFns:__vue_staticRenderFns__$A},__vue_inject_styles__$B,__vue_script__$B,__vue_scope_id__$B,__vue_is_functional_template__$B,__vue_module_identifier__$B,!1,void 0,void 0,void 0);var script$B={name:"Actions",components:{ActionSelectModal:__vue_component__$z},props:{value:{type:Object,required:!0}},data:()=>({selected:{configurationId:"",actionName:""}}),computed:_objectSpread2(_objectSpread2({},mapGetters$1("actions",["actions"])),{},{isComplete(){return this.selected.configurationId&&this.selected.actionName},actionIcon(){if(0===this.selected.actionName.length)return"";return"".concat("img/icon/svg/").concat({email:"icon-mails.svg",sms:"icon-sms.svg",firehose:"icon-stream
110s.svg"}[this.selected.actionName])},actionText(){if(0===this.selected.configurationId.length)return"";const e=this.actions.find(e=>e.id===this.selected.configurationId);return{type:{email:"e-mail",sms:"text message",firehose:"firehose notification"}[this.selected.actionName],name:e.name}}}),methods:{propagate(){this.$emit("input",{complete:this.isComplete,data:this.selected})},async openActionSelectModal(){try{this.selected=await this.$modal.open(__vue_component__$z,{actions:this.actions},{width:"60%"}),this.propagate()}catch(e){}},deleteAction(){this.selected.configurationId="",this.selected.actionName="",this.propagate()}},watch:{value:{deep:!0,immediate:!0,handler(){const e=this.value.data;JSON.stringify(e)!==JSON.stringify(this.selected)&&(this.selected=e,this.propagate())}}}};const __vue_script__$C=script$B;var __vue_render__$B=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-section"},[e._m(0),e._v(" "),n("div",{staticClass:"policy-section--body"},[e._m(1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isComplete,expression:"isComplete"}],staticClass:"action-entry"},[n("div",{staticClass:"action-entry--icon"},[n("img",{attrs:{src:e.actionIcon}})]),e._v(" "),n("div",{staticClass:"action-entry--text"},[n("b",[e._v("Send "+e._s(e.actionText.type))]),e._v(" with "),n("b",[e._v(e._s(e.actionText.name))]),e._v(" configuration.\n ")]),e._v(" "),n("div",{staticClass:"action-entry--button",on:{click:function(t){return t.stopPropagation(),e.deleteAction()}}},[n("img",{attrs:{src:"img/icon/svg/delete.svg"}})])]),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!e.isComplete,expression:"!isComplete"}],staticClass:"button action",on:{click:e.openActionSelectModal}},[e._v("\n Add action\n ")])])])},__vue_staticRenderFns__$B=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-section--header"},[t("div",{staticClass:"policy-section--header--icon"},[t("img",{attrs:{src:"img/icon/svg/actions.svg",alt:""}})]),this._v(" "),t("h2",{staticClass:"policy-section--header--text"},[this._v("\n Actions\n ")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("h3",{staticClass:"policy-section--body--subtitle"},[this._v("\n When Policy executes we need to know what actions we should perform."),t("br"),this._v("\n So here your task is to select the proper response to Policy trigger.\n ")])}];__vue_render__$B._withStripped=!0;const __vue_inject_styles__$C=function(e){e&&e("data-v-38ada0a1_0",{source:".action-entry[data-v-38ada0a1] {\n position: relative;\n width: 66%;\n display: flex;\n align-items: center;\n background-color: #3e63cc;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n padding: 0.5rem 1rem;\n}\n.action-entry--icon[data-v-38ada0a1] {\n width: 3rem;\n display: flex;\n}\n.action-entry--icon img[data-v-38ada0a1] {\n max-width: 2.5rem;\n height: 3rem;\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n}\n.action-entry--text[data-v-38ada0a1] {\n flex: 1 1 auto;\n color: #fff;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n}\n.action-entry--text b[data-v-38ada0a1] {\n font-weight: 500 !important;\n}\n.action-entry--button[data-v-38ada0a1] {\n position: absolute;\n right: 0;\n top: 0;\n width: 2rem;\n height: 2rem;\n background-color: #fff;\n border-radius: 50%;\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px rgba(18, 24, 69, 0.2);\n cursor: pointer;\n display: flex;\n justify-content: center;\n}\n.action-entry--button[data-v-38ada0a1]:hover {\n background-color: #d9e0f3;\n}\n.action-entry--button img[data-v-38ada0a1] {\n width: 1.5rem;\n}\n\n/*# sourceMappingURL=Actions.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/policy/Actions.vue","Actions.vue"],names:[],mappings:"AA2IA;EACA,kBAAA;EACA,UAAA;EAEA,aAAA;EACA,mBAAA;EAEA,yBAAA;EACA,kBAAA;EACA,kDAAA;EACA,oBAAA;AC5IA;AD8IA;EACA,WAAA;EACA,aAAA;AC5IA;AD8IA;EACA,iBAAA;EACA,YAAA;EACA,4GAAA;AC5IA;ADgJA;EACA,cAAA;EAEA,WAAA;EACA,mBAAA;EACA,iBAAA;EACA,gBAAA;EACA,mBAAA;AC/IA;ADiJA;EACA,2BAAA;AC/IA;ADmJA;EACA,kBAAA;EACA,QAAA;EACA,MAAA;EAEA,WAAA;EACA,YAAA;EACA,sBAAA;EACA,kBAAA;EAEA,+BAAA;EACA,iDAAA;EACA,eAAA;EAEA,aAAA;EACA,uBAAA;ACpJA;ADsJA;
110EACA,yBAAA;ACpJA;ADuJA;EACA,aAAA;ACrJA;;AAEA,sCAAsC",file:"Actions.vue",sourcesContent:["<template>\n <div class=\"policy-section\">\n <div class=\"policy-section--header\">\n <div class=\"policy-section--header--icon\">\n <img src=\"img/icon/svg/actions.svg\" alt=\"\">\n </div>\n\n <h2 class=\"policy-section--header--text\">\n Actions\n </h2>\n </div>\n <div class=\"policy-section--body\">\n <h3 class=\"policy-section--body--subtitle\">\n When Policy executes we need to know what actions we should perform.<br>\n So here your task is to select the proper response to Policy trigger.\n </h3>\n\n <div v-show=\"isComplete\" class=\"action-entry\">\n <div class=\"action-entry--icon\">\n <img :src=\"actionIcon\">\n </div>\n <div class=\"action-entry--text\">\n <b>Send {{ actionText.type }}</b> with <b>{{ actionText.name }}</b> configuration.\n </div>\n <div class=\"action-entry--button\" @click.stop=\"deleteAction()\">\n <img src=\"img/icon/svg/delete.svg\">\n </div>\n </div>\n\n <button v-show=\"!isComplete\" class=\"button action\" @click=\"openActionSelectModal\">\n Add action\n </button>\n </div>\n </div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex';\n\nimport ActionSelectModal from 'policyFoundry/logic/newComponents/modals/ActionSelectModal.vue';\n\nexport default {\n name: 'Actions',\n components: { ActionSelectModal },\n props: {\n value: {\n type: Object,\n required: true\n }\n },\n data: () => ({\n selected: {\n configurationId: '',\n actionName: ''\n }\n }),\n computed: {\n ...mapGetters('actions', ['actions']),\n isComplete() {\n return this.selected.configurationId && this.selected.actionName;\n },\n actionIcon() {\n if (this.selected.actionName.length === 0) {\n return '';\n }\n\n const iconBase = 'img/icon/svg/';\n\n const iconPaths = {\n email: 'icon-mails.svg',\n sms: 'icon-sms.svg',\n firehose: 'icon-streams.svg'\n }\n\n return `${iconBase}${iconPaths[this.selected.actionName]}`;\n },\n actionText() {\n if (this.selected.configurationId.length === 0) {\n return '';\n }\n\n const typeToName = {\n email: 'e-mail',\n sms: 'text message',\n firehose: 'firehose notification'\n }\n\n const action = this.actions.find(item => item.id === this.selected.configurationId);\n\n return {\n type: typeToName[this.selected.actionName],\n name: action.name\n }\n }\n },\n methods: {\n propagate() {\n this.$emit('input', {\n complete: this.isComplete,\n data: this.selected\n });\n },\n async openActionSelectModal() {\n try {\n this.selected = await this.$modal.open(ActionSelectModal, { actions: this.actions }, { width: '60%' });\n\n this.propagate();\n } catch(ex) {}\n },\n deleteAction() {\n this.selected.configurationId = '';\n this.selected.actionName = '';\n\n this.propagate();\n }\n },\n watch: {\n value: {\n deep: true,\n immediate: true,\n handler() {\n const data = this.value.data;\n\n if (JSON.stringify(data) === JSON.stringify(this.selected)) {\n return;\n }\n\n this.selected = data;\n\n this.propagate();\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang=\"scss\">\n@import 'src/scss/global/brand-colors';\n\n.action-entry {\n position: relative;\n width: 66%;\n\n display: flex;\n align-items: center;\n\n background-color: $color-sl-secondary;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px $color-sl-secondary-opacity-10;\n padding: 0.5rem 1rem;\n\n &--icon {\n width: 3rem;\n display: flex;\n\n img {\n max-width: 2.5rem;\n height: 3rem;\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n }\n }\n\n &--text {\n flex: 1 1 auto;\n\n color: $color-white;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n\n b {\n font-weight: 500 !important;\n }\n }\n\n &--button {\n position: absolute;\n right: 0;\n top: 0;\n\n width: 2rem;\n height: 2rem;\n background-color: $color-white;\n border-radius: 50%;\n\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px $color-sapphire-4-opacity-20;\n cursor: pointer;\n\n display: flex;\n justify-content: center;\n\n &:hover {\n background-color: $color-sapphire-lavender-accent;\n }\n\n img {\n width: 1.5rem;\n }\n }\n}\n</style>",".action-entry {\n position: relative;\n width: 66%;\n display: flex;\n align-items: center;\n background-color: #3e63cc;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n padding: 0.5rem 1rem;\n}\n.action-entry--icon {\n width: 3rem;\n display: flex;\n}
110\n.action-entry--icon img {\n max-width: 2.5rem;\n height: 3rem;\n filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(14deg) brightness(110%) contrast(102%);\n}\n.action-entry--text {\n flex: 1 1 auto;\n color: #fff;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n}\n.action-entry--text b {\n font-weight: 500 !important;\n}\n.action-entry--button {\n position: absolute;\n right: 0;\n top: 0;\n width: 2rem;\n height: 2rem;\n background-color: #fff;\n border-radius: 50%;\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px rgba(18, 24, 69, 0.2);\n cursor: pointer;\n display: flex;\n justify-content: center;\n}\n.action-entry--button:hover {\n background-color: #d9e0f3;\n}\n.action-entry--button img {\n width: 1.5rem;\n}\n\n/*# sourceMappingURL=Actions.vue.map */"]},media:void 0})},__vue_scope_id__$C="data-v-38ada0a1",__vue_module_identifier__$C=void 0,__vue_is_functional_template__$C=!1,__vue_component__$A=normalizeComponent({render:__vue_render__$B,staticRenderFns:__vue_staticRenderFns__$B},__vue_inject_styles__$C,__vue_script__$C,__vue_scope_id__$C,__vue_is_functional_template__$C,__vue_module_identifier__$C,!1,createInjector$1,void 0,void 0);var script$C={name:"AggregatorLimiterSetupModal",components:{VInput:__vue_component__$g,VSelect:__vue_component__$9},props:{title:{type:String,default:""},data:{type:Object,default:{}}},data:()=>({TimeSelect:TimeSelect,number:1,duration:1,multiplier:"1"}),computed:{isComplete(){return this.number&&this.duration}},methods:{close(){this.$emit("modal:reject")},save(){this.$emit("modal:resolve",{number:this.number,duration:this.duration*Number(this.multiplier)})}},watch:{data:{deep:!0,immediate:!0,handler(){if(!Object.keys(this.data).length)return;const{value:e,multiplier:t}=secondsToUnits(this.data.duration,this.TimeSelect);this.number=this.data.number,this.duration=e,this.multiplier=t}}}};const __vue_script__$D=script$C;var __vue_render__$C=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pf-modal"},[n("div",{staticClass:"pf-modal--header"},[n("div",{staticClass:"pf-modal--header--close"},[n("button",{staticClass:"button modal-close",on:{click:e.close}},[e._v("â")])])]),e._v(" "),n("div",{staticClass:"pf-modal--body"},[n("h3",{staticClass:"pf-modal--body--title"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"limiter-setup"},[n("div",{staticClass:"limiter-setup--entry width--20"},[e._v("Messages")]),e._v(" "),n("div",{staticClass:"limiter-setup--entry width--40"},[n("v-input",{attrs:{type:"number",min:1,max:1e3},model:{value:e.number,callback:function(t){e.number=t},expression:"number"}})],1),e._v(" "),n("div",{staticClass:"limiter-setup--entry width--40"}),e._v(" "),n("div",{staticClass:"limiter-setup--entry width--20"},[e._v("Duration")]),e._v(" "),n("div",{staticClass:"limiter-setup--entry width--40"},[n("v-input",{attrs:{type:"number",min:1},model:{value:e.duration,callback:function(t){e.duration=t},expression:"duration"}})],1),e._v(" "),n("div",{staticClass:"limiter-setup--entry width--40"},[n("v-select",{attrs:{items:e.TimeSelect},model:{value:e.multiplier,callback:function(t){e.multiplier=t},expression:"multiplier"}})],1)])]),e._v(" "),n("div",{staticClass:"pf-modal--footer"},[n("button",{staticClass:"button cancel-new",on:{click:e.close}},[e._v("Cancel")]),e._v(" "),n("button",{staticClass:"button",attrs:{disabled:!e.isComplete},on:{click:e.save}},[e._v("Select")])])])},__vue_staticRenderFns__$C=[];__vue_render__$C._withStripped=!0;const __vue_inject_styles__$D=function(e){e&&e("data-v-a6b76670_0",{source:".limiter-setup[data-v-a6b76670] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n background-color: #fff;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n padding: 0.5rem;\n align-items: center;\n}\n.limiter-setup--entry[data-v-a6b76670] {\n font-size: 1.143rem;\n line-height: 1.143rem;\n padding: 0.5rem;\n}\n.limiter-setup--entry.width[data-v-a6b76670] {\n flex-grow: 0;\n flex-shrink: 0;\n}\n.limiter-setup--entry.width--20[data-v-a6b76670] {\n flex-basis: 20%;\n}\n.limiter-setup--entry.width--40[data-v-a6b76670] {\n flex-basis: 40%;\n}\n\n/*# sourceMappingURL=AggregatorLimiterSetupModal.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/modals/AggregatorLimiterSetupModal.vue","AggregatorLimiterSetupModal.vue"],names:[],mappings:"AAqGA;EACA,aAAA;EACA,mBAAA;EACA,eAAA;EACA,sBAAA;EACA,kBAAA;EACA,kDAAA;EACA,eAAA;EACA,mBAAA;ACpGA;ADsGA;EACA,mBAAA;EACA,qBAAA;EACA,eAAA;ACpGA;ADsGA;EACA,YAAA;EACA,cAAA;ACpGA;ADsGA;EACA,eAAA;ACpGA;ADuGA;EACA,eAAA;ACrGA;;AAEA,0DAA0D",file:"AggregatorLimiterSetupModal.vue",sourcesContent:['<template>\n<div class="pf-modal">\n <div class="pf-modal--header">\n <div class="pf-modal--header--close">\n <button class="button modal-close" @click="close">✖</button>\n </div>\n </div>\n <div class="pf-modal--body">\n <h3 class="pf-modal--body--title">\n {{ title }}\n </h3>\n\n <div class="limiter-setup">\n <div class="limiter-setup--entry width--20">Messages</div>\n <div class="limiter-setup--entry width--40">\n <v-input type="number" :min="1" :max="1000" v-model="number"></v-input>\n </div>\n <div class="limiter-setup--entry width--40"></div>\n\n <div class="limiter-setup--entry width--20">Duration</div>\n <div class="limiter-setup--entry width--40">\n <v-input type="number" :min="1" v-model="duration"></v-input>\n </div>\n <div class="limiter-setup--entry width--40">\n <v-select :items="TimeSelect" v-model="multiplier"></v-select>\n </div>\n </div>\n </div>\n <div class="pf-modal--footer">\n <button class="button cancel-new" @click="close">Cancel</button>\n <button class="button" :disabled="!isComplete" @click="save">Select</button>\n </div>\n </div>\n</template>\n\n<script>\nimport { TimeSelect } from \'policyFoundry/logic/newComponents/policy/configurations/constants\';\nimport { secondsToUnits } from \'policyFoundry/logic/newComponents/policy/configurations/utils\';\n\nimport VInput from \'vueCustomComponents/VInput.vue\';\nimport VSelect from \'vueCustomComponents/VSelect.vue\';
110\n\nexport default {\n name: \'AggregatorLimiterSetupModal\',\n components: { VInput, VSelect },\n props: {\n title: {\n type: String,\n default: \'\'\n },\n data: {\n type: Object,\n default: {}\n }\n },\n data: () => ({\n TimeSelect,\n\n number: 1,\n duration: 1,\n multiplier: \'1\'\n }),\n computed: {\n isComplete() {\n return this.number && this.duration;\n }\n },\n methods: {\n close() {\n this.$emit(\'modal:reject\');\n },\n save() {\n this.$emit(\'modal:resolve\', {\n number: this.number,\n duration: this.duration * Number(this.multiplier)\n });\n }\n },\n watch: {\n data: {\n deep: true,\n immediate: true,\n handler() {\n if (!Object.keys(this.data).length) {\n return\n }\n\n const { value, multiplier } = secondsToUnits(this.data.duration, this.TimeSelect);\n\n this.number = this.data.number;\n this.duration = value;\n this.multiplier = multiplier;\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.limiter-setup {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n background-color: $color-white;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px $color-sl-secondary-opacity-10;\n padding: 0.5rem;\n align-items: center;\n\n &--entry {\n font-size: 1.143rem;\n line-height: 1.143rem;\n padding: 0.5rem;\n\n &.width {\n flex-grow: 0;\n flex-shrink: 0;\n\n &--20 {\n flex-basis: 20%;\n }\n\n &--40 {\n flex-basis: 40%;\n }\n }\n }\n}\n</style>',".limiter-setup {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n background-color: #fff;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n padding: 0.5rem;\n align-items: center;\n}\n.limiter-setup--entry {\n font-size: 1.143rem;\n line-height: 1.143rem;\n padding: 0.5rem;\n}\n.limiter-setup--entry.width {\n flex-grow: 0;\n flex-shrink: 0;\n}\n.limiter-setup--entry.width--20 {\n flex-basis: 20%;\n}\n.limiter-setup--entry.width--40 {\n flex-basis: 40%;\n}\n\n/*# sourceMappingURL=AggregatorLimiterSetupModal.vue.map */"]},media:void 0})},__vue_scope_id__$D="data-v-a6b76670",__vue_module_identifier__$D=void 0,__vue_is_functional_template__$D=!1,__vue_component__$B=normalizeComponent({render:__vue_render__$C,staticRenderFns:__vue_staticRenderFns__$C},__vue_inject_styles__$D,__vue_script__$D,__vue_scope_id__$D,__vue_is_functional_template__$D,__vue_module_identifier__$D,!1,createInjector$1,void 0,void 0);var script$D={name:"Limiters",components:{AggregatorLimiterSetupModal:__vue_component__$B},props:{value:{type:Object,required:!0}},data:()=>({TimeSelect:TimeSelect,limiters:[],aggregator:null}),computed:{parsedAggregator(){if(!this.isAggregator)return{};const{value:e,multiplier:t}=secondsToUnits(this.aggregator.duration,this.TimeSelect);return{number:this.aggregator.number,duration:e,multiplier:decodeCodeToLabel(t,TimeSelect)}},parsedLimiters(){return this.limiters.map(e=>{const{value:t,multiplier:n}=secondsToUnits(e.duration,this.TimeSelect);return{number:e.number,duration:t,multiplier:decodeCodeToLabel(n,TimeSelect)}})},isLimiter(){return this.limiters.length},isAggregator(){return this.aggregator},parsedData(){const e={};return this.isLimiter&&(e.rateLimiters=[...this.limiters]),this.isAggregator&&(e.aggregator=_objectSpread2({},this.aggregator)),e},isComplete:()=>!0},methods:{async openLimiterAggregatorDialog(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.$modal.open(__vue_component__$B,{title:e,data:t},{})},async addLimiter(){try{const e=await this.openLimiterAggregatorDialog("Limiter");this.limiters.push({number:e.number,duration:e.duration}
110),this.propagate()}catch(e){}},async editLimiter(e){try{const t=await this.openLimiterAggregatorDialog("Limiter",this.limiters[e]);this.$set(this.limiters,e,t),this.propagate()}catch(e){}},deleteLimiter(e){this.limiters.splice(e,1),this.propagate()},async addAggregator(){try{const e=await this.openLimiterAggregatorDialog("Aggregator");this.aggregator={number:e.number,duration:e.duration},this.propagate()}catch(e){}},async editAggregator(){try{this.aggregator=await this.openLimiterAggregatorDialog("Aggregator",this.aggregator),this.propagate()}catch(e){}},deleteAggregator(){this.aggregator=null,this.propagate()},propagate(){this.$emit("input",{complete:this.isComplete,data:this.parsedData})}},watch:{value:{deep:!0,immediate:!0,handler(){const e=this.value.data;JSON.stringify(e)!==JSON.stringify(this.parsedData)&&(this.aggregator=e.aggregator,this.limiters=[...e.rateLimiters],this.propagate())}}}};const __vue_script__$E=script$D;var __vue_render__$D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-section"},[e._m(0),e._v(" "),n("div",{staticClass:"policy-section--body"},[n("h3",{staticClass:"policy-section--body--title"},[e._v("\n Limiter\n ")]),e._v(" "),n("h4",{staticClass:"policy-section--body--subtitle"},[e._v("\n Limits the number of messages that are directed to a message channel.\n ")]),e._v(" "),e._l(e.parsedLimiters,(function(t,i){return n("div",{staticClass:"limiter-entry",on:{click:function(t){return e.editLimiter(i)}}},[n("div",{staticClass:"limiter-entry--messages"},[e._v("Messages: "),n("b",[e._v(e._s(t.number))])]),e._v(" "),n("div",{staticClass:"limiter-entry--duration"},[e._v("Duration: "),n("b",[e._v(e._s(t.duration)+" "+e._s(t.multiplier))])]),e._v(" "),n("div",{staticClass:"limiter-entry--button",on:{click:function(t){return t.stopPropagation(),e.deleteLimiter(i)}}},[n("img",{attrs:{src:"img/icon/svg/delete.svg"}})])])})),e._v(" "),n("button",{staticClass:"button action",on:{click:e.addLimiter}},[e._v("Add limiter")])],2)])},__vue_staticRenderFns__$D=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"policy-section--header"},[t("div",{staticClass:"policy-section--header--icon"},[t("img",{attrs:{src:"img/icon/svg/icon-policy-coordinator.svg",alt:""}})]),this._v(" "),t("h2",{staticClass:"policy-section--header--text"},[this._v("\n Policy coordinator\n ")])])}];__vue_render__$D._withStripped=!0;const __vue_inject_styles__$E=function(e){e&&e("data-v-cd6c8c8e_0",{source:".policy-section--body--subscript[data-v-cd6c8c8e] {\n margin-bottom: 1rem;\n}\n.policy-section--body .limiter-entry[data-v-cd6c8c8e] {\n position: relative;\n width: 66%;\n display: flex;\n align-items: center;\n background-color: #3e63cc;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n padding: 0.5rem 1rem;\n margin-bottom: 1rem;\n user-select: none;\n cursor: pointer;\n}\n.policy-section--body .limiter-entry--messages[data-v-cd6c8c8e] {\n flex: 0 0 34%;\n color: #fff;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n}\n.policy-section--body .limiter-entry--messages b[data-v-cd6c8c8e] {\n font-weight: 500 !important;\n}\n.policy-section--body .limiter-entry--duration[data-v-cd6c8c8e] {\n flex: 0 0 66%;\n color: #fff;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n}\n.policy-section--body .limiter-entry--duration b[data-v-cd6c8c8e] {\n font-weight: 500 !important;\n}\n.policy-section--body .limiter-entry--button[data-v-cd6c8c8e] {\n position: absolute;\n right: 0;\n top: 0;\n width: 2rem;\n height: 2rem;\n background-color: #fff;\n border-radius: 50%;\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px rgba(18, 24, 69, 0.2);\n cursor: pointer;\n display: flex;\n justify-content: center;\n}\n.policy-section--body .limiter-entry--button[data-v-cd6c8c8e]:hover {\n background-color: #d9e0f3;\n}\n.policy-section--body .limiter-entry--button img[data-v-cd6c8c8e] {\n width: 1.5rem;\n}\n\n/*# sourceMappingURL=Limiters.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/newComponents/policy/Limiters.vue","Limiters.vue"],names:[],mappings:"AAoNA;EACA,mBAAA;ACnNA;ADsNA;EACA,kBAAA;EACA,UAAA;EAEA,aAAA;EACA,mBAAA;EAEA,yBAAA;EACA,kBAAA;EACA,kDAAA;EACA,oBAAA;EACA,mBAAA;EAEA,iBAAA;EACA,eAAA;ACvNA;ADyNA;EACA,aAAA;EAEA,WAAA;EACA,mBAAA;EACA,iBAAA;EACA,gBAAA;EACA,mBAAA;ACxNA;AD0NA;EACA,2BAAA;ACxNA;AD4NA;EACA,aAAA;EAEA,WAAA;EACA,mBAAA;EACA,iBAAA;EACA,gBAAA;EACA,mBAAA;AC3NA;AD6NA;EACA,2BAAA;AC3NA;AD+NA;EACA,kBAAA;EACA,QAAA;EACA,MAAA;EAEA,WAAA;EACA,YAAA;EACA,sBAAA;EACA,kBAAA;EAEA,+BAAA;EACA,iDAAA;EACA,eAAA;EAEA,aAAA;EACA,uBAAA;AChOA;ADkOA;EACA,yBAAA;AChOA;ADmOA;EACA,aAAA;ACjOA;;AAEA,uCAAuC",file:"Limiters.vue",sourcesContent:['<template>\n <div class="policy-section">\n <div class="policy-section--header">\n <div class="policy-section--header--icon">\n <img src="img/icon/svg/icon-policy-coordinator.svg" alt="">\n </div>\n\n <h2 class="policy-section--header--text">\n Policy coordinator\n </h2>\n </div>\n <div class="policy-section--body">\n <h3 class="policy-section--body--title">\n Limiter\n </h3>\n <h4 class="policy-section--body--subtitle">\n Limits the number of messages that are directed to a message channel.\n </h4>\n\n <div class="limiter-entry" v-for="(limiter, index) of parsedLimiters" @click="editLimiter(index)">\n <div class="limiter-entry--messages">Messages: <b>{{ limiter.number }}</b></div>\n <div class="limiter-entry--duration">Duration: <b>{{ limiter.duration }} {{ limiter.multiplier }}</b></div>\n <div class="limiter-entry--button" @click.stop="deleteLimiter(index)">\n <img src="img/icon/svg/delete.svg">\n </div>\n </div>\n\n <button class="button action" @click="addLimiter">Add limiter</button>\n </div>\n \x3c!--\n !!! COMMENTED OUT TO HIDE AS PER ENG-7616 !!!\n\n <div class="policy-section--body">\n <h3 class="policy-section--body--title">\n Aggregator\n </h3>\n <h4 class="policy-section--body--subtitle">\n Allows to aggregate multiple events over some time into one event.\n </h4>\n\n <div v-show="isAggregator" class="limiter-entry" @click="editAggregator">\n <div class="limiter-entry--messages">Messages: <b>{{ parsedAggregator.number }}</b></div>\n <div class="limiter-entry--duration">Duration: <b>{{ parsedAggregator.duration }} {{ parsedAggregator.multiplier }}</b></div>\n <div class="limiter-entry--button" @click.stop="deleteAggregator()">\n <img src="/dist/img/icon/svg/delete.svg">\n </div>\n </div>\n\n <div v-show="isAggregator" class="policy-section--body--subscript">\n Click to edit\n </div>\n\n <button v-show="!isAggregator" class="button action" @click="addAggregator">Add aggregator</button>\n </div>--\x3e\n </div>\n</template>\n\n<script>\nimport {TimeSelect} from \'policyFoundry/logic/newComponents/policy/configurations/constants\';\nimport {decodeCodeToLabel, secondsToUnits} from \'policyFoundry/logic/newComponents/policy/configurations/utils\';\n\nimport AggregatorLimiterSetupModal from \'policyFoundry/logic/newComponents/modals/AggregatorLimiterSetupModal.vue\';
110\n\nexport default {\n name: \'Limiters\',\n components: { AggregatorLimiterSetupModal },\n props: {\n value: {\n type: Object,\n required: true\n }\n },\n data: () => ({\n TimeSelect,\n limiters: [],\n aggregator: null\n }),\n computed: {\n parsedAggregator() {\n if (!this.isAggregator) {\n return {};\n }\n\n const { value, multiplier } = secondsToUnits(this.aggregator.duration, this.TimeSelect);\n\n return {\n number: this.aggregator.number,\n duration: value,\n multiplier: decodeCodeToLabel(multiplier, TimeSelect)\n }\n },\n parsedLimiters() {\n return this.limiters.map(item => {\n const { value, multiplier } = secondsToUnits(item.duration, this.TimeSelect);\n\n return {\n number: item.number,\n duration: value,\n multiplier: decodeCodeToLabel(multiplier, TimeSelect)\n }\n })\n },\n isLimiter() {\n return this.limiters.length;\n },\n isAggregator() {\n return this.aggregator;\n },\n parsedData() {\n const data = {};\n\n if (this.isLimiter) {\n data.rateLimiters = [ ...this.limiters ];\n }\n\n if (this.isAggregator) {\n data.aggregator = { ...this.aggregator };\n }\n\n return data;\n },\n isComplete() {\n return true;\n }\n },\n methods: {\n async openLimiterAggregatorDialog(title, data = {}) {\n return this.$modal.open(AggregatorLimiterSetupModal, { title, data }, {})\n },\n async addLimiter() {\n try {\n const result = await this.openLimiterAggregatorDialog(\'Limiter\');\n\n this.limiters.push({\n number: result.number,\n duration: result.duration\n });\n\n this.propagate();\n } catch(ex) {}\n },\n async editLimiter(index) {\n try {\n const result = await this.openLimiterAggregatorDialog(\'Limiter\', this.limiters[index]);\n\n this.$set(this.limiters, index, result);\n\n this.propagate();\n } catch (ex) {}\n },\n deleteLimiter(index) {\n this.limiters.splice(index, 1);\n\n this.propagate();\n },\n async addAggregator() {\n try {\n const result = await this.openLimiterAggregatorDialog(\'Aggregator\');\n\n this.aggregator = {\n number: result.number,\n duration: result.duration\n }\n\n this.propagate();\n } catch(ex) {}\n },\n async editAggregator() {\n try {\n this.aggregator = await this.openLimiterAggregatorDialog(\'Aggregator\', this.aggregator);\n\n this.propagate();\n } catch (ex) {}\n },\n deleteAggregator() {\n this.aggregator = null;\n\n this.propagate();\n },\n propagate() {\n this.$emit(\'input\', {\n complete: this.isComplete,\n data: this.parsedData\n });\n }\n },\n watch: {\n value: {\n deep: true,\n immediate: true,\n handler() {\n const data = this.value.data;\n\n if (JSON.stringify(data) === JSON.stringify(this.parsedData)) {\n return;\n }\n\n this.aggregator = data.aggregator;\n this.limiters = [ ...data.rateLimiters ];\n\n this.propagate();\n }\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.policy-section--body {\n\n &--subscript {\n margin-bottom: 1rem;\n }\n\n .limiter-entry {\n position: relative;\n width: 66%;\n\n display: flex;\n align-items: center;\n\n background-color: $color-sl-secondary;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px $color-sl-secondary-opacity-10;\n padding: 0.5rem 1rem;\n margin-bottom: 1rem;\n\n user-select: none;\n cursor: pointer;\n\n &--messages {\n flex: 0 0 34%;\n\n color: $color-white;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n\n b {\n font-weight: 500 !important;\n }\n }\n\n &--duration {\n flex: 0 0 66%;\n\n color: $color-white;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n\n b {\n font-weight: 500 !important;\n }\n }\n\n &--button {\n position: absolute;\n right: 0;\n top: 0;\n\n width: 2rem;\n height: 2rem;\n background-color: $color-white;\n border-radius: 50%;\n\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px $color-sapphire-4-opacity-20;\n cursor: pointer;\n\n display: flex;\n justify-content: center;\n\n &:hover {\n background-color: $color-sapphire-lavender-accent;\n }\n\n img {\n width: 1.5rem;\n }\n }\n }\n}\n</style>',".policy-section--body--subscript {\n margin-bottom: 1rem;\n}\n.policy-section--body .limiter-entry {\n position: relative;\n width: 66%;\n display: flex;\n align-items: center;\n background-color: #3e63cc;\n border-radius: 4px;\n box-shadow: 0 12px 6px -6px rgba(62, 99, 204, 0.1);\n padding: 0.5rem 1rem;\n margin-bottom: 1rem;\n user-select: none;\n cursor: pointer;\n}\n.policy-section--body .limiter-entry--messages {\n flex: 0 0 34%;\n color: #fff;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n}\n.policy-section--body .limiter-entry--messages b {\n font-weight: 500 !important;\n}\n.policy-section--body .limiter-entry--duration {\n flex: 0 0 66%;\n color: #fff;\n font-size: 1.286rem;\n line-height: 2rem;\n font-weight: 300;\n padding-right: 2rem;\n}\n.policy-section--body .limiter-entry--duration b {\n font-weight: 500 !important;\n}\n.policy-section--body .limiter-entry--button {\n position: absolute;\n right: 0;\n top: 0;\n width: 2rem;\n height: 2rem;\n background-color: #fff;\n border-radius: 50%;\n transform: translate(50%, -50%);\n box-shadow: 0 12px 6px -6px rgba(18, 24, 69, 0.2);\n cursor: pointer;\n display: flex;\n justify-content: center;\n}\n.policy-section--body .limiter-entry--button:hover {\n background-color: #d9e0f3;\n}\n.policy-section--body .limiter-entry--button img {\n width: 1.5rem;\n}\n\n/*# sourceMappingURL=Limiters.vue.map */"]},media:void 0})},__vue_scope_id__$E="data-v-cd6c8c8e",__vue_module_identifier__$E=void 0,__vue_is_functional_template__$E=!1,__vue_component__$C=normalizeComponent({render:__vue_render__$D,staticRenderFns:__vue_staticRenderFns__$D},__vue_inject_styles__$E,__vue_script__$E,__vue_scope_id__$E,__vue_is_functional_template__$E,__vue_module_identifier__$E,!1,createInjector$1,void 0,void 0);var script$E={name:"Policy",components:{Breadcrumbs:__vue_component__$c,VToggle:__vue_component__$e,NameAndDescription:__vue_component__$h,Timing:__vue_component__$j,Devices:__vue_component__$k,Locations:__vue_component__$n,Conditions:__vue_component__$y,Actions:__vue_component__$A,Limiters:__vue_component__$C,PolicyNotActiveInfoModal:__vue_component__$f,Loader:__vue_component__$d},data:()=>({isActive:!1,nameAndDescription:{complete:!1,data:{name:"",description:""}},timing:{complete:!1,data:{type:"always",timezone:""}},devices:{complete:!1,data:{trackingIds:[]}},locations:{complete:!1,data:{locationRange:"",locationIds:[]}},conditions:{complete:!1,data:{operator:"and",conditionGroups:[]}},actions:{complete:!1,data:{configurationId:"",actionName:""}},limiters:{complete:!1,data:{rateLimiters:[{number:5,duration:3600},{number:1,duration:60}],aggregator:null}},oldData:"",spinner:!0}
110),computed:_objectSpread2(_objectSpread2({},mapGetters$1("policies",["policies","selectedPolicy"])),{},{id(){return this.$route.params.id},isNew(){return"new"===this.id},isCopy(){return null!==this.selectedPolicy&&void 0!==this.selectedPolicy},isComplete(){return this.nameAndDescription.complete&&this.timing.complete&&this.devices.complete&&this.locations.complete&&this.conditions.complete&&this.actions.complete},isDirty(){return this.oldData!==JSON.stringify(this.dataToSave)},canSave(){return this.isNew,this.isComplete},dataToSave(){const e=this.nameAndDescription.data,t=this.timing.data,n=this.devices.data,i=this.locations.data,r=this.conditions.data,o=this.actions.data,a=this.limiters.data;r.conditionGroups=r.conditionGroups.map(e=>(e.config.hasOwnProperty("trackingIds")&&Object.assign(e.config,n),e.config.hasOwnProperty("locationIds")&&e.config.hasOwnProperty("locationRange")&&Object.assign(e.config,i),e));const s=_objectSpread2({},o);return a.rateLimiters&&(s.rateLimiters=a.rateLimiters),a.aggregator&&(s.aggregator=a.aggregator),_objectSpread2(_objectSpread2({priority:1},e),{},{status:this.isActive?"active":"paused",conditionSet:r,activeTime:t,action:s})}}),methods:_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({},mapActions$1("locations",["updateCampuses","updateRooms"])),mapActions$1("beacons",["updateBeacons"])),mapActions$1("actions",["updateAll"])),mapActions$1("policies",["updatePolicies"])),{},{showSpinner(){this.spinner=!0},hideSpinner(){this.spinner&&(this.spinner=!1)},async save(){try{this.isActive||await this.$modal.open(__vue_component__$f,{},{maxWidth:"30%",persistent:!0})}catch(e){}finally{await this.sendSave()}},async sendSave(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.showSpinner();const t=this.dataToSave;t.status=e?"active":t.status,this.isNew?await policyFoundryService.addPolicy(t):await policyFoundryService.editPolicy(this.id,t),this.hideSpinner(),await this.$router.push("/policies")},assignDataToEdit(){let e=null;e=this.isCopy?this.selectedPolicy:this.policies.find(e=>e.id===this.id),this.isActive="active"===e.status,this.nameAndDescription.data.name=e.name,this.nameAndDescription.data.description=e.hasOwnProperty("description")?e.description:"",this.timing.data=e.activeTime,this.devices.data={trackingIds:e.conditionSet.conditionGroups[0].config.trackingIds},this.locations.data={locationRange:e.conditionSet.conditionGroups[0].config.locationRange,locationIds:e.conditionSet.conditionGroups[0].config.locationIds},this.conditions.data=e.conditionSet,this.actions.data={configurationId:e.action.configurationId,actionName:e.action.actionName};const t={};e.action.hasOwnProperty("aggregator")&&(t.aggregator=e.action.aggregator),e.action.hasOwnProperty("rateLimiters")&&(t.rateLimiters=[...e.action.rateLimiters]),this.limiters.data=t,this.oldData=JSON.stringify(this.dataToSave)},async getData(){if(this.showSpinner(),this.isNew){const e=await policyFoundryService.fetchPolicies();this.updatePolicies(e)}
110const e=await policyFoundryService.fetchCampuses(),t=await policyFoundryService.fetchRooms(),n=await policyFoundryService.fetchBeacons(),i=await policyFoundryService.fetchNotifications(),r=await policyFoundryService.fetchChannels();this.updateCampuses(e),this.updateRooms(t),this.updateBeacons(n),this.updateAll({channels:r,notifications:i}),this.isNew&&!this.isCopy||this.assignDataToEdit(),this.hideSpinner()}}),mounted(){this.getData(),document.addEventListener("session:expired",this.hideSpinner)},beforeDestroy(){document.removeEventListener("session:expired",this.hideSpinner)}};const __vue_script__$F=script$E;var __vue_render__$E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-editor"},[e.spinner?n("Loader"):e._e(),e._v(" "),n("div",{staticClass:"content-wrapper"},[n("breadcrumbs",{attrs:{pageTitle:"Policy"}}),e._v(" "),n("div",{staticClass:"policy-editor--header"},[n("h2",{staticClass:"main-header"},[e._v("Policy")]),e._v(" "),n("div",{staticClass:"policy-editor--header--toggle"},[n("v-toggle",{attrs:{settings:{on:{text:"Active"},off:{text:"Paused"}}},model:{value:e.isActive,callback:function(t){e.isActive=t},expression:"isActive"}})],1)])],1),e._v(" "),n("div",{staticClass:"policy-editor--body"},[n("name-and-description",{model:{value:e.nameAndDescription,callback:function(t){e.nameAndDescription=t},expression:"nameAndDescription"}}),e._v(" "),n("timing",{model:{value:e.timing,callback:function(t){e.timing=t},expression:"timing"}}),e._v(" "),n("devices",{model:{value:e.devices,callback:function(t){e.devices=t},expression:"devices"}}),e._v(" "),n("locations",{model:{value:e.locations,callback:function(t){e.locations=t},expression:"locations"}}),e._v(" "),n("conditions",{model:{value:e.conditions,callback:function(t){e.conditions=t},expression:"conditions"}}),e._v(" "),n("actions",{model:{value:e.actions,callback:function(t){e.actions=t},expression:"actions"}}),e._v(" "),n("limiters",{model:{value:e.limiters,callback:function(t){e.limiters=t},expression:"limiters"}})],1),e._v(" "),n("div",{staticClass:"policy-editor--footer"},[n("router-link",{staticClass:"button cancel-new",attrs:{tag:"button",to:"/policies"}},[e._v("\n\t\t\tCancel\n\t\t")]),e._v(" "),n("button",{staticClass:"button primary",attrs:{type:"button",disabled:!e.canSave},on:{click:e.save}},[e._v("\n\t\t\tSave\n\t\t")]),e._v(" "),n("button",{staticClass:"button primary",attrs:{type:"button",disabled:!e.canSave},on:{click:function(t){return e.sendSave(!0)}}},[e._v("\n\t\t\tSave and activate\n\t\t")])],1)],1)},__vue_staticRenderFns__$E=[];__vue_render__$E._withStripped=!0;const __vue_inject_styles__$F=function(e){e&&e("data-v-302d6eca_0",{source:".policy-editor[data-v-302d6eca] {\n width: 100%;\n min-height: 100%;\n}\n.policy-editor--header[data-v-302d6eca] {\n display: flex;\n justify-content: space-between;\n}\n.policy-editor--header--text[data-v-302d6eca] {\n flex: 1 1 auto;\n margin: 0;\n font-size: 1.429rem;\n font-weight: 500;\n color: #121845;\n place-self: center;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section {\n border-bottom: 0.2rem solid #ebeff9;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--header {\n padding: 1rem 0 0 0;\n display: flex;\n line-height: 1rem;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--header--icon {\n text-align: center;\n flex: 0 0 4rem;\n place-self: center;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--header--icon img {\n display: inline-block;\n vertical-align: middle;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--header--text {\n margin: 0;\n padding-right: 4rem;\n flex: 1 1 auto;\n font-size: 1.429rem;\n font-weight: 500;\n color: #121845;\n place-self: center;\n line-height: 1.429rem;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--body {\n background-color: inherit;\n padding: 2rem 4rem;\n display: block;\n flex-direction: column;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--body--title {\n margin: 0 0 1rem 0;\n font-size: 1.143rem;\n line-height: 1.143rem;\n font-weight: 500;\n color: #121845;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--body--subtitle {\n margin: 0 0 1rem 0;\n font-size: 1rem;\n line-height: 1rem;\n font-weight: 400;\n color: #121845;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--body--subscript {\n font-size: 1.143rem;\n line-height: 1.143rem;\n font-weight: 300;\n color: #3e63cc;\n}\n.policy-editor--body[data-v-302d6eca] .policy-section--body.flex {\n display: flex;\n}\n.policy-editor--footer[data-v-302d6eca] {\n text-align: right;\n padding: 1rem 4rem;\n}\n\n/*# sourceMappingURL=Policy.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/views/Policy.vue","Policy.vue"],names:[],mappings:"AAuXA;EACA,WAAA;EACA,gBAAA;ACtXA;ADwXA;EACA,aAAA;EACA,8BAAA;ACtXA;ADwXA;EACA,cAAA;EACA,SAAA;EACA,mBAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;ACtXA;AD2XA;EACA,mCAAA;ACzXA;AD2XA;EACA,mBAAA;EACA,aAAA;EACA,iBAAA;ACzXA;AD2XA;EACA,kBAAA;EACA,cAAA;EACA,kBAAA;ACzXA;AD2XA;EACA,qBAAA;EACA,sBAAA;ACzXA;AD6XA;EACA,SAAA;EACA,mBAAA;EACA,cAAA;EACA,mBAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;EACA,qBAAA;AC3XA;AD+XA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,sBAAA;AC7XA;AD+XA;EACA,kBAAA;EACA,mBAAA;EACA,qBAAA;EACA,gBAAA;EACA,cAAA;AC7XA;ADgYA;EACA,kBAAA;EACA,eAAA;EACA,iBAAA;EACA,gBAAA;EACA,cAAA;AC9XA;ADiYA;EACA,mBAAA;EACA,qBAAA;EACA,gBAAA;EACA,cAAA;AC/XA;ADkYA;EACA,aAAA;AChYA;ADqYA;EACA,iBAAA;EACA,kBAAA;ACnYA;;AAEA,qCAAqC",file:"Policy.vue",sourcesContent:["<template>\n\t<div class=\"policy-editor\">\n\t\t<Loader v-if=\"spinner\" />\n\t\t<div class=\"content-wrapper\">\n\t\t\t<breadcrumbs :pageTitle=\"'Policy'\"></breadcrumbs>\n\t\t\t<div class=\"policy-editor--header\">\n\t\t\t\t<h2 class=\"main-header\">Policy</h2>\n\t\t\t\t<div class=\"policy-editor--header--toggle\">
110\n\t\t\t\t\t<v-toggle\n\t\t\t\t\t\tv-model=\"isActive\"\n\t\t\t\t\t\t:settings=\"{ on: { text: 'Active' }, off: { text: 'Paused' } }\"\n\t\t\t\t\t></v-toggle>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"policy-editor--body\">\n\t\t\t<name-and-description v-model=\"nameAndDescription\"></name-and-description>\n\n\t\t\t<timing v-model=\"timing\"></timing>\n\n\t\t\t<devices v-model=\"devices\"></devices>\n\n\t\t\t<locations v-model=\"locations\"></locations>\n\n\t\t\t<conditions v-model=\"conditions\"></conditions>\n\n\t\t\t<actions v-model=\"actions\"></actions>\n\n\t\t\t<limiters v-model=\"limiters\"></limiters>\n\t\t</div>\n\n\t\t<div class=\"policy-editor--footer\">\n\t\t\t<router-link tag=\"button\" to=\"/policies\" class=\"button cancel-new\">\n\t\t\t\tCancel\n\t\t\t</router-link>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"button primary\"\n\t\t\t\t:disabled=\"!canSave\"\n\t\t\t\t@click=\"save\"\n\t\t\t>\n\t\t\t\tSave\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"button primary\"\n\t\t\t\t:disabled=\"!canSave\"\n\t\t\t\t@click=\"sendSave(true)\"\n\t\t\t>\n\t\t\t\tSave and activate\n\t\t\t</button>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mapActions, mapGetters } from 'vuex';\nimport { policyFoundryService } from 'policyFoundry/logic/services/policyFoundryService';\n\nimport Breadcrumbs from 'breadcrumbs/Breadcrumbs.vue';\nimport Loader from 'loader/Loader.vue';\n\nimport VToggle from 'vueCustomComponents/VToggle.vue';\n\nimport PolicyNotActiveInfoModal from 'policyFoundry/logic/newComponents/modals/PolicyNotActiveInfoModal.vue';\n\nimport NameAndDescription from 'policyFoundry/logic/newComponents/policy/NameAndDescription.vue';\nimport Timing from 'policyFoundry/logic/newComponents/policy/Timing.vue';\nimport Devices from 'policyFoundry/logic/newComponents/policy/Devices.vue';\nimport Locations from 'policyFoundry/logic/newComponents/policy/Locations.vue';\nimport Conditions from 'policyFoundry/logic/newComponents/policy/Conditions.vue';\nimport Actions from 'policyFoundry/logic/newComponents/policy/Actions.vue';\nimport Limiters from 'policyFoundry/logic/newComponents/policy/Limiters.vue';\n\nexport default {\n\tname: 'Policy',\n\tcomponents: {\n\t\tBreadcrumbs,\n\t\tVToggle,\n\t\tNameAndDescription,\n\t\tTiming,\n\t\tDevices,\n\t\tLocations,\n\t\tConditions,\n\t\tActions,\n\t\tLimiters,\n\t\tPolicyNotActiveInfoModal,\n\t\tLoader,\n\t},\n\tdata: () => ({\n\t\tisActive: false,\n\t\tnameAndDescription: {\n\t\t\tcomplete: false,\n\t\t\tdata: {\n\t\t\t\tname: '',\n\t\t\t\tdescription: '',\n\t\t\t},\n\t\t},\n\t\ttiming: {\n\t\t\tcomplete: false,\n\t\t\tdata: {\n\t\t\t\ttype: 'always',\n\t\t\t\ttimezone: '',\n\t\t\t},\n\t\t},\n\t\tdevices: {\n\t\t\tcomplete: false,\n\t\t\tdata: {\n\t\t\t\ttrackingIds: [],\n\t\t\t},\n\t\t},\n\t\tlocations: {\n\t\t\tcomplete: false,\n\t\t\tdata: {\n\t\t\t\tlocationRange: '',\n\t\t\t\tlocationIds: [],\n\t\t\t},\n\t\t},\n\t\tconditions: {\n\t\t\tcomplete: false,\n\t\t\tdata: {\n\t\t\t\toperator: 'and',\n\t\t\t\tconditionGroups: [],\n\t\t\t},\n\t\t},\n\t\tactions: {\n\t\t\tcomplete: false,\n\t\t\tdata: {\n\t\t\t\tconfigurationId: '',\n\t\t\t\tactionName: '',\n\t\t\t},\n\t\t},\n\t\tlimiters: {\n\t\t\tcomplete: false,\n\t\t\tdata: {\n\t\t\t\trateLimiters: [\n\t\t\t\t\t{\n\t\t\t\t\t\tnumber: 5,\n\t\t\t\t\t\tduration: 3600,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tnumber: 1,\n\t\t\t\t\t\tduration: 60,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\taggregator: null,\n\t\t\t},\n\t\t},\n\t\toldData: '',\n\t\tspinner: true,\n\t}),\n\tcomputed: {\n\t\t...mapGetters('policies', ['policies', 'selectedPolicy']),\n\t\tid() {\n\t\t\treturn this.$route.params.id;\n\t\t},\n\t\tisNew() {\n\t\t\treturn this.id === 'new';\n\t\t},\n\t\tisCopy() {\n\t\t\treturn this.selectedPolicy !== null && this.selectedPolicy !== undefined;\n\t\t},\n\t\tisComplete() {\n\t\t\treturn (\n\t\t\t\tthis.nameAndDescription.complete &&\n\t\t\t\tthis.timing.complete &&\n\t\t\t\tthis.devices.complete &&\n\t\t\t\tthis.locations.complete &&\n\t\t\t\tthis.conditions.complete &&\n\t\t\t\tthis.actions.complete\n\t\t\t);\n\t\t},\n\t\tisDirty() {\n\t\t\treturn this.oldData !== JSON.stringify(this.dataToSave);\n\t\t},\n\t\tcanSave() {\n\t\t\tif (this.isNew) {\n\t\t\t\treturn this.isComplete;\n\t\t\t}\n\n\t\t\treturn this.isComplete;\n\t\t},\n\t\tdataToSave() {\n\t\t\tconst nameAndDescription = this.nameAndDescription.data;\n\t\t\tconst timing = this.timing.data;\n\t\t\tconst devices = this.devices.data;\n\t\t\tconst locations = this.locations.data;\n\t\t\tconst conditions = this.conditions.data;\n\t\t\tconst actions = this.actions.data;\n\t\t\tconst limiters = this.limiters.data;\n\n\t\t\tconditions.conditionGroups = conditions.conditionGroups.map(\n\t\t\t\t(condition) =>
110 {\n\t\t\t\t\tif (condition.config.hasOwnProperty('trackingIds')) {\n\t\t\t\t\t\tObject.assign(condition.config, devices);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tcondition.config.hasOwnProperty('locationIds') &&\n\t\t\t\t\t\tcondition.config.hasOwnProperty('locationRange')\n\t\t\t\t\t) {\n\t\t\t\t\t\tObject.assign(condition.config, locations);\n\t\t\t\t\t}\n\n\t\t\t\t\treturn condition;\n\t\t\t\t}\n\t\t\t);\n\n\t\t\tconst action = { ...actions };\n\n\t\t\tif (limiters.rateLimiters) {\n\t\t\t\taction.rateLimiters = limiters.rateLimiters;\n\t\t\t}\n\n\t\t\tif (limiters.aggregator) {\n\t\t\t\taction.aggregator = limiters.aggregator;\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\tpriority: 1,\n\t\t\t\t...nameAndDescription,\n\t\t\t\tstatus: this.isActive ? 'active' : 'paused',\n\t\t\t\tconditionSet: conditions,\n\t\t\t\tactiveTime: timing,\n\t\t\t\taction,\n\t\t\t};\n\t\t},\n\t},\n\tmethods: {\n\t\t...mapActions('locations', ['updateCampuses', 'updateRooms']),\n\t\t...mapActions('beacons', ['updateBeacons']),\n\t\t...mapActions('actions', ['updateAll']),\n\t\t...mapActions('policies', ['updatePolicies']),\n\t\tshowSpinner() {\n\t\t\tthis.spinner = true;\n\t\t},\n\t\thideSpinner() {\n\t\t\tif (this.spinner) {\n\t\t\t\tthis.spinner = false;\n\t\t\t}\n\t\t},\n\t\tasync save() {\n\t\t\ttry {\n\t\t\t\tif (!this.isActive) {\n\t\t\t\t\tawait this.$modal.open(\n\t\t\t\t\t\tPolicyNotActiveInfoModal,\n\t\t\t\t\t\t{},\n\t\t\t\t\t\t{ maxWidth: '30%', persistent: true }\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} catch (ex) {\n\t\t\t} finally {\n\t\t\t\tawait this.sendSave();\n\t\t\t}\n\t\t},\n\t\tasync sendSave(activate = false) {\n\t\t\tthis.showSpinner();\n\n\t\t\tconst data = this.dataToSave;\n\n\t\t\tdata.status = activate ? 'active' : data.status;\n\n\t\t\tif (this.isNew) {\n\t\t\t\tawait policyFoundryService.addPolicy(data);\n\t\t\t} else {\n\t\t\t\tawait policyFoundryService.editPolicy(this.id, data);\n\t\t\t}\n\n\t\t\tthis.hideSpinner();\n\n\t\t\tawait this.$router.push('/policies');\n\t\t},\n\t\tassignDataToEdit() {\n\t\t\tlet policy = null;\n\n\t\t\tif (this.isCopy) {\n\t\t\t\tpolicy = this.selectedPolicy;\n\t\t\t} else {\n\t\t\t\tpolicy = this.policies.find((item) => item.id === this.id);\n\t\t\t}\n\n\t\t\t/* Activity */\n\t\t\tthis.isActive = policy.status === 'active';\n\n\t\t\t/* Name and description */\n\t\t\tthis.nameAndDescription.data.name = policy.name;\n\t\t\tthis.nameAndDescription.data.description = policy.hasOwnProperty(\n\t\t\t\t'description'\n\t\t\t)\n\t\t\t\t? policy.description\n\t\t\t\t: '';\n\n\t\t\t/* Timing */\n\t\t\tthis.timing.data = policy.activeTime;\n\n\t\t\t/* Devices */\n\t\t\tthis.devices.data = {\n\t\t\t\ttrackingIds: policy.conditionSet.conditionGroups[0].config.trackingIds,\n\t\t\t};\n\n\t\t\t/* Locations */\n\t\t\tthis.locations.data = {\n\t\t\t\tlocationRange:\n\t\t\t\t\tpolicy.conditionSet.conditionGroups[0].config.locationRange,\n\t\t\t\tlocationIds: policy.conditionSet.conditionGroups[0].config.locationIds,\n\t\t\t};\n\n\t\t\t/* Conditions */\n\t\t\tthis.conditions.data = policy.conditionSet;\n\n\t\t\t/* Actions */\n\t\t\tthis.actions.data = {\n\t\t\t\tconfigurationId: policy.action.configurationId,\n\t\t\t\tactionName: policy.action.actionName,\n\t\t\t};\n\n\t\t\t/* Limiters & aggregators */\n\t\t\tconst limiters = {};\n\n\t\t\tif (policy.action.hasOwnProperty('aggregator')) {\n\t\t\t\tlimiters.aggregator = policy.action.aggregator;\n\t\t\t}\n\n\t\t\tif (policy.action.hasOwnProperty('rateLimiters')) {\n\t\t\t\tlimiters.rateLimiters = [...policy.action.rateLimiters];\n\t\t\t}\n\n\t\t\tthis.limiters.data = limiters;\n\n\t\t\tthis.oldData = JSON.stringify(this.dataToSave);\n\t\t},\n\t\tasync getData() {\n\t\t\tthis.showSpinner();\n\n\t\t\tif (this.isNew) {\n\t\t\t\tconst policies = await policyFoundryService.fetchPolicies();\n\n\t\t\t\tthis.updatePolicies(policies);\n\t\t\t}\n\n\t\t\tconst campuses = await policyFoundryService.fetchCampu
110ses();\n\t\t\tconst rooms = await policyFoundryService.fetchRooms();\n\t\t\tconst beacons = await policyFoundryService.fetchBeacons();\n\t\t\tconst notifications = await policyFoundryService.fetchNotifications();\n\t\t\tconst channels = await policyFoundryService.fetchChannels();\n\n\t\t\tthis.updateCampuses(campuses);\n\t\t\tthis.updateRooms(rooms);\n\t\t\tthis.updateBeacons(beacons);\n\t\t\tthis.updateAll({ channels, notifications });\n\n\t\t\tif (!this.isNew || this.isCopy) {\n\t\t\t\tthis.assignDataToEdit();\n\t\t\t}\n\n\t\t\tthis.hideSpinner();\n\t\t},\n\t},\n\tmounted() {\n\t\tconst vm = this;\n\n\t\tthis.getData();\n\n\t\tdocument.addEventListener('session:expired', vm.hideSpinner);\n\t},\n\tbeforeDestroy() {\n\t\tdocument.removeEventListener('session:expired', this.hideSpinner);\n\t},\n};\n<\/script>\n\n<style scoped lang=\"scss\">\n@import 'src/scss/global/brand-colors';\n\n.policy-editor {\n\twidth: 100%;\n\tmin-height: 100%;\n\n\t&--header {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\n\t\t&--text {\n\t\t\tflex: 1 1 auto;\n\t\t\tmargin: 0;\n\t\t\tfont-size: 1.429rem;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: $color-sapphire-4;\n\t\t\tplace-self: center;\n\t\t}\n\t}\n\n\t&--body {\n\t\t::v-deep .policy-section {\n\t\t\tborder-bottom: 0.2rem solid $color-sapphire-lavender;\n\n\t\t\t&--header {\n\t\t\t\tpadding: 1rem 0 0 0;\n\t\t\t\tdisplay: flex;\n\t\t\t\tline-height: 1rem;\n\n\t\t\t\t&--icon {\n\t\t\t\t\ttext-align: center;\n\t\t\t\t\tflex: 0 0 4rem;\n\t\t\t\t\tplace-self: center;\n\n\t\t\t\t\timg {\n\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\tvertical-align: middle;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t&--text {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t\tpadding-right: 4rem;\n\t\t\t\t\tflex: 1 1 auto;\n\t\t\t\t\tfont-size: 1.429rem;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: $color-sapphire-4;\n\t\t\t\t\tplace-self: center;\n\t\t\t\t\tline-height: 1.429rem;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&--body {\n\t\t\t\tbackground-color: inherit;\n\t\t\t\tpadding: 2rem 4rem;\n\t\t\t\tdisplay: block;\n\t\t\t\tflex-direction: column;\n\n\t\t\t\t&--title {\n\t\t\t\t\tmargin: 0 0 1rem 0;\n\t\t\t\t\tfont-size: 1.143rem;\n\t\t\t\t\tline-height: 1.143rem;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: $color-sapphire-4;\n\t\t\t\t}\n\n\t\t\t\t&--subtitle {\n\t\t\t\t\tmargin: 0 0 1rem 0;\n\t\t\t\t\tfont-size: 1rem;\n\t\t\t\t\tline-height: 1rem;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: $color-sapphire-4;\n\t\t\t\t}\n\n\t\t\t\t&--subscript {\n\t\t\t\t\tfont-size: 1.143rem;\n\t\t\t\t\tline-height: 1.143rem;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: $color-sl-secondary;\n\t\t\t\t}\n\t\t\t}\n\t\t\t&--body.flex {\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t}\n\t}\n\n\t&--footer {\n\t\ttext-align: right;\n\t\tpadding: 1rem 4rem;\n\t}\n}\n</style>\n",".policy-editor {\n width: 100%;\n min-height: 100%;\n}\n.policy-editor--header {\n display: flex;\n justify-content: space-between;\n}\n.policy-editor--header--text {\n flex: 1 1 auto;\n margin: 0;\n font-size: 1.429rem;\n font-weight: 500;\n color: #121845;\n place-self: center;\n}\n.policy-editor--body ::v-deep .policy-section {\n border-bottom: 0.2rem solid #ebeff9;\n}\n.policy-editor--body ::v-deep .policy-section--header {\n padding: 1rem 0 0 0;\n display: flex;\n line-height: 1rem;\n}\n.policy-editor--body ::v-deep .policy-section--header--icon {\n text-align: center;\n flex: 0 0 4rem;\n place-self: center;\n}\n.policy-editor--body ::v-deep .policy-section--header--icon img {\n display: inline-block;\n vertical-align: middle;\n}\n.policy-editor--body ::v-deep .policy-section--header--text {\n margin: 0;\n padding-right: 4rem;\n flex: 1 1 auto;\n font-size: 1.429rem;\n font-weight: 500;\n color: #121845;\n place-self: center;\n line-height: 1.429rem;\n}\n.policy-editor--body ::v-deep .policy-section--body {\n background-color: inherit;\n padding: 2rem 4rem;\n display: block;\n flex-direction: column;\n}\n.policy-editor--body ::v-deep .policy-section--body--title {\n margin: 0 0 1rem 0;\n font-size: 1.143rem;\n line-height: 1.143rem;\n font-weight: 500;\n color: #121845;\n}\n.policy-editor--body ::v-deep .policy-section--body--subtitle {\n margin: 0 0 1rem 0;\n font-size: 1rem;\n line-height: 1rem;\n font-weight: 400;\n color: #121845;\n}\n.policy-editor--body ::v-deep .policy-section--body--subscript {\n font-size: 1.143rem;\n line-height: 1.143rem;\n font-weight: 300;\n color: #3e63cc;\n}\n.policy-editor--body ::v-deep .policy-section--body.flex {\n display: flex;\n}\n.policy-editor--footer {\n text-align: right;\n padding: 1rem 4rem;\n}\n\n/*# sourceMappingURL=Policy.vue.map */"]},media:void 0})},__vue_scope_id__$F="data-v-302d6eca",__vue_module_identifier__$F=void 0,__vue_is_functional_template__$F=!1,__vue_component__$D=normalizeComponent({render:__vue_render__$E,staticRenderFns:__vue_staticRenderFns__$E},__vue_inject_styles__$F,__vue_script__$F,__vue_scope_id__$F,__vue_is_functional_template__$F,__vue_module_identifier__$F,!1,createInjector$1,void 0,void 0);var script$F={name:"Log",components:{VTable:__vue_component__$8},filters:{datetimeToDate:function(e){const t=new Date(e),n="0".concat(t.getDate()).substr(-2),i="0".concat(t.getMonth()+1).substr(-2),r=t.getFullYear().toString().substr(-2);return"".concat(n,".").concat(i,".").concat(r)},datetimeToTime:function(e){const t=new Date(e),n="0".concat(t.getHours()).substr(-2),i="0".concat(t.getMinutes()).substr(-2);return"".concat(n,":").concat(i)}},data:()=>({violations:[],columns:[{name:"Date",key:"date",align:"left",minWidth:"6rem"}
110,{name:"Time",key:"time",align:"left",minWidth:"6rem"},{name:"Policy Name",key:"name",align:"left",width:"50%"},{name:"Policy ID",key:"policyId",align:"left",width:"50%"}],settings:{numbering:{enabled:!0,decorator:e=>e},filtering:{enabled:!0,columns:["name","policyId"]}}}),methods:{async getData(){this.violations=await policyFoundryService.fetchViolations(),this.settings.numbering.decorator=this.decorator},decorator(e){const t=this.violations.length.toString().length;return"".concat("0".repeat(t)).concat(e).slice(-t)}},mounted(){this.getData()},watch:{$route(){this.getData()}}};const __vue_script__$G=script$F;var __vue_render__$F=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"policy-activity-log-view"},[e._m(0),e._v(" "),n("v-table",{attrs:{rows:e.violations,columns:e.columns,settings:e.settings},scopedSlots:e._u([{key:"item.date",fn:function(t){var n=t.item;return[e._v(e._s(e._f("datetimeToDate")(n.timestamp)))]}},{key:"item.time",fn:function(t){var n=t.item;return[e._v(e._s(e._f("datetimeToTime")(n.timestamp)))]}}])})],1)},__vue_staticRenderFns__$F=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"list-header content-wrapper"},[t("h2",{staticClass:"main-header"},[this._v("Activity Log")])])}];__vue_render__$F._withStripped=!0;const __vue_inject_styles__$G=function(e){e&&e("data-v-049049f8_0",{source:".policy-activity-log-view[data-v-049049f8] {\n width: 100%;\n min-height: 100%;\n}\n\n/*# sourceMappingURL=Log.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/policyFoundry/logic/views/Log.vue","Log.vue"],names:[],mappings:"AAwGA;EACA,WAAA;EACA,gBAAA;ACvGA;;AAEA,kCAAkC",file:"Log.vue",sourcesContent:["<template>\n <div class=\"policy-activity-log-view\">\n <div class=\"list-header content-wrapper\">\n <h2 class=\"main-header\">Activity Log</h2>\n </div>\n\n <v-table :rows=\"violations\" :columns=\"columns\" :settings=\"settings\">\n <template v-slot:item.date=\"{ item }\">{{ item.timestamp | datetimeToDate }}</template>\n <template v-slot:item.time=\"{ item }\">{{ item.timestamp | datetimeToTime }}</template>\n </v-table>\n </div>\n</template>\n\n<script>\nimport VTable from 'vueCustomComponents/VTable/VTable.vue';\nimport { policyFoundryService } from \"policyFoundry/logic/services/policyFoundryService\";\n\nexport default {\n name: 'Log',\n components: { VTable },\n filters: {\n datetimeToDate: function (value) {\n const date = new Date(value);\n\n const day = `0${date.getDate()}`.substr(-2);
110\n const month = `0${date.getMonth() + 1}`.substr(-2);\n const year = date.getFullYear().toString().substr(-2);\n\n return `${day}.${month}.${year}`;\n },\n datetimeToTime: function (value) {\n const date = new Date(value);\n\n const hours = `0${date.getHours()}`.substr(-2)\n const minutes = `0${date.getMinutes()}`.substr(-2);\n\n return `${hours}:${minutes}`;\n }\n },\n data: () => ({\n violations: [],\n columns: [\n {\n name: 'Date',\n key: 'date',\n align: 'left',\n minWidth: '6rem'\n },\n {\n name: 'Time',\n key: 'time',\n align: 'left',\n minWidth: '6rem'\n },\n {\n name: 'Policy Name',\n key: 'name',\n align: 'left',\n width: '50%'\n },\n {\n name: 'Policy ID',\n key: 'policyId',\n align: 'left',\n width: '50%'\n }\n ],\n settings: {\n numbering: {\n enabled: true,\n decorator: value => value\n },\n filtering: {\n enabled: true,\n columns: ['name', 'policyId']\n }\n }\n }),\n methods: {\n async getData() {\n this.violations = await policyFoundryService.fetchViolations();\n\n this.settings.numbering.decorator = this.decorator;\n },\n decorator(value) {\n const length = this.violations.length.toString().length;\n\n return `${'0'.repeat(length)}${value}`.slice(-length);\n }\n },\n mounted() {\n this.getData();\n },\n watch: {\n $route() {\n this.getData();\n }\n }\n}\n<\/script>\n\n<style scoped lang=\"scss\">\n@import 'src/scss/global/brand-colors';\n\n.policy-activity-log-view {\n width: 100%;\n min-height: 100%;\n}\n</style>",".policy-activity-log-view {\n width: 100%;\n min-height: 100%;\n}\n\n/*# sourceMappingURL=Log.vue.map */"]},media:void 0})},__vue_scope_id__$G="data-v-049049f8",__vue_module_identifier__$G=void 0,__vue_is_functional_template__$G=!1,__vue_component__$E=normalizeComponent({render:__vue_render__$F,staticRenderFns:__vue_staticRenderFns__$F},__vue_inject_styles__$G,__vue_script__$G,__vue_scope_id__$G,__vue_is_functional_template__$G,__vue_module_identifier__$G,!1,createInjector$1,void 0,void 0);Vue.use(VueRouter);const routes=[{path:"/log",component:__vue_component__$E},{path:"/policies",component:__vue_component__$b},{path:"/policy/:id",component:__vue_component__$D}],router=new VueRouter({mode:"history",base:"app/policyFoundry/",routes:routes});var script$G={name:"VModal",props:{maxWidth:String,maxHeight:String,width:String,height:String,persistent:Boolean,fullscreen:Boolean,invisibleBackdrop:Boolean,whiteBackdrop:Boolean,authBackdrop:Boolean,smartLocationBackdrop:Boolean,borderRadius:String,boxShadow:String},methods:{click(){this.persistent||this.$emit("modal:reject")}}};const __vue_script__$H=script$G;var __vue_render__$G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-modal__wrapper"},[n("div",{staticClass:"v-modal__backdrop",class:{invisible:e.invisibleBackdrop,white:e.whiteBackdrop,auth:e.authBackdrop,"smart-location":e.smartLocationBackdrop},on:{click:e.click}}),e._v(" "),n("div",{staticClass:"v-modal__container",class:{fullscreen:e.fullscreen},style:{"max-width":e.maxWidth,"max-height":e.maxHeight,width:e.width,height:e.height,"border-radius":e.borderRadius,"box-shadow":e.boxShadow}},[e._t("default")],2)])},__vue_staticRenderFns__$G=[];__vue_render__$G._withStripped=!0;const __vue_inject_styles__$H=function(e){e&&e("data-v-1ee5ae3a_0",{source:".v-modal__wrapper[data-v-1ee5ae3a] {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 9999;\n}\n.v-modal__wrapper .v-modal__backdrop[data-v-1ee5ae3a] {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: black;\n opacity: 0.5;\n}\n.v-modal__wrapper .v-modal__backdrop.invisible[data-v-1ee5ae3a] {\n opacity: 0;\n}\n.v-modal__wrapper .v-modal__backdrop.white[data-v-1ee5ae3a] {\n background-color: white;\n}\n.v-modal__wrapper .v-modal__backdrop.smart-location[data-v-1ee5ae3a] {\n background-color: #000636;\n opacity: 0.75;\n}\n.v-modal__wrapper .v-modal__backdrop.auth[data-v-1ee5ae3a] {\n background: #2B334D 0% 0% no-repeat padding-box;\n mix-blend-mode: hard-light;\n opacity: 0.75;\n}\n.v-modal__wrapper .v-modal__container[data-v-1ee5ae3a] {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n max-width: 60%;\n max-height: 80%;\n width: 50%;\n min-height: 100px;\n background: white;\n border-radius: 0.75rem;\n border: solid #e2e2e2 1px;\n display: inline-flex;\n box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.05);\n}\n.v-modal__wrapper .v-modal__container.fullscreen[data-v-1ee5ae3a] {\n max-width: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n height: 100% !important;\n border-radius: 0 !important;\n}\n\n/*# sourceMappingURL=VModal.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VModal/VModal.vue","VModal.vue"],names:[],mappings:"AA6CA;EACA,eAAA;EACA,MAAA;EACA,SAAA;EACA,OAAA;EACA,QAAA;EACA,aAAA;AC5CA;AD8CA;EACA,kBAAA;EACA,MAAA;EACA,SAAA;EACA,OAAA;EACA,QAAA;EACA,uBAAA;EACA,YAAA;AC5CA;AD8CA;EACA,UAAA;AC5CA;AD+CA;EACA,uBAAA;AC7CA;ADgDA;EACA,yBAAA;EACA,aAAA;AC9CA;ADiDA;EACA,+CAAA;EACA,0BAAA;EACA,aAAA;AC/CA;ADmDA;EACA,kBAAA;EACA,SAAA;EACA,QAAA;EACA,gCAAA;EAEA,cAAA;EACA,eAAA;EACA,UAAA;EACA,iBAAA;EAEA,iBAAA;EACA,sBAAA;EACA,yBAAA;EAEA,oBAAA;EAEA,0CAAA;ACrDA;ADuDA;EACA,0BAAA;EACA,2BAAA;EACA,sBAAA;EACA,uBAAA;EACA,2BAAA;ACrDA;;AAEA,qCAAqC",file:"VModal.vue",sourcesContent:["<template>\n <div class=\"v-modal__wrapper\">\n <div class=\"v-modal__backdrop\" @click=\"click\"\n :class=\"{ 'invisible': invisibleBackdrop, 'white': whiteBackdrop, 'auth': authBackdrop, 'smart-location': smartLocationBackdrop }\"></div>\n\n <div class=\"v-modal__container\"\n :style=\"{ 'max-width': maxWidth, 'max-height': maxHeight, 'width': width, 'height': height, 'border-radius': borderRadius, 'box-shadow': boxShadow }\"\n :class=\"{ 'fullscreen': fullscreen }\">\n <slot></slot>\n </div>\n </div>\n</template>\n\n<script>
110\nexport default {\n name: 'VModal',\n props: {\n maxWidth: String,\n maxHeight: String,\n width: String,\n height: String,\n persistent: Boolean,\n fullscreen: Boolean,\n invisibleBackdrop: Boolean,\n whiteBackdrop: Boolean,\n authBackdrop: Boolean,\n smartLocationBackdrop: Boolean,\n borderRadius: String,\n boxShadow: String\n },\n methods: {\n click() {\n if (this.persistent) {\n return;\n }\n\n this.$emit('modal:reject');\n }\n }\n}\n<\/script>\n\n<style scoped lang=\"scss\">\n@import 'src/scss/global/brand-colors';\n\n.v-modal__wrapper {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 9999;\n\n .v-modal__backdrop {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: black;\n opacity: 0.5;\n\n &.invisible {\n opacity: 0;\n }\n\n &.white {\n background-color: white;\n }\n\n &.smart-location {\n background-color: $color-sl-darkGrey;\n opacity: 0.75;\n }\n\n &.auth {\n background: #2B334D 0% 0% no-repeat padding-box;\n mix-blend-mode: hard-light;\n opacity: 0.75;\n }\n }\n\n .v-modal__container {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n max-width: 60%;\n max-height: 80%;\n width: 50%;\n min-height: 100px;\n\n background: white;\n border-radius: 0.75rem;\n border: solid $color-grey-2 1px;\n\n display: inline-flex;\n\n box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.05);\n\n &.fullscreen {\n max-width: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n height: 100% !important;\n border-radius: 0 !important;\n }\n }\n}\n</style>",".v-modal__wrapper {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 9999;\n}\n.v-modal__wrapper .v-modal__backdrop {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: black;\n opacity: 0.5;\n}\n.v-modal__wrapper .v-modal__backdrop.invisible {\n opacity: 0;\n}\n.v-modal__wrapper .v-modal__backdrop.white {\n background-color: white;\n}\n.v-modal__wrapper .v-modal__backdrop.smart-location {\n background-color: #000636;\n opacity: 0.75;\n}\n.v-modal__wrapper .v-modal__backdrop.auth {\n background: #2B334D 0% 0% no-repeat padding-box;\n mix-blend-mode: hard-light;\n opacity: 0.75;\n}\n.v-modal__wrapper .v-modal__container {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n max-width: 60%;\n max-height: 80%;\n width: 50%;\n min-height: 100px;\n background: white;\n border-radius: 0.75rem;\n border: solid #e2e2e2 1px;\n display: inline-flex;\n box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.05);\n}\n.v-modal__wrapper .v-modal__container.fullscreen {\n max-width: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n height: 100% !important;\n border-radius: 0 !important;\n}\n\n/*# sourceMappingURL=VModal.vue.map */"]},media:void 0})},__vue_scope_id__$H="data-v-1ee5ae3a",__vue_module_identifier__$H=void 0,__vue_is_functional_template__$H=!1,__vue_component__$F=normalizeComponent({render:__vue_render__$G,staticRenderFns:__vue_staticRenderFns__$G},__vue_inject_styles__$H,__vue_script__$H,__vue_scope_id__$H,__vue_is_functional_template__$H,__vue_module_identifier__$H,!1,createInjector$1,void 0,void 0);var script$H={name:"VModalError",props:{type:String,title:String,body:String,buttons:Array},methods:{emitEvent(e){this.$emit(e)}}};const __vue_script__$I=script$H;var __vue_render__$H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"default__content",class:[e.type]},[n("div",{staticClass:"default__header"},[n("h2",[e._v(e._s(e.title))])]),e._v(" "),n("div",{staticClass:"default__body"},[e._v("\n "+e._s(e.body)+"\n ")]),e._v(" "),n("div",{staticClass:"default__footer"},[n("div",{staticClass:"default__footer-filler"}),e._v(" "),e._l(e.buttons,(function(t){return n("button",{class:[t.type],attrs:{type:"button"},on:{click:function(n){return e.emitEvent(t.event)}}},[e._v("\n "+e._s(t.title)+"\n ")])}))],2)])},__vue_staticRenderFns__$H=[];__vue_render__$H._withStripped=!0;const __vue_inject_styles__$I=function(e){e&&e("data-v-eff9793a_0",{source:".default__content[data-v-eff9793a] {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.default__content > *[data-v-eff9793a] {\n width: 100%;\n flex: 0 0 auto;\n padding: 1rem;\n}\n.default__content .default__header[data-v-eff9793a] {\n border-bottom: solid 1px #e2e2e2;\n}\n.default__content .default__header h2[data-v-eff9793a] {\n margin: 0;\n}\n.default__content .default__body[data-v-eff9793a] {\n flex: 1 1 auto;\n text-align: justify;\n}\n.default__content .default__footer[data-v-eff9793a] {\n border-top: solid 1px #e2e2e2;\n display: flex;\n flex-direction: row;\n}\n.default__content .default__footer .default__footer-filler[data-v-eff9793a] {\n flex: 1 1 auto;\n}\n.default__content .default__footer button[data-v-eff9793a] {\n position: relative;\n text-decoration: none;\n text-transform: uppercase;\n font-weight: 400;\n vertical-align: middle;\n display: inline-block;\n cursor: pointer;\n white-space: nowrap;\n height: 3rem;\n padding: 0.5rem 1.5rem;\n line-height: 2rem;\n font-size: 0.86rem;\n border-radius: 0.29rem;\n transition: 0.18s ease-out all;\n margin: 0 0.5rem;\n border: none;\n background-color: transparent;\n color: #3c3b3a;\n}\n.default__content .default__footer button[data-v-eff9793a]:last-child {\n margin-right: 0;\n}\n.default__content .default__footer button[data-v-eff9793a]:focus {\n border: none;\n}\n.default__content .default__footer button.resolve[data-v-eff9793a] {\n background-color: #079d04;\n color: white;\n}\n.default__content .default__footer button.resolve[data-v-eff9793a]:hover {\n background-color: #58a93e;\n}\n.default__content.info .default__header[data-v-eff9793a] {\n background-color: #71cef5;\n}\n.default__content.success .default__header[data-v-eff9793a] {\n background-color: #079d04;\n}\n.default__content.warning .default__header[data-v-eff9793a] {\n background-color: #f39324;\n}\n.default__content.error .default__header[data-v-eff9793a] {\n background-color: #e
11002d2d;\n}\n\n/*# sourceMappingURL=VModalDefault.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VModal/VModalDefault.vue","VModalDefault.vue"],names:[],mappings:"AAuCA;EACA,WAAA;EACA,YAAA;EACA,aAAA;EACA,sBAAA;ACtCA;ADwCA;EACA,WAAA;EACA,cAAA;EACA,aAAA;ACtCA;ADyCA;EACA,gCAAA;ACvCA;ADyCA;EACA,SAAA;ACvCA;AD2CA;EACA,cAAA;EACA,mBAAA;ACzCA;AD4CA;EACA,6BAAA;EACA,aAAA;EACA,mBAAA;AC1CA;AD4CA;EACA,cAAA;AC1CA;AD6CA;EACA,kBAAA;EACA,qBAAA;EACA,yBAAA;EACA,gBAAA;EACA,sBAAA;EACA,qBAAA;EACA,eAAA;EACA,mBAAA;EACA,YAAA;EACA,sBAAA;EACA,iBAAA;EACA,kBAAA;EACA,sBAAA;EACA,8BAAA;EACA,gBAAA;EACA,YAAA;EAEA,6BAAA;EACA,cAAA;AC5CA;AD8CA;EACA,eAAA;AC5CA;AD+CA;EACA,YAAA;AC7CA;ADgDA;EACA,yBAAA;EACA,YAAA;AC9CA;ADgDA;EACA,yBAAA;AC9CA;ADqDA;EACA,yBAAA;ACnDA;ADwDA;EACA,yBAAA;ACtDA;AD2DA;EACA,yBAAA;ACzDA;AD8DA;EACA,yBAAA;AC5DA;;AAEA,4CAA4C",file:"VModalDefault.vue",sourcesContent:['<template>\n <div class="default__content" :class="[ type ]">\n <div class="default__header">\n <h2>{{ title }}</h2>\n </div>\n\n <div class="default__body">\n {{ body }}\n </div>\n\n <div class="default__footer">\n <div class="default__footer-filler"></div>\n <button type="button" v-for="button in buttons" :class="[ button.type ]" @click="emitEvent(button.event)">\n {{ button.title }}\n </button>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'VModalError\',\n props: {\n type: String,\n title: String,\n body: String,\n buttons: Array\n },\n methods: {\n emitEvent(event) {\n this.$emit(event);\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.default__content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n & > * {\n width: 100%;\n flex: 0 0 auto;\n padding: 1rem;\n }\n\n .default__header {\n border-bottom: solid 1px $color-grey-2;\n\n h2 {\n margin: 0;\n }\n }\n\n .default__body {\n flex: 1 1 auto;\n text-align: justify;\n }\n\n .default__footer {\n border-top: solid 1px $color-grey-2;\n display: flex;\n flex-direction: row;\n\n .default__footer-filler {\n flex: 1 1 auto;\n }\n\n button {\n position: relative;\n text-decoration: none;\n text-transform: uppercase;\n font-weight: 400;\n vertical-align: middle;\n display: inline-block;;\n cursor: pointer;\n white-space: nowrap;\n height: 3rem;\n padding: 0.5rem 1.5rem;\n line-height: 2rem;\n font-size: 0.86rem;\n border-radius: 0.29rem;\n transition: 0.18s ease-out all;\n margin: 0 0.5rem;\n border: none;\n\n background-color: transparent;\n color: $color-grey-5;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:focus {\n border: none;\n }\n\n &.resolve {\n background-color: $color-green;\n color: white;\n\n &:hover {\n background-color: #58a93e;\n }\n }\n }\n }\n\n &.info {\n .default__header {\n background-color: $color-light-blue;\n }\n }\n\n &.success {\n .default__header {\n background-color: $color-green;\n }\n }\n\n &.warning {\n .default__header {\n background-color: $color-orange;\n }\n }\n\n &.error {\n .default__header {\n background-color: $color-red-error;\n }\n }\n}\n</style>',".default__content {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.default__content > * {\n width: 100%;\n flex: 0 0 auto;\n padding: 1rem;\n}\n.default__content .default__header {\n border-bottom: solid 1px #e2e2e2;\n}\n.default__content .default__header h2 {\n margin: 0;\n}\n.default__content .default__body {\n flex: 1 1 auto;\n text-align: justify;\n}\n.default__content .default__footer {\n border-top: solid 1px #e2e2e2;\n display: flex;\n flex-direction: row;\n}\n.default__content .default__footer .default__footer-filler {\n flex: 1 1 auto;\n}\n.default__content .default__footer button {\n position: relative;\n text-decoration: none;\n text-transform: uppercase;\n font-weight: 400;\n vertical-align: middle;\n display: inline-block;\n cursor: pointer;\n white-space: nowrap;\n height: 3rem;\n padding: 0.5rem 1.5rem;\n line-height: 2rem;\n font-size: 0.86rem;\n border-radius: 0.29rem;\n transition: 0.18s ease-out all;\n margin: 0 0.5rem;\n border: none;\n background-color: transparent;\n color: #3c3b3a;\n}\n.default__content .default__footer button:last-child {\n margin-right: 0;\n}\n.default__content .default__footer button:focus {\n border: none;\n}\n.default__content .default__footer button.resolve {\n background-color: #079d04;\n color: white;\n}\n.default__content .default__footer button.resolve:hover {\n background-color: #58a93e;\n}\n.default__content.info .default__header {\n background-color: #71cef5;\n}\n.default__content.success .default__header {\n background-color: #079d04;\n}\n.default__content.warning .default__header {\n background-color: #f39324;\n}\n.default__content.error .default__header {\n background-color: #e
11002d2d;\n}\n\n/*# sourceMappingURL=VModalDefault.vue.map */"]},media:void 0})},__vue_scope_id__$I="data-v-eff9793a",__vue_module_identifier__$I=void 0,__vue_is_functional_template__$I=!1,__vue_component__$G=normalizeComponent({render:__vue_render__$H,staticRenderFns:__vue_staticRenderFns__$H},__vue_inject_styles__$I,__vue_script__$I,__vue_scope_id__$I,__vue_is_functional_template__$I,__vue_module_identifier__$I,!1,createInjector$1,void 0,void 0);var ModalService={open(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{maxWidth:"60%",maxHeight:"80%",width:"auto",height:"auto",persistent:!1,fullscreen:!1,invisibleBackdrop:!1,whiteBackdrop:!1};return new Promise((i,r)=>{const o=(new(Vue.component("modal-component",{data:()=>({data:t,options:n}),components:{ModalComponent:e,VModal:__vue_component__$F},methods:{closeModal(){document.body.removeChild(this.$el)},resolveModal(e){this.closeModal(),i(e)},rejectModal(){this.closeModal(),r()}},render(i){return i(__vue_component__$F,{on:{"modal:reject":this.rejectModal},props:n},[i(e,{props:t,on:{"modal:reject":this.rejectModal,"modal:resolve":this.resolveModal}})])}}))).$mount();document.body.appendChild(o.$el)})},info(){return this.open(__vue_component__$G,{type:"info",title:"Information",body:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tempor laoreet leo sed vestibulum. Quisque sagittis turpis sodales diam laoreet rutrum. Curabitur suscipit bibendum lacinia. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam finibus eu nunc vitae feugiat. Donec scelerisque lacus sed rutrum hendrerit. Suspendisse eu interdum tellus, in aliquam nulla. Curabitur accumsan lacus velit, congue lobortis ligula fermentum ut. Aenean elementum eros lobortis pulvinar egestas. Nulla feugiat dui at urna mollis interdum. Curabitur sit amet rutrum orci. Mauris eros dolor, placerat eget neque sagittis, viverra volutpat neque. Curabitur eu tincidunt tortor, nec viverra erat. Cras nisi erat, scelerisque a enim vel, eleifend ornare turpis.",buttons:[{title:"OK",type:"resolve",event:"modal:resolve"}]})},success(){return this.open(__vue_component__$G,{type:"success",title:"Success",body:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tempor laoreet leo sed vestibulum. Quisque sagittis turpis sodales diam laoreet rutrum. Curabitur suscipit bibendum lacinia. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam finibus eu nunc vitae feugiat. Donec scelerisque lacus sed rutrum hendrerit. Suspendisse eu interdum tellus, in aliquam nulla. Curabitur accumsan lacus velit, congue lobortis ligula fermentum ut. Aenean elementum eros lobortis pulvinar egestas. Nulla feugiat dui at urna mollis interdum. Curabitur sit amet rutrum orci. Mauris eros dolor, placerat eget neque sagittis, viverra volutpat neque. Curabitur eu tincidunt tortor, nec viverra erat. Cras nisi erat, scelerisque a enim vel, eleifend ornare turpis.",buttons:[{title:"OK",type:"resolve",event:"modal:resolve"}]})},warning(){return this.open(__vue_component__$G,{type:"warning",title:"Warning",body:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tempor laoreet leo sed vestibulum. Quisque sagittis turpis sodales diam laoreet rutrum. Curabitur suscipit bibendum lacinia. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam finibus eu nunc vitae feugiat. Donec scelerisque lacus sed rutrum hendrerit. Suspendisse eu interdum tellus, in aliquam nulla. Curabitur accumsan lacus velit, congue lobortis ligula fermentum ut. Aenean elementum eros lobortis pulvinar egestas. Nulla feugiat dui at urna mollis interdum. Curabitur sit amet rutrum orci. Mauris eros dolor, placerat eget neque sagittis, viverra volutpat neque. Curabitur eu tincidunt tortor, nec viverra erat. Cras nisi erat, scelerisque a enim vel, eleifend ornare turpis.",buttons:[{title:"No",type:"reject",event:"modal:reject"},{title:"Yes",type:"resolve",event:"modal:resolve"}]})},error(){return this.open(__vue_component__$G,{type:"error",title:"Error",body:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque tempor laoreet leo sed vestibulum. Quisque sagittis turpis sodales diam laoreet rutrum. Curabitur suscipit bibendum lacinia. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam finibus eu nunc vitae feugiat. Donec scelerisque lacus sed rutrum hendrerit. Suspendisse eu interdum tellus, in aliquam nulla. Curabitur accumsan lacus velit, congue lobortis ligula fermentum ut. Aenean elementum eros lobortis pulvinar egestas. Nulla feugiat dui at urna mollis interdum. Curabitur sit amet rutrum orci. Mauris eros dolor, placerat eget neque sagittis, viverra volutpat neque. Curabitur eu tincidunt tortor, nec viverra erat. Cras nisi erat, scelerisque a enim vel, eleifend ornare turpis.",buttons:[{title:"OK",type:"resolve",event:"modal:resolve"}]})}};const ModalServicePlugin={install(e){e.prototype.$modal=ModalService}};var script$I={name:"VSpinner",props:{text:{type:String,required:!0}}};const __vue_script__$J=script$I;var __vue_render__$I=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"v-spinner"},[t("div",{staticClass:"v-spinner--backdrop"}),this._v(" "),t("div",{staticClass:"v-spinner--container"},[this._m(0),this._v(" "),t("div",{staticClass:"v-spinner--container--text"},[this._v("\n "+this._s(this.text)+"\n ")])])])},__vue_staticRenderFns__$I=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"v-spinner--container--animation"},[t("img",{attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAlqADAAQAAAABAAAAlgAAAAAXS0ggAABAAElEQVR4Ae2da7Bsx1Xf98x534ekK+lKSFYsWZYFSDY2CDsGW5YM+ZLY+BEiuTAYWw+jBFelioRUQaqM5AoUpMIHQookRi8wOFRkyoB5uSiCBXYwJqigUCTZli1ZttBbuvfqvs5rZrJ+/d//6
110Z49M+fMufeec8+Rs+b07u7Va61e3b326sfeM6dVfRPDlfdcOfvIoUfOa82snt/pdc9v9dr7e71qoWpX8+1ub550r6rmq1ZvIbppPnVVr1qq2q2lFnFVLfba1WLVi3xVHev1us+0e+2nqtnppy6dv/SpB65/YPmbtXujP7454Iw7zjh7pXXsWzvt3kVhQBe0er3ze73eOdVU1YuP+6GV0u3ok07gwEe61+qXRyalVUbXQWsceYB8fELoC71W68l21Xoq6nt4enrhocPvP/y8iF7aV3foS66VZ//m2WcsLh2+fLXdvTxG+lW9brU/Glm3t9XGHpIBrGVY0EAYRhLeS7w2IufXMCzYa0jVUV/AM3F9sD3de2BmedeDL9784gsmeinFLynDWrh94aJOe/n1Vbv37WEI58dAaUAZMRsE6RjdVAAuG0YqSXTgTsRj2dgsF4mCrIeNG5/WRZXqmVY19YXWzNRnj//o8a+bYafHO96w9n1035nHZw5f1W11Xx/GdEEMSNmmPKAnYliMLhIm9VjrGRblaGfDw3izhu0o/HpMz5+d27Xrc4ffe/g5qt+pUA7CjmkDi+5HD3/5OzpV57u77epVcee3+57HA6fW5GFjMD3w4SfSXOgB7uNrGrgYdOBUGpaNXuZlL5qqqWsSLtUc02WruvfKldd+9r5b7lsx0U6Jd5RhXXL3JfNPdR5/U7fdfUusmfb2jYnetnF40DQCuX3gXdYp1ljTBS8Db2M7WcNyXegRq/ekjnV0Hb4hUmFBgzFn2kOR+/3z9l7w6cevf/y4SLf/NXf8Ntb1/I+dv/vg8vNX96rum2OH5m2/vJG9iwfDsdqT28dAe7C6YViUkN9Kw0KHWFfF1XqpDaWuNjpiqDq1WbaqY+1q6o/nW7v+4OANBw+KZfte3cBtqSE7u6OLh66J84DvCQVnkoeKRNqh9ercyRgWrZ6qB9kDaS+yGR5rnGFRt6dJdLLhlYYFjXawq7Ew+9PZqfnf3s5HF9vSsK79zLXTf/XY567pdrtvDa8yS1/jXQbOkzwQGNZqGJk9VXl8YOODn8HSAFZV6bHMZxp6xMYKPengTcYMjWRkWZk/46iLj8F6gNOpmcvgNgiHfNFJQjflVG+uC52WQtb/fM3q6z61HddgbqAbd9rjuV+fu7zqrLwjTrzPTcp4UMioq+WxyAF09okaFvy1zGQwGmYZEx5rqwzLxoo+AmsSN0GtoXURbV/v6IQnptrt2499YOU+M2+HeNsY1r574tjg8Itv71a9V/c7RoM+6AmisPYeWXemLwB6UatshFEmuvBYibrmScweOKSAOF2GRd20hxbYiBz7Jqj1JurTtVp/PVPN3X70hqNPJfxpvuTBOU2K3Hbbbe1fuPhn39Stut8fHTkbHWWjUMwdm0E2kI1AHet1kfEeCJWau10OVFq8pxKdlfbLZJwaVMsL3ERToXUnzjogK+md2jZq8S7a3M4sR3rAnWlM57jUdSXofmPpxtVPxhlwOP3TB1m506ADi/NjS4feE17qktTp1sGD4g7OxjVsWPCUA0fefE3DogzIgxSZ4uiBMnjpFWgI1BiYLTMsG5F1cB7dNPEr5bZRXnrX1LbW3y7M7/7FQz986ICJtzo+bYY1d/fcq3q9letj8HalRmdj8MBrkClsGFaip0MD+tOijaCMPTgirTlgSqZTt30HG5bbWu5g1Tba+OJ0q/2Lx25a+Rs1f2uvubO3qF6mvvm7pv9Jr7Pyo2EwC9EBw59SF/wGk5gmMrotuXgMqu9FoK/xIVN3MDEGCTVBecWRPW1Aj2PSzQDeZWoluo8PNMClpJ2z5FZ11mqr+7Nzd878y6s+etWMSLbuWt+1W1NhPfVdF1PfxanT1AmqvPRYdvng6Dw6GPCUR7qmT8ZFKTQMTLlDJD+et277FnusUCnA/Y6G0tHtp8SHom6T2+B+gadsM/TGZdmSGLyxinx4dm7XbVv5/NENTHpt5mXXnbsuXG0vvi8GfnfdDX3jSJ7FHSsl1FGlQirXPQq+pj9hw/Jg9cKwSgPMeqiuuizVk+lymQdYOzn1Z6aTptRVylW7kAGlcx4LTudJK5/5oBN9plTKu2LVA12mIAe0q2fbqzMfXvzg4qNCbO7VCmxqLXO/NvfKXmvlPdFhs2mhSffQGR5cah/UxB0oL2S6vNaCI9Ew4K2ZWGpRBmZSj+UBw7CQRh0EfXKewsAlwzIdGOtEudLmhGqwbW4dFK4DKuPFn9QICk3hxOB18ODecTyonw2LUklReaF3W/Ueneq2P3Ls5pW/DcpNBauxaZXsuWP21bFIf28yqrIWdTHNTWumsqifZhJkbUQMMFynCtZaczVrMW2zbnqPwSSoJdngMq2MAaMCHI+jBw84tvElZH3xqDmGw9IhqXn7N0PNFvjdnVb351njGrVZ8dRmCUbuwl0z/3i16rwjdaYX0uoEXcG5UzxI6hR1E0I8EI4bHc77v9ylKbZHgwZ5jkspWWZdBy91gqw1cT05X5bltGWal7rMq7iWn+Sa2vyORSMDGeRW/SWfeFyP+468aAfrg9oylDAdtb155p3tzuqnevdDtBmwaYY1f/v093V7cehJc+QB3HC5a+5tmmiP5X0frSx3gB4ud4vj3OVJbpoKVQMPawFR2qBVayqIkiwlXkqXgMBJHw+HaFJhTV+mLZ/Yg1uahvVmKqP9Lsut1jRnXfLSwPVmCa5LJWqJbiJppHK1GYz1cU9HuQnVAUmb75p59/TM6u92N2Va1L1S13aqovk7p98ab3S+ue5ymZWnk3I6AwfIyGRawkx+rQ0zek4TJjFyyxhpNd3kgreQ0gbj0V9rVDCabDg2IrWQq8rGKa+aaiPvdbvvXbhr6ofGEZ8Mfq0mnJDcXXfPvD6M6k1DzBiUjcpGVg62jcx0prWg5nqr5DXNRmINj4ZpI3ybQWtjWDuWxh4xG+H6+jTNNnNEfd1e9cFdd029MyNPTeqUToV7fnX2ypWq8/a4p+Qh6Ar8lYLuE/mv3C10lHK60rm4+TyFqaVwlzskTQUqg8d1qONVFzSWnWukPg1S0rLV7q+xoMkcko08DXhZYspBXM4h3y3LdUl6pvJUNahjniJzLXCih267pHfSFFn6iEKvFtW4UCA1TeL7lNKnqCW67o3T75h6svOp7lfV6JO/ahhOXk41f/v8K5anV99RN13mU8pVc4S3xyq9kj2WhiR7N8toeqyS1zQbia0P8ekGGa4NGG1kCyUeYwFfW0k/Xl9385kzc1h+wvR+av7u6atz4cmlTolh7frorgu6reXr0olxJxTCSHRvjR60ssxGVg6wjWytto0zQPNYRjN2eRFbBZMWRac2yUA6ZH+28TqyQchYct7GaWMall3SUmp9YsTiG0I/s+f22W8fZto45qQN69w7z93bmVq8PgxpKt4f76WAHqvRiQQ8TTtMjUDangea5kjmbhcdzR73gd9Q87GAjx7FmN1dvfQ6L+W8WWr5pSXF0We7CEknykffEq5xOJahaBJqDl49NUUf4HOkh+twPaYhzpoOpuXJoNAkyg1ap3m7lkAVcRiaQiqFmo8pnXcLZILkWH7MrbQ7/+Gsu886y8UnGp+UYfFA+UjvwLuiHXpDwQOG1yq9UlM7dxd484AzgFsLTNuMSx5LsyzHJU2dtgprkIzgOgFUaTAyMpnKxkVhDrp9iGQ0CVVfZC4YUROatNYJOul03vHukVuvu+e6k1p/nxTzX/3o594SbuiKpL4akRvMwBKowZ2oRonGVzdU76oHcQA4ykUj/pJXRiOzglKLdPOkg6n+ghwpun1yDM7197lSfcGWCjIt2Vy3NSKGVHFkBtL4aPMpVh4qhcGruFWmttM2SSdGf+PNmeOB2kNIWQdp669acrnKyHt8SFNPVV34peUvzcRi/oRfuVGXp9o3dpm/a/7S+LLDG/tc3O6etqZiqCedFuEilO5CzaOJMiHJxsA0pU5HjCF6eqM+zIv6g7YX7ycRkm6lDHCj6sG7GtSxaOSOd4m6PeeUsvwSb1wzhkbmiGxKc3CJB7nUyTtgaalryIlEmvV4DtgOGkKSmetAGkatD/UDql0pdODtCALpfln3R+bvmH5Loj+BywkZFuuqXm/5bak+d4A70UowgATw0JjO5Y7dteRLHpdjLCVNSQe988R1HWmtVfKQBsrY6VQQF+tnvGOXE6NJE9bCucxxk3dU3rTEGh0NNnnVnq5D058NYtSIWqbrI1/izGt8XdZr9T688JsLF5ltI/EoNdbkZ111tH3gB2KhyG9GZWBgpK4G0SUMPmuuct3lQTRNMx4lC9ngm7wYHtCMmzLXytugbahr0U5SJgPAWAWOS14PrGP5EV8zr2WVvKPSuffFkeWK2uWWh04OLmvIjY7d1V1a/qnYLZqrQTE+u2GGhTtm3tBtda5JIkOxdOdkV53luTOJfa9pIhumQVh+VuZOFR2NRoYab6lZJrIpcx15aJAaW+i6BPmWY1qVaaqAOsy2Hc8OkzzRiid4aznWPdeJqQtKOaoB+ZKjr8WSL1tX6gGecumk9sKL3qo1ywx0oFyvWpxlDa+bLRM9XYf7CdmST9x8PQgO8P9x+cbO7ykz2TUrNwE9U2AY1fcOkdqLqFukuolKb0D5KK9jWvM7TwzO8SjeYU8l+sQ04aXUcUKWNck8UO5d50smegloxqZdi7eUYxnZYFRquaZ1eSmXugguM20jDpIP7f0fe/U9z0bZuKyrGVc+gD9WHXhrKMHSWeB4gKrOjDIC6CedFj3YiHM9jsHZCG144EZAWm+568zv2PQTyjL5hmIPGjG97cEshZQ04MmXsbgyPhWmi6RlbyU+l1uusR5tYpe5LvO
110UcU0T3vqMlaXjP1kWrZcedptjOOY/Nv+Kbq9zdWqyOygarJalROkpdATAFOlGIRdjo0YdLbAbER2clOUB1qsvrsexZKkeUdNBQFlLzjGFSQep6dZaXmKtaxZX/+WskCjdoUWGpnsZR95nSWPJMQc546WXS6SzWgrNoDRpoImPWhW4ipam0oLUliQYeYCm41xXQooukugiWaJP/AlTc4RcyqWzzd86Z5qLZ94x9cjqp7pfk/i1r1J7bZrq2tuuna5WVr4vFNTHd7zjUfxSU8Pucugd1FxNjS4vY9OBcz2Om7zkx0DyWGgNjfkdm4cyyzTuVMWSrBo0fDKNUn5JA568oVlW4jX4XAUlHxjzepRNR1yXRccZKxm+Whax6ONUo/fv+OUfk6wVu8q1aKovvOJzrw+h+ZifbuLjxzTkm4NlidyfDuCgBaAvp0WaSrAcDYVo4Qdf1mO6QPcBnQBiyp1PyPri+o0r6wkcbA4mOSWxBxlhHjQPqoeW0fBAuizTWg2o7U+Es2zzQuGRdSzjcGtdo2WOlqN6+jTRuecc6jz3nj5ijcToCgqG9NtUq8/eFChNJP6qUVZ4WEbRGWk35U6iO2Qk2eG6LnY/gKYcY+H0BCZeyzI9dcGZp7y8OzOtpGlnBw5eeDQQbglUfLFCnZ/u03j05gFhWpX+GlS1kVLz6/ZBinFQlnWop0QvfnhEk3ngV5vE29+pcRCa6KGA3j3vVFlO2u03XZ0PAynLcmkSW1/E7z5KvUFJEB/Z29v3zudueu5wSd5Mu1Oa+H7+0PLzV0XGg0tzPH1l7wBulHewFPMQG+wWHEuCZZuKlqi7aCIAPeBYOV2tA7HKc32mQ14JWX7CWp1R4ku2DaeHB12DhiAPLTF0jEo9sPWNCZVwMuv+QJsulZufUmSQt+xIRcNTSLSjLtaRWHyO+9QhY8/h3qH39RFjEmsa1kX3XLTQa3e/IypRlWOEpCmNMhsHw16n06mQ+TyoNjA9ihmUbRnEJZS8jDr5MrZM05W8dXrkDnGwlhFca6DKgSANNGMPbh5gCSx5hRm+wiN5klLKML+H3mXkXYbEOo1R9StwObGAWJKU6pP2E+bB27e6P7TeGxD8UOJYeP7gU9/Z5ccUs/n1eDhVAB5GTpyK3UgI8i0fTwbE0eM1GgM4frLV8mwQyPOv7CEjfoYmroI8LUIjs6KkU+cky3h1sGsMbLr73RY/9HY5cjBmt0H6qOt1hWIQTCOsucuekA4MhiVr2tLwuW50ys82U1k0JUlP6rqPZBzi8hxCGfKBrHvKJqx5id0OT52iymNAeaahVHVZzxoTohaOV0c/ENlfAjUK3M1DZZf98mVz8d3/16YCusUeYYgyEBrK7GtYlDvXpLcsGUbdfUGkQZIs8zbrVLPVRcilXkBDqm4RZuR1oh3iSM4xSA+EY8g8MI7p4WQqI2SYz7TDJB5SS1De9MRgFKvM+cDFUUtaVw5Np9QDD0FGCReyNIUOW4XK1ZLgDV/R7V6/5649/FOGkTAsoiZ7bNdjr42KZyP0+lMdZRiEp7CRIhtIBr82lDQt4qXA2ShMjhFlwxHWBkZcgo0QHuSQz/Ikhx0rAC+ppoxUOOJis83yRhCNQGlYyyW4Bg1tBkF5YxkBaIyNGIMIrHrDdMhwD2VqsDIJlwkz6irDKXmRXcqHy3LQwemR0npzK62lHxxVBG6kYaVfJ5kKbzUTQ0IA8EKR6kacAuloenzLI4V4WxQajDAPpdWklrqr4uvw/J6eQnR9GJuOH2v5dW3USdMw4rx1YFrMHygEGDrPA2xM4q4L64h6xJHrJK/hcxfqVRy6dGTPDIocyNn0pZPME32Q7/arD2DTINt4qD2XiTwkJBVKbvcFxkBr9apLIgsJyUhgcwgMZQ7ZhKhPvV5z1TRoZWqWCuoH2hLAg2iHoEsyuu8e90KglBJn/3r/7P2vrOK/X0XlGgpMhUoYwBIGKi4LBtJw62N5llLHyZPBgroAcgHKzWtcKoiLDQIKAFpwxFmv/iYCkolAdUreRAw1kYdNPaoB811fymFADKJKBhGapxZFYzwmplNsPmIwxCVlzZ/wlu/YvNQkaYpJK29KY5qxy3McFDEh7v/9Q79zdUbmlFXLGFK9zrcOIiKHRym9CgNO3oDREWwcxpexjcEGQMzHeWhJAzYk521gxCW43PSUYxyEEkQHbypP662mvtDgZexpLNtxKW+jaQ0gkhhU5dRaDSJXRsMllm+DMY/LybvMtMTGydOBaXKCGwTzDGKVk3aDadWdbt/eVG/kdGg1+yL3/8r+PQfnnv9AH0ECQaNMEIU8mbjzwZW0kU4He8gxvWUSm5ayGmKxKSw43kSlDjB60ojR9GkTS94tCu+uRLr140jU+LgF+jtEbgfJppRWyLSCOv1RJs8zfECKVlkn9rJZBnWjPxpJexmCTcd1iYIDJu/zxGE67+DUd2hTc6RUXOiWui4yLlXdum3Bq0T9Q1kJORep+t2rJk0zjyZA1DA9O/+2Y+879qQQurq4jzu4cPDyqBYxg57BXqCMUVtdO+gfki03+F2Dy2ySyABKCZkm60A5tK4zMdWXrO+gLMt0W+Ct5SSPBT6bnnjH4cr6TiTN4BHoWT7N2OXIJg14MEULxmaTZVFW0pV83BCiHLzZoRmEsvbxJdLcN7nbEL8usvLuQabsL/r4GO88DYpVayunyxiu9aZIaDzlwDsKGGzK+BB750jXAhiaYvkfzFDUwpM2QGsdxSPjH1W3Da8ZW1YZB39aC46SU9KpTq4aLA26Nco4G0MQJu9preH02sxmZEMjNl3BHzXlD/yqRTF5oMnXzJsHWqeRqt7TIzDKgLLulO++q/mW6cABKS9zLR47ui+xDjEjoQEMIgcSQDk9wcuBHyUxaLF7RBlAapKKe6k/Rarc3rPVwhDrXHwpQikGHxkEMEyRgK+uX/tITZ/U7nbgId1lMj4NG+XIQ47eNJMRgEOmdEu4IEGKplT4aE05fKpLvjgKksw8SMoXB6EhT/zwqSZoNLFLFjeuxshy4EB0njqF8NX6KQ+XgPY5hwzyAK8dU1c/36dSuXnIOW3daoq4r78lfqyYL7o+KJQa5nS1euz4sLdyla6+jBmgpseSAciAMBBCCfCMBvA6rqC85oq1R/IUydjAU7/K5LXIl5sI6yfjUZeBGwXGWkPHo2hDxkQeixptJhoIGaM1kWyVlAPk8jK2sXlAI493Sx7OOmYZopbZZyMwXa439In/ZJ0Mql5PUUYdRT2pDbURJ1aNqHo3IQYv8e3kq0tMyVrF/0t+eVk4UZoBJDSnOxscMQPGdNUc4CYPFZYGAR885i0H3nQ2QWgEmi7JQ2NeNEAWayoAfKTCWETf1C1IIHSAZU2QdKR4eOyPBtlyqYdSGPPbmORVlKvL0sEp6b4/j7S4s1TLIQaaeVOqnJw9ML219pSXBDYutfxet3VtWdI3rAt//8JdMU+emdRGdQ2JB4bOVyjxrIXK4FGge+2tZoPPB62obkOLA9Vu8HaJCfHnEFLlvTzYtZZ4rdoQuqleDmUJ6hIZkg9piUuAjlZpcoRWA4/Ovglom+sO+ngeEs9G9RX8wI8DBofpy3s/6Bhw1yDtMAYZBLvLFIKAr8S3YknADxRoiOGSn+/vTsO/xP9HTzKRqw+1WFvo6XGCtEEDHSz3D1VDQrc3VXUioIcNy2OGPMD8qo+rgnort8n5Pn3vSv6hu4SoMKWff+75lxk5caz7UzYLk/MMkBXG8JyGhibZ6MgbwBssx95EAy45QZOmJGhteDIZ+Kkp12FDAcswZbmU6BNl/Skuy0tirLaEJtTal/ruDcl0N/oppEx9YWgymCJrBkfG5oW9vZRlKy9KroMg/OgpL1Mjy6YjDnpQRud6BuUO5kRjzvZi++jVJug3M746fGG/s7mD7bWoxp9Gx1vIyNh
110dRWFOZ09oz4Vsyp1nFDG8zCPx4MGZXh5IpuSuoAxAFsG0pEpeSREO+oBkXDZN1wWf9RKZvERigCk+Sisu7+3carckeZqoQgOh2lVGCXk+DCwU5AXk9VFdliA5yrmFmZKRdR3cVpR4tDNVXcWYyPylsRlHjLxCixB7tSX1d4XdVu9lRcWZwZTE6nCuw6DuEN5mQY6KSw57Ju8mxYEh4FMSMEVGpySIVzoZWndf/xCxNZ04UlHsHMHLjGZjcqR+AOOjE+kEXv6R/tRlE6TL2afxSfNSPfDwaWrVjZXbgGR3LjSApMm/IpG+cKeji9KplvgafB5eaZ3q7rcmZMdUSS02NtVHPewQ1TJqyQC9v1TqXXQuJYUs6Sp+yacE/SyTvAFq491OlRmrnPs6clHFm4Ws1dt/z/49sdPYE5Lo12haS29BoYxUImXFFFvCqNgeBN7S+5SyMB5MxkF1rbeLpG68iHTIBisjQD44h0jGAEgH6a9y6MqpETq3SnqoHuSgX64n02lo1MkMDSn5BWioQSHQASmddnOiFbdp0EbDKDn2EOSgcVmmQiagsjTl9elcIoO2AZKziYti7WtZr+tRnNtHPmsX8npn+Cv5yWO9ePjFlyWCUVUNdqrNy8MgDsTrrQOdwai6UdIyji5zo3XXSCZX1aly+SsNN+dMNFgv6Zk7ZrEaHzKDHY+BAUEnetWau8qGidYyPcmXsUl79NCwknK7Jal5zZKRJsA4SFMWQ1ofEdhQNCSU8Ym49lKmV8yg4YEsE8mqK9cDTX6BkrrQF7pMmxADl6wHaMsk7bocg5scWt2llSuC/PFkWO1W55zo4XIQouF4rxpcCa57OXYXgHGkoSRPIwENk/hLw6TMRsfAr9Qc0HiSg4ZpDghcvKKjmqABW2sV/29QksnrTkzD1IqJMA0SpXNBbVdN59eDWB85BkFg7MO4n2kFdcTgtDvVo63p9v29ztTj063pQ/un9/Pf5Ktn5549c/X46llVe/WVrW7rqug0OlLTn1qnX2+RT4QlftdNgUxQalDRhSncfWbzkY5QQkcfmELSm1NeOQ5wQSVQe+tMyDJeFDlnisGYfit5XCq+zJ1Tdc2tbwvSP0mG1dUxg1mHYw2hPAnd1IQ0PDGcDDsNhV4eo0k5mFfX0XnJKFIhqbK+kgYjIw8N3shGY3OTkbEQTzLrF+ZkXNzJ6gSbvXJeeaF5nPLFL91+dm+17y+e+zG+hYIiq/HPl5eqo/GpYTHipyN8KcIfpX88dfzIO7rtztuiBn6ADg0ZVFKqA3Oquz2VSRM6UhRZM3PIzI03L1MeUEqFhv4DuGoEUnadi6TkOrJcMVqXYTGuvyxBThqbbvqpyWRYvenqjFBIauXBymxl5Rk7OmWjYCDVXNHRJciROUiJUnXXYUOCy8oqTV4S6Ug9GpGReIqklEYTUx9Tnuolb27sRbVBK33j7Y/WA3PtvX908OaDB5eq56JgMnjhR154MSh/M75c8AfH2kd+LCq/OuqScYU2eM+ohpaqtfQvHzSQ+ciLSXO3XrFoQmQ9UcLrflR7NMRqjRQu02UTRKkr+JzKVMO8w1TQoN0wLf0OPR68avEf4//3Vz/7ATITAQ0bBWVFufGiXI2OafKtrWCmtlw61f91j2nTUyQ1+GYI2ja3CjxIkIdLnRMaaLIVLUMKnutUu9P+zOLNq38R+ZOGWX4zvVvdEu4IbTXByadQFz8Il1/TsQGiCVsMAN1JecrzLhJuDWdqT0hWDI9pSGcsOUAY96Nwqoe0+8r4YX6XKBb9WoZVLSztfePUC2974azV5ZVvS9UjdFywguMrziX2VMR4lqmGUP4hM1MqZTIhdZvrAGcWmkOaO9Qgb6UctHgdDUs6MkiUopb0KIt9rgC8BjTxzU5Nf/LYjafuv5B2fq/3pdl3TT0ak9a1URMrJGmvFnJV62QYbiU5gqjjsD94RYu+whILT2o4BKrGukz+2rQuVd5Y1SoO860dY4zj9Egq9KZXP9deXlw+M+XWu3C/EBjgUaF5rGD6Eu86GGQPNDH2TwwPwHQJrvlJhfXF8qHRtKBjBZ2BSR51UwZtfMKUka984Kam2p858oHlB0qxpyJ9/MbVv4x6/3PIYvjUW9ZExqNhRRO1OuLwqQQmT/B8yti0owZdUsRDufI0xSni8caAbMmH56Sh0+udP93pdPR8cC1xg9POaErUllmMKneJYzVzhvbWQB3IQApTJ02lsRhHbrR2i7DxfwkN3jmFJ+uyo4QemuVaZuwI2/E/DcHzcC7wU1Ot1sPHbg4D2CRY+kDnDxfunH5NKP+2aI00RCtNWxrIdrHDdvvLdRS6yZOVWqrTcp/QY7kjSeeeyXxQECh337rU3JLjnOhNU8ZlfSW+Tseh9rnt6W4vDkbXAXUD4sYHRKxVTlkTMBMHhh2TSAvutGGKuoqDWnjlcSSlrAv8qA80hcfq08Tub37+zD+ToM27zq/u/W9R55F6KKVJ6Tlyb/qm0g0BjVI2EZlFbo1ar6GHMn9YEsg0JME0rovm2nsa59icJ9kl8abAOXxVSPdyc2A84MRMU+sFpqBxNFa0NAZNEOoqysuyMu1TIIwMQE904t4njRyMkQ8aOCYtb0e3dRNNHcctfV+9m0PipsGBWw4cirv3zqjfficMBS8VgfcV0AwjIhaFDMTGgHk53YxlNvSUjM/G4ZhWST6p8QC3apVE10NO/E0dZPSZZygVbuHc6XiJAsMaBpqboUxn7LjUuAZ59wYfz/Ey3aB8163yXOZ/Wam7kqFQt7KDooNMn+vpL/PjLVat9oJsf+e8v3mieiJSmw97jp/96UNzL/zbUG6uX5uH0H4KvXNfcEvIWBjScmqkvaajDCCmF5wXZyrqy1EOumHQ7TqMN61jUzTzxhdxLGbPDVXjFEv3e75SmXPjvNBa+NLbFRXWhiAvA770TGVaBjP4nBF661TGzamTMq1kWMDLg5k+hin+19c/PHHLE8cQtxXw7IeePRKj/pnQyR+GnhZyeyjd9EympKegkk+RAdmj0EoH45o9mlgnuLi+SWI0XocubDw8ls5bBmtHZUOZNm6tmMbiGwA1fDQ1crNnyTR0ZK69TMtkoITPp83ky7uUowwBtQMhLe208F7hpduPaGEnoq24xunr50JnfhefVktbXfsaBt6KQ6OAchmvAR2lsGmQQN9lSVA7R3pLIHr7XF7DYChlCOVAW9mNq4IBGJQqB54Syx7c8Ymn2Q2lAWU+y1fcn/AG0dG2eoBCqNLVTG/mmZX0+mmDdjOz3emvVq2V9JQj9FBv0Bba6jYpJy3KPnA5JblfRVeWgZG8bErNcnENXksdBkvWypUaDtP1erNMgzNJoWYxQ3KqYFiSMDLkwVKm0aYhogedpAX7YKOgRYKmDCgz2G8Kk/jm9s4dPVZt2UyYar5s72WPPnzkIW44vU+VBzybk3Fqp7yz2za+P3JbSdEPg7SDfTVIrdxg74+i2DAujuKOsnzUnbRh9i1msKHLB9H9ChiPd38Mx7hPvXO89MClW2tVod4D1z+wHBb0bCTz2koLBsxgMMjUtPOSkbmlG4/luzCuUxO0Opbp5hEY1quqjk7H7swn0lF/snni0wt4rRFQv9M0XDJ4l+by8n4t05liy1JxMvtsHN9enG4H11rqbf1kTNwewhhvHsfj8C7fjDjXmT3tiHpoK+8F8KbS7IjybYdK76WP0moD7vzR3Y/yP4A4ddtS6PW6vGozasIe1MPmlAdxsHxH5HqP8Cb4chiX3xvYEWonJZlUTgCWji9hWLzqsrXQbn8xvuD2rgGtmUQ2EzZb/jjdW61H4uXIaiVe5Th5OMGBHqoYXfQLM0NFYxGl/u5M9GFzYL2YXAJWW/H2p17UGytuMwpaK72/j7N2r2dlUNpcqDrrPVz5WsY3uixjN9/vjdA7HufcH49sWytxSJpVGW7YZBgG14M4GcdoKtYdse4bXVhjm0ZTEruhSPB5msqTzPQ1N739WXJtenpP+6y/O9w7kJ8QoKfXUydSu9o5bDi0chC7dl+eSN0lz2BdVH70DZe+6X6OE09uvcEgExhEGnuywcZguaNiGqajBwZn7Q90Dp2YjLq9fZf90WX58UrZSZuYTj+432p9Iapgx6ce04k7t1IO5a5QaYZOYVzvrq135recUxfrGKjQK44a/vret967Ol0bVumU11azWboeZ1k+6V2qhzGqiSEYBcZjVpwOEQPGk+aBjj0psV5prr7+3FcujdxDkGwpdFufji34W6LONBTxGKDsHenv1hITaI9xtBJQazFLlyT00IUbaj3IPbce5UTl8Tj3jyEM5WIqPBHwABKvFVDcgXrwSGvRT1JWeitkhieKD8OUg8yKutn39uJ3Hzq8hBM7y25npbrkonsa/yEWOZsM7dnpT6W2a0Lkp7KnwjJ4w6QfQgXeGcKD4a/UczIl5ZWmXOZZxglZXHLPewSG43Gv0EzCq8dTpUdc3t094w/RIF73bh05oYFO3DGQJwoY0KgP6yt/SgMyjth1jzLCki7SMUo6pxMfdzC/2Nx7+njF15S2FI6///g/xIn0HyeDseHIXPqDUxsVjQQXy9/aFG1cwpsLGk2oLi9LVJYN0ryDce0/Vd9JdUiv+rT/x8701NLU4U6rQ+V0veJJpXtgoS93ZiW/mj5sgGB035XU6p4SQx0GPJKBk3SA8jAXjCXl/Wwx9Fmd6cCh+yq2KJQnuvBc8V8yzp3/r9Wliz9ePZL4turS6t0e+r6r7m+1SJpr2mIcgIiVSHEyssDWqEjRZufNQ2lOw6MxjUQfKB8cZ8bckFNgcm0uH46RVsP09NRHl2pDaM/Nzr3YV2aj05QlnkiMQqM+yCqntDJtejwZUBtTHJnIoVMOzjHGFPzRW8lLEZNPU2fIWJ2pLtnzseq8JGuLLos3rN4b65A/Dy2yJ1FKV/AyD0xgMCRbqsuDKhqWvl4WIzs4dVqG5cLnj24zjGZQtnhOuBdidr/36PuX/94C2q977HVHnJkoxjM5eKA9kGXe6bWms3EVYhzNgPFQL3IjZq2UpjmmThsTNJQTRzBNwkGDNyOIKsWLy9W3LXy0evk4VTYF35v6iaSFTuKZyvIg20h021CichuG44ZiYVyszfgqPy3N8mxkNhyZLaY2HIwxP3UZV8YuRwcZKl+7+09kDTBWc3dMvS2U4lu8GVDvZMD8GEMJxntwyzKn4cl02pwHKnkmaCjnvdeabnU1Ep4CyynPhgbPUpiTjWoh0rzBSh1paR/f2OlUz/+jxeqxr/zroDwRuC2k3RqM9qbryJi/e/rnu53eTyQToKf5RjYxJkGKWDAurosTjzz4IH3KxQCLn6sliU559zNluc6SwunhGPpksK2PL920Gm/JZkirnDDM+Dr5BoABdbBnKuPSS2nw1Fmeiug4+JsArRtal2FMrIvwTqmMGIOpp7lkINQXMqMTRUs5cko9MCrLp35C/YndIv+2Zd9js9VrFn69etlVH93AIy4M6p70rHW6uj5qnBD27t73c+FRnwxyTWP1nZ+0lKcYxIsO6SolzkBawd4kDXiyHXkyuDKVqNPo10IkLVMoJS5fXYclJZ1bL8z1dv1cVkWpJG7XHTPfudrrvrJZmAZiCDkBojQO0ngHgwcXwyofudhQoeNRbW14fS9lPsoBjKKG+Aqb7liMRd+EVhnHEK5/LiSiBwYGHuD/+qxEDgPk0IWvju1Kpb2plerwzLHq0N6Z6vgT+4LzwboVVwT1gZC6L6gXI56P/GLIPBjlnwzeH4/09RFPALN3Tv1gkP1WSMheCs0HvReS1B70zGAcPWGzkFmpBMqS3lKyBFJBG8yZw6XoNOzBXKo4ejLm6euP37T6ucECDWE19e7Z+V6re2E0SPeFY1sqMYMNHhXoNqniysnlgEL+5sxg0/QlCnBQY1hApJNXijrivKmq/5FTjzh2dvG7qfFuQNx33ZWIw7UQ4ilU/JZJAP88DSmeCj39oQPDhWExIOokmWOcaSWjgtZnYGjB5iX0pqrYNU53Z6v5473qjM5q/HbYTLU3fr3mjKhpV3VmeKjVwLwY0mknb3jtiZgfMn82cNdG+t4I60DnU72HZt41NRvroqvrnnB/0NNorKMEjwO4HJDufOpDEP0Wp0zwe0QlAw4+mVPphCXZL8upTK3RTmShWzjc9r+Pnyb4PdiaQMXV2ctnPxOE4z/llIJXoMkaqKa8wXzpZZwmriFNc1HrwDSHFuX9Xp5r1TIGvBheiB/PhQ9DYYVEbrnOk8boyPsTeaa/hCPmB3gJkU54jIV/UUXMWo7flxkFfIf8aPQEXuuxGMSzIwZuTdeJLos3rn44avh4EGsAWVEKJEuGobKMl9GZh1jmYkNUCVdGKoPk+HbLI5noWPhzjxMyS5Ea0KL1scWbV+4qSgeSqRF8a4XXSQdKJsmUxuI0g9sEBnQ5kAQgDCcZE3jzOQ2/cdA6HTE8iY/1FQblKRbjgA4DIs3H04Y9GXnKmniXU5f5odvoEv6C4N8b0jGuj4Q2G4DXdF73wbCL/xUs5dApJ8OQgSA1UwjXMI5+teLL9O5pMMw+MsWm4RXs9S4zKG1s2eBan3/16mt/uk88ItG3zF13zXxXrLMuHkGDmw2Z64C9DAPsKQ5jIE8wkDYtDSQduLSzM01RH0cGCQ0fcokxKNZMAMbASRx4wHhk2MjAIweaoG8tRpoy1lW74lobVPJWousuazLnVz+hg541WkyM6ao0uMNRsivwq5HeFdfHQuYFkX4ycLdGzNBNAOfeee7eF3sH/zyG8TtqcvHl3iLPeAnv32aF2JQ5TUptVoqrehV9stGJM9PAYxyx032KOIP7y/nZ3e8/9MOHDvSRIxL9OyvmEd7Jnhw8kHCQdohsmuLC8/S9EjSYgQN56MudHYPrUMsamvIYdLoFOsvCyKAHZyNUF6pjrRdxfJLxIMV1oYsBPIEp8ERgd2hwRoR9EYBPhGYTAo9CzmiddU04kt+pucVpz0IM6KqUvVUqSCWUZgqlhWOEJGO96VLSuFp+Hces9vFXL7/2B9czKlj94ll1fuv8Z5/ofQOcgIEAiP2TjsaJQmWk5TuEJd0cFoaULm7yi2PomgwSrAwvrzrMT8wHwLBYY9nAiPGEgNKJrjUXNHgo+GxU3J3g8InwgEe226PvMKkuT+NBlmAphgl/VMKBlO9VT0X8RB3gtsGXtCPS9XO26+bunP43Mef/QuJUz9EG6sLsMQ+kYiDE6lf1hvteekFrTI4DVYPKs/mBznJVT6BCSNxq7Q8v3bTy3++r7quZ146kQE0zf8f094fmewdY6OgxhjUwzXnQS2YPELgY5NXUDTUS+oKnb0zgyikPozFgaAA06lKVeF0HjkGk+wHy0IbBtFi8g8eQFqKjMCLyyzKj2I1Cja+KR6dVbwmjIs/inSmPA1ZKmWr3R2BapMOPBn53pJkSL4rAm+2d+DwW6QsCj/e6LvWghz4I1of526evjX+L8VvBtD+oxZsNFJ0YcXSUYVj6uCmyrNJ8wiGDfpMEUk5L9KGY/m6MTcaflSLWSw+46vi9qGcSQzHg5PtTW+DTsUAd94WXBkTaAQJkMYCWSezQF1Ak8DLQ82GwyRPIl3w5LcOjHIDXAE18hqY/aOqAQSWjwpAIBgyKUOJcRrwY3X88QgmH6jye6/kIT0Y4UMgsaddJL35w9d6pau6q6O9fC1L0wqxoEcOu6QwcIyhjiEQCyhWcl+kN6loT17yUaU4RFdewp+q3Z2YW3rBRo0L0QGX77tl35tEjL15LQR/CSJJnAlEaEPk8uOSUV2rwimEE8OQlXtTR4AVv30tpkPMCHIMy+C6lrlpOigcPPNnpyPD86Cb4W/OhMR6KsqMRiBseKzqgk3ar1BN6hBGmVi7NRsxBJYbF102aHosnrHg06PFYeMSlCHsjIJP6Dkd4IeVXYyGv4Y7CjcLcr85d3pta/Znge0/Bm0fDvWVPQwzOB60wmcYCRKES86mMZ9ufDyv7uVEHn2ZfLx4wLIjDBX9f9O/e/sK5KYEBBmiW1zKkPeiURaGmvUg2jK9vTOA95cFSyh1lTNBwsAnQKV5pKC88hoMeyIp0f/qDxj/xjWGRhhZDovNZP7EGixP0OJRl2quSYWE4GBYHpxgJUyG6nRMpDmeOR5qT+oXAH4k0UzKn8EyVD0Z8dgQM64rIA9dF+eAgJvSkl913z74mdu63xbHwD4RU+SqYWe0J1DM2o8G6smFrBJumFq/mtf8kWH4p/SJhLfBEoyHDmvuNucuq5dUrBga6NCAbADV6EJu1T3Xi+KBGlvSB6hsWXgpggIGSzncTONNBY4NzuctKPDzxSV4WL4J8jKk+AE15/ikKgPHJ66ieMK54xJPKlojxWpMaFmvBp6IuvNcLkf7u4P1a1IFB/t/IXxgxE/VtEU4Sdt+9+1tWu8vXhf38izCyN0S/YGQC942NipiaGWmX2fBiexTz3f+JSe93Z3pznzhy45GNnQzUVY6K+rtCF16wesHjT3a+cUVSxkgrZPVtBM6bbkw8YEyll7JRwWeZ4GyU4H0vYkR8rda62Kigx+MQhwG19sbAYUil7MhuC+A54ymAozccfSrE/BcC/w7whaef+Z6w1jCw3qvCUF4ZnXRhlO2Ok3Q2YjycD/OOFw1amH7vy/Fjw1+Of7Twt2d3zvu8f9JpKXVaUJ8iGNnQhbtn3thtd89NdXhgycSAcw44YAQe4EKhviEVuJSUB9JaCgOxp6HQxlR7nD7r4I7P9x8GJs1siPCFDJ4vJlnC61WZhsfiv1ck+Xgj5DDFRTuWyTM1AuDRj38mRfl6UyHe8ekIHJYydb48Ar/txlrr0UifEzG7xCdD2q0R26Okyl56lyGPlZq4Ov14NbUswwLBoDNweKiNeoLS8BgyOh3XLAOKRJ0uvR9lgI2NmOmY4waX+ZawbmEiYVTydtbRMbL+P2xpD5TD2a/47We+/clqprVUG1MezD7FcII1jUMqxXxKo2qyYCAOZZkNBW9Reh9obFQYjD9Mf7F+Smuq0pDwUgA6gEceMV6JAB5P1Dz4FJeuPHw+XocS7zQ/C8z7Dmv9oPlFUX5O1M4zRI4fHohwfWqJbw1Le0nFYxs3d3f1qjgeuDy1tpyyiuaPnfKgsRFgAKWBefBLHPRlHfBCh5HpaZs8mHeFlJk/aAamP7b8roOYgJGxEySOfBihpjvKePs/ZPUPRV1GjE7rTYXQzYccpkLqZipk+vZh6fHIfz7yHEMwHXqHGKpM+t4WpDsNRnosGvHq5eprceSgB7TrtcpGREygY+1RXDZKhulNQ1wYTGJhcE1nGRhcLX/AqCjHWIDaiJI8doTOUwYNcqnL9YFvwiQei+UxXmscLERNl0QhXotD0z+N1jwYscBxnX3pRGMN675bqpV4D/yxZlM93aUBpZCBYaAdy8sMsjGQBKa2ppFAyTIcPB/okNEE8P6EkViPviFBb+NBF+jJrwVMiQFxA8kYfdLOO/HGQQB+T+CIy/8My/NCTuB
1105o5TYwDtajweOfdj6MAnN+lK2GcXoxXut5GV7q0e/dKy6OLozG6B3iRqK/BjbhgEvBmAoBxcpNhoG3tOftSCmHAO0DO+eHFuu5VATcijnOIJJjh9lol7w9YuC8XgirxWR7hBkA4BRwGmZFPKs9Hj0gQ5IsyHw/xBpBwekvEHKem13BHaQngrh540Hw/OpL3vpUc89gbwuaJttM+0OjrPBjGjEA9dXy+2V6hv9IowHcFxOebwYx2B7wKEDoHUgz0AQLIO0jci8zkNvoMzGwNQGwFvGlAPElDmfkKMvyVvhneyhiPFYeCfDJB6rfG64EY/1iWRW2fBc5w6P1zQs2vbyl1WPRNO1HvHgEhPsvSDEUBhMD3ZpTJQD8AA2EMsBVxqT5dhzUVZ6PuhLML3rpsxpxxgMHsUBGm4GoBkLO/7KFLgcASDdhLNrBO8lABcpCt9fVa+KwH/0Y4fIWouwgfe2aknbPvLDmrGKvvDxqjPzjjjTnYoNM2bIMzXuYAIunI+mGRkOvoTA/U4szySabAAq8xQYZMnYoEUWBiufNBDHWwh8CVWPa6BR/eKFHpzrI8Zgaj3S+1hMkQSwTGthbOnNBnZ1AR1O7TF6jNA60ENqn4ybNDs/6iPYs5X18aUuwA9IMObZkMLvCP5dBM7N+RbnrSHh2oivjMDke2/IfYnAuh6Ldv70TeG19H6AFtb2NHR+CXQugSnSaXsM6OyxMEbw7Losy3TZ+PKmgMF2eVkfaeObcV3Wfy2GvL0VMdCMx31pQtT5up7H4ts6gI+YL1Q2ea5LIo3XYod4bx3q4mjlsPdz2Q6LJzKs22IqXFitvjiybTYg4lFgw8E4oLFxQWtjcJq8aaArpz/TNmPTNGNkNgFPRMDr4q1IbyXoDdMqHlLLgL7cMKSPRP4lYlzlZLRmFx++pXpu5s7q6Xiw6ZWD6L3WsIGBzVOSaNiiYxAYCweexE0vxAk3wNRjI410TH2aFOlydmfKsRtVytt/YoxLdCnuv8CHXLyTeW1OoeeSpzxoGG7q1vBqOlS7KB0N/PsFplf+IyG7Q6a4g0kSywYB0yA/qbsvytm5nh/xVyJmnUX4cuSv6GsHjzUkvSNhIo/llr2sHf+53affRtqgbAzGO8aIHMAxDUJrzwPOeXAYR0lPuYFyB+Oansp5lzu2t+L7ggF9b+U1kuk2M7bHero2PKbDJrBLlIk3S3ZUfkOG9bUbqsXp6VhvrWdMlOOR8C/s7EqgzGA5pZG5jNj4ZmxvRww4btJhTHgqh0S8xReOHnhluXlYelnowVqruUOUejveuCaeCj0cx99bfX32jurceMnnrBg2eR8KmT4MmlI0rdn7UGqDMB1lAGU2OKY/GyOGwv8ntWmWdTClcltYJjEyyumS3RtTEMBBqQ44s57gMT5vQhyDL4FpmrqIWQh4imPaPhoB4OTd/0KYFh2LvKAXD6nzt6n5d8LAFwP39xH81ZV/LuLq2oivC957oswS6qKdFKmRG9CY7f7FL4t3Iqf6e6pBbnsNGxSlGAqD7jJwzpc48E2g3MFlpTGBI28I2jV3gqbbqhgDG+WxLgoFLomA1wJYyBPujQDs8IX8hg2LNn/ln1VLCzxKBTAgBtaGROzjBMqbgEHZqFxWrqtsaM0YGnA2Kq+lTFfv8NKC3XKJvbYyHdMiUB6KmuZUrLc4gS9P4Tl6YBr0lufCVHsVj3RkQN4hsog3PBvpByLwes0OhdyYE2jA/MerS1eXG7+GxwDayDAgPiXYu0BHeQ0tP6axkYGHxoZE3rzEfmOhxAd9fMtGRwrgmfpsgLw2EwaUFu0YF8YUxrXEay82MiZdHueww2Ta41wLY2MahU5TYTemQk710K+bYvK8hEheO0N+1ojnhjwT1A72uYh5nngsAnBGxLTBO0R9m4ev5/OWKbtE0Z3kFzBSXafhclJ3RKy3Ho33mA5FF2RjsgcrjKbfLnsqDKYEeDAAgsuasQ3MxmWDadJhMCVQTjB+KzxWXl9xxKBfpPFh6fm1cvzeBNDcIdpz8agH2KEvBZ6UYaX11oVpStR7Wx7k1CPFBYOyURmNYdizma8Zm3bS2MaG8RCcr42qf8RgI5tU7mbTlTtE6rqmUSHrrR0GG94VNtvHeuvcO6v7D3ar1yXzsQHZs9AlGBCAL6EcYMdmsIHxD+4wLnsnyi2HmCnKO0R9xV270cBh5MErj+edIDzmD0PrxWFu/aZofsaHt/XaqrkrBE9AZ7fBOo+Ky3eyfJNAZw/GVHpZyDI8VxvMY4H4WgTvEFnEXxB51mU8R+RIgj1iuSsO1HaGk/JYbthzN1WHd++KnaKPCVxATAc7lPhsTPmb1h4MxyX9JGl7KHssYmC7e6yLQ8dLIniHeFWkm6A3IHaM5zolhkUfHPrh6sD8YpzMG0YZUzn9Bd3It0DNDy3eBjn2OjYcG14d93eCxmNIDpY3acyC3Qv3SXmgw9s4jONjtzjq6KG5Q+RFJQDPBbDe0pprxxgWk8cpg+U/rI7Ov7Naif9Vsy/2YPlnfphK6BJ2T0y+BKav8jkdaVy9JgqmH4GmAE0CTEvmgY6yoIsvdcgrUUaatw+YVmWQUCW+MOT0HLPjHaVk4FUF5HmWN1/kKQPPFIyXZaeH/hg5wUcL7AoxSLwk5ew04ePAFpl8kwfe8yL4BqFPeI7Igp5njN8aZeD49s+jkcJQj0Rgh+hp8TOR/0iEbQ4evlOm5rGbqiemu/HGN97DHsTSNzL90fkTeqwYSIZwcEc5qv5EtM5lMz3WuMc79ljeIfL7WkC5Q8Rjcba1Qw5OT7lh0R+L/6r6Wty0j5NOd6cNKrITT382St/dSdiIi8u9nnK+JHWZz6sclzQ2TuO8cHd+vZiFu8M42uabpReOILysxrFgB65RNHDdAbtEnPamwOLN1WO7fqNaXo7/V9OvoDCw+oGQpikI5J1EqmlUHsjTlmmImdpG7QSRQYs0BYoOcowG4+JNUYyKZ31N42Lq1OQVUQBTGICBTQLIHnczeFfIYen+kKvD0sF/IOznjI/VlT1cx94hWgcbHD2nBYJLtlW8KR7LLTz2vurJhcXq4XQaHkaFt0plHgDHZsDbePpz2SgPZHpil9srOS5pjLMxOS5ptsJjNd8sZW3VhItrxFo7RPNoRebctoo31bBoKS8Ixjeivth/YW9c8zEkh1E0NrQ6HrkThM8GUsdjD0UpJ0zqkUbptB6u+dwQetZZa4HXW36G6B2iebxD3ObT4aZNhe4H4oM3VAf3/0r1wMHZ2PfwUjAu3G9+mpBdlwHjcb7p7pkmbWQYBt6IwNRlPuJ69+hD0TRF2ogo09QHb/5iCL3BdH2ywFqLnSXPDYFn0lUXdoaG0mN5d8lbpjyH9DNEaL2IZ6r2M0ReAdBCvj/lQ7pdYNM9lhv67IeqI5efWd0f71oN/0MoDMHBDM249kADRgUNcjpliAAABRBJREFUfKPimn7HeqzmDjE1Mi72WOwQAXmutb1gItzay5YZFs3iC7BLN1QPTbfjHjSwRvI6qcSVhtY0KujtqeBp8lvOdo55gXHUYWmp82V1hgU74ZqycHunt2QqLLsgPdOrqm/su6d68cjR6hXhcab73srTH0ZlYwHnaS5waW3FoSWHrUBzJ8g0NwIG1utkTLfWrcWBJ8Cmg6m7OU3G4jEBu8xmWV2UorPiatq8Zhp8s7Skd/orkWCt9XCNeHWkL3BhxN4h3hbpWyM0lw2BOl2wVrduqk4Hrq8OXb67ejB+Xe9I34hcI0ZVeqx6uusv2CkvPRbpnQbjHu+U7bDHYodIGPUM0fTbbDF/2gyL/khT449VX5qdrv4h7nj7K3fV+BhDY3r0FOm45LCx2VU5X9KczvQkh6Xr6ddcb22j44ctnwqbfVVPjU9deU/1wlePVBfFc8az0rRjY/FBJYzGYSTe1YEj7bL6cLS/aPehKOU2MtLeIXr68C6VKVLTnl6Xod61pjnKNwJzoStTJ4elvLLsw1Jk+HUfv04DrgSm0bw6zTvEB4JIi3ktD0qe05Q+rR6rbDPea/HG6pG9u6uvxEPltf3LJB7LRtSMy0pPZ3qSw9L19LPHujJulE+kx/7bxrD8XH+9JmxZ+fFPVksf/s7q+S/Er+R1Z2LJ60U2C3e8EXluh/KWcHfKe+kRDnR4q5q/Y89ES6B3y413Hu9EmonZckmDY23H+RR+nnQZQ+PJnLicC7T4D2QAXmpGybQpIMk3p/FWHI7izfjREGLOw7gxWI9Rzk7yFRHzpgPnWZyJ/XjU+ta+plGwPWDbnX+U3cI//X5outof/4zgnBgEOl1Dh4GVPi1/81C7xBDCm6JpcIgD0pcmLBxcngolk+mPXaC/QEF5zRtToXaF/Itevk3JjpRDTGKMwVOnd6q8QkMw8EUMH5byJQu/PeufCeC/WVwW4emagd8tBXRY2kuHpeTZJT4cgf+McWsE3xSUbTMo7/ttplpV8XOVvIbzvZdXD80sx/k1C/zSoJoa47EC+uurOt8k23b55pmWv2jhxzs+LOXG+uXogdvSqjIb7rZr0OCEsg3Vk0r3vrVaPfqh6ql37okdZDv9TL8nyI3pjKER7K3MfaLvYJm/GftNUuJTAfzru38aBhU32nb2UmVTy5VAid+W6U9cHx0cP2d2W696/pd+rTpjsVOd2W3HSqOeEvBUPBvsK48Red0Dp3eSpEvjYt3EW54ARnaywEMr1mDrgR9I6yB20APxutAlofG19ZR3y3rCtlf5jjIsd91tWlOxWjnIOuzL89UZK/FPc2NkbB4mHYwxNMCv77gUY8LYToVRIRNPZcMafjIKxWjgt+Dng/Mn0y3gW2I07TbH5rt7mys6iXqX3F3NP7tanRk2squ3EkbGt5priN/Bygeq9VlXKsJIMSg8mA2LNOFEF+/sRr14x7BYvBv4JwMAC3jOsqj/vKDeHUEeORXv9MtLyrDKwbj2M9X0vS+GaT2TvqawK1YoPJW0x8oDDW4jhrUramEXyA6xjNk5elfYNCzy3hXyFbmFMKLj4ZWu2/meqezzMv2SNayykSkdU2acCS3EN2A4++aIlX95OZ2MbbMMC2M6ELVcGIbED9b9dQR2dN8E8M1jWKMG87aYpK4I01pMRjYTOYa/HRgOJvWT26QBYp9j8eMfeCgCU95spPgXvudFeC5SuyOwansJTW2pDzZw+X86JxjfQ2kNuAAAAABJRU5ErkJggg=="}})])}];__vue_render__$I._withStripped=!0;const __vue_inject_styles__$J=function(e){e&&e("data-v-885387cc_0",{source:".v-spinner[data-v-885387cc] {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 9999;\n}\n.v-spinner--backdrop[data-v-885387cc] {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: white;\n opacity: 0.75;\n}\n.v-spinner--container[data-v-885387cc] {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n display: inline-flex;\n flex-direction: column;\n}\n.v-spinner--container--animation[data-v-885387cc] {\n display: flex;\n place-self: center;\n}\n.v-spinner--container--animation img[data-v-885387cc] {\n animation: animate-data-v-885387cc 1500ms linear infinite;\n}\n.v-spinner--container--text[data-v-885387cc] {\n color: black;\n font-weight: 300;\n font-size: 2rem;\n margin-top: 2rem;\n text-align: center;\n}\n@keyframes animate-data-v-885387cc {\nfrom {\n transform: rotate(0deg);\n}\nto {\n transform: rotate(360deg);\n}\n}\n\n/*# sourceMappingURL=VSpinner.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VSpinner/VSpinner.vue","VSpinner.vue"],names:[],mappings:"AA8BA;EACA,eAAA;EACA,MAAA;EACA,SAAA;EACA,OAAA;EACA,QAAA;EACA,aAAA;AC7BA;AD+BA;EACA,kBAAA;EACA,MAAA;EACA,SAAA;EACA,OAAA;EACA,QAAA;EACA,uBAAA;EACA,aAAA;AC7BA;ADgCA;EACA,kBAAA;EACA,SAAA;EACA,QAAA;EACA,gCAAA;EAEA,oBAAA;EACA,sBAAA;AC/BA;ADiCA;EACA,aAAA;EACA,kBAAA;AC/BA;ADiCA;EACA,yDAAA;AC/BA;ADmCA;EACA,YAAA;EACA,gBAAA;EACA,eAAA;EACA,gBAAA;EACA,kBAAA;ACjCA;ADsCA;AACA;IACA,uBAAA;ACnCE;ADsCF;IACA,yBAAA;ACpCE;AACF;;AAEA,uCAAuC",file:"VSpinner.vue",sourcesContent:['<template>\n <div class="v-spinner">\n <div class="v-spinner--backdrop"></div>\n\n <div class="v-spinner--container">\n <div class="v-spinner--container--animation">\n <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAlqADAAQAAAABAAAAlgAAAAAXS0ggAABAAElEQVR4Ae2da7Bsx1Xf98x534ekK+lKSFYsWZYFSDY2CDsGW5YM+ZLY+BEiuTAYWw+jBFelioRUQaqM5AoUpMIHQookRi8wOFRkyoB5uSiCBXYwJqigUCTZli1ZttBbuvfqvs5rZrJ+/d//6
110Z49M+fMufeec8+Rs+b07u7Va61e3b326sfeM6dVfRPDlfdcOfvIoUfOa82snt/pdc9v9dr7e71qoWpX8+1ub550r6rmq1ZvIbppPnVVr1qq2q2lFnFVLfba1WLVi3xVHev1us+0e+2nqtnppy6dv/SpB65/YPmbtXujP7454Iw7zjh7pXXsWzvt3kVhQBe0er3ze73eOdVU1YuP+6GV0u3ok07gwEe61+qXRyalVUbXQWsceYB8fELoC71W68l21Xoq6nt4enrhocPvP/y8iF7aV3foS66VZ//m2WcsLh2+fLXdvTxG+lW9brU/Glm3t9XGHpIBrGVY0EAYRhLeS7w2IufXMCzYa0jVUV/AM3F9sD3de2BmedeDL9784gsmeinFLynDWrh94aJOe/n1Vbv37WEI58dAaUAZMRsE6RjdVAAuG0YqSXTgTsRj2dgsF4mCrIeNG5/WRZXqmVY19YXWzNRnj//o8a+bYafHO96w9n1035nHZw5f1W11Xx/GdEEMSNmmPKAnYliMLhIm9VjrGRblaGfDw3izhu0o/HpMz5+d27Xrc4ffe/g5qt+pUA7CjmkDi+5HD3/5OzpV57u77epVcee3+57HA6fW5GFjMD3w4SfSXOgB7uNrGrgYdOBUGpaNXuZlL5qqqWsSLtUc02WruvfKldd+9r5b7lsx0U6Jd5RhXXL3JfNPdR5/U7fdfUusmfb2jYnetnF40DQCuX3gXdYp1ljTBS8Db2M7WcNyXegRq/ekjnV0Hb4hUmFBgzFn2kOR+/3z9l7w6cevf/y4SLf/NXf8Ntb1/I+dv/vg8vNX96rum2OH5m2/vJG9iwfDsdqT28dAe7C6YViUkN9Kw0KHWFfF1XqpDaWuNjpiqDq1WbaqY+1q6o/nW7v+4OANBw+KZfte3cBtqSE7u6OLh66J84DvCQVnkoeKRNqh9ercyRgWrZ6qB9kDaS+yGR5rnGFRt6dJdLLhlYYFjXawq7Ew+9PZqfnf3s5HF9vSsK79zLXTf/XY567pdrtvDa8yS1/jXQbOkzwQGNZqGJk9VXl8YOODn8HSAFZV6bHMZxp6xMYKPengTcYMjWRkWZk/46iLj8F6gNOpmcvgNgiHfNFJQjflVG+uC52WQtb/fM3q6z61HddgbqAbd9rjuV+fu7zqrLwjTrzPTcp4UMioq+WxyAF09okaFvy1zGQwGmYZEx5rqwzLxoo+AmsSN0GtoXURbV/v6IQnptrt2499YOU+M2+HeNsY1r574tjg8Itv71a9V/c7RoM+6AmisPYeWXemLwB6UatshFEmuvBYibrmScweOKSAOF2GRd20hxbYiBz7Jqj1JurTtVp/PVPN3X70hqNPJfxpvuTBOU2K3Hbbbe1fuPhn39Stut8fHTkbHWWjUMwdm0E2kI1AHet1kfEeCJWau10OVFq8pxKdlfbLZJwaVMsL3ERToXUnzjogK+md2jZq8S7a3M4sR3rAnWlM57jUdSXofmPpxtVPxhlwOP3TB1m506ADi/NjS4feE17qktTp1sGD4g7OxjVsWPCUA0fefE3DogzIgxSZ4uiBMnjpFWgI1BiYLTMsG5F1cB7dNPEr5bZRXnrX1LbW3y7M7/7FQz986ICJtzo+bYY1d/fcq3q9letj8HalRmdj8MBrkClsGFaip0MD+tOijaCMPTgirTlgSqZTt30HG5bbWu5g1Tba+OJ0q/2Lx25a+Rs1f2uvubO3qF6mvvm7pv9Jr7Pyo2EwC9EBw59SF/wGk5gmMrotuXgMqu9FoK/xIVN3MDEGCTVBecWRPW1Aj2PSzQDeZWoluo8PNMClpJ2z5FZ11mqr+7Nzd878y6s+etWMSLbuWt+1W1NhPfVdF1PfxanT1AmqvPRYdvng6Dw6GPCUR7qmT8ZFKTQMTLlDJD+et277FnusUCnA/Y6G0tHtp8SHom6T2+B+gadsM/TGZdmSGLyxinx4dm7XbVv5/NENTHpt5mXXnbsuXG0vvi8GfnfdDX3jSJ7FHSsl1FGlQirXPQq+pj9hw/Jg9cKwSgPMeqiuuizVk+lymQdYOzn1Z6aTptRVylW7kAGlcx4LTudJK5/5oBN9plTKu2LVA12mIAe0q2fbqzMfXvzg4qNCbO7VCmxqLXO/NvfKXmvlPdFhs2mhSffQGR5cah/UxB0oL2S6vNaCI9Ew4K2ZWGpRBmZSj+UBw7CQRh0EfXKewsAlwzIdGOtEudLmhGqwbW4dFK4DKuPFn9QICk3hxOB18ODecTyonw2LUklReaF3W/Ueneq2P3Ls5pW/DcpNBauxaZXsuWP21bFIf28yqrIWdTHNTWumsqifZhJkbUQMMFynCtZaczVrMW2zbnqPwSSoJdngMq2MAaMCHI+jBw84tvElZH3xqDmGw9IhqXn7N0PNFvjdnVb351njGrVZ8dRmCUbuwl0z/3i16rwjdaYX0uoEXcG5UzxI6hR1E0I8EI4bHc77v9ylKbZHgwZ5jkspWWZdBy91gqw1cT05X5bltGWal7rMq7iWn+Sa2vyORSMDGeRW/SWfeFyP+468aAfrg9oylDAdtb155p3tzuqnevdDtBmwaYY1f/v093V7cehJc+QB3HC5a+5tmmiP5X0frSx3gB4ud4vj3OVJbpoKVQMPawFR2qBVayqIkiwlXkqXgMBJHw+HaFJhTV+mLZ/Yg1uahvVmKqP9Lsut1jRnXfLSwPVmCa5LJWqJbiJppHK1GYz1cU9HuQnVAUmb75p59/TM6u92N2Va1L1S13aqovk7p98ab3S+ue5ymZWnk3I6AwfIyGRawkx+rQ0zek4TJjFyyxhpNd3kgreQ0gbj0V9rVDCabDg2IrWQq8rGKa+aaiPvdbvvXbhr6ofGEZ8Mfq0mnJDcXXfPvD6M6k1DzBiUjcpGVg62jcx0prWg5nqr5DXNRmINj4ZpI3ybQWtjWDuWxh4xG+H6+jTNNnNEfd1e9cFdd029MyNPTeqUToV7fnX2ypWq8/a4p+Qh6Ar8lYLuE/mv3C10lHK60rm4+TyFqaVwlzskTQUqg8d1qONVFzSWnWukPg1S0rLV7q+xoMkcko08DXhZYspBXM4h3y3LdUl6pvJUNahjniJzLXCih267pHfSFFn6iEKvFtW4UCA1TeL7lNKnqCW67o3T75h6svOp7lfV6JO/ahhOXk41f/v8K5anV99RN13mU8pVc4S3xyq9kj2WhiR7N8toeqyS1zQbia0P8ekGGa4NGG1kCyUeYwFfW0k/Xl9385kzc1h+wvR+av7u6atz4cmlTolh7frorgu6reXr0olxJxTCSHRvjR60ssxGVg6wjWytto0zQPNYRjN2eRFbBZMWRac2yUA6ZH+28TqyQchYct7GaWMall3SUmp9YsTiG0I/s+f22W8fZto45qQN69w7z93bmVq8PgxpKt4f76WAHqvRiQQ8TTtMjUDangea5kjmbhcdzR73gd9Q87GAjx7FmN1dvfQ6L+W8WWr5pSXF0We7CEknykffEq5xOJahaBJqDl49NUUf4HOkh+twPaYhzpoOpuXJoNAkyg1ap3m7lkAVcRiaQiqFmo8pnXcLZILkWH7MrbQ7/+Gsu886y8UnGp+UYfFA+UjvwLuiHXpDwQOG1yq9UlM7dxd484AzgFsLTNuMSx5LsyzHJU2dtgprkIzgOgFUaTAyMpnKxkVhDrp9iGQ0CVVfZC4YUROatNYJOul03vHukVuvu+e6k1p/nxTzX/3o594SbuiKpL4akRvMwBKowZ2oRonGVzdU76oHcQA4ykUj/pJXRiOzglKLdPOkg6n+ghwpun1yDM7197lSfcGWCjIt2Vy3NSKGVHFkBtL4aPMpVh4qhcGruFWmttM2SSdGf+PNmeOB2kNIWQdp669acrnKyHt8SFNPVV34peUvzcRi/oRfuVGXp9o3dpm/a/7S+LLDG/tc3O6etqZiqCedFuEilO5CzaOJMiHJxsA0pU5HjCF6eqM+zIv6g7YX7ycRkm6lDHCj6sG7GtSxaOSOd4m6PeeUsvwSb1wzhkbmiGxKc3CJB7nUyTtgaalryIlEmvV4DtgOGkKSmetAGkatD/UDql0pdODtCALpfln3R+bvmH5Loj+BywkZFuuqXm/5bak+d4A70UowgATw0JjO5Y7dteRLHpdjLCVNSQe988R1HWmtVfKQBsrY6VQQF+tnvGOXE6NJE9bCucxxk3dU3rTEGh0NNnnVnq5D058NYtSIWqbrI1/izGt8XdZr9T688JsLF5ltI/EoNdbkZ111tH3gB2KhyG9GZWBgpK4G0SUMPmuuct3lQTRNMx4lC9ngm7wYHtCMmzLXytugbahr0U5SJgPAWAWOS14PrGP5EV8zr2WVvKPSuffFkeWK2uWWh04OLmvIjY7d1V1a/qnYLZqrQTE+u2GGhTtm3tBtda5JIkOxdOdkV53luTOJfa9pIhumQVh+VuZOFR2NRoYab6lZJrIpcx15aJAaW+i6BPmWY1qVaaqAOsy2Hc8OkzzRiid4aznWPdeJqQtKOaoB+ZKjr8WSL1tX6gGecumk9sKL3qo1ywx0oFyvWpxlDa+bLRM9XYf7CdmST9x8PQgO8P9x+cbO7ykz2TUrNwE9U2AY1fcOkdqLqFukuolKb0D5KK9jWvM7TwzO8SjeYU8l+sQ04aXUcUKWNck8UO5d50smegloxqZdi7eUYxnZYFRquaZ1eSmXugguM20jDpIP7f0fe/U9z0bZuKyrGVc+gD9WHXhrKMHSWeB4gKrOjDIC6CedFj3YiHM9jsHZCG144EZAWm+568zv2PQTyjL5hmIPGjG97cEshZQ04MmXsbgyPhWmi6RlbyU+l1uusR5tYpe5LvO
110UcU0T3vqMlaXjP1kWrZcedptjOOY/Nv+Kbq9zdWqyOygarJalROkpdATAFOlGIRdjo0YdLbAbER2clOUB1qsvrsexZKkeUdNBQFlLzjGFSQep6dZaXmKtaxZX/+WskCjdoUWGpnsZR95nSWPJMQc546WXS6SzWgrNoDRpoImPWhW4ipam0oLUliQYeYCm41xXQooukugiWaJP/AlTc4RcyqWzzd86Z5qLZ94x9cjqp7pfk/i1r1J7bZrq2tuuna5WVr4vFNTHd7zjUfxSU8Pucugd1FxNjS4vY9OBcz2Om7zkx0DyWGgNjfkdm4cyyzTuVMWSrBo0fDKNUn5JA568oVlW4jX4XAUlHxjzepRNR1yXRccZKxm+Whax6ONUo/fv+OUfk6wVu8q1aKovvOJzrw+h+ZifbuLjxzTkm4NlidyfDuCgBaAvp0WaSrAcDYVo4Qdf1mO6QPcBnQBiyp1PyPri+o0r6wkcbA4mOSWxBxlhHjQPqoeW0fBAuizTWg2o7U+Es2zzQuGRdSzjcGtdo2WOlqN6+jTRuecc6jz3nj5ijcToCgqG9NtUq8/eFChNJP6qUVZ4WEbRGWk35U6iO2Qk2eG6LnY/gKYcY+H0BCZeyzI9dcGZp7y8OzOtpGlnBw5eeDQQbglUfLFCnZ/u03j05gFhWpX+GlS1kVLz6/ZBinFQlnWop0QvfnhEk3ngV5vE29+pcRCa6KGA3j3vVFlO2u03XZ0PAynLcmkSW1/E7z5KvUFJEB/Z29v3zudueu5wSd5Mu1Oa+H7+0PLzV0XGg0tzPH1l7wBulHewFPMQG+wWHEuCZZuKlqi7aCIAPeBYOV2tA7HKc32mQ14JWX7CWp1R4ku2DaeHB12DhiAPLTF0jEo9sPWNCZVwMuv+QJsulZufUmSQt+xIRcNTSLSjLtaRWHyO+9QhY8/h3qH39RFjEmsa1kX3XLTQa3e/IypRlWOEpCmNMhsHw16n06mQ+TyoNjA9ihmUbRnEJZS8jDr5MrZM05W8dXrkDnGwlhFca6DKgSANNGMPbh5gCSx5hRm+wiN5klLKML+H3mXkXYbEOo1R9StwObGAWJKU6pP2E+bB27e6P7TeGxD8UOJYeP7gU9/Z5ccUs/n1eDhVAB5GTpyK3UgI8i0fTwbE0eM1GgM4frLV8mwQyPOv7CEjfoYmroI8LUIjs6KkU+cky3h1sGsMbLr73RY/9HY5cjBmt0H6qOt1hWIQTCOsucuekA4MhiVr2tLwuW50ys82U1k0JUlP6rqPZBzi8hxCGfKBrHvKJqx5id0OT52iymNAeaahVHVZzxoTohaOV0c/ENlfAjUK3M1DZZf98mVz8d3/16YCusUeYYgyEBrK7GtYlDvXpLcsGUbdfUGkQZIs8zbrVLPVRcilXkBDqm4RZuR1oh3iSM4xSA+EY8g8MI7p4WQqI2SYz7TDJB5SS1De9MRgFKvM+cDFUUtaVw5Np9QDD0FGCReyNIUOW4XK1ZLgDV/R7V6/5649/FOGkTAsoiZ7bNdjr42KZyP0+lMdZRiEp7CRIhtIBr82lDQt4qXA2ShMjhFlwxHWBkZcgo0QHuSQz/Ikhx0rAC+ppoxUOOJis83yRhCNQGlYyyW4Bg1tBkF5YxkBaIyNGIMIrHrDdMhwD2VqsDIJlwkz6irDKXmRXcqHy3LQwemR0npzK62lHxxVBG6kYaVfJ5kKbzUTQ0IA8EKR6kacAuloenzLI4V4WxQajDAPpdWklrqr4uvw/J6eQnR9GJuOH2v5dW3USdMw4rx1YFrMHygEGDrPA2xM4q4L64h6xJHrJK/hcxfqVRy6dGTPDIocyNn0pZPME32Q7/arD2DTINt4qD2XiTwkJBVKbvcFxkBr9apLIgsJyUhgcwgMZQ7ZhKhPvV5z1TRoZWqWCuoH2hLAg2iHoEsyuu8e90KglBJn/3r/7P2vrOK/X0XlGgpMhUoYwBIGKi4LBtJw62N5llLHyZPBgroAcgHKzWtcKoiLDQIKAFpwxFmv/iYCkolAdUreRAw1kYdNPaoB811fymFADKJKBhGapxZFYzwmplNsPmIwxCVlzZ/wlu/YvNQkaYpJK29KY5qxy3McFDEh7v/9Q79zdUbmlFXLGFK9zrcOIiKHRym9CgNO3oDREWwcxpexjcEGQMzHeWhJAzYk521gxCW43PSUYxyEEkQHbypP662mvtDgZexpLNtxKW+jaQ0gkhhU5dRaDSJXRsMllm+DMY/LybvMtMTGydOBaXKCGwTzDGKVk3aDadWdbt/eVG/kdGg1+yL3/8r+PQfnnv9AH0ECQaNMEIU8mbjzwZW0kU4He8gxvWUSm5ayGmKxKSw43kSlDjB60ojR9GkTS94tCu+uRLr140jU+LgF+jtEbgfJppRWyLSCOv1RJs8zfECKVlkn9rJZBnWjPxpJexmCTcd1iYIDJu/zxGE67+DUd2hTc6RUXOiWui4yLlXdum3Bq0T9Q1kJORep+t2rJk0zjyZA1DA9O/+2Y+879qQQurq4jzu4cPDyqBYxg57BXqCMUVtdO+gfki03+F2Dy2ySyABKCZkm60A5tK4zMdWXrO+gLMt0W+Ct5SSPBT6bnnjH4cr6TiTN4BHoWT7N2OXIJg14MEULxmaTZVFW0pV83BCiHLzZoRmEsvbxJdLcN7nbEL8usvLuQabsL/r4GO88DYpVayunyxiu9aZIaDzlwDsKGGzK+BB750jXAhiaYvkfzFDUwpM2QGsdxSPjH1W3Da8ZW1YZB39aC46SU9KpTq4aLA26Nco4G0MQJu9preH02sxmZEMjNl3BHzXlD/yqRTF5oMnXzJsHWqeRqt7TIzDKgLLulO++q/mW6cABKS9zLR47ui+xDjEjoQEMIgcSQDk9wcuBHyUxaLF7RBlAapKKe6k/Rarc3rPVwhDrXHwpQikGHxkEMEyRgK+uX/tITZ/U7nbgId1lMj4NG+XIQ47eNJMRgEOmdEu4IEGKplT4aE05fKpLvjgKksw8SMoXB6EhT/zwqSZoNLFLFjeuxshy4EB0njqF8NX6KQ+XgPY5hwzyAK8dU1c/36dSuXnIOW3daoq4r78lfqyYL7o+KJQa5nS1euz4sLdyla6+jBmgpseSAciAMBBCCfCMBvA6rqC85oq1R/IUydjAU7/K5LXIl5sI6yfjUZeBGwXGWkPHo2hDxkQeixptJhoIGaM1kWyVlAPk8jK2sXlAI493Sx7OOmYZopbZZyMwXa439In/ZJ0Mql5PUUYdRT2pDbURJ1aNqHo3IQYv8e3kq0tMyVrF/0t+eVk4UZoBJDSnOxscMQPGdNUc4CYPFZYGAR885i0H3nQ2QWgEmi7JQ2NeNEAWayoAfKTCWETf1C1IIHSAZU2QdKR4eOyPBtlyqYdSGPPbmORVlKvL0sEp6b4/j7S4s1TLIQaaeVOqnJw9ML219pSXBDYutfxet3VtWdI3rAt//8JdMU+emdRGdQ2JB4bOVyjxrIXK4FGge+2tZoPPB62obkOLA9Vu8HaJCfHnEFLlvTzYtZZ4rdoQuqleDmUJ6hIZkg9piUuAjlZpcoRWA4/Ovglom+sO+ngeEs9G9RX8wI8DBofpy3s/6Bhw1yDtMAYZBLvLFIKAr8S3YknADxRoiOGSn+/vTsO/xP9HTzKRqw+1WFvo6XGCtEEDHSz3D1VDQrc3VXUioIcNy2OGPMD8qo+rgnort8n5Pn3vSv6hu4SoMKWff+75lxk5caz7UzYLk/MMkBXG8JyGhibZ6MgbwBssx95EAy45QZOmJGhteDIZ+Kkp12FDAcswZbmU6BNl/Skuy0tirLaEJtTal/ruDcl0N/oppEx9YWgymCJrBkfG5oW9vZRlKy9KroMg/OgpL1Mjy6YjDnpQRud6BuUO5kRjzvZi++jVJug3M746fGG/s7mD7bWoxp9Gx1vIyNh
110dRWFOZ09oz4Vsyp1nFDG8zCPx4MGZXh5IpuSuoAxAFsG0pEpeSREO+oBkXDZN1wWf9RKZvERigCk+Sisu7+3carckeZqoQgOh2lVGCXk+DCwU5AXk9VFdliA5yrmFmZKRdR3cVpR4tDNVXcWYyPylsRlHjLxCixB7tSX1d4XdVu9lRcWZwZTE6nCuw6DuEN5mQY6KSw57Ju8mxYEh4FMSMEVGpySIVzoZWndf/xCxNZ04UlHsHMHLjGZjcqR+AOOjE+kEXv6R/tRlE6TL2afxSfNSPfDwaWrVjZXbgGR3LjSApMm/IpG+cKeji9KplvgafB5eaZ3q7rcmZMdUSS02NtVHPewQ1TJqyQC9v1TqXXQuJYUs6Sp+yacE/SyTvAFq491OlRmrnPs6clHFm4Ws1dt/z/49sdPYE5Lo12haS29BoYxUImXFFFvCqNgeBN7S+5SyMB5MxkF1rbeLpG68iHTIBisjQD44h0jGAEgH6a9y6MqpETq3SnqoHuSgX64n02lo1MkMDSn5BWioQSHQASmddnOiFbdp0EbDKDn2EOSgcVmmQiagsjTl9elcIoO2AZKziYti7WtZr+tRnNtHPmsX8npn+Cv5yWO9ePjFlyWCUVUNdqrNy8MgDsTrrQOdwai6UdIyji5zo3XXSCZX1aly+SsNN+dMNFgv6Zk7ZrEaHzKDHY+BAUEnetWau8qGidYyPcmXsUl79NCwknK7Jal5zZKRJsA4SFMWQ1ofEdhQNCSU8Ym49lKmV8yg4YEsE8mqK9cDTX6BkrrQF7pMmxADl6wHaMsk7bocg5scWt2llSuC/PFkWO1W55zo4XIQouF4rxpcCa57OXYXgHGkoSRPIwENk/hLw6TMRsfAr9Qc0HiSg4ZpDghcvKKjmqABW2sV/29QksnrTkzD1IqJMA0SpXNBbVdN59eDWB85BkFg7MO4n2kFdcTgtDvVo63p9v29ztTj063pQ/un9/Pf5Ktn5549c/X46llVe/WVrW7rqug0OlLTn1qnX2+RT4QlftdNgUxQalDRhSncfWbzkY5QQkcfmELSm1NeOQ5wQSVQe+tMyDJeFDlnisGYfit5XCq+zJ1Tdc2tbwvSP0mG1dUxg1mHYw2hPAnd1IQ0PDGcDDsNhV4eo0k5mFfX0XnJKFIhqbK+kgYjIw8N3shGY3OTkbEQTzLrF+ZkXNzJ6gSbvXJeeaF5nPLFL91+dm+17y+e+zG+hYIiq/HPl5eqo/GpYTHipyN8KcIfpX88dfzIO7rtztuiBn6ADg0ZVFKqA3Oquz2VSRM6UhRZM3PIzI03L1MeUEqFhv4DuGoEUnadi6TkOrJcMVqXYTGuvyxBThqbbvqpyWRYvenqjFBIauXBymxl5Rk7OmWjYCDVXNHRJciROUiJUnXXYUOCy8oqTV4S6Ug9GpGReIqklEYTUx9Tnuolb27sRbVBK33j7Y/WA3PtvX908OaDB5eq56JgMnjhR154MSh/M75c8AfH2kd+LCq/OuqScYU2eM+ohpaqtfQvHzSQ+ciLSXO3XrFoQmQ9UcLrflR7NMRqjRQu02UTRKkr+JzKVMO8w1TQoN0wLf0OPR68avEf4//3Vz/7ATITAQ0bBWVFufGiXI2OafKtrWCmtlw61f91j2nTUyQ1+GYI2ja3CjxIkIdLnRMaaLIVLUMKnutUu9P+zOLNq38R+ZOGWX4zvVvdEu4IbTXByadQFz8Il1/TsQGiCVsMAN1JecrzLhJuDWdqT0hWDI9pSGcsOUAY96Nwqoe0+8r4YX6XKBb9WoZVLSztfePUC2974azV5ZVvS9UjdFywguMrziX2VMR4lqmGUP4hM1MqZTIhdZvrAGcWmkOaO9Qgb6UctHgdDUs6MkiUopb0KIt9rgC8BjTxzU5Nf/LYjafuv5B2fq/3pdl3TT0ak9a1URMrJGmvFnJV62QYbiU5gqjjsD94RYu+whILT2o4BKrGukz+2rQuVd5Y1SoO860dY4zj9Egq9KZXP9deXlw+M+XWu3C/EBjgUaF5rGD6Eu86GGQPNDH2TwwPwHQJrvlJhfXF8qHRtKBjBZ2BSR51UwZtfMKUka984Kam2p858oHlB0qxpyJ9/MbVv4x6/3PIYvjUW9ZExqNhRRO1OuLwqQQmT/B8yti0owZdUsRDufI0xSni8caAbMmH56Sh0+udP93pdPR8cC1xg9POaErUllmMKneJYzVzhvbWQB3IQApTJ02lsRhHbrR2i7DxfwkN3jmFJ+uyo4QemuVaZuwI2/E/DcHzcC7wU1Ot1sPHbg4D2CRY+kDnDxfunH5NKP+2aI00RCtNWxrIdrHDdvvLdRS6yZOVWqrTcp/QY7kjSeeeyXxQECh337rU3JLjnOhNU8ZlfSW+Tseh9rnt6W4vDkbXAXUD4sYHRKxVTlkTMBMHhh2TSAvutGGKuoqDWnjlcSSlrAv8qA80hcfq08Tub37+zD+ToM27zq/u/W9R55F6KKVJ6Tlyb/qm0g0BjVI2EZlFbo1ar6GHMn9YEsg0JME0rovm2nsa59icJ9kl8abAOXxVSPdyc2A84MRMU+sFpqBxNFa0NAZNEOoqysuyMu1TIIwMQE904t4njRyMkQ8aOCYtb0e3dRNNHcctfV+9m0PipsGBWw4cirv3zqjfficMBS8VgfcV0AwjIhaFDMTGgHk53YxlNvSUjM/G4ZhWST6p8QC3apVE10NO/E0dZPSZZygVbuHc6XiJAsMaBpqboUxn7LjUuAZ59wYfz/Ey3aB8163yXOZ/Wam7kqFQt7KDooNMn+vpL/PjLVat9oJsf+e8v3mieiJSmw97jp/96UNzL/zbUG6uX5uH0H4KvXNfcEvIWBjScmqkvaajDCCmF5wXZyrqy1EOumHQ7TqMN61jUzTzxhdxLGbPDVXjFEv3e75SmXPjvNBa+NLbFRXWhiAvA770TGVaBjP4nBF661TGzamTMq1kWMDLg5k+hin+19c/PHHLE8cQtxXw7IeePRKj/pnQyR+GnhZyeyjd9EympKegkk+RAdmj0EoH45o9mlgnuLi+SWI0XocubDw8ls5bBmtHZUOZNm6tmMbiGwA1fDQ1crNnyTR0ZK69TMtkoITPp83ky7uUowwBtQMhLe208F7hpduPaGEnoq24xunr50JnfhefVktbXfsaBt6KQ6OAchmvAR2lsGmQQN9lSVA7R3pLIHr7XF7DYChlCOVAW9mNq4IBGJQqB54Syx7c8Ymn2Q2lAWU+y1fcn/AG0dG2eoBCqNLVTG/mmZX0+mmDdjOz3emvVq2V9JQj9FBv0Bba6jYpJy3KPnA5JblfRVeWgZG8bErNcnENXksdBkvWypUaDtP1erNMgzNJoWYxQ3KqYFiSMDLkwVKm0aYhogedpAX7YKOgRYKmDCgz2G8Kk/jm9s4dPVZt2UyYar5s72WPPnzkIW44vU+VBzybk3Fqp7yz2za+P3JbSdEPg7SDfTVIrdxg74+i2DAujuKOsnzUnbRh9i1msKHLB9H9ChiPd38Mx7hPvXO89MClW2tVod4D1z+wHBb0bCTz2koLBsxgMMjUtPOSkbmlG4/luzCuUxO0Opbp5hEY1quqjk7H7swn0lF/snni0wt4rRFQv9M0XDJ4l+by8n4t05liy1JxMvtsHN9enG4H11rqbf1kTNwewhhvHsfj8C7fjDjXmT3tiHpoK+8F8KbS7IjybYdK76WP0moD7vzR3Y/yP4A4ddtS6PW6vGozasIe1MPmlAdxsHxH5HqP8Cb4chiX3xvYEWonJZlUTgCWji9hWLzqsrXQbn8xvuD2rgGtmUQ2EzZb/jjdW61H4uXIaiVe5Th5OMGBHqoYXfQLM0NFYxGl/u5M9GFzYL2YXAJWW/H2p17UGytuMwpaK72/j7N2r2dlUNpcqDrrPVz5WsY3uixjN9/vjdA7HufcH49sWytxSJpVGW7YZBgG14M4GcdoKtYdse4bXVhjm0ZTEruhSPB5msqTzPQ1N739WXJtenpP+6y/O9w7kJ8QoKfXUydSu9o5bDi0chC7dl+eSN0lz2BdVH70DZe+6X6OE09uvcEgExhEGnuywcZguaNiGqajBwZn7Q90Dp2YjLq9fZf90WX58UrZSZuYTj+432p9Iapgx6ce04k7t1IO5a5QaYZOYVzvrq135recUxfrGKjQK44a/vret967Ol0bVumU11azWboeZ1k+6V2qhzGqiSEYBcZjVpwOEQPGk+aBjj0psV5prr7+3FcujdxDkGwpdFufji34W6LONBTxGKDsHenv1hITaI9xtBJQazFLlyT00IUbaj3IPbce5UTl8Tj3jyEM5WIqPBHwABKvFVDcgXrwSGvRT1JWeitkhieKD8OUg8yKutn39uJ3Hzq8hBM7y25npbrkonsa/yEWOZsM7dnpT6W2a0Lkp7KnwjJ4w6QfQgXeGcKD4a/UczIl5ZWmXOZZxglZXHLPewSG43Gv0EzCq8dTpUdc3t094w/RIF73bh05oYFO3DGQJwoY0KgP6yt/SgMyjth1jzLCki7SMUo6pxMfdzC/2Nx7+njF15S2FI6///g/xIn0HyeDseHIXPqDUxsVjQQXy9/aFG1cwpsLGk2oLi9LVJYN0ryDce0/Vd9JdUiv+rT/x8701NLU4U6rQ+V0veJJpXtgoS93ZiW/mj5sgGB035XU6p4SQx0GPJKBk3SA8jAXjCXl/Wwx9Fmd6cCh+yq2KJQnuvBc8V8yzp3/r9Wliz9ePZL4turS6t0e+r6r7m+1SJpr2mIcgIiVSHEyssDWqEjRZufNQ2lOw6MxjUQfKB8cZ8bckFNgcm0uH46RVsP09NRHl2pDaM/Nzr3YV2aj05QlnkiMQqM+yCqntDJtejwZUBtTHJnIoVMOzjHGFPzRW8lLEZNPU2fIWJ2pLtnzseq8JGuLLos3rN4b65A/Dy2yJ1FKV/AyD0xgMCRbqsuDKhqWvl4WIzs4dVqG5cLnj24zjGZQtnhOuBdidr/36PuX/94C2q977HVHnJkoxjM5eKA9kGXe6bWms3EVYhzNgPFQL3IjZq2UpjmmThsTNJQTRzBNwkGDNyOIKsWLy9W3LXy0evk4VTYF35v6iaSFTuKZyvIg20h021CichuG44ZiYVyszfgqPy3N8mxkNhyZLaY2HIwxP3UZV8YuRwcZKl+7+09kDTBWc3dMvS2U4lu8GVDvZMD8GEMJxntwyzKn4cl02pwHKnkmaCjnvdeabnU1Ep4CyynPhgbPUpiTjWoh0rzBSh1paR/f2OlUz/+jxeqxr/zroDwRuC2k3RqM9qbryJi/e/rnu53eTyQToKf5RjYxJkGKWDAurosTjzz4IH3KxQCLn6sliU559zNluc6SwunhGPpksK2PL920Gm/JZkirnDDM+Dr5BoABdbBnKuPSS2nw1Fmeiug4+JsArRtal2FMrIvwTqmMGIOpp7lkINQXMqMTRUs5cko9MCrLp35C/YndIv+2Zd9js9VrFn69etlVH93AIy4M6p70rHW6uj5qnBD27t73c+FRnwxyTWP1nZ+0lKcYxIsO6SolzkBawd4kDXiyHXkyuDKVqNPo10IkLVMoJS5fXYclJZ1bL8z1dv1cVkWpJG7XHTPfudrrvrJZmAZiCDkBojQO0ngHgwcXwyofudhQoeNRbW14fS9lPsoBjKKG+Aqb7liMRd+EVhnHEK5/LiSiBwYGHuD/+qxEDgPk0IWvju1Kpb2plerwzLHq0N6Z6vgT+4LzwboVVwT1gZC6L6gXI56P/GLIPBjlnwzeH4/09RFPALN3Tv1gkP1WSMheCs0HvReS1B70zGAcPWGzkFmpBMqS3lKyBFJBG8yZw6XoNOzBXKo4ejLm6euP37T6ucECDWE19e7Z+V6re2E0SPeFY1sqMYMNHhXoNqniysnlgEL+5sxg0/QlCnBQY1hApJNXijrivKmq/5FTjzh2dvG7qfFuQNx33ZWIw7UQ4ilU/JZJAP88DSmeCj39oQPDhWExIOokmWOcaSWjgtZnYGjB5iX0pqrYNU53Z6v5473qjM5q/HbYTLU3fr3mjKhpV3VmeKjVwLwY0mknb3jtiZgfMn82cNdG+t4I60DnU72HZt41NRvroqvrnnB/0NNorKMEjwO4HJDufOpDEP0Wp0zwe0QlAw4+mVPphCXZL8upTK3RTmShWzjc9r+Pnyb4PdiaQMXV2ctnPxOE4z/llIJXoMkaqKa8wXzpZZwmriFNc1HrwDSHFuX9Xp5r1TIGvBheiB/PhQ9DYYVEbrnOk8boyPsTeaa/hCPmB3gJkU54jIV/UUXMWo7flxkFfIf8aPQEXuuxGMSzIwZuTdeJLos3rn44avh4EGsAWVEKJEuGobKMl9GZh1jmYkNUCVdGKoPk+HbLI5noWPhzjxMyS5Ea0KL1scWbV+4qSgeSqRF8a4XXSQdKJsmUxuI0g9sEBnQ5kAQgDCcZE3jzOQ2/cdA6HTE8iY/1FQblKRbjgA4DIs3H04Y9GXnKmniXU5f5odvoEv6C4N8b0jGuj4Q2G4DXdF73wbCL/xUs5dApJ8OQgSA1UwjXMI5+teLL9O5pMMw+MsWm4RXs9S4zKG1s2eBan3/16mt/uk88ItG3zF13zXxXrLMuHkGDmw2Z64C9DAPsKQ5jIE8wkDYtDSQduLSzM01RH0cGCQ0fcokxKNZMAMbASRx4wHhk2MjAIweaoG8tRpoy1lW74lobVPJWousuazLnVz+hg541WkyM6ao0uMNRsivwq5HeFdfHQuYFkX4ycLdGzNBNAOfeee7eF3sH/zyG8TtqcvHl3iLPeAnv32aF2JQ5TUptVoqrehV9stGJM9PAYxyx032KOIP7y/nZ3e8/9MOHDvSRIxL9OyvmEd7Jnhw8kHCQdohsmuLC8/S9EjSYgQN56MudHYPrUMsamvIYdLoFOsvCyKAHZyNUF6pjrRdxfJLxIMV1oYsBPIEp8ERgd2hwRoR9EYBPhGYTAo9CzmiddU04kt+pucVpz0IM6KqUvVUqSCWUZgqlhWOEJGO96VLSuFp+Hces9vFXL7/2B9czKlj94ll1fuv8Z5/ofQOcgIEAiP2TjsaJQmWk5TuEJd0cFoaULm7yi2PomgwSrAwvrzrMT8wHwLBYY9nAiPGEgNKJrjUXNHgo+GxU3J3g8InwgEe226PvMKkuT+NBlmAphgl/VMKBlO9VT0X8RB3gtsGXtCPS9XO26+bunP43Mef/QuJUz9EG6sLsMQ+kYiDE6lf1hvteekFrTI4DVYPKs/mBznJVT6BCSNxq7Q8v3bTy3++r7quZ146kQE0zf8f094fmewdY6OgxhjUwzXnQS2YPELgY5NXUDTUS+oKnb0zgyikPozFgaAA06lKVeF0HjkGk+wHy0IbBtFi8g8eQFqKjMCLyyzKj2I1Cja+KR6dVbwmjIs/inSmPA1ZKmWr3R2BapMOPBn53pJkSL4rAm+2d+DwW6QsCj/e6LvWghz4I1of526evjX+L8VvBtD+oxZsNFJ0YcXSUYVj6uCmyrNJ8wiGDfpMEUk5L9KGY/m6MTcaflSLWSw+46vi9qGcSQzHg5PtTW+DTsUAd94WXBkTaAQJkMYCWSezQF1Ak8DLQ82GwyRPIl3w5LcOjHIDXAE18hqY/aOqAQSWjwpAIBgyKUOJcRrwY3X88QgmH6jye6/kIT0Y4UMgsaddJL35w9d6pau6q6O9fC1L0wqxoEcOu6QwcIyhjiEQCyhWcl+kN6loT17yUaU4RFdewp+q3Z2YW3rBRo0L0QGX77tl35tEjL15LQR/CSJJnAlEaEPk8uOSUV2rwimEE8OQlXtTR4AVv30tpkPMCHIMy+C6lrlpOigcPPNnpyPD86Cb4W/OhMR6KsqMRiBseKzqgk3ar1BN6hBGmVi7NRsxBJYbF102aHosnrHg06PFYeMSlCHsjIJP6Dkd4IeVXYyGv4Y7CjcLcr85d3pta/Znge0/Bm0fDvWVPQwzOB60wmcYCRKES86mMZ9ufDyv7uVEHn2ZfLx4wLIjDBX9f9O/e/sK5KYEBBmiW1zKkPeiURaGmvUg2jK9vTOA95cFSyh1lTNBwsAnQKV5pKC88hoMeyIp0f/qDxj/xjWGRhhZDovNZP7EGixP0OJRl2quSYWE4GBYHpxgJUyG6nRMpDmeOR5qT+oXAH4k0UzKn8EyVD0Z8dgQM64rIA9dF+eAgJvSkl913z74mdu63xbHwD4RU+SqYWe0J1DM2o8G6smFrBJumFq/mtf8kWH4p/SJhLfBEoyHDmvuNucuq5dUrBga6NCAbADV6EJu1T3Xi+KBGlvSB6hsWXgpggIGSzncTONNBY4NzuctKPDzxSV4WL4J8jKk+AE15/ikKgPHJ66ieMK54xJPKlojxWpMaFmvBp6IuvNcLkf7u4P1a1IFB/t/IXxgxE/VtEU4Sdt+9+1tWu8vXhf38izCyN0S/YGQC942NipiaGWmX2fBiexTz3f+JSe93Z3pznzhy45GNnQzUVY6K+rtCF16wesHjT3a+cUVSxkgrZPVtBM6bbkw8YEyll7JRwWeZ4GyU4H0vYkR8rda62Kigx+MQhwG19sbAYUil7MhuC+A54ymAozccfSrE/BcC/w7whaef+Z6w1jCw3qvCUF4ZnXRhlO2Ok3Q2YjycD/OOFw1amH7vy/Fjw1+Of7Twt2d3zvu8f9JpKXVaUJ8iGNnQhbtn3thtd89NdXhgycSAcw44YAQe4EKhviEVuJSUB9JaCgOxp6HQxlR7nD7r4I7P9x8GJs1siPCFDJ4vJlnC61WZhsfiv1ck+Xgj5DDFRTuWyTM1AuDRj38mRfl6UyHe8ekIHJYydb48Ar/txlrr0UifEzG7xCdD2q0R26Okyl56lyGPlZq4Ov14NbUswwLBoDNweKiNeoLS8BgyOh3XLAOKRJ0uvR9lgI2NmOmY4waX+ZawbmEiYVTydtbRMbL+P2xpD5TD2a/47We+/clqprVUG1MezD7FcII1jUMqxXxKo2qyYCAOZZkNBW9Reh9obFQYjD9Mf7F+Smuq0pDwUgA6gEceMV6JAB5P1Dz4FJeuPHw+XocS7zQ/C8z7Dmv9oPlFUX5O1M4zRI4fHohwfWqJbw1Le0nFYxs3d3f1qjgeuDy1tpyyiuaPnfKgsRFgAKWBefBLHPRlHfBCh5HpaZs8mHeFlJk/aAamP7b8roOYgJGxEySOfBihpjvKePs/ZPUPRV1GjE7rTYXQzYccpkLqZipk+vZh6fHIfz7yHEMwHXqHGKpM+t4WpDsNRnosGvHq5eprceSgB7TrtcpGREygY+1RXDZKhulNQ1wYTGJhcE1nGRhcLX/AqCjHWIDaiJI8doTOUwYNcqnL9YFvwiQei+UxXmscLERNl0QhXotD0z+N1jwYscBxnX3pRGMN675bqpV4D/yxZlM93aUBpZCBYaAdy8sMsjGQBKa2ppFAyTIcPB/okNEE8P6EkViPviFBb+NBF+jJrwVMiQFxA8kYfdLOO/HGQQB+T+CIy/8My/NCTuB
1105o5TYwDtajweOfdj6MAnN+lK2GcXoxXut5GV7q0e/dKy6OLozG6B3iRqK/BjbhgEvBmAoBxcpNhoG3tOftSCmHAO0DO+eHFuu5VATcijnOIJJjh9lol7w9YuC8XgirxWR7hBkA4BRwGmZFPKs9Hj0gQ5IsyHw/xBpBwekvEHKem13BHaQngrh540Hw/OpL3vpUc89gbwuaJttM+0OjrPBjGjEA9dXy+2V6hv9IowHcFxOebwYx2B7wKEDoHUgz0AQLIO0jci8zkNvoMzGwNQGwFvGlAPElDmfkKMvyVvhneyhiPFYeCfDJB6rfG64EY/1iWRW2fBc5w6P1zQs2vbyl1WPRNO1HvHgEhPsvSDEUBhMD3ZpTJQD8AA2EMsBVxqT5dhzUVZ6PuhLML3rpsxpxxgMHsUBGm4GoBkLO/7KFLgcASDdhLNrBO8lABcpCt9fVa+KwH/0Y4fIWouwgfe2aknbPvLDmrGKvvDxqjPzjjjTnYoNM2bIMzXuYAIunI+mGRkOvoTA/U4szySabAAq8xQYZMnYoEUWBiufNBDHWwh8CVWPa6BR/eKFHpzrI8Zgaj3S+1hMkQSwTGthbOnNBnZ1AR1O7TF6jNA60ENqn4ybNDs/6iPYs5X18aUuwA9IMObZkMLvCP5dBM7N+RbnrSHh2oivjMDke2/IfYnAuh6Ldv70TeG19H6AFtb2NHR+CXQugSnSaXsM6OyxMEbw7Losy3TZ+PKmgMF2eVkfaeObcV3Wfy2GvL0VMdCMx31pQtT5up7H4ts6gI+YL1Q2ea5LIo3XYod4bx3q4mjlsPdz2Q6LJzKs22IqXFitvjiybTYg4lFgw8E4oLFxQWtjcJq8aaArpz/TNmPTNGNkNgFPRMDr4q1IbyXoDdMqHlLLgL7cMKSPRP4lYlzlZLRmFx++pXpu5s7q6Xiw6ZWD6L3WsIGBzVOSaNiiYxAYCweexE0vxAk3wNRjI410TH2aFOlydmfKsRtVytt/YoxLdCnuv8CHXLyTeW1OoeeSpzxoGG7q1vBqOlS7KB0N/PsFplf+IyG7Q6a4g0kSywYB0yA/qbsvytm5nh/xVyJmnUX4cuSv6GsHjzUkvSNhIo/llr2sHf+53affRtqgbAzGO8aIHMAxDUJrzwPOeXAYR0lPuYFyB+Oansp5lzu2t+L7ggF9b+U1kuk2M7bHero2PKbDJrBLlIk3S3ZUfkOG9bUbqsXp6VhvrWdMlOOR8C/s7EqgzGA5pZG5jNj4ZmxvRww4btJhTHgqh0S8xReOHnhluXlYelnowVqruUOUejveuCaeCj0cx99bfX32jurceMnnrBg2eR8KmT4MmlI0rdn7UGqDMB1lAGU2OKY/GyOGwv8ntWmWdTClcltYJjEyyumS3RtTEMBBqQ44s57gMT5vQhyDL4FpmrqIWQh4imPaPhoB4OTd/0KYFh2LvKAXD6nzt6n5d8LAFwP39xH81ZV/LuLq2oivC957oswS6qKdFKmRG9CY7f7FL4t3Iqf6e6pBbnsNGxSlGAqD7jJwzpc48E2g3MFlpTGBI28I2jV3gqbbqhgDG+WxLgoFLomA1wJYyBPujQDs8IX8hg2LNn/ln1VLCzxKBTAgBtaGROzjBMqbgEHZqFxWrqtsaM0YGnA2Kq+lTFfv8NKC3XKJvbYyHdMiUB6KmuZUrLc4gS9P4Tl6YBr0lufCVHsVj3RkQN4hsog3PBvpByLwes0OhdyYE2jA/MerS1eXG7+GxwDayDAgPiXYu0BHeQ0tP6axkYGHxoZE3rzEfmOhxAd9fMtGRwrgmfpsgLw2EwaUFu0YF8YUxrXEay82MiZdHueww2Ta41wLY2MahU5TYTemQk710K+bYvK8hEheO0N+1ojnhjwT1A72uYh5nngsAnBGxLTBO0R9m4ev5/OWKbtE0Z3kFzBSXafhclJ3RKy3Ho33mA5FF2RjsgcrjKbfLnsqDKYEeDAAgsuasQ3MxmWDadJhMCVQTjB+KzxWXl9xxKBfpPFh6fm1cvzeBNDcIdpz8agH2KEvBZ6UYaX11oVpStR7Wx7k1CPFBYOyURmNYdizma8Zm3bS2MaG8RCcr42qf8RgI5tU7mbTlTtE6rqmUSHrrR0GG94VNtvHeuvcO6v7D3ar1yXzsQHZs9AlGBCAL6EcYMdmsIHxD+4wLnsnyi2HmCnKO0R9xV270cBh5MErj+edIDzmD0PrxWFu/aZofsaHt/XaqrkrBE9AZ7fBOo+Ky3eyfJNAZw/GVHpZyDI8VxvMY4H4WgTvEFnEXxB51mU8R+RIgj1iuSsO1HaGk/JYbthzN1WHd++KnaKPCVxATAc7lPhsTPmb1h4MxyX9JGl7KHssYmC7e6yLQ8dLIniHeFWkm6A3IHaM5zolhkUfHPrh6sD8YpzMG0YZUzn9Bd3It0DNDy3eBjn2OjYcG14d93eCxmNIDpY3acyC3Qv3SXmgw9s4jONjtzjq6KG5Q+RFJQDPBbDe0pprxxgWk8cpg+U/rI7Ov7Naif9Vsy/2YPlnfphK6BJ2T0y+BKav8jkdaVy9JgqmH4GmAE0CTEvmgY6yoIsvdcgrUUaatw+YVmWQUCW+MOT0HLPjHaVk4FUF5HmWN1/kKQPPFIyXZaeH/hg5wUcL7AoxSLwk5ew04ePAFpl8kwfe8yL4BqFPeI7Igp5njN8aZeD49s+jkcJQj0Rgh+hp8TOR/0iEbQ4evlOm5rGbqiemu/HGN97DHsTSNzL90fkTeqwYSIZwcEc5qv5EtM5lMz3WuMc79ljeIfL7WkC5Q8Rjcba1Qw5OT7lh0R+L/6r6Wty0j5NOd6cNKrITT382St/dSdiIi8u9nnK+JHWZz6sclzQ2TuO8cHd+vZiFu8M42uabpReOILysxrFgB65RNHDdAbtEnPamwOLN1WO7fqNaXo7/V9OvoDCw+oGQpikI5J1EqmlUHsjTlmmImdpG7QSRQYs0BYoOcowG4+JNUYyKZ31N42Lq1OQVUQBTGICBTQLIHnczeFfIYen+kKvD0sF/IOznjI/VlT1cx94hWgcbHD2nBYJLtlW8KR7LLTz2vurJhcXq4XQaHkaFt0plHgDHZsDbePpz2SgPZHpil9srOS5pjLMxOS5ptsJjNd8sZW3VhItrxFo7RPNoRebctoo31bBoKS8Ixjeivth/YW9c8zEkh1E0NrQ6HrkThM8GUsdjD0UpJ0zqkUbptB6u+dwQetZZa4HXW36G6B2iebxD3ObT4aZNhe4H4oM3VAf3/0r1wMHZ2PfwUjAu3G9+mpBdlwHjcb7p7pkmbWQYBt6IwNRlPuJ69+hD0TRF2ogo09QHb/5iCL3BdH2ywFqLnSXPDYFn0lUXdoaG0mN5d8lbpjyH9DNEaL2IZ6r2M0ReAdBCvj/lQ7pdYNM9lhv67IeqI5efWd0f71oN/0MoDMHBDM249kADRgUNcjpliAAABRBJREFUfKPimn7HeqzmDjE1Mi72WOwQAXmutb1gItzay5YZFs3iC7BLN1QPTbfjHjSwRvI6qcSVhtY0KujtqeBp8lvOdo55gXHUYWmp82V1hgU74ZqycHunt2QqLLsgPdOrqm/su6d68cjR6hXhcab73srTH0ZlYwHnaS5waW3FoSWHrUBzJ8g0NwIG1utkTLfWrcWBJ8Cmg6m7OU3G4jEBu8xmWV2UorPiatq8Zhp8s7Skd/orkWCt9XCNeHWkL3BhxN4h3hbpWyM0lw2BOl2wVrduqk4Hrq8OXb67ejB+Xe9I34hcI0ZVeqx6uusv2CkvPRbpnQbjHu+U7bDHYodIGPUM0fTbbDF/2gyL/khT449VX5qdrv4h7nj7K3fV+BhDY3r0FOm45LCx2VU5X9KczvQkh6Xr6ddcb22j44ctnwqbfVVPjU9deU/1wlePVBfFc8az0rRjY/FBJYzGYSTe1YEj7bL6cLS/aPehKOU2MtLeIXr68C6VKVLTnl6Xod61pjnKNwJzoStTJ4elvLLsw1Jk+HUfv04DrgSm0bw6zTvEB4JIi3ktD0qe05Q+rR6rbDPea/HG6pG9u6uvxEPltf3LJB7LRtSMy0pPZ3qSw9L19LPHujJulE+kx/7bxrD8XH+9JmxZ+fFPVksf/s7q+S/Er+R1Z2LJ60U2C3e8EXluh/KWcHfKe+kRDnR4q5q/Y89ES6B3y413Hu9EmonZckmDY23H+RR+nnQZQ+PJnLicC7T4D2QAXmpGybQpIMk3p/FWHI7izfjREGLOw7gxWI9Rzk7yFRHzpgPnWZyJ/XjU+ta+plGwPWDbnX+U3cI//X5outof/4zgnBgEOl1Dh4GVPi1/81C7xBDCm6JpcIgD0pcmLBxcngolk+mPXaC/QEF5zRtToXaF/Itevk3JjpRDTGKMwVOnd6q8QkMw8EUMH5byJQu/PeufCeC/WVwW4emagd8tBXRY2kuHpeTZJT4cgf+McWsE3xSUbTMo7/ttplpV8XOVvIbzvZdXD80sx/k1C/zSoJoa47EC+uurOt8k23b55pmWv2jhxzs+LOXG+uXogdvSqjIb7rZr0OCEsg3Vk0r3vrVaPfqh6ql37okdZDv9TL8nyI3pjKER7K3MfaLvYJm/GftNUuJTAfzru38aBhU32nb2UmVTy5VAid+W6U9cHx0cP2d2W696/pd+rTpjsVOd2W3HSqOeEvBUPBvsK48Red0Dp3eSpEvjYt3EW54ARnaywEMr1mDrgR9I6yB20APxutAlofG19ZR3y3rCtlf5jjIsd91tWlOxWjnIOuzL89UZK/FPc2NkbB4mHYwxNMCv77gUY8LYToVRIRNPZcMafjIKxWjgt+Dng/Mn0y3gW2I07TbH5rt7mys6iXqX3F3NP7tanRk2squ3EkbGt5priN/Bygeq9VlXKsJIMSg8mA2LNOFEF+/sRr14x7BYvBv4JwMAC3jOsqj/vKDeHUEeORXv9MtLyrDKwbj2M9X0vS+GaT2TvqawK1YoPJW0x8oDDW4jhrUramEXyA6xjNk5elfYNCzy3hXyFbmFMKLj4ZWu2/meqezzMv2SNayykSkdU2acCS3EN2A4++aIlX95OZ2MbbMMC2M6ELVcGIbED9b9dQR2dN8E8M1jWKMG87aYpK4I01pMRjYTOYa/HRgOJvWT26QBYp9j8eMfeCgCU95spPgXvudFeC5SuyOwansJTW2pDzZw+X86JxjfQ2kNuAAAAABJRU5ErkJggg==">\n </div>\n <div class="v-spinner--container--text">\n {{ text }}\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'VSpinner\',\n props: {\n text: {\n type: String,\n required: true\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.v-spinner {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 9999;\n\n &--backdrop {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: white;\n opacity: 0.75;\n }\n\n &--container {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n display: inline-flex;\n flex-direction: column;\n\n &--animation {\n display: flex;\n place-self: center;\n\n img {\n animation: animate 1500ms linear infinite;\n }\n }\n\n &--text {\n color: black;\n font-weight: 300;\n font-size: 2rem;\n margin-top: 2rem;\n text-align: center;\n }\n }\n}\n\n@keyframes animate {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n</style>',".v-spinner {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 9999;\n}\n.v-spinner--backdrop {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: white;\n opacity: 0.75;\n}\n.v-spinner--container {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n display: inline-flex;\n flex-direction: column;\n}\n.v-spinner--container--animation {\n display: flex;\n place-self: center;\n}\n.v-spinner--container--animation img {\n animation: animate 1500ms linear infinite;\n}\n.v-spinner--container--text {\n color: black;\n font-weight: 300;\n font-size: 2rem;\n margin-top: 2rem;\n text-align: center;\n}\n\n@keyframes animate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n/*# sourceMappingURL=VSpinner.vue.map */"]},media:void 0})},__vue_scope_id__$J="data-v-885387cc",__vue_module_identifier__$J=void 0,__vue_is_functional_template__$J=!1,__vue_component__$H=normalizeComponent({render:__vue_render__$I,staticRenderFns:__vue_staticRenderFns__$I},__vue_inject_styles__$J,__vue_script__$J,__vue_scope_id__$J,__vue_is_functional_template__$J,__vue_module_identifier__$J,!1,createInjector$1,void 0,void 0);var SpinnerService={show(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new(Vue.component("modal-component",{data:()=>({text:e,options:t}),components:{VSpinner:__vue_component__$H},methods:{hide(){document.body.removeChild(this.$el)}},render:n=>
110n(__vue_component__$H,{props:_objectSpread2({text:e},t)})})),i=n.$mount();return document.body.appendChild(i.$el),n}};const SpinnerServicePlugin={install(e){e.prototype.$spinner=SpinnerService}},template$t='<div id="policyFoundryContainer"></div>';Vue.use(TreeRoot),Vue.use(ModalServicePlugin),Vue.use(SpinnerServicePlugin),Vue.use(plugin$1),Vue.use(VCalendar,{masks:{weekdays:"WWW"},locales:{"en-US":{firstDayOfWeek:2}}}),Vue.filter("lowercase",(function(e){return e?e.toLowerCase():""})),Vue.component("v-select",vSelect),Vue.directive("restrict-values",{bind:function(e){e.addEventListener("input",(function(e){const t=e.target,n=parseInt(t.value),i=parseInt(t.min),r=parseInt(t.max),o=new Event("input",{bubbles:!0});n<i?(t.value=i,t.dispatchEvent(o)):n>r&&(t.value=r,t.dispatchEvent(o))}))}});class PolicyFoundryView extends backbone.View{constructor(){super(),this.template=template$t}render(){this.$el.html(this.template);const e=this.$("#policyFoundryContainer").get(0);this.vue=new Vue({el:e,store:store,router:router,watch:{$route:()=>{}},render:e=>e(__vue_component__$4)})}attach(){console.log("attach");const e=window.location.pathname.replace(this.vue.$router.options.base,"");e!==this.vue.$router.currentRoute.path&&this.vue.$router.push({path:e}),navigationView.render("policyFoundry")}}class PolicyFoundryModule extends backbone.Router{init(){navigationService.registerRoutes("policyFoundry.policies",this,"goToPolicyFoundryList"),navigationService.registerRoutes("policyFoundry.log",this,"goToPolicyFoundryLog"),navigationService.registerRoutes("policyFoundry.policy.edit",this,"goToPolicyFoundryPolicyEdit"),navigationService.registerRoutes("policyFoundry.policy.new",this,"goToPolicyFoundryPolicyNew"),this.policyFoundryTab={policyFoundry:{navigation:!1,showInTree:!0,isSecondLevelMain:!0,icon:"dashboard",dataEvent:"expand-collapse-policyFoundry",entries:{policyFoundryList:{getLink:()=>navigationService.getPolicyFoundryListLink(),showInTree:!0,navigation:!0,icon:"dashboard",preventCollapse:!0,dataEvent:"click-goToPolicyFoundryList"},policyFoundryLog:{getLink:()=>navigationService.getPolicyFoundryLogLink(),showInTree:!0,navigation:!0,icon:"dashboard",preventCollapse:!0,dataEvent:"click-goToPolicyFoundryLog"},policyFoundryPolicyEdit:{getLink:e=>{let{policyId:t}=e;return navigationService.getPolicyFoundryPolicyEditLink(t)},showInTree:!1},policyFoundryPolicyNew:{getLink:()=>navigationService.getPolicyFoundryPolicyNewLink(),showInTree:!1}}}},this.policyFoundryView=new PolicyFoundryView,navigationView.addToNavigation(this.policyFoundryTab)}goToPolicyFoundry(){navigationView.showModule({entryId:"policyFoundry",view:this.policyFoundryView})}goToPolicyFoundryList(){navigationView.showModule({entryId:"policyFoundryList",view:this.policyFoundryView})}goToPolicyFoundryLog(){navigationView.showModule({entryId:"policyFoundryLog",view:this.policyFoundryView})}goToPolicyFoundryPolicyEdit(e){navigationView.showModule({entryId:"policyFoundryPolicyEdit",view:this.policyFoundryView,loadModel:{policyId:e}})}goToPolicyFoundryPolicyNew(){navigationView.showModule({entryId:"policyFoundryPolicyNew",view:this.policyFoundryView})}}const policyFoundryModule=new PolicyFoundryModule;var script$J={name:"NotificationsSettings"};const __vue_script__$K=script$J;var __vue_render__$J=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-grey"},[t("router-view",{key:this.$route.fullPath})],1)},__vue_staticRenderFns__$J=[];__vue_render__$J._withStripped=!0;const __vue_inject_styles__$K=function(e){e&&e("data-v-ae59387a_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"NotificationsSettings.vue"},media:void 0})},__vue_scope_id__$K="data-v-ae59387a",__vue_module_identifier__$K=void 0,__vue_is_functional_template__$K=!1,__vue_component__$I=normalizeComponent({render:__vue_render__$J,staticRenderFns:__vue_staticRenderFns__$J},__vue_inject_styles__$K,__vue_script__$K,__vue_scope_id__$K,__vue_is_functional_template__$K,__vue_module_identifier__$K,!1,createInjector$1,void 0,void 0);class NotificationsSettingsService{async fetchNotifications(){return appsApiService.get("v3/notifications/configurations")}async fetchNotification(e){return appsApiService.get("v3/notifications/configurations/".concat(e))}async addNotification(e){return appsApiService.post("v3/notifications/configurations",e)}async editNotification(e,t){return appsApiService.patch("v3/notifications/configurations/".concat(e),t)}async deleteNotification(e){let t=e;return Array.isArray(t)&&(t=t.join(",")),appsApiService.delete("v3/notifications/configurations/".concat(t))}async fetchEmails(){return(await this.fetchNotifications()).filter(e=>"email"===e.channel.type)}async fetchEmail(e){return this.fetchNotification(e)}async addEmail(e){return this.addNotification(e)}async editEmail(e,t){return this.editNotification(e,t)}async deleteEmail(e){return this.deleteNotification(e)}async fetchTextMessages(){return(await this.fetchNotifications()).filter(e=>"sms"===e.channel.type)}async fetchTextMessage(e){return this.fetchNotification(e)}async addTextMessage(e){return this.addNotification(e)}async editTextMessage(e,t){return this.editNotification(e,t)}async deleteTextMessage(e){return this.deleteNotification(e)}async fetchStreams(){return appsApiService.get("v3/channels")}async fetchStream(e){return appsApiService.get("v3/channels/".concat(e))}async addStream(e){return appsApiService.post("v3/channels",e)}async editStream(e,t){return t.channel=_$1.omit(t.channel,e=>_$1.isUndefined(e)||_$1.isNull(e)||""===e),appsApiService.patch("v3/channels/".concat(e),t)}async deleteStream(e){let t=e;return Array.isArray(t)&&(t=t.join(",")),appsApiService.delete("v3/channels/".concat(t))}
110async fetchPolicies(){return(await appsApiService.get("v3/policies",{size:9999})).content}}const notificationsSettingsService=new NotificationsSettingsService;var script$K={name:"NewOrCopy",props:["notifications"],components:{VSelect:__vue_component__$9},data:()=>({notification:null}),computed:{isBasedOnSelected(){return null!==this.notification},parsedNotifications(){return this.notifications.map(e=>({id:e.id,name:e.name}))}},methods:{cancel(){this.$emit("modal:reject")},createFromScratch(){this.$emit("modal:resolve",{action:"create"})},createBasedOn(){this.$emit("modal:resolve",{action:"basedOn",data:this.notification})}}};const __vue_script__$L=script$K;var __vue_render__$K=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-container"},[n("div",{staticClass:"content-header"},[e._m(0),e._v(" "),n("h2",[e._v("Add new notification template")]),e._v(" "),n("div",{staticClass:"header-image cancel-button",on:{click:e.cancel}},[n("img",{attrs:{src:"img/icon/svg/add.svg"}})])]),e._v(" "),n("div",{staticClass:"content-body"},[n("div",{staticClass:"content-body__row--customised"},[e._v("\n Create notification configurations and templates that can be used to convey information back to user.\n You can start from scratch or work on a copy of the configuration.\n ")]),e._v(" "),n("div",{staticClass:"content-body__row"},[n("button",{staticClass:"button full-width-button",attrs:{type:"button"},on:{click:e.createFromScratch}},[e._v("Create from scratch")])]),e._v(" "),n("div",{staticClass:"content-body__row--customised"},[e._v("\n or create based on\n ")]),e._v(" "),n("div",{staticClass:"content-body__row"},[n("v-select",{attrs:{items:e.parsedNotifications,code:"id",label:"name",placeholder:"Choose based on"},model:{value:e.notification,callback:function(t){e.notification=t},expression:"notification"}})],1),e._v(" "),n("div",{staticClass:"content-body__row"},[n("button",{staticClass:"button full-width-button",attrs:{type:"button",disabled:!e.isBasedOnSelected},on:{click:e.createBasedOn}},[e._v("\n Continue\n ")])])])])},__vue_staticRenderFns__$K=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"header-image"},[t("img",{attrs:{src:"img/icon/svg/icon-policies.svg"}})])}];__vue_render__$K._withStripped=!0;const __vue_inject_styles__$L=function(e){e&&e("data-v-55a6a8bf_0",{source:".content-container[data-v-55a6a8bf] {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.content-container > *[data-v-55a6a8bf] {\n width: 100%;\n flex: 0 0 auto;\n}\n.content-container .content-header[data-v-55a6a8bf] {\n border-bottom: solid 1px #e2e2e2;\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n}\n.content-container .content-header h2[data-v-55a6a8bf] {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n}\n.content-container .content-header .header-image[data-v-55a6a8bf] {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n}\n.content-container .content-header .header-image img[data-v-55a6a8bf] {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n}\n.content-container .content-header .header-image.cancel-button img[data-v-55a6a8bf] {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n}\n.content-container .content-header .header-image.cancel-button img[data-v-55a6a8bf]:hover {\n opacity: 0.75;\n}\n.content-container .content-body[data-v-55a6a8bf] {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n}\n.content-container .content-body .content-body__row[data-v-55a6a8bf] {\n text-align: center;\n padding: 1rem 0;\n}\n.content-container .content-body .content-body__row--customised[data-v-55a6a8bf] {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n}\n.content-container .content-body .content-body__row[data-v-55a6a8bf]:first-child {\n padding-top: 0;\n}\n.content-container .content-body .content-body__row[data-v-55a6a8bf]:last-child {\n padding-bottom: 0;\n}\n.content-container .content-footer[data-v-55a6a8bf] {\n border-top: solid 1px #e2e2e2;\n text-align: right;\n}\n\n/*# sourceMappingURL=NewOrCopy.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/notificationsSettings/logic/components/modals/NewOrCopy.vue","NewOrCopy.vue"],names:[],mappings:"AA6EA;EACA,aAAA;EACA,sBAAA;EACA,WAAA;AC5EA;AD8EA;EACA,WAAA;EACA,cAAA;AC5EA;AD+EA;EACA,gCAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;AC7EA;AD+EA;EACA,SAAA;EACA,iBAAA;EACA,cAAA;AC7EA;ADgFA;EACA,mBAAA;EACA,WAAA;EACA,kBAAA;AC9EA;ADgFA;EACA,YAAA;EACA,+FAAA;AC9EA;ADkFA;EACA,eAAA;EACA,YAAA;EACA,YAAA;EACA,wBAAA;AChFA;ADkFA;EACA,aAAA;AChFA;ADuFA;EACA,cAAA;EACA,4BAAA;ACrFA;ADuFA;EACA,kBAAA;EACA,eAAA;ACrFA;ADuFA;EACA,UAAA;EACA,mBAAA;EACA,iBAAA;EACA,gBAAA;ACrFA;ADwFA;EACA,cAAA;ACtFA;ADyFA;EACA,iBAAA;ACvFA;AD4FA;EACA,6BAAA;EACA,iBAAA;AC1FA;;AAEA,wCAAwC",file:"NewOrCopy.vue",sourcesContent:['<template>\n <div class="content-container">\n <div class="content-header">\n <div class="header-image">\n <img src="img/icon/svg/icon-policies.svg">\n </div>\n <h2>Add new notification template</h2>\n <div class="header-image cancel-button" @click="cancel">\n <img src="img/icon/svg/add.svg">\n </div>\n </div>\n\n <div class="content-body">\n <div class="content-body__row--customised">\n Create notification configurations and templates that can be used to convey information back to user.\n You can start from scratch or work on a copy of the configuration.\n </div>\n\n <div class="content-body__row">\n <button type="button" class="button full-width-button" @click="createFromScratch">Create from scratch</button>\n </div>\n\n <div class="content-body__row--customised">\n or create based on\n </div>\n\n <div class="content-body__row">\n <v-select :items="parsedNotifications" v-model="notification" code="id" label="name" placeholder="Choose based on"></v-select>\n </div>\n\n <div class="content-body__row">\n <button type="button" class="button full-width-button" @click="createBasedOn" :disabled="!isBasedOnSelected">\n Continue\n </button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport VSelect from \'vueCustomComponents/VSelect.vue\';
110\n\nexport default {\n name: \'NewOrCopy\',\n props: [\'notifications\'],\n components: { VSelect },\n data: () => ({\n notification: null\n }),\n computed: {\n isBasedOnSelected() {\n return this.notification !== null\n },\n parsedNotifications() {\n return this.notifications.map(item => ({\n id: item.id,\n name: item.name\n }));\n }\n },\n methods: {\n cancel() {\n this.$emit(\'modal:reject\');\n },\n createFromScratch() {\n this.$emit(\'modal:resolve\', { action: \'create\' });\n },\n createBasedOn() {\n this.$emit(\'modal:resolve\', { action: \'basedOn\', data: this.notification });\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.content-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n\n & > * {\n width: 100%;\n flex: 0 0 auto;\n }\n\n .content-header {\n border-bottom: solid 1px $color-grey-2;\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n h2 {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n }\n\n .header-image {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n\n img {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n }\n\n &.cancel-button {\n img {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n\n &:hover {\n opacity: 0.75;\n }\n }\n }\n }\n }\n\n .content-body {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n\n .content-body__row {\n text-align: center;\n padding: 1rem 0;\n\n &--customised {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n }\n\n &:first-child {\n padding-top: 0;\n }\n\n &:last-child {\n padding-bottom: 0;\n }\n }\n }\n\n .content-footer {\n border-top: solid 1px $color-grey-2;\n text-align: right;\n }\n}\n</style>',".content-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.content-container > * {\n width: 100%;\n flex: 0 0 auto;\n}\n.content-container .content-header {\n border-bottom: solid 1px #e2e2e2;\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n}\n.content-container .content-header h2 {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n}\n.content-container .content-header .header-image {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n}\n.content-container .content-header .header-image img {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n}\n.content-container .content-header .header-image.cancel-button img {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n}\n.content-container .content-header .header-image.cancel-button img:hover {\n opacity: 0.75;\n}\n.content-container .content-body {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n}\n.content-container .content-body .content-body__row {\n text-align: center;\n padding: 1rem 0;\n}\n.content-container .content-body .content-body__row--customised {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n}\n.content-container .content-body .content-body__row:first-child {\n padding-top: 0;\n}\n.content-container .content-body .content-body__row:last-child {\n padding-bottom: 0;\n}\n.content-container .content-footer {\n border-top: solid 1px #e2e2e2;\n text-align: right;\n}\n\n/*# sourceMappingURL=NewOrCopy.vue.map */"]},media:void 0})},__vue_scope_id__$L="data-v-55a6a8bf",__vue_module_identifier__$L=void 0,__vue_is_functional_template__$L=!1,__vue_component__$J=normalizeComponent({render:__vue_render__$K,staticRenderFns:__vue_staticRenderFns__$K},__vue_inject_styles__$L,__vue_script__$L,__vue_scope_id__$L,__vue_is_functional_template__$L,__vue_module_identifier__$L,!1,createInjector$1,void 0,void 0);var script$L={name:"NotificationInUse",props:["policies"],components:{"v-select":vSelect},methods:{close(){this.$emit("modal:reject")}}};const __vue_script__$M=script$L;var __vue_render__$L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-container"},[n("div",{staticClass:"content-header"},[e._m(0),e._v(" "),n("h2",[e._v("Cannot remove template")]),e._v(" "),n("div",{staticClass:"header-image cancel-button",on:{click:e.close}},[n("img",{attrs:{src:"img/icon/svg/add.svg"}})])]),e._v(" "),n("div",{staticClass:"content-body"},[n("div",{staticClass:"content-body__row--customised"},[e._v("\n The template or templates you are trying to remove are currently in use in following policies:\n ")]),e._v(" "),n("div",{staticClass:"content-body__row--customised"},[n("ul",e._l(e.policies,(function(t){return n("li",[e._v("\n "+e._s(t)+"\n ")])})),0)]),e._v(" "),n("div",{staticClass:"content-body__row--customised"},[e._v("\n Please edit these policies and change their actions before removing.\n ")]),e._v(" "),n("div",{staticClass:"content-body__row"},[n("button",{staticClass:"button full-width-button cancel-new",attrs:{type:"button"},on:{click:e.close}},[e._v("\n OK\n ")])])])])},__vue_staticRenderFns__$L=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"header-image"},[t("img",{attrs:{src:"img/icon/svg/icon-policies.svg"}})])}];__vue_render__$L._withStripped=!0;const __vue_inject_styles__$M=function(e){e&&e("data-v-ed1eabfa_0",{source:".content-container[data-v-ed1eabfa] {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.content-container > *[data-v-ed1eabfa] {\n width: 100%;\n flex: 0 0 auto;\n}\n.content-container .content-header[data-v-ed1eabfa] {\n border-bottom: solid 1px #e2e2e2;\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n}\n.content-container .content-header h2[data-v-ed1eabfa] {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n}\n.content-container .content-header .header-image[data-v-ed1eabfa] {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n}\n.content-container .content-header .header-image img[data-v-ed1eabfa] {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n}\n.content-container .content-header .header-image.cancel-button img[data-v-ed1eabfa] {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n}\n.content-container .content-header .header-image.cancel-button img[data-v-ed1eabfa]:hover {\n opacity: 0.75;\n}\n.content-container .content-body[data-v-ed1eabfa] {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n}\n.content-container .content-body .content-body__row[data-v-ed1eabfa] {\n text-align: center;\n padding: 1rem 0;\n}\n.content-container .content-body .content-body__row--customised[data-v-ed1eabfa] {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n}\n.content-container .content-body .content-body__row[data-v-ed1eabfa]:first-child {\n padding-top: 0;\n}\n.content-container .content-body .content-body__row[data-v-ed1eabfa]:last-child {\n padding-bottom: 0;\n}\n.content-container .content-footer[data-v-ed1eabfa] {\n border-top: solid 1px #e2e2e2;\n text-align: right;\n}\n\n/*# sourceMappingURL=NotificationInUse.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/notificationsSettings/logic/components/modals/NotificationInUse.vue","NotificationInUse.vue"],names:[],mappings:"AA2DA;EACA,aAAA;EACA,sBAAA;EACA,WAAA;AC1DA;AD4DA;EACA,WAAA;EACA,cAAA;AC1DA;AD6DA;EACA,gCAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;AC3DA;AD6DA;EACA,SAAA;EACA,iBAAA;EACA,cAAA;AC3DA;AD8DA;EACA,mBAAA;EACA,WAAA;EACA,kBAAA;AC5DA;AD8DA;EACA,YAAA;EACA,+FAAA;AC5DA;ADgEA;EACA,eAAA;EACA,YAAA;EACA,YAAA;EACA,wBAAA;AC9DA;ADgEA;EACA,aAAA;AC9DA;ADqEA;EACA,cAAA;EACA,4BAAA;ACnEA;ADqEA;EACA,kBAAA;EACA,eAAA;ACnEA;ADqEA;EACA,UAAA;EACA,mBAAA;EACA,iBAAA;EACA,gBAAA;ACnEA;ADsEA;EACA,cAAA;ACpEA;ADuEA;EACA,iBAAA;ACrEA;AD0EA;EACA,6BAAA;EACA,iBAAA;ACxEA;;AAEA,gDAAgD",file:"NotificationInUse.vue",sourcesContent:['<template>\n <div class="content-container">\n <div class="content-header">\n <div class="header-image">\n <img src="img/icon/svg/icon-policies.svg">\n </div>\n\n <h2>Cannot remove template</h2>\n\n <div class="header-image cancel-button" @click="close">\n <img src="img/icon/svg/add.svg">\n </div>\n </div>\n\n <div class="content-body">\n <div class="content-body__row--customised">\n The template or templates you are trying to remove are currently in use in following policies:\n </div>\n\n <div class="content-body__row--customised">\n <ul>\n <li v-for="policy of policies">\n {{ policy }}\n </li>\n </ul>\n </div>\n\n\n <div class="content-body__row--customised">\n Please edit these policies and change their actions before removing.\n </div>\n\n <div class="content-body__row">\n <button type="button" class="button full-width-button cancel-new" @click="close">\n OK\n </button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport vSelect from \'vue-select/dist/vue-select\'\n\nexport default {\n name: \'NotificationInUse\',\n props: [\'policies\'],\n components: {\'v-select\': vSelect},\n methods: {\n close() {\n this.$emit(\'modal:reject\');\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.content-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n\n & > * {\n width: 100%;\n flex: 0 0 auto;\n }\n\n .content-header {\n border-bottom: solid 1px $color-grey-2;\n display: flex;
110\n align-items: center;\n padding: 0.5rem 0;\n\n h2 {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n }\n\n .header-image {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n\n img {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n }\n\n &.cancel-button {\n img {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n\n &:hover {\n opacity: 0.75;\n }\n }\n }\n }\n }\n\n .content-body {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n\n .content-body__row {\n text-align: center;\n padding: 1rem 0;\n\n &--customised {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n }\n\n &:first-child {\n padding-top: 0;\n }\n\n &:last-child {\n padding-bottom: 0;\n }\n }\n }\n\n .content-footer {\n border-top: solid 1px $color-grey-2;\n text-align: right;\n }\n}\n</style>',".content-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.content-container > * {\n width: 100%;\n flex: 0 0 auto;\n}\n.content-container .content-header {\n border-bottom: solid 1px #e2e2e2;\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n}\n.content-container .content-header h2 {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n}\n.content-container .content-header .header-image {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n}\n.content-container .content-header .header-image img {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n}\n.content-container .content-header .header-image.cancel-button img {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n}\n.content-container .content-header .header-image.cancel-button img:hover {\n opacity: 0.75;\n}\n.content-container .content-body {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n}\n.content-container .content-body .content-body__row {\n text-align: center;\n padding: 1rem 0;\n}\n.content-container .content-body .content-body__row--customised {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n}\n.content-container .content-body .content-body__row:first-child {\n padding-top: 0;\n}\n.content-container .content-body .content-body__row:last-child {\n padding-bottom: 0;\n}\n.content-container .content-footer {\n border-top: solid 1px #e2e2e2;\n text-align: right;\n}\n\n/*# sourceMappingURL=NotificationInUse.vue.map */"]},media:void 0})},__vue_scope_id__$M="data-v-ed1eabfa",__vue_module_identifier__$M=void 0,__vue_is_functional_template__$M=!1,__vue_component__$K=normalizeComponent({render:__vue_render__$L,staticRenderFns:__vue_staticRenderFns__$L},__vue_inject_styles__$M,__vue_script__$M,__vue_scope_id__$M,__vue_is_functional_template__$M,__vue_module_identifier__$M,!1,createInjector$1,void 0,void 0);var script$M={name:"DeleteConfirm",components:{"v-select":vSelect},props:["count"],computed:{notificationCount(){return this.count>1?"".concat(this.count," templates"):"a template"}},methods:{cancel(){this.$emit("modal:reject")},apply(){this.$emit("modal:resolve")}}};const __vue_script__$N=script$M;var __vue_render__$M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-container"},[n("div",{staticClass:"content-header"},[e._m(0),e._v(" "),n("h2",[e._v("Are you sure you want to do that?")]),e._v(" "),n("div",{staticClass:"header-image cancel-button",on:{click:e.cancel}},[n("img",{attrs:{src:"img/icon/svg/add.svg"}})])]),e._v(" "),n("div",{staticClass:"content-body"},[n("div",{staticClass:"content-body__row--customised"},[e._v("\n You are about to delete "),n("b",[e._v(e._s(e.notificationCount))]),e._v(". Are you sure you want to do this?\n ")]),e._v(" "),n("div",{staticClass:"content-body__row"},[n("button",{staticClass:"button cancel-new margin-right--tiny",attrs:{type:"button"},on:{click:e.cancel}},[e._v("\n No\n ")]),e._v(" "),n("button",{staticClass:"button margin-left--tiny",attrs:{type:"button"},on:{click:e.apply}},[e._v("\n Yes\n ")])])])])},__vue_staticRenderFns__$M=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"header-image"},[t("img",{attrs:{src:"img/icon/svg/icon-policies.svg"}})])}];__vue_render__$M._withStripped=!0;const __vue_inject_styles__$N=function(e){e&&e("data-v-2cc69d9e_0",{source:".content-container[data-v-2cc69d9e] {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.content-container > *[data-v-2cc69d9e] {\n width: 100%;\n flex: 0 0 auto;\n}\n.content-container .content-header[data-v-2cc69d9e] {\n border-bottom: solid 1px #e2e2e2;\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n}\n.content-container .content-header h2[data-v-2cc69d9e] {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n}\n.content-container .content-header .header-image[data-v-2cc69d9e] {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n}\n.content-container .content-header .header-image img[data-v-2cc69d9e] {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n}\n.content-container .content-header .header-image.cancel-button img[data-v-2cc69d9e] {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n}\n.content-container .content-header .header-image.cancel-button img[data-v-2cc69d9e]:hover {\n opacity: 0.75;\n}\n.content-container .content-body[data-v-2cc69d9e] {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n}\n.content-container .content-body .content-body__row[data-v-2cc69d9e] {\n text-align: center;\n padding: 1rem 0;\n display: flex;\n}\n.content-container .content-body .content-body__row .button[data-v-2cc69d9e] {\n flex: 1 1 auto;\n}\n.content-container .content-body .content-body__row--customised[data-v-2cc69d9e] {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n}\n.content-container .content-body .content-body__row[data-v-2cc69d9e]:first-child {\n padding-top: 0;\n}\n.content-container .content-body .content-body__row[data-v-2cc69d9e]:last-child {\n padding-bottom: 0;\n}\n.content-container .content-footer[data-v-2cc69d9e] {\n border-top: solid 1px #e2e2e2;\n text-align: right;\n}\n\n/*# sourceMappingURL=DeleteConfirm.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/notificationsSettings/logic/components/modals/DeleteConfirm.vue","DeleteConfirm.vue"],names:[],mappings:"AA6DA;EACA,aAAA;EACA,sBAAA;EACA,WAAA;AC5DA;AD8DA;EACA,WAAA;EACA,cAAA;AC5DA;AD+DA;EACA,gCAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;AC7DA;AD+DA;EACA,SAAA;EACA,iBAAA;EACA,cAAA;AC7DA;ADgEA;EACA,mBAAA;EACA,WAAA;EACA,kBAAA;AC9DA;ADgEA;EACA,YAAA;EACA,+FAAA;AC9DA;ADkEA;EACA,eAAA;EACA,YAAA;EACA,YAAA;EACA,wBAAA;AChEA;ADkEA;EACA,aAAA;AChEA;ADuEA;EACA,cAAA;EACA,4BAAA;ACrEA;ADuEA;EACA,kBAAA;EACA,eAAA;EACA,aAAA;ACrEA;ADuEA;EACA,cAAA;ACrEA;ADwEA;EACA,UAAA;EACA,mBAAA;EACA,iBAAA;EACA,gBAAA;ACtEA;ADyEA;EACA,cAAA;ACvEA;AD0EA;EACA,iBAAA;ACxEA;AD6EA;EACA,6BAAA;EACA,iBAAA;AC3EA;;AAEA,4CAA4C",file:"DeleteConfirm.vue",sourcesContent:['<template>\n <div class="content-container">\n <div class="content-header">\n <div class="header-image">\n <img src="img/icon/svg/icon-policies.svg">\n </div>\n\n <h2>Are you sure you want to do that?</h2>\n\n <div class="header-image cancel-button" @click="cancel">\n <img src="img/icon/svg/add.svg">\n </div>\n </div>\n\n <div class="content-body">\n <div class="content-body__row--customised">\n You are about to delete <b>{{ notificationCount }}</b>. Are you sure you want to do this?\n </div>\n\n <div class="content-body__row">\n <button type="button" class="button cancel-new margin-right--tiny" @click="cancel">\n No\n </button>\n <button type="button" class="button margin-left--tiny" @click="apply">\n Yes\n </button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport vSelect from \'vue-select/dist/vue-select\'\n\nexport default {\n name: \'DeleteConfirm\',\n components: {\'v-select\': vSelect},\n props: [\'count\'],\n computed: {\n notificationCount() {\n if (this.count > 1) {\n return `${this.count} templates`;\n }\n\n return \'a template\';\n }\n },\n methods: {\n cancel() {\n this.$emit(\'modal:reject\');\n },\n apply() {\n this.$emit(\'modal:resolve\');\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.content-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n\n & > * {\n width: 100%;\n flex: 0 0 auto;\n }\n\n .content-header {\n border-bottom: solid 1px $color-grey-2;\n display: flex;
110\n align-items: center;\n padding: 0.5rem 0;\n\n h2 {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n }\n\n .header-image {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n\n img {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n }\n\n &.cancel-button {\n img {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n\n &:hover {\n opacity: 0.75;\n }\n }\n }\n }\n }\n\n .content-body {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n\n .content-body__row {\n text-align: center;\n padding: 1rem 0;\n display: flex;\n\n .button {\n flex: 1 1 auto;\n }\n\n &--customised {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n }\n\n &:first-child {\n padding-top: 0;\n }\n\n &:last-child {\n padding-bottom: 0;\n }\n }\n }\n\n .content-footer {\n border-top: solid 1px $color-grey-2;\n text-align: right;\n }\n}\n</style>',".content-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.content-container > * {\n width: 100%;\n flex: 0 0 auto;\n}\n.content-container .content-header {\n border-bottom: solid 1px #e2e2e2;\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n}\n.content-container .content-header h2 {\n margin: 0;\n font-weight: bold;\n flex: 1 1 auto;\n}\n.content-container .content-header .header-image {\n line-height: 0.5rem;\n width: 5rem;\n text-align: center;\n}\n.content-container .content-header .header-image img {\n height: 3rem;\n filter: invert(34%) sepia(55%) saturate(1626%) hue-rotate(203deg) brightness(89%) contrast(87%);\n}\n.content-container .content-header .header-image.cancel-button img {\n cursor: pointer;\n height: 2rem;\n filter: none;\n transform: rotate(45deg);\n}\n.content-container .content-header .header-image.cancel-button img:hover {\n opacity: 0.75;\n}\n.content-container .content-body {\n flex: 1 1 auto;\n padding: 1rem 5rem 2rem 5rem;\n}\n.content-container .content-body .content-body__row {\n text-align: center;\n padding: 1rem 0;\n display: flex;\n}\n.content-container .content-body .content-body__row .button {\n flex: 1 1 auto;\n}\n.content-container .content-body .content-body__row--customised {\n padding: 0;\n text-align: justify;\n font-size: 1.2rem;\n font-weight: 300;\n}\n.content-container .content-body .content-body__row:first-child {\n padding-top: 0;\n}\n.content-container .content-body .content-body__row:last-child {\n padding-bottom: 0;\n}\n.content-container .content-footer {\n border-top: solid 1px #e2e2e2;\n text-align: right;\n}\n\n/*# sourceMappingURL=DeleteConfirm.vue.map */"]},media:void 0})},__vue_scope_id__$N="data-v-2cc69d9e",__vue_module_identifier__$N=void 0,__vue_is_functional_template__$N=!1,__vue_component__$L=normalizeComponent({render:__vue_render__$M,staticRenderFns:__vue_staticRenderFns__$M},__vue_inject_styles__$N,__vue_script__$N,__vue_scope_id__$N,__vue_is_functional_template__$N,__vue_module_identifier__$N,!1,createInjector$1,void 0,void 0);var script$N={name:"Streams",components:{VTable:__vue_component__$8},data:()=>({columns:[{name:"ID",key:"id",align:"left",minWidth:"14rem"},{name:"Type",key:"type",align:"center",minWidth:"16rem",decorator:e=>({kinesis:"AWS Kinesis",eventHub:"Azure Event HUB"}[e])},{name:"Name",key:"name",align:"left",width:"100%"},{name:"Status",key:"status",align:"right",minWidth:"8rem"},{name:"Actions",key:"actions",minWidth:"8rem",align:"center"}],settings:{numbering:{enabled:!0},disabling:{enabled:!0,testingMethod:e=>"inactive"===e.status},multipleSelection:{enabled:!0},filtering:{enabled:!0,columns:["id","name","type","status"]}}}),computed:_objectSpread2(_objectSpread2(_objectSpread2({},mapState$1("actions",["channels"])),mapGetters$1("policies",["policies"])),{},{parsedChannels(){return Array.isArray(this.channels)?this.channels.map(e=>({id:e.id,name:e.name,status:e.status,type:e.channel.type})):[]},parsedPolicies(){return this.policies.map(e=>({configurationId:e.action.configurationId,name:e.name}))}}
110),methods:_objectSpread2(_objectSpread2(_objectSpread2({},mapActions$1("actions",["updateChannels","selectNotification"])),mapActions$1("policies",["updatePolicies"])),{},{async getData(){const e=await notificationsSettingsService.fetchStreams();this.updateChannels(e);const t=await notificationsSettingsService.fetchPolicies();this.updatePolicies(t)},async checkAndDelete(e){const t=this.getPoliciesForConfiguration(e);try{t.length?await this.$modal.open(__vue_component__$K,{policies:t},{maxWidth:"32.143rem"}):(await this.$modal.open(__vue_component__$L,{count:e.length},{maxWidth:"32.143rem"}),await notificationsSettingsService.deleteStream(e),await this.getData())}catch(e){}},deleteChannel(e){this.checkAndDelete([e])},deleteMultipleChannels(e){this.checkAndDelete(e)},translateTypeToLogo:e=>({kinesis:"Amazon_Web_Services_Logo.svg",eventHub:"Microsoft_Azure_Logo.svg"}[e]),async openCreateOrCopyModal(){try{const{action:e,data:t}=await this.$modal.open(__vue_component__$J,{notifications:this.channels},{maxWidth:"32.143rem"});"create"===e?this.selectNotification(null):this.selectNotification(t),await this.$router.push("/stream/new")}catch(e){}},getPoliciesForConfiguration(e){return this.parsedPolicies.filter(t=>e.includes(t.configurationId)).map(e=>e.name)}}),mounted(){this.getData()},watch:{$route(){this.getData()}}};const __vue_script__$O=script$N;var __vue_render__$N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"streams"},[n("div",{staticClass:"list-header content-wrapper"},[n("h2",{staticClass:"main-header"},[e._v("Streams")]),e._v(" "),n("div",{staticClass:"actions hidden-sm hidden-md"},[n("button",{staticClass:"button",attrs:{type:"button"},on:{click:e.openCreateOrCopyModal}},[e._v("\n Add stream\n ")])])]),e._v(" "),n("v-table",{attrs:{rows:e.parsedChannels,columns:e.columns,settings:e.settings},on:{deleteMultipleClick:e.deleteMultipleChannels},scopedSlots:e._u([{key:"item.type",fn:function(t){var i=t.item;return[n("img",{staticClass:"type-logo",attrs:{src:"img/notifications/"+e.translateTypeToLogo(i.type)}})]}},{key:"item.status",fn:function(t){var i=t.item;return[n("span",{staticClass:"status",class:{active:"active"===i.status}},[e._v("\n "+e._s(e._f("capitalize")(e._f("renameStatus")(i.status)))+"\n ")])]}},{key:"item.actions",fn:function(t){var i=t.item;return[n("router-link",{attrs:{to:"/stream/"+i.id}},[n("i",{staticClass:"action-edit icon icon-pencil"})]),e._v(" "),n("a",{on:{click:function(t){return e.deleteChannel(i.id)}}},[n("i",{staticClass:"action-delete icon icon-trash"})])]}}])})],1)},__vue_staticRenderFns__$N=[];__vue_render__$N._withStripped=!0;const __vue_inject_styles__$O=function(e){e&&e("data-v-26320e6a_0",{source:".streams[data-v-26320e6a] {\n width: 100%;\n min-height: 100%;\n}\n.type-logo[data-v-26320e6a] {\n height: 1.2rem;\n display: flex;\n margin: auto;\n}\n.status[data-v-26320e6a] {\n color: #e02d2d;\n}\n.status.active[data-v-26320e6a] {\n color: #079d04;\n}\n.action-edit[data-v-26320e6a] {\n color: #079d04;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n.action-delete[data-v-26320e6a] {\n color: #e02d2d;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n/*# sourceMappingURL=Streams.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/notificationsSettings/logic/views/Streams.vue","Streams.vue"],names:[],mappings:"AA8LA;EACA,WAAA;EACA,gBAAA;AC7LA;ADgMA;EACA,cAAA;EACA,aAAA;EACA,YAAA;AC7LA;ADgMA;EACA,cAAA;AC7LA;AD+LA;EACA,cAAA;AC7LA;ADiMA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;AC9LA;ADiMA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;AC9LA;;AAEA,sCAAsC",file:"Streams.vue",sourcesContent:["<template>\n <div class=\"streams\">\n <div class=\"list-header content-wrapper\">\n <h2 class=\"main-header\">Streams</h2>\n <div class=\"actions hidden-sm hidden-md\">\n <button type=\"button\" class=\"button\" @click=\"openCreateOrCopyModal\">\n Add stream\n </button>\n </div>\n </div>\n\n <v-table :rows=\"parsedChannels\" :columns=\"columns\" :settings=\"settings\"\n @deleteMultipleClick=\"deleteMultipleChannels\">\n <template v-slot:item.type=\"{ item }\">\n <img class=\"type-logo\" :src=\"`img/notifications/${translateTypeToLogo(item.type)}`\">\n </template>\n <template v-slot:item.status=\"{ item }\">
110\n <span class=\"status\" :class=\"{ 'active': item.status === 'active' }\">\n {{ item.status | renameStatus | capitalize }}\n </span>\n </template>\n <template v-slot:item.actions=\"{ item }\">\n <router-link :to=\"`/stream/${item.id}`\">\n <i class=\"action-edit icon icon-pencil\"></i>\n </router-link>\n <a @click=\"deleteChannel(item.id)\">\n <i class=\"action-delete icon icon-trash\"></i>\n </a>\n </template>\n </v-table>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapState, mapGetters } from 'vuex';\nimport { notificationsSettingsService } from 'notificationsSettings/logic/services/notificationsSettingsService';\nimport VTable from 'vueCustomComponents/VTable/VTable.vue';\nimport NewOrCopy from 'notificationsSettings/logic/components/modals/NewOrCopy.vue';\nimport NotificationInUse from 'notificationsSettings/logic/components/modals/NotificationInUse.vue';\nimport DeleteConfirm from 'notificationsSettings/logic/components/modals/DeleteConfirm.vue';\n\nexport default {\n name: 'Streams',\n components: {VTable},\n data: () => ({\n columns: [\n {\n name: 'ID',\n key: 'id',\n align: 'left',\n minWidth: '14rem'\n },\n {\n name: 'Type',\n key: 'type',\n align: 'center',\n minWidth: '16rem',\n decorator: (item) => {\n const translator = {\n kinesis: 'AWS Kinesis',\n eventHub: 'Azure Event HUB'\n };\n\n return translator[item];\n }\n },\n {\n name: 'Name',\n key: 'name',\n align: 'left',\n width: '100%'\n },\n {\n name: 'Status',\n key: 'status',\n align: 'right',\n minWidth: '8rem'\n },\n {\n name: 'Actions',\n key: 'actions',\n minWidth: '8rem',\n align: 'center'\n }\n ],\n settings: {\n numbering: {\n enabled: true\n },\n disabling: {\n enabled: true,\n testingMethod: item => item.status === 'inactive'\n },\n multipleSelection: {\n enabled: true\n },\n filtering: {\n enabled: true,\n columns: ['id', 'name', 'type', 'status']\n }\n }\n }),\n computed: {\n ...mapState('actions', ['channels']),\n ...mapGetters('policies', ['policies']),\n parsedChannels() {\n if (Array.isArray(this.channels)) {\n return this.channels.map(item => ({\n id: item.id,\n name: item.name,\n status: item.status,\n type: item.channel.type\n }));\n }\n\n return [];\n },\n parsedPolicies() {\n return this.policies.map(item =>{ return { configurationId: item.action.configurationId, name: item.name } });\n }\n },\n methods: {\n ...mapActions('actions', ['updateChannels', 'selectNotification']),\n ...mapActions('policies', ['updatePolicies']),\n async getData() {\n const streams = await notificationsSettingsService.fetchStreams();\n this.updateChannels(streams);\n\n const policies = await notificationsSettingsService.fetchPolicies();\n this.updatePolicies(policies);\n },\n async checkAndDelete(ids) {\n const policies = this.getPoliciesForConfiguration(ids);\n\n try {\n if (policies.length) {\n await this.$modal.open(NotificationInUse, { policies }, { maxWidth: '32.143rem' });\n } else {\n await this.$modal.open(DeleteConfirm, { count: ids.length }, { maxWidth: '32.143rem' });\n\n await notificationsSettingsService.deleteStream(ids);\n await this.getData();\n }\n } catch (ex) {}\n },\n deleteChannel(id) {\n this.checkAndDelete([id]);\n },\n deleteMultipleChannels(ids) {\n this.checkAndDelete(ids);\n },\n translateTypeToLogo(type) {\n const translator = {\n kinesis: 'Amazon_Web_Services_Logo.svg',\n eventHub: 'Microsoft_Azure_Logo.svg'\n };\n\n return translator[type];\n }
110,\n async openCreateOrCopyModal() {\n try {\n const { action, data } = await this.$modal.open(NewOrCopy, { notifications: this.channels }, { maxWidth: '32.143rem' });\n\n if (action === 'create') {\n this.selectNotification(null);\n } else {\n this.selectNotification(data);\n }\n\n await this.$router.push('/stream/new');\n } catch (ex) {}\n },\n getPoliciesForConfiguration(configurationId) {\n return this.parsedPolicies.filter(item => configurationId.includes(item.configurationId)).map(item => item.name);\n }\n },\n mounted() {\n this.getData();\n },\n watch: {\n $route() {\n this.getData();\n }\n }\n}\n<\/script>\n\n<style scoped lang=\"scss\">\n@import 'src/scss/global/brand-colors';\n\n.streams {\n width: 100%;\n min-height: 100%;\n}\n\n.type-logo {\n height: 1.2rem;\n display: flex;\n margin: auto;\n}\n\n.status {\n color: $color-red-error;\n\n &.active {\n color: $color-green-2;\n }\n}\n\n.action-edit {\n color: $color-green-2;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n.action-delete {\n color: $color-red-error;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n</style>",".streams {\n width: 100%;\n min-height: 100%;\n}\n\n.type-logo {\n height: 1.2rem;\n display: flex;\n margin: auto;\n}\n\n.status {\n color: #e02d2d;\n}\n.status.active {\n color: #079d04;\n}\n\n.action-edit {\n color: #079d04;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n.action-delete {\n color: #e02d2d;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n/*# sourceMappingURL=Streams.vue.map */"]},media:void 0})},__vue_scope_id__$O="data-v-26320e6a",__vue_module_identifier__$O=void 0,__vue_is_functional_template__$O=!1,__vue_component__$M=normalizeComponent({render:__vue_render__$N,staticRenderFns:__vue_staticRenderFns__$N},__vue_inject_styles__$O,__vue_script__$O,__vue_scope_id__$O,__vue_is_functional_template__$O,__vue_module_identifier__$O,!1,createInjector$1,void 0,void 0);var script$O={name:"TextMessages",components:{VTable:__vue_component__$8},data:()=>({columns:[{name:"ID",key:"id",align:"left",minWidth:"14rem"},{name:"Name",key:"name",align:"left",minWidth:"16rem"},{name:"Recipients",key:"recipients",decorator:e=>e.join(", "),align:"left",width:"50%"},{name:"Content",key:"content",align:"left",width:"50%"},{name:"Status",key:"status",align:"right",minWidth:"8rem"},{name:"Actions",key:"actions",minWidth:"8rem",align:"center"}],settings:{numbering:{enabled:!0},disabling:{enabled:!0,testingMethod:e=>"inactive"===e.status},multipleSelection:{enabled:!0},filtering:{enabled:!0,columns:["id","name","recipients","content","status"]}}}),computed:_objectSpread2(_objectSpread2(_objectSpread2({},mapState$1("actions",["sms"])),mapGetters$1("policies",["policies"])),{},{parsedTextMessages(){return Array.isArray(this.sms)?this.sms.map(e=>({id:e.id,name:e.name,status:e.status,content:e.channel.content,recipients:e.channel.recipients})):[]},parsedPolicies(){return this.policies.map(e=>({configurationId:e.action.configurationId,name:e.name}))}}),methods:_objectSpread2(_objectSpread2(_objectSpread2({},mapActions$1("actions",["updateSms","selectNotification"])),mapActions$1("policies",["updatePolicies"])),{},{async getData(){const e=await notificationsSettingsService.fetchTextMessages();this.updateSms(e);const t=await notificationsSettingsService.fetchPolicies();this.updatePolicies(t)},async checkAndDelete(e){const t=this.getPoliciesForConfiguration(e);try{t.length?await this.$modal.open(__vue_component__$K,{policies:t},{maxWidth:"32.143rem"}):(await this.$modal.open(__vue_component__$L,{count:e.length},{maxWidth:"32.143rem"}),await notificationsSettingsService.deleteTextMessage(e),await this.getData())}catch(e){}},deleteTextMessage(e){this.checkAndDelete([e])},deleteMultipleTextMessages(e){this.checkAndDelete(e)},async openCreateOrCopyModal(){try{const{action:e,data:t}=await this.$modal.open(__vue_component__$J,{notifications:this.sms},{maxWidth:"32.143rem"});"create"===e?this.selectNotification(null):this.selectNotification(t),await this.$router.push("/textMessage/new")}catch(e){}},getPoliciesForConfiguration(e){return this.parsedPolicies.filter(t=>e.includes(t.configurationId)).map(e=>e.name)}
110}),mounted(){this.getData()},watch:{$route(){this.getData()}}};const __vue_script__$P=script$O;var __vue_render__$O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"text-messages"},[n("div",{staticClass:"list-header content-wrapper"},[n("h2",{staticClass:"main-header"},[e._v("Text Messages")]),e._v(" "),n("div",{staticClass:"actions hidden-sm hidden-md"},[n("button",{staticClass:"button",attrs:{type:"button"},on:{click:e.openCreateOrCopyModal}},[e._v("\n Add text message\n ")])])]),e._v(" "),n("v-table",{attrs:{rows:e.parsedTextMessages,columns:e.columns,settings:e.settings},on:{deleteMultipleClick:e.deleteMultipleTextMessages},scopedSlots:e._u([{key:"item.status",fn:function(t){var i=t.item;return[n("span",{staticClass:"status",class:{active:"active"===i.status}},[e._v("\n "+e._s(e._f("capitalize")(e._f("renameStatus")(i.status)))+"\n ")])]}},{key:"item.actions",fn:function(t){var i=t.item;return[n("router-link",{attrs:{to:"/textMessage/"+i.id}},[n("i",{staticClass:"action-edit icon icon-pencil"})]),e._v(" "),n("a",{on:{click:function(t){return e.deleteTextMessage(i.id)}}},[n("i",{staticClass:"action-delete icon icon-trash"})])]}}])})],1)},__vue_staticRenderFns__$O=[];__vue_render__$O._withStripped=!0;const __vue_inject_styles__$P=function(e){e&&e("data-v-70b9ca24_0",{source:".text-messages[data-v-70b9ca24] {\n width: 100%;\n min-height: 100%;\n}\n.status[data-v-70b9ca24] {\n color: #e02d2d;\n}\n.status.active[data-v-70b9ca24] {\n color: #079d04;\n}\n.action-edit[data-v-70b9ca24] {\n color: #079d04;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n.action-delete[data-v-70b9ca24] {\n color: #e02d2d;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n/*# sourceMappingURL=TextMessages.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/notificationsSettings/logic/views/TextMessages.vue","TextMessages.vue"],names:[],mappings:"AAmLA;EACA,WAAA;EACA,gBAAA;AClLA;ADqLA;EACA,cAAA;AClLA;ADoLA;EACA,cAAA;AClLA;ADsLA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;ACnLA;ADsLA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;ACnLA;;AAEA,2CAA2C",file:"TextMessages.vue",sourcesContent:["<template>\n <div class=\"text-messages\">\n <div class=\"list-header content-wrapper\">\n <h2 class=\"main-header\">Text Messages</h2>\n <div class=\"actions hidden-sm hidden-md\">\n <button type=\"button\" class=\"button\" @click=\"openCreateOrCopyModal\">\n Add text message\n </button>\n </div>\n </div>\n\n <v-table :rows=\"parsedTextMessages\" :columns=\"columns\" :settings=\"settings\"\n @deleteMultipleClick=\"deleteMultipleTextMessages\">\n <template v-slot:item.status=\"{ item }\">\n <span class=\"status\" :class=\"{ 'active': item.status === 'active' }\">\n {{ item.status | renameStatus | capitalize }}\n </span>\n </template>\n <template v-slot:item.actions=\"{ item }\">\n <router-link :to=\"`/textMessage/${item.id}`\">\n <i class=\"action-edit icon icon-pencil\"></i>\n </router-link>\n <a @click=\"deleteTextMessage(item.id)\">\n <i class=\"action-delete icon icon-trash\"></i>\n </a>\n </template>\n </v-table>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapState, mapGetters } from 'vuex';\nimport { notificationsSettingsService } from 'notificationsSettings/logic/services/notificationsSettingsService';\nimport VTable from 'vueCustomComponents/VTable/VTable.vue';\nimport NewOrCopy from 'notificationsSettings/logic/components/modals/NewOrCopy.vue';\nimport NotificationInUse from 'notificationsSettings/logic/components/modals/NotificationInUse.vue';\nimport DeleteConfirm from 'notificationsSettings/logic/components/modals/DeleteConfirm.vue';\n\nexport default {\n name: 'TextMessages',\n components: {VTable},\n data: () => ({\n columns: [\n {\n name: 'ID',\n key: 'id',\n align: 'left',\n minWidth: '14rem'\n },\n {\n name: 'Name',\n key: 'name',\n align: 'left',\n minWidth: '16rem'\n },\n {\n name: 'Recipients',\n key: 'recipients',\n decorator: value => value.join(', '),\n align: 'left',\n width: '50%'\n },\n {\n name: 'Content',\n key: 'content',\n align: 'left',\n width: '50%'\n },\n {\n name: 'Status',\n key: 'status',\n align: 'right',\n minWidth: '8rem'\n },\n {\n name: 'Actions',\n key: 'actions',\n minWidth: '8rem',\n align: 'center'\n }\n ],\n settings: {\n numbering: {\n enabled: true\n },\n disabling: {\n enabled: true,\n testingMethod: item => item.status === 'inactive'\n },\n multipleSelection: {\n enabled: true\n },\n filtering: {\n enabled: true,\n columns: ['id', 'name', 'recipients', 'content', 'status']\n }\n }\n }),\n computed: {\n ...mapState('actions', ['sms']),\n ...mapGetters('policies', ['policies']),\n parsedTextMessages() {\n if (Array.isArray(this.sms)) {\n return this.sms.map(item => ({\n id: item.id,\n name: item.name,\n status: item.status,\n content: item.channel.content,\n recipients: item.channel.recipients\n }));\n }\n\n return [];\n },\n parsedPolicies() {\n return this.policies.map(item =>{ return { configurationId: item.action.configurationId, name: item.name } });\n }\n },\n methods: {\n ...mapActions('actions', ['updateSms', 'selectNotification']),\n ...mapActions('policies', ['updatePolicies']),\n async getData() {\
110n const texts = await notificationsSettingsService.fetchTextMessages();\n this.updateSms(texts);\n\n const policies = await notificationsSettingsService.fetchPolicies();\n this.updatePolicies(policies);\n },\n async checkAndDelete(ids) {\n const policies = this.getPoliciesForConfiguration(ids);\n\n try {\n if (policies.length) {\n await this.$modal.open(NotificationInUse, { policies }, { maxWidth: '32.143rem' });\n } else {\n await this.$modal.open(DeleteConfirm, { count: ids.length }, { maxWidth: '32.143rem' });\n\n await notificationsSettingsService.deleteTextMessage(ids);\n await this.getData();\n }\n } catch (ex) {}\n },\n deleteTextMessage(id) {\n this.checkAndDelete([id]);\n },\n deleteMultipleTextMessages(ids) {\n this.checkAndDelete(ids);\n },\n async openCreateOrCopyModal() {\n try {\n const { action, data } = await this.$modal.open(NewOrCopy, { notifications: this.sms }, { maxWidth: '32.143rem' });\n\n if (action === 'create') {\n this.selectNotification(null);\n } else {\n this.selectNotification(data);\n }\n\n await this.$router.push('/textMessage/new');\n } catch (ex) {}\n },\n getPoliciesForConfiguration(configurationId) {\n return this.parsedPolicies.filter(item => configurationId.includes(item.configurationId)).map(item => item.name);\n }\n },\n mounted() {\n this.getData();\n },\n watch: {\n $route() {\n this.getData();\n }\n }\n}\n<\/script>\n\n<style scoped lang=\"scss\">\n@import 'src/scss/global/brand-colors';\n\n.text-messages {\n width: 100%;\n min-height: 100%;\n}\n\n.status {\n color: $color-red-error;\n\n &.active {\n color: $color-green-2;\n }\n}\n\n.action-edit {\n color: $color-green-2;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n.action-delete {\n color: $color-red-error;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n</style>",".text-messages {\n width: 100%;\n min-height: 100%;\n}\n\n.status {\n color: #e02d2d;\n}\n.status.active {\n color: #079d04;\n}\n\n.action-edit {\n color: #079d04;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n.action-delete {\n color: #e02d2d;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n/*# sourceMappingURL=TextMessages.vue.map */"]},media:void 0})},__vue_scope_id__$P="data-v-70b9ca24",__vue_module_identifier__$P=void 0,__vue_is_functional_template__$P=!1,__vue_component__$N=normalizeComponent({render:__vue_render__$O,staticRenderFns:__vue_staticRenderFns__$O},__vue_inject_styles__$P,__vue_script__$P,__vue_scope_id__$P,__vue_is_functional_template__$P,__vue_module_identifier__$P,!1,createInjector$1,void 0,void 0);var script$P={name:"Emails",components:{VTable:__vue_component__$8},data:()=>({columns:[{name:"ID",key:"id",align:"left",minWidth:"14rem"},{name:"Name",key:"name",align:"left",minWidth:"16rem"},{name:"Recipients",key:"recipients",decorator:e=>e.join(", "),align:"left",width:"50%"},{name:"Body",key:"body",align:"left",width:"50%"},{name:"Status",key:"status",align:"right",minWidth:"8rem"},{name:"Actions",key:"actions",minWidth:"8rem",align:"center"}],settings:{numbering:{enabled:!0},disabling:{enabled:!0,testingMethod:e=>"inactive"===e.status},multipleSelection:{enabled:!0},filtering:{enabled:!0,columns:["id","name","recipients","body","status"]}}}),computed:_objectSpread2(_objectSpread2(_objectSpread2({},mapState$1("actions",["emails"])),mapGetters$1("policies",["policies"])),{},{parsedEmails(){return Array.isArray(this.emails)?this.emails.map(e=>({id:e.id,name:e.name,status:e.status,body:e.channel.textBody,recipients:e.channel.recipients})):[]},parsedPolicies(){return this.policies.map(e=>({configurationId:e.action.configurationId,name:e.name}))}}),methods:_objectSpread2(_objectSpread2(_objectSpread2({},mapActions$1("actions",["updateEmails","selectNotification"])),mapActions$1("policies",["updatePolicies"])),{},{async getData(){const e=await notificationsSettingsService.fetchEmails();this.updateEmails(e);const t=await notificationsSettingsService.fetchPolicies();this.updatePolicies(t)},async checkAndDelete(e){const t=this.getPoliciesForConfiguration(e);try{t.length?await this.$modal.open(__vue_component__$K,{policies:t},{maxWidth:"32.143rem"}):(await this.$modal.open(__vue_component__$L,{count:e.length},{maxWidth:"32.143rem"}),await notificationsSettingsService.deleteEmail(e),await this.getData())}catch(e){}},deleteEmail(e){this.checkAndDelete([e])},deleteMultipleEmails(e){this.checkAndDelete(e)},async openCreateOrCopyModal(){try{const{action:e,data:t}=await this.$modal.open(__vue_component__$J,{notifications:this.emails},{maxWidth:"32.143rem"});"create"===e?this.selectNotification(null):this.selectNotification(t),await this.$router.push("/email/new")}catch(e){}},getPoliciesForConfiguration(e){return this.parsedPolicies.filter(t=>e.includes(t.configurationId)).map(e=>e.name)}
110}),mounted(){this.getData()},watch:{$route(){this.getData()}}};const __vue_script__$Q=script$P;var __vue_render__$P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"emails"},[n("div",{staticClass:"list-header content-wrapper"},[n("h2",{staticClass:"main-header"},[e._v("Emails")]),e._v(" "),n("div",{staticClass:"actions hidden-sm hidden-md"},[n("button",{staticClass:"button",attrs:{type:"button"},on:{click:e.openCreateOrCopyModal}},[e._v("\n Add email\n ")])])]),e._v(" "),n("v-table",{attrs:{rows:e.parsedEmails,columns:e.columns,settings:e.settings},on:{deleteMultipleClick:e.deleteMultipleEmails},scopedSlots:e._u([{key:"item.status",fn:function(t){var i=t.item;return[n("span",{staticClass:"status",class:{active:"active"===i.status}},[e._v("\n "+e._s(e._f("capitalize")(e._f("renameStatus")(i.status)))+"\n ")])]}},{key:"item.actions",fn:function(t){var i=t.item;return[n("router-link",{attrs:{to:"/email/"+i.id}},[n("i",{staticClass:"action-edit icon icon-pencil"})]),e._v(" "),n("a",{on:{click:function(t){return e.deleteEmail(i.id)}}},[n("i",{staticClass:"action-delete icon icon-trash"})])]}}])})],1)},__vue_staticRenderFns__$P=[];__vue_render__$P._withStripped=!0;const __vue_inject_styles__$Q=function(e){e&&e("data-v-22f78e28_0",{source:".emails[data-v-22f78e28] {\n width: 100%;\n min-height: 100%;\n}\n.status[data-v-22f78e28] {\n color: #e02d2d;\n}\n.status.active[data-v-22f78e28] {\n color: #079d04;\n}\n.action-edit[data-v-22f78e28] {\n color: #079d04;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n.action-delete[data-v-22f78e28] {\n color: #e02d2d;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n/*# sourceMappingURL=Emails.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/notificationsSettings/logic/views/Emails.vue","Emails.vue"],names:[],mappings:"AAmLA;EACA,WAAA;EACA,gBAAA;AClLA;ADqLA;EACA,cAAA;AClLA;ADoLA;EACA,cAAA;AClLA;ADsLA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;ACnLA;ADsLA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;ACnLA;;AAEA,qCAAqC",file:"Emails.vue",sourcesContent:["<template>\n <div class=\"emails\">\n <div class=\"list-header content-wrapper\">\n <h2 class=\"main-header\">Emails</h2>\n <div class=\"actions hidden-sm hidden-md\">\n <button type=\"button\" class=\"button\" @click=\"openCreateOrCopyModal\">\n Add email\n </button>\n </div>\n </div>\n\n <v-table :rows=\"parsedEmails\" :columns=\"columns\" :settings=\"settings\"\n @deleteMultipleClick=\"deleteMultipleEmails\">\n <template v-slot:item.status=\"{ item }\">\n <span class=\"status\" :class=\"{ 'active': item.status === 'active' }\">\n {{ item.status | renameStatus | capitalize }}\n </span>\n </template>\n <template v-slot:item.actions=\"{ item }\">\n <router-link :to=\"`/email/${item.id}`\">\n <i class=\"action-edit icon icon-pencil\"></i>\n </router-link>\n <a @click=\"deleteEmail(item.id)\">\n <i class=\"action-delete icon icon-trash\"></i>\n </a>\n </template>\n </v-table>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapState, mapGetters } from 'vuex';\nimport { notificationsSettingsService } from 'notificationsSettings/logic/services/notificationsSettingsService';\nimport VTable from 'vueCustomComponents/VTable/VTable.vue';\nimport NewOrCopy from 'notificationsSettings/logic/components/modals/NewOrCopy.vue';\nimport NotificationInUse from 'notificationsSettings/logic/components/modals/NotificationInUse.vue';\nimport DeleteConfirm from 'notificationsSettings/logic/components/modals/DeleteConfirm.vue';\n\nexport default {\n name: 'Emails',\n components: {VTable},\n data: () => ({\n columns: [\n {\n name: 'ID',\n key: 'id',\n align: 'left',\n minWidth: '14rem'\n },\n {\n name: 'Name',\n key: 'name',\n align: 'left',\n minWidth: '16rem'\n },\n {\n name: 'Recipients',\n key: 'recipients',\n decorator: value => value.join(', '),\n align: 'left',\n width: '50%'\n },\n {\n name: 'Body',\n key: 'body',\n align: 'left',\n width: '50%'\n },\n {\n name: 'Status',\n key: 'status',\n align: 'right',\n minWidth: '8rem'\n },\n {\n name: 'Actions',\n key: 'actions',\n minWidth: '8rem',\n align: 'center'\n }\n ],\n settings: {\n numbering: {\n enabled: true\n },\n disabling: {\n enabled: true,\n testingMethod: item => item.status === 'inactive'\n },\n multipleSelection: {\n enabled: true\n },\n filtering: {\n enabled: true,\n columns: ['id', 'name', 'recipients', 'body', 'status']\n }\n }\n }),\n computed: {\n ...mapState('actions', ['emails']),\n ...mapGetters('policies', ['policies']),\n parsedEmails() {\n if (Array.isArray(this.emails)) {\n return this.emails.map(item => ({\n id: item.id,\n name: item.name,\n status: item.status,\n body: item.channel.textBody,\n recipients: item.channel.recipients\n }));\n }\n\n return [];\n },\n parsedPolicies() {\n return this.policies.map(item =>{ return { configurationId: item.action.configurationId, name: item.name } });\n }\n },\n methods: {\n ...mapActions('actions', ['updateEmails', 'selectNotification']),\n ...mapActions('policies', ['updatePolicies']),\n async getData() {\
110n const emails = await notificationsSettingsService.fetchEmails();\n this.updateEmails(emails);\n\n const policies = await notificationsSettingsService.fetchPolicies();\n this.updatePolicies(policies);\n },\n async checkAndDelete(ids) {\n const policies = this.getPoliciesForConfiguration(ids);\n\n try {\n if (policies.length) {\n await this.$modal.open(NotificationInUse, { policies }, { maxWidth: '32.143rem' });\n } else {\n await this.$modal.open(DeleteConfirm, { count: ids.length }, { maxWidth: '32.143rem' });\n\n await notificationsSettingsService.deleteEmail(ids);\n await this.getData();\n }\n } catch (ex) {}\n },\n deleteEmail(id) {\n this.checkAndDelete([id]);\n },\n deleteMultipleEmails(ids) {\n this.checkAndDelete(ids);\n },\n async openCreateOrCopyModal() {\n try {\n const { action, data } = await this.$modal.open(NewOrCopy, { notifications: this.emails }, { maxWidth: '32.143rem' });\n\n if (action === 'create') {\n this.selectNotification(null);\n } else {\n this.selectNotification(data);\n }\n\n await this.$router.push('/email/new');\n } catch (ex) {}\n },\n getPoliciesForConfiguration(configurationId) {\n return this.parsedPolicies.filter(item => configurationId.includes(item.configurationId)).map(item => item.name);\n }\n },\n mounted() {\n this.getData();\n },\n watch: {\n $route() {\n this.getData();\n }\n }\n}\n<\/script>\n\n<style scoped lang=\"scss\">\n@import 'src/scss/global/brand-colors';\n\n.emails {\n width: 100%;\n min-height: 100%;\n}\n\n.status {\n color: $color-red-error;\n\n &.active {\n color: $color-green-2;\n }\n}\n\n.action-edit {\n color: $color-green-2;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n.action-delete {\n color: $color-red-error;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n</style>",".emails {\n width: 100%;\n min-height: 100%;\n}\n\n.status {\n color: #e02d2d;\n}\n.status.active {\n color: #079d04;\n}\n\n.action-edit {\n color: #079d04;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n.action-delete {\n color: #e02d2d;\n font-size: 1rem;\n margin: 0 0.25rem;\n}\n\n/*# sourceMappingURL=Emails.vue.map */"]},media:void 0})},__vue_scope_id__$Q="data-v-22f78e28",__vue_module_identifier__$Q=void 0,__vue_is_functional_template__$Q=!1,__vue_component__$O=normalizeComponent({render:__vue_render__$P,staticRenderFns:__vue_staticRenderFns__$P},__vue_inject_styles__$Q,__vue_script__$Q,__vue_scope_id__$Q,__vue_is_functional_template__$Q,__vue_module_identifier__$Q,!1,createInjector$1,void 0,void 0),diff$1=function e(t,n){if(!n||"[object Object]"!==Object.prototype.toString.call(n))return t;let i,r={};const o=function(t,n,i){const o=Object.prototype.toString.call(t),a=Object.prototype.toString.call(n);if("[object Undefined]"!==a)if(o===a)if("[object Object]"!==o)"[object Array]"!==o?"[object Function]"===o?t.toString()!==n.toString()&&(r[i]=n):t!==n&&(r[i]=n):function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,n)||(r[i]=n);else{const o=e(t,n);Object.keys(o).length>0&&(r[i]=o)}else r[i]=n;else r[i]=null};for(i in t)t.hasOwnProperty(i)&&o(t[i],n[i],i);for(i in n)n.hasOwnProperty(i)&&(t[i]||t[i]===n[i]||(r[i]=n[i]));return r},size$1=function e(t){let n=0;for(const i in t)t.hasOwnProperty(i)&&("[object Object]"!==Object.prototype.toString.call(t[i])?n++:n+=e(t[i]));return n};var script$Q={name:"StreamEditor",components:{VToggle:__vue_component__$e,Breadcrumbs:__vue_component__$c},data:()=>({isActive:!0,name:"",type:"kinesis",eventHub:{endpoint:"",sharedAccessKeyName:"",sharedAccessKey:"",eventHubName:""},kinesis:{endpoint:"",streamName:"",accessKey:"",secretKey:"",region:"",forcedPartitionKey:""},oldData:{},technologies:[{id:"kinesis",name:"AWS Kinesis"},{id:"eventHub",name:"Azure Event HUB"}]}),computed:_objectSpread2(_objectSpread2(_objectSpread2({},mapState$1("actions",["selected"])),mapGetters$1("actions",["actions"])),{},{isNew(){return"new"===this.$route.params.id},id(){return this.isNew?"":this.$route.params.id},existingAction(){return this.actions?this.isNew&&this.selected?this.actions.find(e=>e.id===this.selected):this.actions.find(e=>e.id===this.id):null},canBeSaved(){return this.isDirty&&this.areFieldsCompleted},isKinesis(){return"kinesis"===this.type},isEventHub(){return"eventHub"===this.type},shouldDisplayKinesis(){return this.isNew||this.isKinesis},shouldDisplayEventHub(){return this.isNew||this.isEventHub},parsedData(){return{status:this.isActive?"active":"inactive",name:this.name,channel:_objectSpread2
110({type:this.type},this[this.type])}},dirtyData(){return diff$1(this.oldData,this.parsedData)},isDirty(){return 0!==size$1(this.dirtyData)},isKinesisCompleted(){const e=0!==this.kinesis.endpoint.length&&0!==this.kinesis.streamName.length&&0!==this.kinesis.region.length;return this.isNew?e&&0!==this.kinesis.accessKey.length&&0!==this.kinesis.secretKey.length:e||0!==this.kinesis.accessKey.length||0!==this.kinesis.secretKey.length},isEventHubCompleted(){const e=0!==this.eventHub.endpoint.length&&0!==this.eventHub.sharedAccessKeyName.length&&0!==this.eventHub.eventHubName.length;return this.isNew?e&&0!==this.eventHub.sharedAccessKey.length:e||0!==this.eventHub.sharedAccessKey.length},areFieldsCompleted(){return 0!==this.name.length&&null!==this.type&&(this.isKinesis&&this.isKinesisCompleted||this.isEventHub&&this.isEventHubCompleted)}}),methods:_objectSpread2(_objectSpread2({},mapActions$1("actions",["updateChannels"])),{},{async getData(){const e=await notificationsSettingsService.fetchStreams();this.updateChannels(e)},clearObject(e){Object.keys(e).forEach(t=>e[t]="")},async saveAndExit(){this.isNew?await notificationsSettingsService.addStream(this.parsedData):await notificationsSettingsService.editStream(this.id,this.parsedData),await this.$router.push("/streams")}}),watch:{type(){this.isKinesis?this.clearObject(this.eventHub):this.clearObject(this.kinesis)},$route(){this.getData()},existingAction:{deep:!0,handler(e){e&&(this.isActive="active"===e.status,this.name=e.name,this.type=e.channel.type,this[this.type]=_objectSpread2({},e.channel),this.oldData={status:e.status,name:e.name,channel:_objectSpread2({},e.channel)},this.isKinesis?(this.$set(this.kinesis,"secretKey",""),this.$set(this.kinesis,"accessKey",""),this.oldData.secretKey="",this.oldData.accessKey=""):this.isEventHub&&(this.$set(this.eventHub,"sharedAccessKey",""),this.oldData.sharedAccessKey=""))}}},mounted(){this.getData()}};const __vue_script__$R=script$Q;var __vue_render__$Q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"notification-editor"},[n("div",{staticClass:"content-wrapper"},[n("breadcrumbs",{attrs:{pageTitle:"Stream template"}}),e._v(" "),n("div",{staticClass:"list-header padding-top-zero"},[n("h2",{staticClass:"main-header margin-zero"},[e._v("Stream template")]),e._v(" "),n("div",{staticClass:"actions hidden-sm hidden-md"},[n("div",{staticClass:"toggle"},[n("v-toggle",{attrs:{settings:{on:{text:"Available"},off:{text:"Unavailable"}}},model:{value:e.isActive,callback:function(t){e.isActive=t},expression:"isActive"}})],1)])])],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isNew,expression:"!isNew"}],staticClass:"notification-editor--step"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-6 padding-right--small"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(0),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{staticClass:"form-input",attrs:{name:"email",id:"email-id",type:"text",readonly:""},domProps:{value:e.id}})])])])])]),e._v(" "),n("div",{staticClass:"notification-editor--step"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-6 padding-right--small"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-12 margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(1),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],staticClass:"form-input",attrs:{name:"stream-name",id:"stream-name",type:"text"},domProps:{value:e.name},on:{input:function(t){t.target.composing||(e.name=t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-12"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(2),e._v(" "),n("div",{staticClass:"form-input-container"},[n("v-select",{staticClass:"form-input",attrs:{options:e.technologies,reduce:function(e){return e.id},label:"name",disabled:!e.isNew},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}})],1)])])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-left--small"},[n("div",{staticClass:"docs-links"},[n("h2",[e._v("Documentation")]),e._v(" "),e.shouldDisplayKinesis?n("a",{staticClass:"docs-link",attrs:{href:"https://docs.aws.amazon.com/stream
110s/latest/dev/introduction.html",target:"_blank"}},[e._v("\n\t\t\t\t\t\tð¡²Â   Configuration - AWS Kinesis\n\t\t\t\t\t")]):e._e(),e._v(" "),e.shouldDisplayEventHub?n("a",{staticClass:"docs-link",attrs:{href:"https://docs.microsoft.com/en-us/azure/event-hubs/",target:"_blank"}},[e._v("\n\t\t\t\t\t\tð¡²Â   Configuration - Azure Event HUB\n\t\t\t\t\t")]):e._e()])])])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isKinesis,expression:"isKinesis"}],staticClass:"notification-editor--step"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[e._m(3),e._v(" "),n("div",{staticClass:"grid-column-6 padding-right--small margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(4),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.kinesis.endpoint,expression:"kinesis.endpoint"}],staticClass:"form-input",attrs:{name:"kinesis-endpoint",id:"kinesis-endpoint",type:"text"},domProps:{value:e.kinesis.endpoint},on:{input:function(t){t.target.composing||e.$set(e.kinesis,"endpoint",t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-left--small margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(5),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.kinesis.secretKey,expression:"kinesis.secretKey"}],staticClass:"form-input",attrs:{name:"kinesis-secret-key",id:"kinesis-secret-key",type:"text"},domProps:{value:e.kinesis.secretKey},on:{input:function(t){t.target.composing||e.$set(e.kinesis,"secretKey",t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-right--small margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(6),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.kinesis.streamName,expression:"kinesis.streamName"}],staticClass:"form-input",attrs:{name:"kinesis-stream-name",id:"kinesis-stream-name",type:"text"},domProps:{value:e.kinesis.streamName},on:{input:function(t){t.target.composing||e.$set(e.kinesis,"streamName",t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-left--small margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(7),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.kinesis.region,expression:"kinesis.region"}],staticClass:"form-input",attrs:{name:"kinesis-region",id:"kinesis-region",type:"text"},domProps:{value:e.kinesis.region},on:{input:function(t){t.target.composing||e.$set(e.kinesis,"region",t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-right--small padding-right--small"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(8),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.kinesis.accessKey,expression:"kinesis.accessKey"}],staticClass:"form-input",attrs:{name:"kinesis-access-key",id:"kinesis-access-key",type:"text"},domProps:{value:e.kinesis.accessKey},on:{input:function(t){t.target.composing||e.$set(e.kinesis,"accessKey",t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-left--small"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(9),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.kinesis.forcedPartitionKey,expression:"kinesis.forcedPartitionKey"}],staticClass:"form-input",attrs:{name:"kinesis-forced-partition-key",id:"kinesis-forced-partition-key",type:"text"},domProps:{value:e.kinesis.forcedPartitionKey},on:{input:function(t){t.target.composing||e.$set(e.kinesis,"forcedPartitionKey",t.target.value)}}})])])])])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isEventHub,expression:"isEventHub"}],staticClass:"notification-editor--step"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[e._m(10),e._v(" "),n("div",{staticClass:"grid-column-6 padding-right--small margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(11),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.eventHub.endpoint,expression:"eventHub.endpoint"}],staticClass:"form-input",attrs:{name:"event-hub-endpoint",id:"event-hub-endpoint",type:"text"},domProps:{value:e.eventHub.endpoint},on:{input:function(t){t.target.composing||e.$set(e.eventHub,"endpoint",t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-left--small margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(12),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.eventHub.sharedAccessKeyName,expression:"eventHub.sharedAccessKeyName"}
110],staticClass:"form-input",attrs:{name:"eventHub-shared-access-key-name",id:"eventHub-shared-access-key-name",type:"text"},domProps:{value:e.eventHub.sharedAccessKeyName},on:{input:function(t){t.target.composing||e.$set(e.eventHub,"sharedAccessKeyName",t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-right--small"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(13),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.eventHub.sharedAccessKey,expression:"eventHub.sharedAccessKey"}],staticClass:"form-input",attrs:{name:"event-hub-shared-access-key",id:"event-hub-shared-access-key",type:"text"},domProps:{value:e.eventHub.sharedAccessKey},on:{input:function(t){t.target.composing||e.$set(e.eventHub,"sharedAccessKey",t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"grid-column-6 padding-left--small"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(14),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.eventHub.eventHubName,expression:"eventHub.eventHubName"}],staticClass:"form-input",attrs:{name:"event-hub-event-hub-name",id:"event-hub-event-hub-name",type:"text"},domProps:{value:e.eventHub.eventHubName},on:{input:function(t){t.target.composing||e.$set(e.eventHub,"eventHubName",t.target.value)}}})])])])])]),e._v(" "),n("div",{staticClass:"margin-top--large text-align--right margin-right--small padding-right--small"},[n("router-link",{staticClass:"button cancel-new margin-right--tiny",attrs:{tag:"button",to:"/streams"}},[e._v("Cancel")]),e._v(" "),n("button",{staticClass:"button",attrs:{type:"button",disabled:!e.canBeSaved},on:{click:e.saveAndExit}},[e._v("\n\t\t\tSave and exit\n\t\t")])],1)])},__vue_staticRenderFns__$Q=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container"},[t("label",{staticClass:"form-label",attrs:{for:"email-id"}},[this._v("ID")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container"},[t("label",{staticClass:"form-label",attrs:{for:"stream-name"}},[this._v("Name*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container"},[t("label",{staticClass:"form-label"},[this._v("Cloud technology*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"grid-column-12 margin-bottom--large margin-top--small section-name"},[t("div",{staticClass:"section-logo margin-right--small"},[t("img",{staticClass:"type-logo",attrs:{src:"img/notifications/Amazon_Web_Services_Logo.svg"}})]),this._v(" "),t("div",{staticClass:"section-name"},[t("h2",[this._v("AWS Kinesis")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"kinesis-endpoint"}},[this._v("Endpoint*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"kinesis-secret-key"}},[this._v("Secret Key*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"kinesis-stream-name"}},[this._v("Stream Name*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"kinesis-region"}},[this._v("Region*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"kinesis-access-key"}},[this._v("Access Key*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"kinesis-forced-partition-key"}},[this._v("Forced Partition Key")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"grid-column-12 margin-bottom--large margin-top--small section-name"},[t("div",{staticClass:"section-logo margin-right--small"},[t("img",{staticClass:"type-logo",attrs:{src:"img/notifications/
110Microsoft_Azure_Logo.svg"}})]),this._v(" "),t("div",{staticClass:"section-name"},[t("h2",[this._v("Azure Event HUB")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"event-hub-endpoint"}},[this._v("Endpoint*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"eventHub-shared-access-key-name"}},[this._v("Shared Access Key Name*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"event-hub-shared-access-key"}},[this._v("Shared Access Key*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"event-hub-event-hub-name"}},[this._v("Event Hub Name*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])}];__vue_render__$Q._withStripped=!0;const __vue_inject_styles__$R=function(e){e&&e("data-v-5713731a_0",{source:'.docs-links[data-v-5713731a] {\n height: 100%;\n width: 100%;\n padding: 1rem;\n border: solid 1px #e2e2e2;\n border-radius: 0.29rem;\n}\n.docs-links h2[data-v-5713731a] {\n margin-top: 0;\n margin-bottom: 8px;\n font-weight: 600;\n}\n.docs-links .docs-link[data-v-5713731a] {\n text-decoration: none;\n display: block;\n color: #079d04;\n font-weight: 400;\n}\n.docs-links.small[data-v-5713731a] {\n height: 133px;\n}\n.type-select[data-v-5713731a] {\n display: inline-flex;\n border: solid #e2e2e2 1px;\n border-radius: 0.29rem;\n padding: 1rem;\n box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.05);\n width: 100%;\n height: 6rem;\n}\n.type-select.active[data-v-5713731a] {\n background-color: #f2faf2;\n border-color: transparent;\n box-shadow: none;\n}\n.type-select[data-v-5713731a]:hover {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.type-select .type-input[data-v-5713731a] {\n position: relative;\n place-self: center;\n margin: 0;\n appearance: none;\n border: 2px solid #00053a;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n}\n.type-select .type-input[data-v-5713731a]:focus {\n outline: none;\n}\n.type-select .type-input[data-v-5713731a]:checked {\n border: 2px solid #00053a;\n}\n.type-select .type-input:checked + label[data-v-5713731a]::before {\n content: "";\n position: absolute;\n width: 8px;\n height: 8px;\n background-color: #079d04;\n top: calc(50% - 4px);\n left: -12px;\n border-radius: 50%;\n}\n.type-select .type-label[data-v-5713731a] {\n text-align: center;\n cursor: pointer;\n flex-grow: 1;\n position: relative;\n}\n.type-select .type-label .type-logo[data-v-5713731a] {\n object-fit: contain;\n height: 100%;\n width: 100%;\n user-select: none;\n}\n.channel-config[data-v-5713731a] {\n align-content: flex-start;\n pointer-events: none;\n opacity: 0.5;\n}\n.channel-config h3[data-v-5713731a] {\n margin: 0;\n}\n.channel-config.active[data-v-5713731a] {\n pointer-events: all;\n opacity: 1;\n}\n.type-header[data-v-5713731a] {\n display: flex;\n flex-direction: row;\n}\n.type-header .title[data-v-5713731a] {\n flex-grow: 1;\n place-self: center;\n}\n.type-header .logo[data-v-5713731a] {\n height: 3rem;\n display: flex;\n flex-direction: column;\n align-self: center;\n}\n.section-name[data-v-5713731a] {\n height: 3rem;\n display: flex;\n}\n.section-name .section-logo[data-v-5713731a] {\n height: 100%;\n}\n.section-name .section-logo img[data-v-5713731a] {\n height: 100%;\n}\n.section-name .section-name[data-v-5713731a] {\n flex: 1 1 auto;\n height: 100%;\n align-items: center;\n}\n.section-name .section-name h2[data-v-5713731a] {\n line-height: 100%;\n margin: 0;\n font-weight: 500;\n color: #000636;\n font-size: 1.5rem;\n}\n\n/*# sourceMappingURL=StreamEditor.vue.map */',map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/notificationsSettings/logic/views/StreamEditor.vue","StreamEditor.vue"],names:[],mappings:"AAyjBA;EACA,YAAA;EACA,WAAA;EACA,aAAA;EACA,yBAAA;EACA,sBAAA;ACxjBA;AD0jBA;EACA,aAAA;EACA,kBAAA;EACA,gBAAA;ACxjBA;AD2jBA;EACA,qBAAA;EACA,cAAA;EACA,cAAA;EACA,gBAAA;ACzjBA;AD4jBA;EACA,aAAA;AC1jBA;AD8jBA;EACA,oBAAA;EACA,yBAAA;EACA,sBAAA;EACA,aAAA;EACA,0CAAA;EACA,WAAA;EACA,YAAA;AC3jBA;AD6jBA;EACA,yBAAA;EACA,yBAAA;EACA,gBAAA;AC3jBA;AD8jBA;EACA,qCAAA;AC5jBA;AD+jBA;EACA,kBAAA;EACA,kBAAA;EACA,SAAA;EAEA,gBAAA;EACA,yBAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;AC9jBA;ADgkBA;EACA,aAAA;AC9jBA;ADikBA;EACA,yBAAA;AC/jBA;ADikBA;EACA,WAAA;EACA,kBAAA;EACA,UAAA;EACA,WAAA;EACA,yBAAA;EACA,oBAAA;EACA,WAAA;EACA,kBAAA;AC/jBA;ADokBA;EACA,kBAAA;EACA,eAAA;EACA,YAAA;EACA,kBAAA;AClkBA;ADokBA;EACA,mBAAA;EACA,YAAA;EACA,WAAA;EACA,iBAAA;AClkBA;ADukBA;EACA,yBAAA;EACA,oBAAA;EACA,YAAA;ACpkBA;ADskBA;EACA,SAAA;ACpkBA;ADukBA;EACA,mBAAA;EACA,UAAA;ACrkBA;ADykBA;EACA,aAAA;EACA,mBAAA;ACtkBA;ADwkBA;EACA,YAAA;EACA,kBAAA;ACtkBA;ADykBA;EACA,YAAA;EACA,aAAA;EACA,sBAAA;EACA,kBAAA;ACvkBA;AD2kBA;EACA,YAAA;EACA,aAAA;ACxkBA;AD0kBA;EACA,YAAA;ACxkBA;AD0kBA;EACA,YAAA;ACxkBA;AD4kBA;EACA,cAAA;EACA,YAAA;EACA,mBAAA;AC1kBA;AD4kBA;EACA,iBAAA;EACA,SAAA;EACA,gBAAA;EACA,cAAA;EACA,iBAAA;AC1kBA;;AAEA,2CAA2C",file:"StreamEditor.vue",sourcesContent:['<template>\n\t<div class="notification-editor">\n\t\t<div class="content-wrapper">\n\t\t\t<breadcrumbs :pageTitle="\'Stream template\'"></breadcrumbs>\n\t\t\t<div class="list-header padding-top-zero">\n\t\t\t\t<h2 class="main-header margin-zero">Stream template</h2>\n\t\t\t\t<div class="actions hidden-sm hidden-md">\n\t\t\t\t\t<div class="toggle">
110\n\t\t\t\t\t\t<v-toggle\n\t\t\t\t\t\t\tv-model="isActive"\n\t\t\t\t\t\t\t:settings="{\n\t\t\t\t\t\t\t\ton: { text: \'Available\' },\n\t\t\t\t\t\t\t\toff: { text: \'Unavailable\' },\n\t\t\t\t\t\t\t}"\n\t\t\t\t\t\t></v-toggle>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="notification-editor--step" v-show="!isNew">\n\t\t\t<div class="grid-row flex-wrap--wrap">\n\t\t\t\t<div class="grid-column-6 padding-right--small">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container">\n\t\t\t\t\t\t\t<label for="email-id" class="form-label">ID</label>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="email"\n\t\t\t\t\t\t\t\tid="email-id"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\treadonly\n\t\t\t\t\t\t\t\t:value="id"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="notification-editor--step">\n\t\t\t<div class="grid-row flex-wrap--wrap">\n\t\t\t\t<div class="grid-column-6 padding-right--small">\n\t\t\t\t\t<div class="grid-row flex-wrap--wrap">\n\t\t\t\t\t\t<div class="grid-column-12 margin-bottom--large">\n\t\t\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t\t\t<div class="form-label-container">\n\t\t\t\t\t\t\t\t\t<label for="stream-name" class="form-label">Name*</label>\n\t\t\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\t\t\tname="stream-name"\n\t\t\t\t\t\t\t\t\t\tid="stream-name"\n\t\t\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\t\t\tv-model="name"\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div class="grid-column-12">\n\t\t\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t\t\t<div class="form-label-container">\n\t\t\t\t\t\t\t\t\t<label class="form-label">Cloud technology*</label>\n\t\t\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t\t\t<v-select\n\t\t\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\t\t\t:options="technologies"\n\t\t\t\t\t\t\t\t\t\tv-model="type"\n\t\t\t\t\t\t\t\t\t\t:reduce="(entry) => entry.id"\n\t\t\t\t\t\t\t\t\t\tlabel="name"\n\t\t\t\t\t\t\t\t\t\t:disabled="!isNew"\n\t\t\t\t\t\t\t\t\t></v-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-left--small">\n\t\t\t\t\t<div class="docs-links">\n\t\t\t\t\t\t<h2>Documentation</h2>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tclass="docs-link"\n\t\t\t\t\t\t\thref="https://docs.aws.amazon.com/streams/latest/dev/introduction.html"\n\t\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\t\tv-if="shouldDisplayKinesis"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t🡲 Configuration - AWS Kinesis\n\t\t\t\t\t\t</a>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tclass="docs-link"\n\t\t\t\t\t\t\thref="https://docs.microsoft.com/en-us/azure/event-hubs/"\n\t\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\t\tv-if="shouldDisplayEventHub"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t🡲 Configuration - Azure Event HUB\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="notification-editor--step" v-show="isKinesis">\n\t\t\t<div class="grid-row flex-wrap--wrap">\n\t\t\t\t<div\n\t\t\t\t\tclass="grid-column-12 margin-bottom--large margin-top--small section-name"\n\t\t\t\t>\n\t\t\t\t\t<div class="section-logo margin-right--small">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass="type-logo"\n\t\t\t\t\t\t\tsrc="img/notifications/Amazon_Web_Services_Logo.svg"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="section-name">\n\t\t\t\t\t\t<h2>AWS Kinesis</h2>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-right--small margin-bottom--large">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="kinesis-endpoint" class="form-label">Endpoint*</label>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="kinesis-endpoint"\n\t\t\t\t\t\t\t\tid="kinesis-endpoint"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="kinesis.endpoint"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-left--small margin-bottom--large">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="kinesis-secret-key" class="form-label"\n\t\t\t\t\t\t\t\t>Secret Key*</label\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="kinesis-secret-key"\n\t\t\t\t\t\t\t\tid="kinesis-secret-key"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="kinesis.secretKey"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-right--small margin-bottom--large">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="kinesis-stream-name" class="form-label"\n\t\t\t\t\t\t\t\t>Stream Name*</label\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="kinesis-stream-name"\n\t\t\t\t\t\t\t\tid="kinesis-stream-name"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="kinesis.streamName"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-left--small margin-bottom--large">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="kinesis-region" class="form-label">Region*</label>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="kinesis-region"\n\t\t\t\t\t\t\t\tid="kinesis-region"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="kinesis.region"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-right--small padding-right--small">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="kinesis-access-key" class="form-label"\n\t\t\t\t\t\t\t\t>Access Key*</label\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="kinesis-access-key"\n\t\t\t\t\t\t\t\tid="kinesis-access-key"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="kinesis.accessKey"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-left--small">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="kinesis-forced-partition-key" class="form-label"\n\t\t\t\t\t\t\t\t>Forced Partition Key</label\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="kinesis-forced-partition-key"\n\t\t\t\t\t\t\t\tid="kinesis-forced-partition-key"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="kinesis.forcedPartitionKey"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="notification-editor--step" v-show="isEventHub">\n\t\t\t<div class="grid-row flex-wrap--wrap">\n\t\t\t\t<div\n\t\t\t\t\tclass="grid-column-12 margin-bottom--large margin-top--small section-name"\n\t\t\t\t>\n\t\t\t\t\t<div class="section-logo margin-right--small">
110\n\t\t\t\t\t\t<img class="type-logo" src="img/notifications/Microsoft_Azure_Logo.svg"/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="section-name">\n\t\t\t\t\t\t<h2>Azure Event HUB</h2>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-right--small margin-bottom--large">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="event-hub-endpoint" class="form-label"\n\t\t\t\t\t\t\t\t>Endpoint*</label\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="event-hub-endpoint"\n\t\t\t\t\t\t\t\tid="event-hub-endpoint"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="eventHub.endpoint"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-left--small margin-bottom--large">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="eventHub-shared-access-key-name" class="form-label"\n\t\t\t\t\t\t\t\t>Shared Access Key Name*</label\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="eventHub-shared-access-key-name"\n\t\t\t\t\t\t\t\tid="eventHub-shared-access-key-name"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="eventHub.sharedAccessKeyName"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-right--small">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="event-hub-shared-access-key" class="form-label"\n\t\t\t\t\t\t\t\t>Shared Access Key*</label\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="event-hub-shared-access-key"\n\t\t\t\t\t\t\t\tid="event-hub-shared-access-key"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="eventHub.sharedAccessKey"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="grid-column-6 padding-left--small">\n\t\t\t\t\t<div class="form-group form-group--name margin--none">\n\t\t\t\t\t\t<div class="form-label-container padding-left--small">\n\t\t\t\t\t\t\t<label for="event-hub-event-hub-name" class="form-label"\n\t\t\t\t\t\t\t\t>Event Hub Name*</label\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="error-container hidden"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="form-input-container">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tname="event-hub-event-hub-name"\n\t\t\t\t\t\t\t\tid="event-hub-event-hub-name"\n\t\t\t\t\t\t\t\ttype="text"\n\t\t\t\t\t\t\t\tclass="form-input"\n\t\t\t\t\t\t\t\tv-model="eventHub.eventHubName"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div\n\t\t\tclass="margin-top--large text-align--right margin-right--small padding-right--small"\n\t\t>\n\t\t\t<router-link\n\t\t\t\ttag="button"\n\t\t\t\tto="/streams"\n\t\t\t\tclass="button cancel-new margin-right--tiny"\n\t\t\t\t>Cancel</router-link\n\t\t\t>\n\t\t\t<button\n\t\t\t\ttype="button"\n\t\t\t\t@click="saveAndExit"\n\t\t\t\tclass="button"\n\t\t\t\t:disabled="!canBeSaved"\n\t\t\t>\n\t\t\t\tSave and exit\n\t\t\t</button>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mapGetters, mapActions, mapState } from \'vuex\';\n\nimport { diff, size } from \'notificationsSettings/logic/utils\';\nimport { notificationsSettingsService } from \'notificationsSettings/logic/services/notificationsSettingsService\';\n\nimport VToggle from \'vueCustomComponents/VToggle.vue\';\nimport Breadcrumbs from \'breadcrumbs/Breadcrumbs.vue\';
110\n\nexport default {\n\tname: \'StreamEditor\',\n\tcomponents: { VToggle, Breadcrumbs },\n\tdata: () => ({\n\t\tisActive: true,\n\t\tname: \'\',\n\t\ttype: \'kinesis\',\n\t\teventHub: {\n\t\t\tendpoint: \'\',\n\t\t\tsharedAccessKeyName: \'\',\n\t\t\tsharedAccessKey: \'\',\n\t\t\teventHubName: \'\',\n\t\t},\n\t\tkinesis: {\n\t\t\tendpoint: \'\',\n\t\t\tstreamName: \'\',\n\t\t\taccessKey: \'\',\n\t\t\tsecretKey: \'\',\n\t\t\tregion: \'\',\n\t\t\tforcedPartitionKey: \'\',\n\t\t},\n\t\toldData: {},\n\t\ttechnologies: [\n\t\t\t{\n\t\t\t\tid: \'kinesis\',\n\t\t\t\tname: \'AWS Kinesis\',\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \'eventHub\',\n\t\t\t\tname: \'Azure Event HUB\',\n\t\t\t},\n\t\t],\n\t}),\n\tcomputed: {\n\t\t...mapState(\'actions\', [\'selected\']),\n\t\t...mapGetters(\'actions\', [\'actions\']),\n\t\tisNew() {\n\t\t\treturn this.$route.params.id === \'new\';\n\t\t},\n\t\tid() {\n\t\t\treturn this.isNew ? \'\' : this.$route.params.id;\n\t\t},\n\t\texistingAction() {\n\t\t\tif (this.actions) {\n\t\t\t\tif (this.isNew && this.selected) {\n\t\t\t\t\treturn this.actions.find((item) => item.id === this.selected);\n\t\t\t\t} else {\n\t\t\t\t\treturn this.actions.find((item) => item.id === this.id);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn null;\n\t\t},\n\t\tcanBeSaved() {\n\t\t\treturn this.isDirty && this.areFieldsCompleted;\n\t\t},\n\t\tisKinesis() {\n\t\t\treturn this.type === \'kinesis\';\n\t\t},\n\t\tisEventHub() {\n\t\t\treturn this.type === \'eventHub\';\n\t\t},\n\t\tshouldDisplayKinesis() {\n\t\t\treturn this.isNew || this.isKinesis;\n\t\t},\n\t\tshouldDisplayEventHub() {\n\t\t\treturn this.isNew || this.isEventHub;\n\t\t},\n\t\tparsedData() {\n\t\t\treturn {\n\t\t\t\tstatus: this.isActive ? \'active\' : \'inactive\',\n\t\t\t\tname: this.name,\n\t\t\t\tchannel: {\n\t\t\t\t\ttype: this.type,\n\t\t\t\t\t...this[this.type],\n\t\t\t\t},\n\t\t\t};\n\t\t},\n\t\tdirtyData() {\n\t\t\treturn diff(this.oldData, this.parsedData);\n\t\t},\n\t\tisDirty() {\n\t\t\treturn size(this.dirtyData) !== 0;\n\t\t},\n\t\tisKinesisCompleted() {\n\t\t\tconst compulsoryCompleted =\n\t\t\t\tthis.kinesis.endpoint.length !== 0 &&\n\t\t\t\tthis.kinesis.streamName.length !== 0 &&\n\t\t\t\tthis.kinesis.region.length !== 0;\n\n\t\t\tif (this.isNew) {\n\t\t\t\treturn (\n\t\t\t\t\tcompulsoryCompleted &&\n\t\t\t\t\tthis.kinesis.accessKey.length !== 0 &&\n\t\t\t\t\tthis.kinesis.secretKey.length !== 0\n\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn (\n\t\t\t\tcompulsoryCompleted ||\n\t\t\t\tthis.kinesis.accessKey.length !== 0 ||\n\t\t\t\tthis.kinesis.secretKey.length !== 0\n\t\t\t);\n\t\t},\n\t\tisEventHubCompleted() {\n\t\t\tconst compulsoryCompleted =\n\t\t\t\tthis.eventHub.endpoint.length !== 0 &&\n\t\t\t\tthis.eventHub.sharedAccessKeyName.length !== 0 &&\n\t\t\t\tthis.eventHub.eventHubName.length !== 0;\n\n\t\t\tif (this.isNew) {\n\t\t\t\treturn (\n\t\t\t\t\tcompulsoryCompleted && this.eventHub.sharedAccessKey.length !== 0\n\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn compulsoryCompleted || this.eventHub.sharedAccessKey.length !== 0;\n\t\t},\n\t\tareFieldsCompleted() {\n\t\t\treturn (\n\t\t\t\tthis.name.length !== 0 &&\n\t\t\t\tthis.type !== null &&\n\t\t\t\t((this.isKinesis && this.isKinesisCompleted) ||\n\t\t\t\t\t(this.isEventHub && this.isEventHubCompleted))\n\t\t\t);\n\t\t},\n\t},\n\tmethods: {\n\t\t...mapActions(\'actions\', [\'updateChannels\']),\n\t\tasync getData() {\n\t\t\tconst streams = await notificationsSettingsService.fetchStreams();\n\n\t\t\tthis.updateChannels(streams);\n\t\t},\n\t\tclearObject(obj) {\n\t\t\tObject.keys(obj).forEach((key) => (obj[key] = \'\'));\n\t\t},\n\t\tasync saveAndExit() {\n\t\t\tif (this.isNew) {\n\t\t\t\tawait notificationsSettingsService.addStream(this.parsedData);\n\t\t\t} else {\n\t\t\t\tawait notificationsSettingsService.editStream(this.id, this.parsedData);\n\t\t\t}\n\n\t\t\tawait this.$router.push(\'/streams\');\n\t\t},\n\t},\n\twatch: {\n\t\ttype() {\n\t\t\tif (this.isKinesis) {\n\t\t\t\tthis.clearObject(this.eventHub);\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.clearObject(this.kinesis);\n\t\t},\n\t\t$route() {\n\t\t\tthis.getData();\n\t\t},\n\t\texistingAction: {\n\t\t\tdeep: true,\n\t\t\thandler(newVal) {\n\t\t\t\tif (newVal) {\n\t\t\t\t\tthis.isActive = newVal.status === \'active\';\n\t\t\t\t\tthis.name = newVal.name;\n\t\t\t\t\tthis.type = newVal.channel.type;\n\n\t\t\t\t\tthis[this.type] = { ...newVal.channel };\n\n\t\t\t\t\tthis.oldData = {\n\t\t\t\t\t\tstatus: newVal.status,\n\t\t\t\t\t\tname: newVal.name,\n\t\t\t\t\t\tchannel: { ...newVal.channel },\n\t\t\t\t\t};\n\n\t\t\t\t\tif (this.isKinesis) {\n\t\t\t\t\t\tthis.$set(this.kinesis, \'secretKey\', \'\');\n\t\t\t\t\t\tthis.$set(this.kinesis, \'accessKey\', \'\');\n\n\t\t\t\t\t\tthis.oldData.secretKey = \'\';\n\t\t\t\t\t\tthis.oldData.accessKey = \'\';\n\t\t\t\t\t} else if (this.isEventHub) {\n\t\t\t\t\t\tthis.$set(this.eventHub, \'sharedAccessKey\', \'\');\n\n\t\t\t\t\t\tthis.oldData.sharedAccessKey = \'\';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n\tmounted() {\n\t\tthis.getData();\n\t},\n};\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.docs-links {\n\theight: 100%;\n\twidth: 100%;\n\tpadding: 1rem;\n\tborder: solid 1px $color-grey-2;\n\tborder-radius: 0.29rem;\n\n\th2 {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 8px;\n\t\tfont-weight: 600;\n\t}\n\n\t.docs-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t\tcolor: $color-green;\n\t\tfont-weight: 400;\n\t}\n\n\t&.small {\n\t\theight: 133px;\n\t}\n}\n\n.type-select {\n\tdisplay: inline-flex;\n\tborder: solid #e2e2e2 1px;\n\tborder-radius: 0.29rem;\n\tpadding: 1rem;\n\tbox-shadow: 0 -2px 3px rgba(0, 0, 0, 0.05);\n\twidth: 100%;\n\theight: 6rem;\n\n\t&.active {\n\t\tbackground-color: #f2faf2;\n\t\tborder-color: transparent;\n\t\tbox-shadow: none;\n\t}\n\n\t&:hover {\n\t\tbackground-color: rgba(0, 0, 0, 0.05);\n\t}\n\n\t.type-input {\n\t\tposition: relative;\n\t\tplace-self: center;\n\t\tmargin: 0;\n\n\t\tappearance: none;\n\t\tborder: 2px solid $color-sapphire-3;\n\t\twidth: 16px;\n\t\theight: 16px;\n\t\tborder-radius: 50%;\n\n\t\t&:focus {\n\t\t\toutline: none;\n\t\t}\n\n\t\t&:checked {\n\t\t\tborder: 2px solid $color-sapphire-3;\n\n\t\t\t& + label::before {\n\t\t\t\tcontent: \'\';\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 8px;\n\t\t\t\theight: 8px;\n\t\t\t\tbackground-color: $color-green;\n\t\t\t\ttop: calc(50% - 4px);\n\t\t\t\tleft: -12px;\n\t\t\t\tborder-radius: 50%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.type-label {\n\t\ttext-align: center;\n\t\tcursor: pointer;\n\t\tflex-grow: 1;\n\t\tposition: relative;\n\n\t\t.type-logo {\n\t\t\tobject-fit: contain;\n\t\t\theight: 100%;\n\t\t\twidth: 100%;\n\t\t\tuser-select: none;\n\t\t}\n\t}\n}\n\n.channel-config {\n\talign-content: flex-start;\n\tpointer-events: none;\n\topacity: 0.5;\n\n\th3 {\n\t\tmargin: 0;\n\t}\n\n\t&.active {\n\t\tpointer-events: all;\n\t\topacity: 1;\n\t}\n}\n\n.type-header {\n\tdisplay: flex;\n\tflex-direction: row;\n\n\t.title {\n\t\tflex-grow: 1;\n\t\tplace-self: center;\n\t}\n\n\t.logo {\n\t\theight: 3rem;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-self: center;\n\t}\n}\n\n.section-name {\n\theight: 3rem;\n\tdisplay: flex;\n\n\t.section-logo {\n\t\theight: 100%;\n\n\t\timg {\n\t\t\theight: 100%;\n\t\t}\n\t}\n\n\t.section-name {\n\t\tflex: 1 1 auto;\n\t\theight: 100%;\n\t\talign-items: center;\n\n\t\th2 {\n\t\t\tline-height: 100%;\n\t\t\tmargin: 0;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: $color-sl-darkGrey;\n\t\t\tfont-size: 1.5rem;\n\t\t}\n\t}\n}\n</style>\n','.docs-links {\n height: 100%;\n width: 100%;\n padding: 1rem;\n border: solid 1px #e2e2e2;\n border-radius: 0.29rem;\n}\n.docs-links h2 {\n margin-top: 0;\n margin-bottom: 8px;\n font-weight: 600;\n}\n.docs-links .docs-link {\n text-decoration: none;\n display: block;\n color: #079d04;\n font-weight: 400;\n}\n.docs-links.small {\n height: 133px;\n}\n\n.type-select {\n display: inline-flex;\n border: solid #e2e2e2 1px;\n border-radius: 0.29rem;\n padding: 1rem;\n box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.05);\n width: 100%;\n height: 6rem;\n}\n.type-select.active {\n background-color: #f2faf2;\n border-color: transparent;\n box-shadow: none;\n}\n.type-select:hover {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.type-select .type-input {\n position: relative;\n place-self: center;\n margin: 0;\n appearance: none;\n border: 2px solid #00053a;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n}\n.type-select .type-input:focus {\n outline: none;\n}\n.type-select .type-input:checked {\n border: 2px solid #00053a;\n}\n.type-select .type-input:checked + label::before {\n content: "";\n position: absolute;\n width: 8px;\n height: 8px;\n background-color: #079d04;\n top: calc(50% - 4px);\n left: -12px;\n border-radius: 50%;\n}\n.type-select .type-label {\n text-align: center;
110\n cursor: pointer;\n flex-grow: 1;\n position: relative;\n}\n.type-select .type-label .type-logo {\n object-fit: contain;\n height: 100%;\n width: 100%;\n user-select: none;\n}\n\n.channel-config {\n align-content: flex-start;\n pointer-events: none;\n opacity: 0.5;\n}\n.channel-config h3 {\n margin: 0;\n}\n.channel-config.active {\n pointer-events: all;\n opacity: 1;\n}\n\n.type-header {\n display: flex;\n flex-direction: row;\n}\n.type-header .title {\n flex-grow: 1;\n place-self: center;\n}\n.type-header .logo {\n height: 3rem;\n display: flex;\n flex-direction: column;\n align-self: center;\n}\n\n.section-name {\n height: 3rem;\n display: flex;\n}\n.section-name .section-logo {\n height: 100%;\n}\n.section-name .section-logo img {\n height: 100%;\n}\n.section-name .section-name {\n flex: 1 1 auto;\n height: 100%;\n align-items: center;\n}\n.section-name .section-name h2 {\n line-height: 100%;\n margin: 0;\n font-weight: 500;\n color: #000636;\n font-size: 1.5rem;\n}\n\n/*# sourceMappingURL=StreamEditor.vue.map */']},media:void 0})},__vue_scope_id__$R="data-v-5713731a",__vue_module_identifier__$R=void 0,__vue_is_functional_template__$R=!1,__vue_component__$P=normalizeComponent({render:__vue_render__$Q,staticRenderFns:__vue_staticRenderFns__$Q},__vue_inject_styles__$R,__vue_script__$R,__vue_scope_id__$R,__vue_is_functional_template__$R,__vue_module_identifier__$R,!1,createInjector$1,void 0,void 0);var textareaCaret=createCommonjsModule((function(e){!function(){var t=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],n="undefined"!=typeof window,i=n&&null!=window.mozInnerScreenX;e.exports=function(e,r,o){if(!n)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var a=o&&o.debug||!1;if(a){var s=document.querySelector("#input-textarea-caret-position-mirror-div");s&&s.parentNode.removeChild(s)}var c=document.createElement("div");c.id="input-textarea-caret-position-mirror-div",document.body.appendChild(c);var l=c.style,d=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,u="INPUT"===e.nodeName;l.whiteSpace="pre-wrap",u||(l.wordWrap="break-word"),l.position="absolute",a||(l.visibility="hidden"),t.forEach((function(e){u&&"lineHeight"===e?l.lineHeight=d.height:l[e]=d[e]})),i?e.scrollHeight>parseInt(d.height)&&(l.overflowY="scroll"):l.overflow="hidden",c.textContent=e.value.substring(0,r),u&&(c.textContent=c.textContent.replace(/\s/g,"Â "));var p=document.createElement("span");p.textContent=e.value.substring(r)||".",c.appendChild(p);var h={top:p.offsetTop+parseInt(d.borderTopWidth),left:p.offsetLeft+parseInt(d.borderLeftWidth),height:parseInt(d.lineHeight)};return a?p.style.backgroundColor="#aaa":document.body.removeChild(c),h}}()})),script$R={name:"VTagList",props:{open:{type:Boolean,required:!0},text:{type:String,required:!0},parameters:{type:Array,required:!0},position:{type:Object,required:!0}},data:()=>({selectedIndex:0}),computed:{isParameterSelected(){return 1===this.parameters.length}},methods:{selectIndex(e){this.selectedIndex=e},keyDown(e){"ArrowDown"===e.key||40===e.keyCode?(this.selectedIndex++,this.selectedIndex>=this.parameters.length&&(this.selectedIndex=0)):"ArrowUp"===e.key||38===e.keyCode?(this.selectedIndex--,this.selectedIndex<0&&(this.selectedIndex=this.parameters.length-1)):("Enter"===e.key||13===e.keyCode)&&this.parameters.length>0&&this.select()},select(){this.$emit("entrySelect",this.selectedIndex)}},watch:{text(){this.selectedIndex=0}}};const __vue_script__$S=script$R;var __vue_render__$R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}
110],staticClass:"tag-list--container",style:{top:e.position.top+"px",left:e.position.left+"px"}},[n("div",{staticClass:"tag-list--header"},[n("div",{staticClass:"tag-list--header--text"},[e._v("\n $"+e._s(e.text)+"\n ")]),e._v(" "),n("div",{staticClass:"tag-list--header--icon"})]),e._v(" "),n("div",{staticClass:"tag-list--body"},e._l(e.parameters,(function(t,i){return n("div",{key:t.name,staticClass:"tag-list--body--row",class:{active:i===e.selectedIndex},on:{mouseover:function(t){return e.selectIndex(i)},mousedown:e.select}},[n("div",{staticClass:"tag-list--body--row--name"},[e._v("\n $"+e._s(t.name)+"\n ")]),e._v(" "),n("div",{staticClass:"tag-list--body--row--description"},[e._v("\n "+e._s(t.description)+"\n ")])])})),0)])},__vue_staticRenderFns__$R=[];__vue_render__$R._withStripped=!0;const __vue_inject_styles__$S=function(e){e&&e("data-v-3290c24a_0",{source:".tag-list--container[data-v-3290c24a] {\n position: absolute;\n top: 0;\n left: 0;\n background-color: #144576;\n border-radius: 4px;\n overflow: hidden;\n transform: translateY(calc(-0.57rem - 2px));\n font-size: 0.86rem;\n line-height: 2rem;\n}\n.tag-list--header[data-v-3290c24a] {\n background-color: #00053a;\n padding: 4px;\n color: white;\n}\n.tag-list--header--text[data-v-3290c24a] {\n height: 2rem;\n}\n.tag-list--body--row[data-v-3290c24a] {\n display: flex;\n flex-direction: row;\n color: white;\n cursor: pointer;\n padding: 4px;\n}\n.tag-list--body--row--name[data-v-3290c24a] {\n flex: 1 1 40%;\n}\n.tag-list--body--row--description[data-v-3290c24a] {\n flex: 1 1 60%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-weight: 100;\n}\n.tag-list--body--row.active[data-v-3290c24a] {\n background-color: #7f829c;\n color: black;\n}\n\n/*# sourceMappingURL=VTagList.vue.map */",map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VTaggableEditor/VTagList.vue","VTagList.vue"],names:[],mappings:"AA0FA;EACA,kBAAA;EACA,MAAA;EACA,OAAA;EACA,yBAAA;EACA,kBAAA;EACA,gBAAA;EACA,2CAAA;EACA,kBAAA;EACA,iBAAA;ACzFA;AD4FA;EACA,yBAAA;EACA,YAAA;EACA,YAAA;AC1FA;AD4FA;EACA,YAAA;AC1FA;ADmGA;EACA,aAAA;EACA,mBAAA;EACA,YAAA;EACA,eAAA;EACA,YAAA;ACjGA;ADmGA;EACA,aAAA;ACjGA;ADoGA;EACA,aAAA;EACA,gBAAA;EACA,mBAAA;EACA,uBAAA;EACA,gBAAA;AClGA;ADqGA;EACA,yBAAA;EACA,YAAA;ACnGA;;AAEA,uCAAuC",file:"VTagList.vue",sourcesContent:['<template>\n <div class="tag-list--container" v-show="open" :style="{ top: `${position.top}px`, left: `${position.left}px` }">\n <div class="tag-list--header">\n <div class="tag-list--header--text">\n ${{ text }}\n </div>\n <div class="tag-list--header--icon">\n\n </div>\n </div>\n <div class="tag-list--body">\n <div class="tag-list--body--row" v-for="(item, index) in parameters" :key="item.name"\n :class="{ \'active\': index === selectedIndex }" @mouseover="selectIndex(index)" @mousedown="select">\n <div class="tag-list--body--row--name">\n ${{ item.name }}\n </div>\n <div class="tag-list--body--row--description">\n {{ item.description }}\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'VTagList\',\n props: {\n open: {\n type: Boolean,\n required: true,\n },\n text: {\n type: String,\n required: true,\n },\n parameters: {\n type: Array,\n required: true\n },\n position: {\n type: Object,\n required: true\n }\n },\n data: () => ({\n selectedIndex: 0,\n }),\n computed: {\n isParameterSelected() {\n return this.parameters.length === 1;\n }\n },\n methods: {\n selectIndex(index) {\n this.selectedIndex = index;\n },\n keyDown(evt) {\n if (evt.key === \'ArrowDown\' || evt.keyCode === 40) {\n this.selectedIndex++;\n\n if (this.selectedIndex >= this.parameters.length) {\n this.selectedIndex = 0;\n }\n } else if (evt.key === \'ArrowUp\' || evt.keyCode === 38) {\n this.selectedIndex--;\n\n if (this.selectedIndex < 0) {\n this.selectedIndex = this.parameters.length - 1;\n }\n } else if ((evt.key === \'Enter\' || evt.keyCode === 13) && this.parameters.length > 0) {\n this.select();\n }\n },\n select() {\n this.$emit(\'entrySelect\', this.selectedIndex);\n }\n },\n watch: {\n text() {\n this.selectedIndex = 0;\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.tag-list {\n &--container {\n position: absolute;\n top: 0;\n left: 0;\n background-color: $color-sapphire-2;\n border-radius: 4px;\n overflow: hidden;\n transform: translateY(calc(-0.57rem - 2px));\n font-size: 0.86rem;\n line-height: 2rem;\n }\n\n &--header {\n background-color: $color-sapphire-3;\n padding: 4px;\n color: white;\n\n &--text {\n height: 2rem;\n }\n\n &--icon {\n\n }\n }\n\n &--body {\n &--row {\n display: flex;\n flex-direction: row;\n color: white;\n cursor: pointer;\n padding: 4px;\n\n &--name {\n flex: 1 1 40%;\n }\n\n &--description {\n flex: 1 1 60%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-weight: 100;\n }\n\n &.active {\n background-color: $color-sapphire-1;\n color: black;\n }\n }\n }\n}\n</style>',".tag-list--container {\n position: absolute;\n top: 0;\n left: 0;\n background-color: #144576;\n border-radius: 4px;\n overflow: hidden;\n transform: translateY(calc(-0.57rem - 2px));\n font-size: 0.86rem;\n line-height: 2rem;\n}\n.tag-list--header {\n background-color: #00053a;\n padding: 4px;\n color: white;\n}\n.tag-list--header--text {\n height: 2rem;\n}\n.tag-list--body--row {\n display: flex;\n flex-direction: row;\n color: white;\n cursor: pointer;\n padding: 4px;\n}\n.tag-list--body--row--name {\n flex: 1 1 40%;\n}\n.tag-list--body--row--description {\n flex: 1 1 60%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-weight: 100;\n}\n.tag-list--body--row.active {\n background-color: #7f829c;\n color: black;\n}\n\n/*# sourceMappingURL=VTagList.vue.map */"]},media:void 0})},__vue_scope_id__$S="data-v-3290c24a",__vue_module_identifier__$S=void 0,__vue_is_functional_template__$S=!1,__vue_component__$Q=normalizeComponent({render:__vue_render__$R,staticRenderFns:__vue_staticRenderFns__$R},__vue_inject_styles__$S,__vue_script__$S,__vue_scope_id__$S,__vue_is_functional_template__$S,__vue_module_identifier__$S,!1,createInjector$1,void 0,void 0),userAgent="undefined"!=typeof window?window.navigator.userAgent:"",isIe=-1!==userAgent.indexOf("MSIE ")||-1!==userAgent.indexOf("Trident/");var script$S={name:"VTaggableEditor",components:{VTagList:__vue_component__$Q},props:{readonly:{type:Boolean,default:!1},value:{type:String,required:!0},title:{type:String,required:!0},tags:{type:Array,required:!0}},data:()=>({text:"",isListOpen:!1,key:"$",keyIndex:0,searchText:"",lastSearchText:"",caretPosition:{top:0,left:0},selectedIndex:0,parameters:[]}),computed:{input(){return this.$refs.text?this.$refs.text:null}
110,tagList(){return this.$refs.tagList?this.$refs.tagList:null},sortedParameters(){return this.parameters.sort((e,t)=>e.name.localeCompare(t.name))},filteredParameters(){return this.sortedParameters.filter(e=>e.name.startsWith(this.searchText))}},watch:{value:{immediate:!0,handler(e){this.text=e}},tags:{deep:!0,immediate:!0,handler(e){this.parameters=e}}},methods:{onInput(){this.checkKey(),this.update()},onBlur(){this.closeMenu()},onKeyDown(e){if(this.isListOpen){const t=[40,38,13];["ArrowDown","ArrowUp","Enter"].includes(e.key)||t.includes(e.keyCode)?(this.tagList.keyDown(e),this.cancelEvent(e)):"Escape"!==e.key&&27!==e.keyCode||(this.closeMenu(),this.cancelEvent(e))}},onEntrySelect(e){this.applyTag(e)},cancelEvent(e){e.preventDefault(),e.stopPropagation()},applyTag(e){const t=this.filteredParameters[e],n="$".concat(t.name);this.text=this.replaceText(this.text,this.searchText,n,this.keyIndex),this.setCaretPosition(this.keyIndex+n.length),this.closeMenu(),this.$nextTick(()=>{this.input.focus(),this.update()})},replaceText:(e,t,n,i)=>e.slice(0,i)+n+e.slice(i+t.length+1,e.length),checkKey(){const e=this.getSelectionStart();if(e>=0){const t=this.getLastKeyBeforeCaret(e),n=this.lastSearchText=this.getLastSearchText(e,t);if(!(t<1||/\s/.test(this.text[t-1])))return!1;if(null!==n)return this.openMenu(t),this.searchText=n,!0}return this.closeMenu(),!1},getSelectionStart(){return this.input.selectionStart},getLastKeyBeforeCaret(e){return this.text.lastIndexOf(this.key,e-1)},getLastSearchText(e,t){if(-1!==t){const n=this.text.substring(t+1,e);if(!/\s/.test(n))return n}return null},openMenu(e){this.isListOpen||(this.isListOpen=!0,this.keyIndex=e,this.updateCaretPosition(),this.selectedIndex=0)},closeMenu(){this.isListOpen&&(this.isListOpen=!1)},updateCaretPosition(){this.caretPosition=textareaCaret(this.input,this.keyIndex),this.caretPosition.top-=this.input.scrollTop},setCaretPosition(e){this.$nextTick(()=>{this.input.selectionEnd=e})},appendParameter(){this.text="".concat(this.text.trim()," $"),this.input.focus(),this.$nextTick(()=>{this.checkKey()})},update(){this.$emit("input",this.text)}}};const __vue_script__$T=script$S;var __vue_render__$S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group form-group--name margin--none"},[n("button",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],staticClass:"button insert-parameter margin-bottom--small",on:{click:e.appendParameter}},[e._v("\n Insert parameter\n ")]),e._v(" "),n("div",{staticClass:"form-label-container"},[n("label",{staticClass:"form-label"},[e._v(e._s(e.title)+"*")])]),e._v(" "),n("div",{staticClass:"form-input-container"},[n("v-tag-list",{ref:"tagList",attrs:{parameters:e.filteredParameters,text:e.searchText,open:e.isListOpen,position:e.caretPosition},on:{entrySelect:e.onEntrySelect}}),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],ref:"text",staticClass:"form-input textarea",attrs:{name:"text-body",id:"text-body",readonly:e.readonly},domProps:{value:e.text},on:{input:[function(t){t.target.composing||(e.text=t.target.value)},e.onInput],blur:e.onBlur,keydown:e.onKeyDown}})],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],staticClass:"bottom-info padding-top--small padding-left--small"},[n("div",{staticClass:"bottom-info--icon"}),e._v(" "),n("div",{staticClass:"bottom-info--text"},[e._v("You can also add a parameter starting with a $.")])])])},__vue_staticRenderFns__$S=[];__vue_render__$S._withStripped=!0;const __vue_inject_styles__$T=function(e){e&&e("data-v-0f2a3b65_0",{source:'.form-label[data-v-0f2a3b65] {\n align-self: flex-end;\n}\n.form-input-container[data-v-0f2a3b65] {\n position: relative;\n}\n.form-input-container .textarea[data-v-0f2a3b65] {\n width: 100%;\n height: 16rem;\n}\n.button.insert-parameter[data-v-0f2a3b65] {\n background-color: #3e63cc;\n height: 2.5rem;\n padding: 0 1.5rem;\n position: absolute;\n bottom: 2.07rem;\n right: 0;\n z-index: 1;\n}\n.bottom-info[data-v-0f2a3b65] {\n display: flex;\n flex-direction: row;\n}\n.bottom-info--icon[data-v-0f2a3b65] {\n background: url("img/icon/svg/info.svg") center/contain;\n flex: 0 0 auto;\n height: 1.4rem;\n width: 1.4rem;\n margin: 0.3rem 0.3rem 0.3rem 0;\n}\n.bottom-info--text[data-v-0f2a3b65] {\n flex: 1 1 auto;\n font-style: italic;\n color: #00053a;\n}\n\n/*# sourceMappingURL=VTaggableEditor.vue.map */',map:{version:3,sources:["/tmp/jenkins-e04788cd/workspace/_Build_JS_Apps_Vue_Backbone_main/console-ui/src/vueCustomComponents/VTaggableEditor/VTaggableEditor.vue","VTaggableEditor.vue"],names:[],mappings:"AAiOA;EACA,oBAAA;AChOA;ADmOA;EACA,kBAAA;AChOA;ADkOA;EACA,WAAA;EACA,aAAA;AChOA;ADsOA;EACA,yBAAA;EACA,cAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,QAAA;EACA,UAAA;ACnOA;ADuOA;EACA,aAAA;EACA,mBAAA;ACpOA;ADsOA;EACA,uDAAA;EACA,cAAA;EACA,cAAA;EACA,aAAA;EACA,8BAAA;ACpOA;ADuOA;EACA,cAAA;EACA,kBAAA;EACA,cAAA;ACrOA;;AAEA,8CAA8C",file:"VTaggableEditor.vue",sourcesContent:['<template>\n <div class="form-group form-group--name margin--none">\n <button v-show="!readonly" class="button insert-parameter margin-bottom--small" @click="appendParameter">\n Insert parameter\n </button>\n <div class="form-label-container">\n <label class="form-label">{{ title }}*</label>\n </div>\n <div class="form-input-container">\n <v-tag-list :parameters="filteredParameters" :text="searchText" :open="isListOpen" :position="caretPosition"\n @entrySelect="onEntrySelect" ref="tagList"></v-tag-list>\n\n <textarea name="text-body" id="text-body" class="form-input textarea"\n v-model="text" :readonly="readonly" ref="text"\n @input
110="onInput" @blur="onBlur" @keydown="onKeyDown"></textarea>\n </div>\n <div v-show="!readonly" class="bottom-info padding-top--small padding-left--small">\n <div class="bottom-info--icon"></div>\n <div class="bottom-info--text">You can also add a parameter starting with a $.</div>\n </div>\n </div>\n</template>\n\n<script>\nimport getCaretPosition from \'textarea-caret\';\nimport VTagList from \'vueCustomComponents/VTaggableEditor/VTagList.vue\';\n\nconst userAgent = typeof window !== \'undefined\' ? window.navigator.userAgent : \'\';\nconst isIe = userAgent.indexOf(\'MSIE \') !== -1 || userAgent.indexOf(\'Trident/\') !== -1;\n\nexport default {\n name: \'VTaggableEditor\',\n components: { VTagList },\n props: {\n readonly: {\n type: Boolean,\n default: false\n },\n value: {\n type: String,\n required: true\n },\n title: {\n type: String,\n required: true\n },\n tags: {\n type: Array,\n required: true\n }\n },\n data: () => ({\n text: \'\',\n isListOpen: false,\n key: \'$\',\n keyIndex: 0,\n searchText: \'\',\n lastSearchText: \'\',\n caretPosition: { top: 0, left: 0 },\n selectedIndex: 0,\n parameters: []\n }),\n computed: {\n input() {\n if (this.$refs.text) {\n return this.$refs.text;\n }\n\n return null;\n },\n tagList() {\n if (this.$refs.tagList) {\n return this.$refs.tagList;\n }\n\n return null;\n },\n sortedParameters() {\n return this.parameters.sort((left, right) => left.name.localeCompare(right.name));\n },\n filteredParameters() {\n return this.sortedParameters.filter(item => item.name.startsWith(this.searchText));\n },\n },\n watch: {\n value: {\n immediate: true,\n handler(newVal) {\n this.text = newVal;\n }\n },\n tags: {\n deep: true,\n immediate: true,\n handler(newVal) {\n this.parameters = newVal;\n }\n }\n },\n methods: {\n onInput() {\n this.checkKey();\n this.update();\n },\n onBlur() {\n this.closeMenu();\n },\n onKeyDown(evt) {\n if (this.isListOpen) {\n const keys = [\'ArrowDown\', \'ArrowUp\', \'Enter\'];\n const keyCodes = [40, 38, 13];\n\n if (keys.includes(evt.key) || keyCodes.includes(evt.keyCode)) {\n this.tagList.keyDown(evt);\n this.cancelEvent(evt);\n } else if (evt.key === \'Escape\' || evt.keyCode === 27) {\n this.closeMenu();\n this.cancelEvent(evt);\n }\n }\n },\n onEntrySelect(index) {\n this.applyTag(index);\n },\n cancelEvent(evt) {\n evt.preventDefault();\n evt.stopPropagation();\n },\n applyTag(index) {\n const item = this.filteredParameters[index];\n const value = `$${item.name}`;\n\n this.text = this.replaceText(this.text, this.searchText, value, this.keyIndex);\n this.setCaretPosition(this.keyIndex + value.length);\n\n this.closeMenu();\n\n this.$nextTick(() => {\n this.input.focus();\n this.update();\n });\n },\n replaceText(text, searchText, newText, index) {\n return text.slice(0, index) + newText + text.slice(index + searchText.length + 1, text.length);\n },\n checkKey() {\n const index = this.getSelectionStart();\n\n if (index >= 0) {\n const keyIndex = this.getLastKeyBeforeCaret(index);\n const searchText = this.lastSearchText = this.getLastSearchText(index, keyIndex);\n\n if (!(keyIndex < 1 || /\\s/.test(this.text[keyIndex - 1]))) {\n return false;\n }\n\n if (searchText !== null) {\n this.openMenu(keyIndex);\n this.searchText = searchText;\n\n return true;\n }\n }\n\n this.closeMenu();\n return false;\n },\n getSelectionStart() {\n return this.input.selectionStart;\n },\n getLastKeyBeforeCaret(caretIndex) {\n return this.text.lastIndexOf(this.key, caretIndex - 1);\n },\n getLastSearchText(caretIndex, keyIndex) {\n if (keyIndex !== -1) {\n const searchText = this.text.substring(keyIndex + 1, caretIndex);\n\n if (!/\\s/.test(searchText)) {\n return searchText;\n }\n }\n\n return null;\n },\n openMenu(keyIndex) {\n if (!this.isListOpen) {\n this.isListOpen = true;\n this.keyIndex = keyIndex;\n this.updateCaretPosition();\n this.selectedIndex = 0;\n }\n },\n closeMenu() {\n if (this.isListOpen) {\n this.isListOpen = false;\n }\n }
110,\n updateCaretPosition() {\n this.caretPosition = getCaretPosition(this.input, this.keyIndex);\n\n this.caretPosition.top -= this.input.scrollTop;\n },\n setCaretPosition(index) {\n this.$nextTick(() => {\n this.input.selectionEnd = index;\n });\n },\n appendParameter() {\n this.text = `${this.text.trim()} $`;\n this.input.focus();\n\n this.$nextTick(() => {\n this.checkKey();\n });\n },\n update() {\n this.$emit(\'input\', this.text);\n }\n }\n}\n<\/script>\n\n<style scoped lang="scss">\n@import \'src/scss/global/brand-colors\';\n\n.form-label {\n align-self: flex-end;\n}\n\n.form-input-container {\n position: relative;\n\n .textarea {\n width: 100%;\n height: 16rem;\n }\n}\n\n.button {\n\n &.insert-parameter {\n background-color: $color-sl-secondary;\n height: 2.5rem;\n padding: 0 1.5rem;\n position: absolute;\n bottom: 2.07rem;\n right: 0;\n z-index: 1;\n }\n}\n\n.bottom-info {\n display: flex;\n flex-direction: row;\n\n &--icon {\n background: url(\'img/icon/svg/info.svg\') center / contain;\n flex: 0 0 auto;\n height: 1.4rem;\n width: 1.4rem;\n margin: 0.3rem 0.3rem 0.3rem 0;\n }\n\n &--text {\n flex: 1 1 auto;\n font-style: italic;\n color: $color-sapphire-3;\n }\n}\n</style>','.form-label {\n align-self: flex-end;\n}\n\n.form-input-container {\n position: relative;\n}\n.form-input-container .textarea {\n width: 100%;\n height: 16rem;\n}\n\n.button.insert-parameter {\n background-color: #3e63cc;\n height: 2.5rem;\n padding: 0 1.5rem;\n position: absolute;\n bottom: 2.07rem;\n right: 0;\n z-index: 1;\n}\n\n.bottom-info {\n display: flex;\n flex-direction: row;\n}\n.bottom-info--icon {\n background: url("img/icon/svg/info.svg") center/contain;\n flex: 0 0 auto;\n height: 1.4rem;\n width: 1.4rem;\n margin: 0.3rem 0.3rem 0.3rem 0;\n}\n.bottom-info--text {\n flex: 1 1 auto;\n font-style: italic;\n color: #00053a;\n}\n\n/*# sourceMappingURL=VTaggableEditor.vue.map */']},media:void 0})},__vue_scope_id__$T="data-v-0f2a3b65",__vue_module_identifier__$T=void 0,__vue_is_functional_template__$T=!1,__vue_component__$R=normalizeComponent({render:__vue_render__$S,staticRenderFns:__vue_staticRenderFns__$S},__vue_inject_styles__$T,__vue_script__$T,__vue_scope_id__$T,__vue_is_functional_template__$T,__vue_module_identifier__$T,!1,createInjector$1,void 0,void 0);var script$T={name:"TextMessageEditor",components:{VToggle:__vue_component__$e,VTaggableEditor:__vue_component__$R,Breadcrumbs:__vue_component__$c},data:()=>({isActive:!0,name:"",recipients:"",content:"",oldData:{}}),computed:_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({},mapGetters$1("constants",["notificationTags"])),mapState$1("actions",["selected"])),mapGetters$1("actions",["actions"])),{},{isNew(){return"new"===this.$route.params.id},id(){return this.isNew?"":this.$route.params.id},canBeSaved(){return this.isDirty&&this.areFieldsCompleted},existingAction(){return this.actions?this.isNew&&this.selected?this.actions.find(e=>e.id===this.selected):this.actions.find(e=>e.id===this.id):null},parsedData(){return{status:this.isActive?"active":"inactive",name:this.name,channel:{type:"sms",recipients:this.recipients.split(",").map(e=>e.trim()),content:this.content}}},dirtyData(){return diff$1(this.oldData,this.parsedData)},isDirty(){return 0!==size$1(this.dirtyData)},areFieldsCompleted(){return 0!==this.name.length&&0!==this.recipients.length&&0!==this.content.length}}),methods:_objectSpread2(_objectSpread2({},mapActions$1("actions",["updateNotifications"])),{},{async getData(){const e=await notificationsSettingsService.fetchNotifications();this.updateNotifications(e)},async saveAndExit(){this.isNew?await notificationsSettingsService.addNotification(this.parsedData):await notificationsSettingsService.editNotification(this.id,this.parsedData),await this.$router.push("/textMessages")}}),watch:{$route(){this.getData()},existingAction:{deep:!0,handler(e){e&&(this.isActive="active"===e.status,this.name=e.name,this.recipients=e.channel.recipients.join(", "),this.content=e.channel.content,this.oldData={status:e.status,name:e.name,channel:{type:"sms",recipients:e.channel.recipients,content:e.channel.content}})}}},mounted(){this.getData()}};const __vue_script__$U=script$T;var __vue_render__$T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"notification-editor"},[n("div",{staticClass:"content-wrapper"},[n("breadcrumbs",{attrs:{pageTitle:"Text message template"}}),e._v(" "),n("div",{staticClass:"list-header padding-top-zero"},[n("h2",{staticClass:"main-header margin-zero"},[e._v("Text message template")]),e._v(" "),n("div",{staticClass:"actions hidden-sm hidden-md"},[n("div",{staticClass:"toggle"},[n("v-toggle",{attrs:{settings:{on:{text:"Available"},off:{text:"Unavailable"}}},model:{value:e.isActive,callback:function(t){e.isActive=t},expression:"isActive"}}
110)],1)])])],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isNew,expression:"!isNew"}],staticClass:"notification-editor--step"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-6"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(0),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{staticClass:"form-input",attrs:{name:"text-message",id:"text-message-id",type:"text",readonly:""},domProps:{value:e.id}})])])])])]),e._v(" "),n("div",{staticClass:"notification-editor--step"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-6 margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(1),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],staticClass:"form-input",attrs:{name:"text-message-name",id:"text-message-name",type:"text",placeholder:"The name of your template..."},domProps:{value:e.name},on:{input:function(t){t.target.composing||(e.name=t.target.value)}}})])])])]),e._v(" "),n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-12 margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(2),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.recipients,expression:"recipients"}],staticClass:"form-input",attrs:{name:"text-message-recipients",id:"text-message-recipients",type:"text",placeholder:"+48875695123, +48647897156"},domProps:{value:e.recipients},on:{input:function(t){t.target.composing||(e.recipients=t.target.value)}}})])]),e._v(" "),e._m(3)])]),e._v(" "),n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-12"},[n("v-taggable-editor",{attrs:{title:"Text message content",tags:e.notificationTags},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)])]),e._v(" "),n("div",{staticClass:"margin-top--large text-align--right margin-right--small padding-right--small"},[n("router-link",{staticClass:"button cancel-new margin-right--tiny",attrs:{tag:"button",to:"/textMessages"}},[e._v("Cancel")]),e._v(" "),n("button",{staticClass:"button",attrs:{type:"button",disabled:!e.canBeSaved},on:{click:e.saveAndExit}},[e._v("\n\t\t\t\tSave and exit\n\t\t\t")])],1)])},__vue_staticRenderFns__$T=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"text-message-id"}},[this._v("ID")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"text-message-name"}},[this._v("Name*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"text-message-recipients"}},[this._v("Recipients*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"bottom-info padding-top--small padding-left--small"},[t("div",{staticClass:"bottom-info--icon"}),this._v(" "),t("div",{staticClass:"bottom-info--text"},[this._v("\n\t\t\t\t\t\t\tYou can enter more than one phone number. Separate the numbers\n\t\t\t\t\t\t\twith commas.\n\t\t\t\t\t\t")])])}];__vue_render__$T._withStripped=!0;const __vue_inject_styles__$U=function(e){e&&e("data-v-33e6d098_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TextMessageEditor.vue"},media:void 0})},__vue_scope_id__$U="data-v-33e6d098",__vue_module_identifier__$U=void 0,__vue_is_functional_template__$U=!1,__vue_component__$S=normalizeComponent({render:__vue_render__$T,staticRenderFns:__vue_staticRenderFns__$T},__vue_inject_styles__$U,__vue_script__$U,__vue_scope_id__$U,__vue_is_functional_template__$U,__vue_module_identifier__$U,!1,createInjector$1,void 0,void 0);var script$U={name:"EmailEditor",components:{VToggle:__vue_component__$e,VTaggableEditor:__vue_component__$R,Breadcrumbs:__vue_component__$c},data:()=>({isActive:!0,name:"",recipients:"",subject:"",textBody:"",oldData:{}}
110),computed:_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({},mapGetters$1("constants",["notificationTags"])),mapState$1("actions",["selected"])),mapGetters$1("actions",["actions"])),{},{isNew(){return"new"===this.$route.params.id},id(){return this.isNew?"":this.$route.params.id},canBeSaved(){return this.isDirty&&this.areFieldsCompleted},existingAction(){return this.actions?this.isNew&&this.selected?this.actions.find(e=>e.id===this.selected):this.actions.find(e=>e.id===this.id):null},parsedData(){return{status:this.isActive?"active":"inactive",name:this.name,channel:{type:"email",subject:this.subject,recipients:this.recipients.split(",").map(e=>e.trim()),textBody:this.textBody}}},dirtyData(){return diff$1(this.oldData,this.parsedData)},isDirty(){return 0!==size$1(this.dirtyData)},areFieldsCompleted(){return 0!==this.name.length&&0!==this.subject.length&&0!==this.recipients.length&&0!==this.textBody.length}}),methods:_objectSpread2(_objectSpread2({},mapActions$1("actions",["updateNotifications"])),{},{async getData(){const e=await notificationsSettingsService.fetchNotifications();this.updateNotifications(e)},async saveAndExit(){this.isNew?await notificationsSettingsService.addNotification(this.parsedData):await notificationsSettingsService.editNotification(this.id,this.parsedData),await this.$router.push("/emails")}}),watch:{$route(){this.getData()},existingAction:{deep:!0,handler(e){e&&(this.isActive="active"===e.status,this.name=e.name,this.subject=e.channel.subject,this.recipients=e.channel.recipients.join(", "),this.textBody=e.channel.textBody,this.oldData={status:e.status,name:e.name,channel:{type:"email",subject:e.channel.subject,recipients:e.channel.recipients,textBody:e.channel.textBody}})}}},mounted(){this.getData()}};const __vue_script__$V=script$U;var __vue_render__$U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"notification-editor"},[n("div",{staticClass:"content-wrapper"},[n("breadcrumbs",{attrs:{pageTitle:"Email template"}}),e._v(" "),n("div",{staticClass:"list-header padding-top-zero"},[n("h2",{staticClass:"main-header margin-zero"},[e._v("Email template")]),e._v(" "),n("div",{staticClass:"actions hidden-sm hidden-md"},[n("div",{staticClass:"toggle"},[n("v-toggle",{attrs:{settings:{on:{text:"Available"},off:{text:"Unavailable"}}},model:{value:e.isActive,callback:function(t){e.isActive=t},expression:"isActive"}})],1)])])],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isNew,expression:"!isNew"}],staticClass:"notification-editor--step"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-6"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(0),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{staticClass:"form-input",attrs:{name:"email",id:"email-id",type:"text",readonly:""},domProps:{value:e.id}})])])])])]),e._v(" "),n("div",{staticClass:"notification-editor--step"},[n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-6 margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(1),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],staticClass:"form-input",attrs:{name:"email-name",id:"email-name",type:"text",placeholder:"The name of your template..."},domProps:{value:e.name},on:{input:function(t){t.target.composing||(e.name=t.target.value)}}})])])])]),e._v(" "),n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-12 margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(2),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.recipients,expression:"recipients"}],staticClass:"form-input",attrs:{name:"email-recipients",id:"email-recipients",type:"text",placeholder:"[email protected], [email protected]"},domProps:{value:e.recipients},on:{input:function(t){t.target.composing||(e.recipients=t.target.value)}}})])]),e._v(" "),e._m(3)])]),e._v(" "),n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-12 margin-bottom--large"},[n("div",{staticClass:"form-group form-group--name margin--none"},[e._m(4),e._v(" "),n("div",{staticClass:"form-input-container"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.subject,expression:"subject"}],staticClass:"form-input",attrs:{name:"email-subject",id:"email-subject",type:"text",placeholder:"Example subject..."},domProps:{value:e.subject},on:{input:function(t){t.target.composing||(e.subject=t.target.value)}}})])])])]),e._v(" "),n("div",{staticClass:"grid-row flex-wrap--wrap"},[n("div",{staticClass:"grid-column-12"},[n("v-taggable-editor",{attrs:{title:"Text",tags:e.notificationTags}
110,model:{value:e.textBody,callback:function(t){e.textBody=t},expression:"textBody"}})],1)])]),e._v(" "),n("div",{staticClass:"margin-top--large text-align--right margin-right--small padding-right--small"},[n("router-link",{staticClass:"button cancel-new margin-right--tiny",attrs:{tag:"button",to:"/emails"}},[e._v("Cancel")]),e._v(" "),n("button",{staticClass:"button",attrs:{type:"button",disabled:!e.canBeSaved},on:{click:e.saveAndExit}},[e._v("\n\t\t\t\tSave and exit\n\t\t\t")])],1)])},__vue_staticRenderFns__$U=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"email-id"}},[this._v("ID")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"email-name"}},[this._v("Name*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"email-recipients"}},[this._v("Recipients*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"bottom-info padding-top--small padding-left--small"},[t("div",{staticClass:"bottom-info--icon"}),this._v(" "),t("div",{staticClass:"bottom-info--text"},[this._v("\n\t\t\t\t\t\t\tYou can enter more than one email address. Separate the addresses\n\t\t\t\t\t\t\twith commas.\n\t\t\t\t\t\t")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label-container padding-left--small"},[t("label",{staticClass:"form-label",attrs:{for:"email-subject"}},[this._v("Subject*")]),this._v(" "),t("span",{staticClass:"error-container hidden"})])}];__vue_render__$U._withStripped=!0;const __vue_inject_styles__$V=void 0,__vue_scope_id__$V=void 0,__vue_module_identifier__$V=void 0,__vue_is_functional_template__$V=!1,__vue_component__$T=normalizeComponent({render:__vue_render__$U,staticRenderFns:__vue_staticRenderFns__$U},__vue_inject_styles__$V,__vue_script__$V,__vue_scope_id__$V,__vue_is_functional_template__$V,__vue_module_identifier__$V,!1,void 0,void 0,void 0);Vue.use(VueRouter);const routes$1=[{path:"/streams",component:__vue_component__$M},{path:"/stream/:id",component:__vue_component__$P},{path:"/textMessages",component:__vue_component__$N},{path:"/textMessage/:id",component:__vue_component__$S},{path:"/emails",component:__vue_component__$O},{path:"/email/:id",component:__vue_component__$T}],router$1=new VueRouter({mode:"history",base:"app/notificationsSettings/",routes:routes$1}),template$u='<div id="notificationsSettingsContainer"></div>';Vue.filter("capitalize",(function(e){return(e=e.toString()).charAt(0).toUpperCase()+e.slice(1)})),Vue.filter("renameStatus",(function(e){return"active"===(e=e.toString())?"available":"unavailable"})),Vue.filter("padToLength",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return"".concat(t.repeat(n)).concat(e).slice(-n)}));class NotificationsSettingsView extends backbone.View{constructor(){super(),this.template=template$u}render(){this.$el.html(this.template);const e=this.$("#notificationsSettingsContainer").get(0);this.vue=new Vue({el:e,store:store,router:router$1,watch:{$route:()=>{window.Appcues.page()}},render:e=>e(__vue_component__$I)})}attach(){const e=window.location.pathname.replace(this.vue.$router.options.base,"");e!==this.vue.$router.currentRoute.path&&this.vue.$router.push({path:e})}}class NotificationsSettingsModule extends backbone.Router{init(){navigationService.registerRoutes("notificationsSettings.streams",this,"goToNotificationsSettingsStreams"),navigationService.registerRoutes("notificationsSettings.stream.edit",this,"goToNotificationsSettingsStreamEdit"),navigationService.registerRoutes("notificationsSettings.stream.new",this,"goToNotificationsSettingsStreamNew"),navigationService.registerRoutes("notificationsSettings.emails",this,"goToNotificationsSettingsEmails"),navigationService.registerRoutes("notificationsSettings.email.edit",this,"goToNotificationsSettingsEmailEdit"),navigationService.registerRoutes("notificationsSettings.email.new",this,"goToNotificationsSettingsEmailNew"),navigationService.registerRoutes("notificationsSettings.textMessages",this,"goToNotificationsSettingsTextMessages"),navigationService.registerRoutes("notificationsSettings.textMessage.edit",this,"goToNotificationsSettingsTextMessageEdit"),navigationService.registerRoutes("notificationsSettings.textMessage.new",this,"goToNotificationsSettingsTextMessageNew"),this.notificationsSettingsTab={notificationsSettings:{navigation:!1,showInTree:!0,icon:"bell",dataEvent:"expand-collapse-notificationsSettings",collapsed:!1,expanded:!0,entries:{notificationsSettingsStreams:{getLink:()=>navigationService.getNotificationsSettingsStreamsLink(),showInTree:!0,navigation:!0,dataEvent:"click-goToNotificationsSettingsStream"},notificationsSettingsStreamEdit:{getLink:e=>{let{streamId:t}=e;return navigationService.getNotificationsSettingsStreamEditLink(t)},showInTree:!1},notificationsSettingsStreamNew:{getLink:()=>navigationService.getNotificationsSettingsStreamNewLink(),showInTree:!1},notificationsSettingsEmails:{getLink:()=>navigationService.getNotificationsSettingsEmailsLink(),showInTree:!0,navigation:!0,dataEvent:"click-notificationsSettingsEmail"},notificationsSettingsEmailEdit:{getLink:e=>{let{emailId:t}=e;return navigationService.getNotificationsSettingsEmailEditLink(t)},showInTree:!1},notificationsSettingsEmailNew:{getLink:()=>navigationService.getNotificationsSettingsEmailNewLink(),showInTree:!1},notificationsSettingsTextMessages:{getLink:()=>navigationService.getNotificationsSettingsTextMessagesLink(),showInTree:!0,navigation:!0,dataEvent:"click-notificationsSettingsTextMessage"},notificationsSettingsTextMessageEdit:{getLink:e=>{let{textMessageId:t}=e;return navigationService.getNotificationsSettingsTextMessageEditLink(t)},showInTree:!1},notificationsSettingsTextMessageNew:{getLink:()=>navigationService.getNotificationsSettingsTextMessageNewLink(),showInTree:!1}}}},this.notificationsSettingsView=new NotificationsSettingsView,navigationView.addToNavigation(this.notificationsSettingsTab)}goToNotificationsSettingsStreams(){navigationView.showModule({entryId:"notificationsSettingsStreams",view:this.notificationsSettingsView})}goToNotificationsSettingsStreamEdit(e){navigationView.showModule({entryId:"notificationsSettingsStreamEdit",view:this.notificationsSettingsView,loadModel:{streamId:e}})}goToNotificationsSettingsStreamNew(){navigationView.showModule({entryId:"notificationsSettingsStreamNew",view:this.notificationsSettingsView})}goToNotificationsSettingsEmails(){navigationView.showModule({entryId:"notificationsSettingsEmails",view:this.notificationsSettingsView})}goToNotificationsSettingsEmailEdit(e){navigationView.showModule({entryId:"notificationsSettingsEmailEdit",view:this.notificationsSettingsView,loadModel:{emailId:e}})}goToNotificationsSettingsEmailNew(){navigationView.showModule({entryId:"notificationsSettingsEmailNew",view:this.notificationsSettingsView})}goToNotificationsSettingsTextMessages(){navigationView.showModule({entryId:"notificationsSettingsTextMessages",view:this.notificationsSettingsView})}goToNotificationsSettingsTextMessageEdit(e){navigationView.showModule({entryId:"notificationsSettingsTextMessageEdit",view:this.notificationsSettingsView,loadModel:{textMessageId:e}})}goToNotificationsSettingsTextMessageNew(){navigationView.showModule({entryId:"notificationsSettingsTextMessageNew",view:this.notificationsSettingsView})}}const notificationsSettingsModule=new NotificationsSettingsModule;class NavigationLinks{constructor(){}navigateTo(e){e.preventDefault(),e.stopPropagation();let t=e.target;for(;"a"!==t.nodeName.toLowerCase();){if("body"===t.nodeName.toLowerCase())return;t=t.parentNode}const n=t.attributes.href.value;navigationService.execute(n)}navigateToBack(e){e.preventDefault(),e.stopPropagation(),navigationService.back()}}class ElementNavigationLinks extends NavigationLinks{constructor(e){super();const t=jquery(e);t.on("click",".navigation-link",this.navigateTo),t.on("click",".js-navigation-link-back",this.navigateToBack)}}class BaseUi{constructor(){this.logger=new Logger("BaseUi","SeaGreen")}startAppNavigation(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{enable404:!0};new ElementNavigationLinks(document.body);const t=backbone.history.start({pushState:!0,root:"/app"});e.enable404&&!t&&(this.logger.log("Route not found. Navigate to 404."),navigationService.load("404"))}startPlugins(){this.startPageTracking()}startPageTracking(){const e=applicationService.manager?applicationService.manager.id:null;pageTrackingService.start(e)}startCaptcha(){}}const logger$4=new Logger("APP");class ManageUi extends BaseUi{constructor(){super()}start(){applicationService.ready(()=>{logger$4.log("Initializing app. Signed in manager: %o",applicationService.manager),init(),policyFoundryModule.init(
110),launchpadModule.init(),addOrderModule.init(),beaconsModule.init(),gatewayModule.init(),notificationsSettingsModule.init(),accountModule.init(),this.startPlugins(),mainView.start(applicationService.managerModel),this.startAppNavigation(),applicationEventBus.onOrderId(()=>{applicationService.refreshManager()})})}}class UiFactory{constructor(){}createApp(){return new ManageUi}}const uiFactory=new UiFactory;jquery(document).ready(()=>{uiFactory.createApp().start()})}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.