text: (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["contextmenusub"]=e():t["contextmenusub"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var r=n("2d00"),o=n("5ca1"),i=n("2aba"),a=n("32e9"),c=n("84f2"),u=n("41a0"),s=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",h="values",y=function(){return this};t.exports=function(t,e,n,g,b,m,x){u(n,e,g);var w,S,O,E=function(t){if(!p&&t in j)return j[t];switch(t){case v:return function(){return new n(this,t)};case h:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",C=b==h,_=!1,j=t.prototype,P=j[f]||j[d]||b&&j[b],T=P||E(b),A=b?C?E("entries"):T:void 0,I="Array"==e&&j.entries||P;if(I&&(O=l(I.call(new t)),O!==Object.prototype&&O.next&&(s(O,k,!0),r||"function"==typeof O[f]||a(O,f,y))),C&&P&&P.name!==h&&(_=!0,T=function(){return P.call(this)}),r&&!x||!p&&!_&&j[f]||a(j,f,T),c[e]=T,c[k]=y,b)if(w={values:C?T:E(h),keys:m?T:E(v),entries:A},x)for(S in w)S in j||i(j,S,w[S]);else o(o.P+o.F*(p||_),e,w);return w}},"02f4":function(t,e,n){var r=n("4588"),o=n("be13");t.exports=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u),i<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0a49":function(t,e,n){var r=n("9b43"),o=n("626a"),i=n("4bf8"),a=n("9def"),c=n("cd1c");t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,l=4==t,f=6==t,p=5==t||f,d=e||c;return function(e,c,v){for(var h,y,g=i(e),b=o(g),m=r(c,v,3),x=a(b.length),w=0,S=n?d(e,x):u?d(e,0):void 0;x>w;w++)if((p||w in b)&&(h=b[w],y=m(h,w,g),t))if(n)S[w]=y;else if(y)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:S.push(h)}else if(l)return!1;return f?-1:s||l?l:S}}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var r=n("ce10"),o=n("e11e");t.exports=Object.keys||function(t){return r(t,o)}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),o=n("4630"),i=n("6821"),a=n("6a99"),c=n("69a8"),u=n("c69a"),s=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?s:function(t,e){if(t=i(t),e=a(e,!0),u)try{return s(t,e)}catch(n){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),o=n("cb7c"),i=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){o(t);var n,a=i(e),c=a.length,u=0;while(c>u)r.f(t,n=a[u++],e[n]);return t}},"1c4c":function(t,e,n){"use strict";var r=n("9b43"),o=n("5ca1"),i=n("4bf8"),a=n("1fa8"),c=n("33a4"),u=n("9def"),s=n("f1ae"),l=n("27ee");o(o.S+o.F*!n("5cc5")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,f,p=i(t),d="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,g=0,b=l(p);if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==b||d==Array&&c(b))for(e=u(p.length),n=new d(e);e>g;g++)s(n,g,y?h(p[g],g):p[g]);else for(f=b.call(p),n=new d;!(o=f.next()).done;g++)s(n,g,y?a(f,h,[o.value,g],!0):o.value);return n.length=g,n}})},"1fa8":function(t,e,n){var r=n("cb7c");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t["return"];throw void 0!==i&&r(i.call(t)),a}}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),o=n("32e9"),i=n("79e5"),a=n("be13"),c=n("2b4c"),u=n("520a"),s=c("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=c(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),v=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[p](""),!e})):void 0;if(!d||!v||"replace"===t&&!l||"split"===t&&!f){var h=/./[p],y=n(a,p,""[t],(function(t,e,n,r,o){return e.exec===u?d&&!o?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),g=y[0],b=y[1];r(String.prototype,t,g),o(RegExp.prototype,p,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},"230e":function(t,e,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),o=n("2b4c")("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,n){var r=n("23c6"),o=n("2b4c")("iterator"),i=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},"28a5":function(t,e,n){"use strict";var r=n("aae3"),o=n("cb7c"),i=n("ebd6"),a=n("0390"),c=n("9def"),u=n("5f1b"),s=n("520a"),l=n("79e5"),f=Math.min,p=[].push,d="split",v="length",h="lastIndex",y=4294967295,g=!l((function(){RegExp(y,"y")}));n("214f")("split",2,(function(t,e,n,l){var b;return b="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[v]||2!="ab"[d](/(?:ab)*/)[v]||4!="."[d](/(.?)(.?)/)[v]||"."[d](/()()/)[v]>1||""[d](/.?/)[v]?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);var i,a,c,u=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?y:e>>>0,g=new RegExp(t.source,l+"g");while(i=s.call(g,o)){if(a=g[h],a>f&&(u.push(o.slice(f,i.index)),i[v]>1&&i.index<o[v]&&p.apply(u,i.slice(1)),c=i[0][v],f=a,u[v]>=d))break;g[h]===i.index&&g[h]++}return f===o[v]?!c&&g.test("")||u.push(""):u.push(o.slice(f)),u[v]>d?u.slice(0,d):u}:"0"[d](void 0,0)[v]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,o,r):b.call(String(o),n,r)},function(t,e){var r=l(b,t,this,e,b!==n);if(r.done)return r.value;var s=o(t),p=String(this),d=i(s,RegExp),v=s.unicode,h=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(g?"y":"g"),m=new d(g?s:"^(?:"+s.source+")",h),x=void 0===e?y:e>>>0;if(0===x)return[];if(0===p.length)return null===u(m,p)?[p]:[];var w=0,S=0,O=[];while(S<p.length){m.lastIndex=g?S:0;var E,k=u(m,g?p:p.slice(S));if(null===k||(E=f(c(m.lastIndex+(g?0:S)),p.length))===w)S=a(p,S,v);else{if(O.push(p.slice(w,S)),O.length===x)return O;for(var C=1;C<=k.length-1;C++)if(O.push(k[C]),O.length===x)return O;S=w=E}}return O.push(p.slice(w)),O}]}))},"2aba":function(t,e,n){var r=n("7726"),o=n("32e9"),i=n("69a8"),a=n("ca5a")("src"),c=n("fa5b"),u="toString",s=(""+c).split(u);n("8378").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,a)||o(n,a,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||c.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),o=n("1495"),i=n("e11e"),a=n("613b")("IE_PROTO"),c=function(){},u="prototype",s=function(){var t,e=n("230e")("iframe"),r=i.length,o="<",a=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+a+"document.F=Object"+o+"/script"+a),t.close(),s=t.F;while(r--)delete s[u][i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(c[u]=r(t),n=new c,c[u]=null,n[a]=t):n=s(),void 0===e?n:o(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),o=n("ca5a"),i=n("7726").Symbol,a="function"==typeof i,c=t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))};c.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"32e9":function(t,e,n){var r=n("86cc"),o=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"33a4":function(t,e,n){var r=n("84f2"),o=n("2b4c")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},"37c8":function(t,e,n){e.f=n("2b4c")},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"38fd":function(t,e,n){var r=n("69a8"),o=n("4bf8"),i=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"3a72":function(t,e,n){var r=n("7726"),o=n("8378"),i=n("2d00"),a=n("37c8"),c=n("86cc").f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:a.f(t)})}},"3b2b":function(t,e,n){var r=n("7726"),o=n("5dbc"),i=n("86cc").f,a=n("9093").f,c=n("aae3"),u=n("0bfb"),s=r.RegExp,l=s,f=s.prototype,p=/a/g,d=/a/g,v=new s(p)!==p;if(n("9e1e")&&(!v||n("79e5")((function(){return d[n("2b4c")("match")]=!1,s(p)!=p||s(d)==d||"/a/i"!=s(p,"i")})))){s=function(t,e){var n=this instanceof s,r=c(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(v?new l(r&&!i?t.source:t,e):l((r=t instanceof s)?t.source:t,r&&i?u.call(t):e),n?this:f,s)};for(var h=function(t){t in s||i(s,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},y=a(l),g=0;y.length>g;)h(y[g++]);f.constructor=s,s.prototype=f,n("2aba")(r,"RegExp",s)}n("7a56")("RegExp")},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),o=n("4630"),i=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"520a":function(t,e,n){"use strict";var r=n("0bfb"),o=RegExp.prototype.exec,i=String.prototype.replace,a=o,c="lastIndex",u=function(){var t=/a/,e=/b*/g;return o.call(t,"a"),o.call(e,"a"),0!==t[c]||0!==e[c]}(),s=void 0!==/()??/.exec("")[1],l=u||s;l&&(a=function(t){var e,n,a,l,f=this;return s&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),u&&(e=f[c]),a=o.call(f,t),u&&a&&(f[c]=f.global?a.index+a[0].length:e),s&&a&&a.length>1&&i.call(a[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a}),t.exports=a},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var r=n("8378"),o=n("7726"),i="__core-js_shared__",a=o[i]||(o[i]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var r=n("7726"),o=n("8378"),i=n("32e9"),a=n("2aba"),c=n("9b43"),u="prototype",s=function(t,e,n){var l,f,p,d,v=t&s.F,h=t&s.G,y=t&s.S,g=t&s.P,b=t&s.B,m=h?r:y?r[e]||(r[e]={}):(r[e]||{})[u],x=h?o:o[e]||(o[e]={}),w=x[u]||(x[u]={});for(l in h&&(n=e),n)f=!v&&m&&void 0!==m[l],p=(f?m:n)[l],d=b&&f?c(p,r):g&&"function"==typeof p?c(Function.call,p):p,m&&a(m,l,p,t&s.U),x[l]!=p&&i(x,l,d),g&&w[l]!=p&&(w[l]=p)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},t(i)}catch(a){}return n}},"5dbc":function(t,e,n){var r=n("d3f4"),o=n("8b97").set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},"5df3":function(t,e,n){"use strict";var r=n("02f4")(!0);n("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var i=n.call(t,e);if("object"!==typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"613b":function(t,e,n){var r=n("5537")("keys"),o=n("ca5a");t.exports=function(t){return r[t]||(r[t]=o(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"67ab":function(t,e,n){var r=n("ca5a")("meta"),o=n("d3f4"),i=n("69a8"),a=n("86cc").f,c=0,u=Object.isExtensible||function(){return!0},s=!n("79e5")((function(){return u(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++c,w:{}}})},f=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return s&&v.NEED&&u(t)&&!i(t,r)&&l(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},6821:function(t,e,n){var r=n("626a"),o=n("be13");t.exports=function(t){return r(o(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"6b54":function(t,e,n){"use strict";n("3846");var r=n("cb7c"),o=n("0bfb"),i=n("9e1e"),a="toString",c=/./[a],u=function(t){n("2aba")(RegExp.prototype,a,t,!0)};n("79e5")((function(){return"/a/b"!=c.call({source:"a",flags:"b"})}))?u((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):c.name!=a&&u((function(){return c.call(this)}))},7514:function(t,e,n){"use strict";var r=n("5ca1"),o=n("0a49")(5),i="find",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(i)},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a56":function(t,e,n){"use strict";var r=n("7726"),o=n("86cc"),i=n("9e1e"),a=n("2b4c")("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},"7bbc":function(t,e,n){var r=n("6821"),o=n("9093").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?c(t):o(r(t))}},"7f20":function(t,e,n){var r=n("86cc").f,o=n("69a8"),i=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var r=n("86cc").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,a="name";a in o||n("9e1e")&&r(o,a,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),o=n("c69a"),i=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8a81":function(t,e,n){"use strict";var r=n("7726"),o=n("69a8"),i=n("9e1e"),a=n("5ca1"),c=n("2aba"),u=n("67ab").KEY,s=n("79e5"),l=n("5537"),f=n("7f20"),p=n("ca5a"),d=n("2b4c"),v=n("37c8"),h=n("3a72"),y=n("d4c0"),g=n("1169"),b=n("cb7c"),m=n("d3f4"),x=n("4bf8"),w=n("6821"),S=n("6a99"),O=n("4630"),E=n("2aeb"),k=n("7bbc"),C=n("11e9"),_=n("2621"),j=n("86cc"),P=n("0d58"),T=C.f,A=j.f,I=k.f,F=r.Symbol,W=r.JSON,R=W&&W.stringify,N="prototype",L=d("_hidden"),$=d("toPrimitive"),H={}.propertyIsEnumerable,M=l("symbol-registry"),B=l("symbols"),D=l("op-symbols"),U=Object[N],V="function"==typeof F&&!!_.f,z=r.QObject,X=!z||!z[N]||!z[N].findChild,Y=i&&s((function(){return 7!=E(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=T(U,e);r&&delete U[e],A(t,e,n),r&&t!==U&&A(U,e,r)}:A,q=function(t){var e=B[t]=E(F[N]);return e._k=t,e},J=V&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},G=function(t,e,n){return t===U&&G(D,e,n),b(t),e=S(e,!0),b(n),o(B,e)?(n.enumerable?(o(t,L)&&t[L][e]&&(t[L][e]=!1),n=E(n,{enumerable:O(0,!1)})):(o(t,L)||A(t,L,O(1,{})),t[L][e]=!0),Y(t,e,n)):A(t,e,n)},K=function(t,e){b(t);var n,r=y(e=w(e)),o=0,i=r.length;while(i>o)G(t,n=r[o++],e[n]);return t},Z=function(t,e){return void 0===e?E(t):K(E(t),e)},Q=function(t){var e=H.call(this,t=S(t,!0));return!(this===U&&o(B,t)&&!o(D,t))&&(!(e||!o(this,t)||!o(B,t)||o(this,L)&&this[L][t])||e)},tt=function(t,e){if(t=w(t),e=S(e,!0),t!==U||!o(B,e)||o(D,e)){var n=T(t,e);return!n||!o(B,e)||o(t,L)&&t[L][e]||(n.enumerable=!0),n}},et=function(t){var e,n=I(w(t)),r=[],i=0;while(n.length>i)o(B,e=n[i++])||e==L||e==u||r.push(e);return r},nt=function(t){var e,n=t===U,r=I(n?D:w(t)),i=[],a=0;while(r.length>a)!o(B,e=r[a++])||n&&!o(U,e)||i.push(B[e]);return i};V||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(D,n),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),Y(this,t,O(1,n))};return i&&X&&Y(U,t,{configurable:!0,set:e}),q(t)},c(F[N],"toString",(function(){return this._k})),C.f=tt,j.f=G,n("9093").f=k.f=et,n("52a7").f=Q,_.f=nt,i&&!n("2d00")&&c(U,"propertyIsEnumerable",Q,!0),v.f=function(t){return q(d(t))}),a(a.G+a.W+a.F*!V,{Symbol:F});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ot=0;rt.length>ot;)d(rt[ot++]);for(var it=P(d.store),at=0;it.length>at;)h(it[at++]);a(a.S+a.F*!V,"Symbol",{for:function(t){return o(M,t+="")?M[t]:M[t]=F(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in M)if(M[e]===t)return e},useSetter:function(){X=!0},useSimple:function(){X=!1}}),a(a.S+a.F*!V,"Object",{create:Z,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var ct=s((function(){_.f(1)}));a(a.S+a.F*ct,"Object",{getOwnPropertySymbols:function(t){return _.f(x(t))}}),W&&a(a.S+a.F*(!V||s((function(){var t=F();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(n=e=r[1],(m(e)||void 0!==t)&&!J(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,R.apply(W,r)}}),F[N][$]||n("32e9")(F[N],$,F[N].valueOf),f(F,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"8b97":function(t,e,n){var r=n("d3f4"),o=n("cb7c"),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},9093:function(t,e,n){var r=n("ce10"),o=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),o=Array.prototype;void 0==o[r]&&n("32e9")(o,r,{}),t.exports=function(t){o[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a481:function(t,e,n){"use strict";var r=n("cb7c"),o=n("4bf8"),i=n("9def"),a=n("4588"),c=n("0390"),u=n("5f1b"),s=Math.max,l=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,v=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,h){return[function(r,o){var i=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=h(n,t,this,e);if(o.done)return o.value;var f=r(t),p=String(this),d="function"===typeof e;d||(e=String(e));var g=f.global;if(g){var b=f.unicode;f.lastIndex=0}var m=[];while(1){var x=u(f,p);if(null===x)break;if(m.push(x),!g)break;var w=String(x[0]);""===w&&(f.lastIndex=c(p,i(f.lastIndex),b))}for(var S="",O=0,E=0;E<m.length;E++){x=m[E];for(var k=String(x[0]),C=s(l(a(x.index),p.length),0),_=[],j=1;j<x.length;j++)_.push(v(x[j]));var P=x.groups;if(d){var T=[k].concat(_,C,p);void 0!==P&&T.push(P);var A=String(e.apply(void 0,T))}else A=y(k,p,C,_,P,e);C>=O&&(S+=p.slice(O,C)+A,O=C+k.length)}return S+p.slice(O)}];function y(t,e,r,i,a,c){var u=r+t.length,s=i.length,l=d;return void 0!==a&&(a=o(a),l=p),n.call(c,l,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return n;if(l>s){var p=f(l/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}c=i[l-1]}return void 0===c?"":c}))}}))},aae3:function(t,e,n){var r=n("d3f4"),o=n("2d95"),i=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},ac4d:function(t,e,n){n("3a72")("asyncIterator")},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},c366:function(t,e,n){var r=n("6821"),o=n("9def"),i=n("77f1");t.exports=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),l=i(a,s);if(t&&n!=n){while(s>l)if(c=u[l++],c!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},ce10:function(t,e,n){var r=n("69a8"),o=n("6821"),i=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);while(e.length>u)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d4c0:function(t,e,n){var r=n("0d58"),o=n("2621"),i=n("52a7");t.exports=function(t){var e=r(t),n=o.f;if(n){var a,c=n(t),u=i.f,s=0;while(c.length>s)u.call(t,a=c[s++])&&e.push(a)}return e}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(t,e,n){var r=n("d3f4"),o=n("1169"),i=n("2b4c")("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&(e=e[i],null===e&&(e=void 0))),void 0===e?Array:e}},ebd6:function(t,e,n){var r=n("cb7c"),o=n("d8e8"),i=n("2b4c")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},f1ae:function(t,e,n){"use strict";var r=n("86cc"),o=n("4630");t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"p-contextmenusub"},on:{enter:t.onEnter}},[t.root||t.parentActive?n("ul",{ref:"container",class:t.containerClass,attrs:{role:"menu"}},[t._l(t.model,(function(e,r){return[t.visible(e)&&!e.separator?n("li",{key:e.label+r,class:t.getItemClass(e),style:e.style,attrs:{role:"none"},on:{mouseenter:function(n){return t.onItemMouseEnter(n,e)}}},[e.to&&!e.disabled?n("router-link",{directives:[{name:"ripple",rawName:"v-ripple"}],class:t.getLinkClass(e),attrs:{to:e.to,role:"menuitem"},nativeOn:{click:function(n){return t.onItemClick(n,e)}}},[n("span",{class:["p-menuitem-icon",e.icon]}),n("span",{staticClass:"p-menuitem-text"},[t._v(t._s(e.label))])]):n("a",{directives:[{name:"ripple",rawName:"v-ripple"}],class:t.getLinkClass(e),attrs:{href:e.url,target:e.target,"aria-haspopup":null!=e.items,"aria-expanded":e===t.activeItem,role:"menuitem",tabindex:e.disabled?null:"0"},on:{click:function(n){return t.onItemClick(n,e)}}},[n("span",{class:["p-menuitem-icon",e.icon]}),n("span",{staticClass:"p-menuitem-text"},[t._v(t._s(e.label))]),e.items?n("span",{staticClass:"p-submenu-icon pi pi-angle-right"}):t._e()]),t.visible(e)&&e.items?n("sub-menu",{key:e.label+"_sub_",attrs:{model:e.items,parentActive:e===t.activeItem},on:{"leaf-click":t.onLeafClick}}):t._e()],1):t._e(),t.visible(e)&&e.separator?n("li",{key:"separator"+r,class:["p-menu-separator",e.class],style:e.style,attrs:{role:"separator"}}):t._e()]}))],2):t._e()])},i=[];n("ac4d"),n("8a81"),n("5df3"),n("1c4c"),n("7f7f"),n("6b54"),n("7514"),n("3b2b"),n("a481"),n("28a5");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}function s(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function l(t,e){if(t){if("string"===typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var p=function(){function t(){a(this,t)}return u(t,null,[{key:"innerWidth",value:function(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}},{key:"width",value:function(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}},{key:"getWindowScrollTop",value:function(){var t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}},{key:"getWindowScrollLeft",value:function(){var t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},{key:"getOuterWidth",value:function(t,e){if(t){var n=t.offsetWidth;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return n}return 0}},{key:"getOuterHeight",value:function(t,e){if(t){var n=t.offsetHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0}},{key:"getClientHeight",value:function(t,e){if(t){var n=t.clientHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0}},{key:"getViewport",value:function(){var t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0],o=t.innerWidth||n.clientWidth||r.clientWidth,i=t.innerHeight||n.clientHeight||r.clientHeight;return{width:o,height:i}}},{key:"getOffset",value:function(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}},{key:"generateZIndex",value:function(){return this.zindex=this.zindex||999,++this.zindex}},{key:"getCurrentZIndex",value:function(){return this.zindex}},{key:"index",value:function(t){for(var e=t.parentNode.childNodes,n=0,r=0;r<e.length;r++){if(e[r]===t)return n;1===e[r].nodeType&&n++}return-1}},{key:"addMultipleClasses",value:function(t,e){if(t.classList)for(var n=e.split(" "),r=0;r<n.length;r++)t.classList.add(n[r]);else for(var o=e.split(" "),i=0;i<o.length;i++)t.className+=" "+o[i]}},{key:"addClass",value:function(t,e){t.classList?t.classList.add(e):t.className+=" "+e}},{key:"removeClass",value:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}},{key:"hasClass",value:function(t,e){return!!t&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))}},{key:"find",value:function(t,e){return t.querySelectorAll(e)}},{key:"findSingle",value:function(t,e){return t.querySelector(e)}},{key:"getHeight",value:function(t){var e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),e}},{key:"getWidth",value:function(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),e}},{key:"absolutePosition",value:function(t,e){var n,r,o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=o.height,a=o.width,c=e.offsetHeight,u=e.offsetWidth,s=e.getBoundingClientRect(),l=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport();s.top+c+i>p.height?(n=s.top+l-i,t.style.transformOrigin="bottom",n<0&&(n=l)):(n=c+s.top+l,t.style.transformOrigin="top"),r=s.left+a>p.width?Math.max(0,s.left+f+u-a):s.left+f,t.style.top=n+"px",t.style.left=r+"px"}},{key:"relativePosition",value:function(t,e){var n,r,o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=e.offsetHeight,a=e.getBoundingClientRect(),c=this.getViewport();a.top+i+o.height>c.height?(n=-1*o.height,t.style.transformOrigin="bottom",a.top+n<0&&(n=-1*a.top)):(n=i,t.style.transformOrigin="top"),r=o.width>c.width?-1*a.left:a.left+o.width>c.width?-1*(a.left+o.width-c.width):0,t.style.top=n+"px",t.style.left=r+"px"}},{key:"getParents",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null===t["parentNode"]?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}},{key:"getScrollableParents",value:function(t){var e=[];if(t){var n,r=this.getParents(t),o=/(auto|scroll)/,i=function(t){var e=window["getComputedStyle"](t,null);return o.test(e.getPropertyValue("overflow"))||o.test(e.getPropertyValue("overflowX"))||o.test(e.getPropertyValue("overflowY"))},a=s(r);try{for(a.s();!(n=a.n()).done;){var c=n.value,u=1===c.nodeType&&c.dataset["scrollselectors"];if(u){var l,f=u.split(","),p=s(f);try{for(p.s();!(l=p.n()).done;){var d=l.value,v=this.findSingle(c,d);v&&i(v)&&e.push(v)}}catch(h){p.e(h)}finally{p.f()}}}}catch(h){a.e(h)}finally{a.f()}}return e}},{key:"getHiddenElementOuterHeight",value:function(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}},{key:"getHiddenElementOuterWidth",value:function(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}},{key:"getHiddenElementDimensions",value:function(t){var e={};return t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",e}},{key:"fadeIn",value:function(t,e){t.style.opacity=0;var n=+new Date,r=0,o=function o(){r=+t.style.opacity+((new Date).getTime()-n)/e,t.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))};o()}},{key:"fadeOut",value:function(t,e){var n=1,r=50,o=e,i=r/o,a=setInterval((function(){n-=i,n<=0&&(n=0,clearInterval(a)),t.style.opacity=n}),r)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"appendChild",value:function(t,e){if(this.isElement(e))e.appendChild(t);else{if(!e.el||!e.el.nativeElement)throw new Error("Cannot append "+e+" to "+t);e.el.nativeElement.appendChild(t)}}},{key:"scrollInView",value:function(t,e){var n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,a=t.getBoundingClientRect(),c=e.getBoundingClientRect(),u=c.top+document.body.scrollTop-(a.top+document.body.scrollTop)-r-i,s=t.scrollTop,l=t.clientHeight,f=this.getOuterHeight(e);u<0?t.scrollTop=s+u:u+f>l&&(t.scrollTop=s+u-l+f)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document["selection"]&&document["selection"].empty)try{document["selection"].empty()}catch(t){}}},{key:"calculateScrollbarWidth",value:function(){if(null!=this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e}},{key:"getBrowser",value:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser["version"]=t.version),this.browser["chrome"]?this.browser["webkit"]=!0:this.browser["webkit"]&&(this.browser["safari"]=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var t=navigator.userAgent.toLowerCase(),e=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}},{key:"isVisible",value:function(t){return null!=t.offsetParent}},{key:"invokeElementMethod",value:function(t,e,n){t[e].apply(t,n)}},{key:"getFocusableElements",value:function(e){var n,r=t.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n                [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'),o=[],i=s(r);try{for(i.s();!(n=i.n()).done;){var a=n.value;"none"!=getComputedStyle(a).display&&"hidden"!=getComputedStyle(a).visibility&&o.push(a)}}catch(c){i.e(c)}finally{i.f()}return o}},{key:"isClickable",value:function(t){var e=t.nodeName,n=t.parentElement&&t.parentElement.nodeName;return"INPUT"==e||"BUTTON"==e||"A"==e||"INPUT"==n||"BUTTON"==n||"A"==n||this.hasClass(t,"p-button")||this.hasClass(t.parentElement,"p-button")||this.hasClass(t.parentElement,"p-checkbox")||this.hasClass(t.parentElement,"p-radiobutton")}}]),t}();function d(t){t.addEventListener("mousedown",g)}function v(t){t.removeEventListener("mousedown",g)}function h(t){var e=document.createElement("span");e.className="p-ink",t.appendChild(e),e.addEventListener("animationend",b)}function y(t){var e=m(t);e&&(v(t),e.removeEventListener("animationend",b),e.remove())}function g(t){var e=t.currentTarget,n=m(e);if(n&&"none"!==getComputedStyle(n,null).display){if(p.removeClass(n,"p-ink-active"),!p.getHeight(n)&&!p.getWidth(n)){var r=Math.max(p.getOuterWidth(e),p.getOuterHeight(e));n.style.height=r+"px",n.style.width=r+"px"}var o=p.getOffset(e),i=t.pageX-o.left+document.body.scrollTop-p.getWidth(n)/2,a=t.pageY-o.top+document.body.scrollLeft-p.getHeight(n)/2;n.style.top=a+"px",n.style.left=i+"px",p.addClass(n,"p-ink-active")}}function b(t){p.removeClass(t.currentTarget,"p-ink-active")}function m(t){for(var e=0;e<t.children.length;e++)if("string"===typeof t.children[e].className&&-1!==t.children[e].className.indexOf("p-ink"))return t.children[e];return null}var x={inserted:function(t,e,n){n.context.$primevue&&n.context.$primevue.config.ripple&&(h(t),d(t))},unbind:function(t){y(t)}},w=x,S={name:"sub-menu",props:{model:{type:Array,default:null},root:{type:Boolean,default:!1},parentActive:{type:Boolean,default:!1}},watch:{parentActive:function(t){t||(this.activeItem=null)}},data:function(){return{activeItem:null}},methods:{onItemMouseEnter:function(t,e){e.disabled?t.preventDefault():this.activeItem=e},onItemClick:function(t,e){e.disabled?t.preventDefault():(e.url||e.to||t.preventDefault(),e.command&&e.command({originalEvent:t,item:e}),e.items||this.onLeafClick())},onLeafClick:function(){this.activeItem=null,this.$emit("leaf-click")},onEnter:function(){this.position()},position:function(){var t=this.$refs.container.parentElement,e=p.getOffset(this.$refs.container.parentElement),n=p.getViewport(),r=this.$refs.container.offsetParent?this.$refs.container.offsetWidth:p.getHiddenElementOuterWidth(this.$refs.container),o=p.getOuterWidth(t.children[0]);this.$refs.container.style.top="0px",parseInt(e.left,10)+o+r>n.width-p.calculateScrollbarWidth()?this.$refs.container.style.left=-1*r+"px":this.$refs.container.style.left=o+"px"},getItemClass:function(t){return["p-menuitem",t.class,{"p-menuitem-active":this.activeItem===t}]},getLinkClass:function(t){return["p-menuitem-link",{"p-disabled":t.disabled}]},visible:function(t){return"function"===typeof t.visible?t.visible():!1!==t.visible}},computed:{containerClass:function(){return{"p-submenu-list":!this.root}}},directives:{ripple:w}},O=S;function E(t,e,n,r,o,i,a,c){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):o&&(u=c?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var l=s.render;s.render=function(t,e){return u.call(e),l(t,e)}}else{var f=s.beforeCreate;s.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:s}}var k=E(O,o,i,!1,null,null,null),C=k.exports;e["default"]=C}})["default"]}));