2FAuth/public/js/app.js
2020-10-12 23:13:51 +02:00

2 lines
308 KiB
JavaScript
Vendored
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see app.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(t,e,n){n("bUC5"),t.exports=n("pyCd")},"4/Ry":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".flip-list-move{transition:transform .5s}.ghost{opacity:1}",""])},"7O5W":function(t,e,n){"use strict";(function(t,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(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 a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){a(t,e,n[e])}))}return t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"b",(function(){return Tt})),n.d(e,"a",(function(){return E})),n.d(e,"e",(function(){return At})),n.d(e,"c",(function(){return Ct})),n.d(e,"d",(function(){return Ot}));var l=function(){},f={},d={},p={mark:l,measure:l};try{"undefined"!=typeof window&&(f=window),"undefined"!=typeof document&&(d=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(p=performance)}catch(t){}var h=(f.navigator||{}).userAgent,m=void 0===h?"":h,v=f,g=d,b=p,y=(v.document,!!g.documentElement&&!!g.head&&"function"==typeof g.addEventListener&&"function"==typeof g.createElement),w=~m.indexOf("MSIE")||~m.indexOf("Trident/"),_=(function(){try{}catch(t){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),x=_.concat([11,12,13,14,15,16,17,18,19,20]),S={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},k=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",S.GROUP,S.SWAP_OPACITY,S.PRIMARY,S.SECONDARY].concat(_.map((function(t){return"".concat(t,"x")}))).concat(x.map((function(t){return"w-".concat(t)}))),v.FontAwesomeConfig||{});if(g&&"function"==typeof g.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=c(t,2),n=e[0],r=e[1],o=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=g.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(n));null!=o&&(k[r]=o)}))}var C=s({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},k);C.autoReplaceSvg||(C.observeMutations=!1);var E=s({},C);v.FontAwesomeConfig=E;var O=v||{};O.___FONT_AWESOME___||(O.___FONT_AWESOME___={}),O.___FONT_AWESOME___.styles||(O.___FONT_AWESOME___.styles={}),O.___FONT_AWESOME___.hooks||(O.___FONT_AWESOME___.hooks={}),O.___FONT_AWESOME___.shims||(O.___FONT_AWESOME___.shims=[]);var T=O.___FONT_AWESOME___,A=[];y&&((g.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(g.readyState)||g.addEventListener("DOMContentLoaded",(function t(){g.removeEventListener("DOMContentLoaded",t),1,A.map((function(t){return t()}))})));var j,L=function(){},I=void 0!==t&&void 0!==t.process&&"function"==typeof t.process.emit,P=void 0===r?setTimeout:r,D=[];function M(){for(var t=0;t<D.length;t++)D[t][0](D[t][1]);D=[],j=!1}function N(t,e){D.push([t,e]),j||(j=!0,P(M,0))}function $(t){var e=t.owner,n=e._state,r=e._data,o=t[n],i=t.then;if("function"==typeof o){n="fulfilled";try{r=o(r)}catch(t){z(i,t)}}R(i,r)||("fulfilled"===n&&q(i,r),"rejected"===n&&z(i,r))}function R(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===o(e))){var r=e.then;if("function"==typeof r)return r.call(e,(function(r){n||(n=!0,e===r?U(t,r):q(t,r))}),(function(e){n||(n=!0,z(t,e))})),!0}}catch(e){return n||z(t,e),!0}return!1}function q(t,e){t!==e&&R(t,e)||U(t,e)}function U(t,e){"pending"===t._state&&(t._state="settled",t._data=e,N(B,t))}function z(t,e){"pending"===t._state&&(t._state="settled",t._data=e,N(H,t))}function F(t){t._then=t._then.forEach($)}function B(t){t._state="fulfilled",F(t)}function H(e){e._state="rejected",F(e),!e._handled&&I&&t.process.emit("unhandledRejection",e._data,e)}function W(e){t.process.emit("rejectionHandled",e)}function G(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof G==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){z(e,t)}try{t((function(t){q(e,t)}),n)}catch(t){n(t)}}(t,this)}G.prototype={constructor:G,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(L),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,"rejected"===this._state&&I&&N(W,this)),"fulfilled"===this._state||"rejected"===this._state?N($,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},G.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new G((function(e,n){var r=[],o=0;function i(t){return o++,function(n){r[t]=n,--o||e(r)}}for(var a,s=0;s<t.length;s++)(a=t[s])&&"function"==typeof a.then?a.then(i(s),n):r[s]=a;o||e(r)}))},G.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new G((function(e,n){for(var r,o=0;o<t.length;o++)(r=t[o])&&"function"==typeof r.then?r.then(e,n):e(r)}))},G.resolve=function(t){return t&&"object"===o(t)&&t.constructor===G?t:new G((function(e){e(t)}))},G.reject=function(t){return new G((function(e,n){n(t)}))};var V=16,Y={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function X(t){if(t&&y){var e=g.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=g.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}return g.head.insertBefore(e,r),t}}function K(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function Q(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function J(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function Z(t){return t.size!==Y.size||t.x!==Y.x||t.y!==Y.y||t.rotate!==Y.rotate||t.flipX||t.flipY}function tt(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),a="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var et={x:0,y:0,width:"100%",height:"100%"};function nt(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function rt(t){var e=t.icons,n=e.main,r=e.mask,o=t.prefix,i=t.iconName,a=t.transform,c=t.symbol,u=t.title,l=t.maskId,f=t.titleId,d=t.extra,p=t.watchable,h=void 0!==p&&p,m=r.found?r:n,v=m.width,g=m.height,b="fa-w-".concat(Math.ceil(v/g*16)),y=[E.replacementClass,i?"".concat(E.familyPrefix,"-").concat(i):"",b].filter((function(t){return-1===d.classes.indexOf(t)})).concat(d.classes).join(" "),w={children:[],attributes:s({},d.attributes,{"data-prefix":o,"data-icon":i,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(g)})};h&&(w.attributes["data-fa-i2svg"]=""),u&&w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(f||K())},children:[u]});var _=s({},w,{prefix:o,iconName:i,main:n,mask:r,maskId:l,transform:a,symbol:c,styles:d.styles}),x=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,o=t.main,i=t.mask,a=t.maskId,c=t.transform,u=o.width,l=o.icon,f=i.width,d=i.icon,p=tt({transform:c,containerWidth:f,iconWidth:u}),h={tag:"rect",attributes:s({},et,{fill:"white"})},m=l.children?{children:l.children.map(nt)}:{},v={tag:"g",attributes:s({},p.inner),children:[nt(s({tag:l.tag,attributes:s({},l.attributes,p.path)},m))]},g={tag:"g",attributes:s({},p.outer),children:[v]},b="mask-".concat(a||K()),y="clip-".concat(a||K()),w={tag:"mask",attributes:s({},et,{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(e=d,"g"===e.tag?e.children:[e])},w]};return n.push(_,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(b,")")},et)}),{children:n,attributes:r}}(_):function(t){var e=t.children,n=t.attributes,r=t.main,o=t.transform,i=J(t.styles);if(i.length>0&&(n.style=i),Z(o)){var a=tt({transform:o,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:s({},a.outer),children:[{tag:"g",attributes:s({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},r.icon.attributes,a.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(_),S=x.children,k=x.attributes;return _.children=S,_.attributes=k,c?function(t){var e=t.prefix,n=t.iconName,r=t.children,o=t.attributes,i=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s({},o,{id:!0===i?"".concat(e,"-").concat(E.familyPrefix,"-").concat(n):i}),children:r}]}]}(_):function(t){var e=t.children,n=t.main,r=t.mask,o=t.attributes,i=t.styles,a=t.transform;if(Z(a)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};o.style=J(s({},i,{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:e}]}(_)}function ot(t){var e=t.content,n=t.width,r=t.height,o=t.transform,i=t.title,a=t.extra,c=t.watchable,u=void 0!==c&&c,l=s({},a.attributes,i?{title:i}:{},{class:a.classes.join(" ")});u&&(l["data-fa-i2svg"]="");var f=s({},a.styles);Z(o)&&(f.transform=function(t){var e=t.transform,n=t.width,r=void 0===n?16:n,o=t.height,i=void 0===o?16:o,a=t.startCentered,s=void 0!==a&&a,c="";return c+=s&&w?"translate(".concat(e.x/V-r/2,"em, ").concat(e.y/V-i/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/V,"em), calc(-50% + ").concat(e.y/V,"em)) "):"translate(".concat(e.x/V,"em, ").concat(e.y/V,"em) "),c+="scale(".concat(e.size/V*(e.flipX?-1:1),", ").concat(e.size/V*(e.flipY?-1:1),") "),c+="rotate(".concat(e.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var d=J(f);d.length>0&&(l.style=d);var p=[];return p.push({tag:"span",attributes:l,children:[e]}),i&&p.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),p}var it=function(){},at=(E.measurePerformance&&b&&b.mark&&b.measure,function(t,e,n,r){var o,i,a,s=Object.keys(t),c=s.length,u=void 0!==r?function(t,e){return function(n,r,o,i){return t.call(e,n,r,o,i)}}(e,r):e;for(void 0===n?(o=1,a=t[s[0]]):(o=0,a=n);o<c;o++)a=u(a,t[i=s[o]],i,t);return a});function st(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!=typeof T.hooks.addPack||o?T.styles[t]=s({},T.styles[t]||{},i):T.hooks.addPack(t,i),"fas"===t&&st("fa",e)}var ct=T.styles,ut=T.shims,lt=function(){var t=function(t){return at(ct,(function(e,n,r){return e[r]=at(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in ct;at(ut,(function(t,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||e||(o="fas"),t[r]={prefix:o,iconName:i},t}),{})};lt();T.styles;function ft(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function dt(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,o=t.children,i=void 0===o?[]:o;return"string"==typeof t?Q(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(Q(t[n]),'" ')}),"").trim()}(r),">").concat(i.map(dt).join(""),"</").concat(e,">")}var pt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return t.flipX=!0,t;if(r&&"v"===o)return t.flipY=!0,t;if(o=parseFloat(o),isNaN(o))return t;switch(r){case"grow":t.size=t.size+o;break;case"shrink":t.size=t.size-o;break;case"left":t.x=t.x-o;break;case"right":t.x=t.x+o;break;case"up":t.y=t.y-o;break;case"down":t.y=t.y+o;break;case"rotate":t.rotate=t.rotate+o}return t}),e):e};function ht(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}ht.prototype=Object.create(Error.prototype),ht.prototype.constructor=ht;var mt={fill:"currentColor"},vt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},gt={tag:"path",attributes:s({},mt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},bt=s({},vt,{attributeName:"opacity"});s({},mt,{cx:"256",cy:"364",r:"28"}),s({},vt,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},bt,{values:"1;0;1;1;0;1;"}),s({},mt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),s({},bt,{values:"1;0;0;0;0;1;"}),s({},mt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),s({},bt,{values:"0;0;1;1;0;0;"}),T.styles;function yt(t){var e=t[0],n=t[1],r=c(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(E.familyPrefix,"-").concat(S.GROUP)},children:[{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(S.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(S.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}T.styles;function wt(){var t="svg-inline--fa",e=E.familyPrefix,n=E.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==e||n!==t){var o=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),a=new RegExp("\\.".concat(t),"g");r=r.replace(o,".".concat(e,"-")).replace(i,"--".concat(e,"-")).replace(a,".".concat(n))}return r}function _t(){E.autoAddCss&&!Et&&(X(wt()),Et=!0)}function xt(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return dt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(y){var e=g.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function St(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return ft(Ct.definitions,n,r)||ft(T.styles,n,r)}var kt,Ct=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(e){t.definitions[e]=s({},t.definitions[e]||{},o[e]),st(e,o[e]),lt()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var r=n[e],o=r.prefix,i=r.iconName,a=r.icon;t[o]||(t[o]={}),t[o][i]=a})),t}}])&&i(e.prototype,n),r&&i(e,r),t}()),Et=!1,Ot={transform:function(t){return pt(t)}},Tt=(kt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?Y:n,o=e.symbol,i=void 0!==o&&o,a=e.mask,c=void 0===a?null:a,u=e.maskId,l=void 0===u?null:u,f=e.title,d=void 0===f?null:f,p=e.titleId,h=void 0===p?null:p,m=e.classes,v=void 0===m?[]:m,g=e.attributes,b=void 0===g?{}:g,y=e.styles,w=void 0===y?{}:y;if(t){var _=t.prefix,x=t.iconName,S=t.icon;return xt(s({type:"icon"},t),(function(){return _t(),E.autoA11y&&(d?b["aria-labelledby"]="".concat(E.replacementClass,"-title-").concat(h||K()):(b["aria-hidden"]="true",b.focusable="false")),rt({icons:{main:yt(S),mask:c?yt(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:x,transform:s({},Y,r),symbol:i,title:d,maskId:l,titleId:h,extra:{attributes:b,styles:w,classes:v}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:St(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:St(r||{})),kt(n,s({},e,{mask:r}))}),At=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?Y:n,o=e.title,i=void 0===o?null:o,a=e.classes,c=void 0===a?[]:a,l=e.attributes,f=void 0===l?{}:l,d=e.styles,p=void 0===d?{}:d;return xt({type:"text",content:t},(function(){return _t(),ot({content:t,transform:s({},Y,r),title:i,extra:{attributes:f,styles:p,classes:["".concat(E.familyPrefix,"-layers-text")].concat(u(c))}})}))}}).call(this,n("yLpj"),n("URgk").setImmediate)},"7pj7":function(t,e,n){var r;r=function(t){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.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get: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="/dist/",n(n.s=2)}([function(t,e){t.exports=function(t,e,n,r){var o,i=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(o=t,i=t.default);var s="function"==typeof i?i.options:i;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),r){var c=Object.create(s.computed||null);Object.keys(r).forEach((function(t){var e=r[t];c[t]=function(){return e}})),s.computed=c}return{esModule:o,exports:i,options:s}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(20),o=new(n.n(r).a)({name:"vue-notification"})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),o=n.n(r),i=n(1),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.installed){this.installed=!0,this.params=e,t.component(e.componentName||"notifications",o.a);var n=function(t){"string"==typeof t&&(t={title:"",text:t}),"object"===(void 0===t?"undefined":a(t))&&i.a.$emit("add",t)};n.close=function(t){i.a.$emit("close",t)};var r=e.name||"notify";t.prototype["$"+r]=n,t[r]=n}}};e.default=s},function(t,e,n){n(17);var r=n(0)(n(5),n(15),null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"CssGroup",props:["name"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=n(1),i=n(9),a=n(7),s=n(13),c=n.n(s),u=n(12),l=n.n(u),f=n(8),d=0,p=2,h={name:"Notifications",components:{VelocityGroup:c.a,CssGroup:l.a},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:function(){return a.a.position}},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css",validator:function(t){return"css"===t||"velocity"===t}},animation:{type:Object,default:function(){return a.a.velocityAnimation}},animationName:{type:String,default:a.a.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0}},data:function(){return{list:[],velocity:r.default.params.velocity}},mounted:function(){o.a.$on("add",this.addItem),o.a.$on("close",this.closeItem)},computed:{actualWidth:function(){return n.i(f.a)(this.width)},isVA:function(){return"velocity"===this.animationType},componentName:function(){return this.isVA?"VelocityGroup":"CssGroup"},styles:function(){var t,e,r,o=n.i(i.a)(this.position),a=o.x,s=o.y,c=this.actualWidth.value,u=this.actualWidth.type,l=(r="0px",(e=s)in(t={width:c+u})?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t);return"center"===a?l.left="calc(50% - "+c/2+u+")":l[a]="0px",l},active:function(){return this.list.filter((function(t){return t.state!==p}))},botToTop:function(){return this.styles.hasOwnProperty("bottom")}},methods:{destroyIfNecessary:function(t){this.closeOnClick&&this.destroy(t)},addItem:function(t){var e=this;if(t.group=t.group||"",this.group===t.group)if(t.clean||t.clear)this.destroyAll();else{var r="number"==typeof t.duration?t.duration:this.duration,o="number"==typeof t.speed?t.speed:this.speed,a="boolean"==typeof t.ignoreDuplicates?t.ignoreDuplicates:this.ignoreDuplicates,s=t.title,c=t.text,u=t.type,l=t.data,f={id:t.id||n.i(i.b)(),title:s,text:c,type:u,state:d,speed:o,length:r+2*o,data:l};r>=0&&(f.timer=setTimeout((function(){e.destroy(f)}),f.length));var p=this.reverse?!this.botToTop:this.botToTop,h=-1,m=this.active.some((function(e){return e.title===t.title&&e.text===t.text}));(!a||!m)&&(p?(this.list.push(f),this.active.length>this.max&&(h=0)):(this.list.unshift(f),this.active.length>this.max&&(h=this.active.length-1)),-1!==h&&this.destroy(this.active[h]))}},closeItem:function(t){this.destroyById(t)},notifyClass:function(t){return["vue-notification-template",this.classes,t.type]},notifyWrapperStyle:function(t){return this.isVA?null:{transition:"all "+t.speed+"ms"}},destroy:function(t){clearTimeout(t.timer),t.state=p,this.isVA||this.clean()},destroyById:function(t){var e=this.list.find((function(e){return e.id===t}));e&&this.destroy(e)},destroyAll:function(){this.active.forEach(this.destroy)},getAnimation:function(t,e){var n=this.animation[t];return"function"==typeof n?n.call(this,e):n},enter:function(t){var e=t.el,n=t.complete,r=this.getAnimation("enter",e);this.velocity(e,r,{duration:this.speed,complete:n})},leave:function(t){var e=t.el,n=t.complete,r=this.getAnimation("leave",e);this.velocity(e,r,{duration:this.speed,complete:n})},clean:function(){this.list=this.list.filter((function(t){return t.state!==p}))}}};e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"VelocityGroup",methods:{enter:function(t,e){this.$emit("enter",{el:t,complete:e})},leave:function(t,e){this.$emit("leave",{el:t,complete:e})},afterLeave:function(){this.$emit("afterLeave")}}}},function(t,e,n){"use strict";e.a={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:function(t){return{height:[t.clientHeight,0],opacity:[1,0]}},leave:{height:0,opacity:[0,1]}}}},function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=[{name:"px",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+px$")},{name:"%",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+%$")},{name:"px",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+$")}];e.a=function(t){switch(void 0===t?"undefined":r(t)){case"number":return{type:"px",value:t};case"string":return function(t){if("auto"===t)return{type:t,value:0};for(var e=0;e<o.length;e++){var n=o[e];if(n.regexp.test(t))return{type:n.name,value:parseFloat(t)}}return{type:"",value:t}}(t);default:return{type:"",value:t}}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a}));var r,o={x:["left","center","right"],y:["top","bottom"]},i=(r=0,function(){return r++}),a=function(t){"string"==typeof t&&(t=function(t){return"string"!=typeof t?[]:t.split(/\s+/gi).filter((function(t){return t}))}(t));var e=null,n=null;return t.forEach((function(t){-1!==o.y.indexOf(t)&&(n=t),-1!==o.x.indexOf(t)&&(e=t)})),{x:e,y:n}}},function(t,e,n){(t.exports=n(11)()).push([t.i,".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{background:#fff}.vue-notification,.vue-notification-template{display:block;box-sizing:border-box;text-align:left}.vue-notification{font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44a4fc;border-left:5px solid #187fe7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#e54d42;border-left-color:#b82e24}.vue-notification.success{background:#68cd86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter,.vn-fade-leave-to{opacity:0}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e,n){var r=n(0)(n(4),n(16),null,null);t.exports=r.exports},function(t,e,n){var r=n(0)(n(6),n(14),null,null);t.exports=r.exports},function(t,e){t.exports={render:function(){var t=this.$createElement;return(this._self._c||t)("transition-group",{attrs:{css:!1},on:{enter:this.enter,leave:this.leave,"after-leave":this.afterLeave}},[this._t("default")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-notification-group",style:t.styles},[n(t.componentName,{tag:"component",attrs:{name:t.animationName},on:{enter:t.enter,leave:t.leave,"after-leave":t.clean}},t._l(t.active,(function(e){return n("div",{key:e.id,staticClass:"vue-notification-wrapper",style:t.notifyWrapperStyle(e),attrs:{"data-id":e.id}},[t._t("body",[n("div",{class:t.notifyClass(e),on:{click:function(n){return t.destroyIfNecessary(e)}}},[e.title?n("div",{staticClass:"notification-title",domProps:{innerHTML:t._s(e.title)}}):t._e(),t._v(" "),n("div",{staticClass:"notification-content",domProps:{innerHTML:t._s(e.text)}})])],{item:e,close:function(){return t.destroy(e)}})],2)})),0)],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this.$createElement;return(this._self._c||t)("transition-group",{attrs:{name:this.name}},[this._t("default")],2)},staticRenderFns:[]}},function(t,e,n){var r=n(10);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(18)("2901aeae",r,!0)},function(t,e,n){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=n(19),i={},a=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function d(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(h(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(h(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function p(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function h(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(f){var o=c++;r=s||(s=p()),e=g.bind(null,r,o,!1),n=g.bind(null,r,o,!0)}else r=p(),e=b.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}t.exports=function(t,e,n){u=n;var r=o(t,e);return d(r),function(e){for(var n=[],a=0;a<r.length;a++){var s=r[a];(c=i[s.id]).refs--,n.push(c)}for(e?d(r=o(t,e)):r=[],a=0;a<n.length;a++){var c;if(0===(c=n[a]).refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}};var m,v=(m=[],function(t,e){return m[t]=e,m.filter(Boolean).join("\n")});function g(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=v(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function b(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},function(t,e){t.exports=function(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],s={id:t+":"+o,css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}},function(e,n){e.exports=t}])},t.exports=r(n("XuX8"))},"8oxB":function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&p())}function p(){if(!l){var t=s(d);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new h(t,e)),1!==u.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},LD3X:function(t,e,n){"use strict";var r=n("dTCG");n.n(r).a},URgk:function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},Uhxf:function(t,e){t.exports={en:{auth:{sign_out:"Sign out",sign_in:"Sign in",register:"Register",hello:"Hi {username} !",throttle:"Too many login attempts. Please try again in :seconds seconds.",already_authenticated:"Already authenticated",confirm:{logout:"Are you sure you want to log out?"},forms:{name:"Name",login:"Login",email:"Email",password:"Password",confirm_password:"Confirm password",confirm_new_password:"Confirm new password",dont_have_account_yet:"Don't have your account yet?",already_register:"Already registered?",password_do_not_match:"Password do not match",forgot_your_password:"Forgot your password?",request_password_reset:"Request a password reset",reset_password:"Reset password",no_reset_password_in_demo:"No reset in Demo mode",new_password:"New password",current_password:{label:"Current password",help:"Fill in your current password to confirm that it's you"},change_password:"Change password",send_password_reset_link:"Send password reset link",change_your_password:"Change your password",password_successfully_changed:"Password successfully changed ",edit_account:"Edit account",profile_saved:"Profile successfully updated!",welcome_to_demo_app_use_those_credentials:"Welcome to the 2FAuth demo.<br><br>You can connect using the email address <strong>demo@2fauth.app</strong> and the password <strong>demo</demo>"}},commons:{cancel:"Cancel",update:"Update",copy_to_clipboard:"Copy to clipboard",copied_to_clipboard:"Copied to clipboard",profile:"Profile",edit:"Edit",delete:"Delete",save:"Save",close:"Close",demo_do_not_post_sensitive_data:"This is a demo app, do not post any sensitive data",selected:"selected"},errors:{resource_not_found:"Resource not found",error_occured:"An error occured:",already_one_user_registered:"There is already a registered user.",cannot_register_more_user:"You cannot register more than one user.",refresh:"refresh",please:"Please ",response:{no_valid_otp:"No valid OTP resource in this QR code"},something_wrong_with_server:"Something is wrong with your server",Unable_to_decrypt_uri:"Unable to decrypt uri",wrong_current_password:"Wrong current password, nothing has changed"},languages:{en:"English",fr:"French"},pagination:{previous:"&laquo; Previous",next:"Next &raquo;"},passwords:{password:"Passwords must be at least eight characters and match the confirmation.",reset:"Your password has been reset!",sent:"We have e-mailed your password reset link!",token:"This password reset token is invalid.",user:"We can't find a user with that e-mail address."},settings:{settings:"Settings",account:"Account",password:"Password",options:"Options",confirm:[],general:"General",security:"Security",advanced:"Advanced",forms:{edit_settings:"Edit settings",setting_saved:"Settings saved",language:{label:"Language",help:"Change the language used to translate the app interface."},show_token_as_dot:{label:"Show generated tokens as dot",help:"Replace generated token caracters with *** to ensure confidentiality. Do not affect the copy/paste feature."},close_token_on_copy:{label:"Close token after copy",help:"Automatically close the popup showing the generated token after it has been copied"},use_basic_qrcode_reader:{label:"Use basic qrcode reader",help:"If you experiences issues when capturing qrCodes enables this option to switch to a more basic but more reliable qrcode reader"},display_mode:{label:"Display mode",help:"Choose whether you want accounts to be displayed as a list or as a grid"},grid:"Grid",list:"List",show_accounts_icons:{label:"Show icons",help:"Show icons accounts in the main view"},auto_lock:{label:"Auto lock",help:"Log out the user automatically in case of inactivity"},never:"Never",on_token_copy:"On security code copy","1_minutes":"After 1 minute","5_minutes":"After 5 minutes","10_minutes":"After 10 minutes","15_minutes":"After 15 minutes","30_minutes":"After 15 minutes","1_hour":"After 1 hour","1_day":"After 1 day"}},twofaccounts:{service:"Service",account:"Account",icon:"Icon",new:"New",no_account_here:"No 2FA here!",add_first_account:"Add your first account",use_full_form:"Or use the full form",add_one:"Add one",manage:"Manage",done:"Done",forms:{service:{placeholder:"example.com"},account:{placeholder:"John DOE"},new_account:"New account",edit_account:"Edit account",otp_uri:"OTP Uri",hotp_counter:"HOTP Counter",scan_qrcode:"Scan a qrcode",use_qrcode:{val:"Use a qrcode",title:"Use a QR code to fill the form magically"},unlock:{val:"Unlock",title:"Unlock it (at your own risk)"},lock:{val:"Lock",title:"Lock it"},choose_image:"Choose an image…",create:"Create",save:"Save",test:"Test"},stream:{need_grant_permission:"You need to grant camera access permission",not_readable:"Fail to load scanner. Is the camera already in use?",no_cam_on_device:"No camera on this device",secured_context_required:"Secure context required (HTTPS or localhost)",https_required:"HTTPS required for camera streaming",camera_not_suitable:"Installed cameras are not suitable",stream_api_not_supported:"Stream API is not supported in this browser"},confirm:{delete:"Are you sure you want to delete this account?",cancel:"The account will be lost. Are you sure?"}},validation:{accepted:"The :attribute must be accepted.",active_url:"The :attribute is not a valid URL.",after:"The :attribute must be a date after :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"The :attribute may only contain letters.",alpha_dash:"The :attribute may only contain letters, numbers, dashes and underscores.",alpha_num:"The :attribute may only contain letters and numbers.",array:"The :attribute must be an array.",before:"The :attribute must be a date before :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"The :attribute must be between :min and :max.",file:"The :attribute must be between :min and :max kilobytes.",string:"The :attribute must be between :min and :max characters.",array:"The :attribute must have between :min and :max items."},boolean:"The :attribute field must be true or false.",confirmed:"The :attribute confirmation does not match.",date:"The :attribute is not a valid date.",date_equals:"The :attribute must be a date equal to :date.",date_format:"The :attribute does not match the format :format.",different:"The :attribute and :other must be different.",digits:"The :attribute must be :digits digits.",digits_between:"The :attribute must be between :min and :max digits.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:"The :attribute must be a valid email address.",ends_with:"The :attribute must end with one of the following: :values",exists:"The selected :attribute is invalid.",file:"The :attribute must be a file.",filled:"The :attribute field must have a value.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},image:"The :attribute must be an image.",in:"The selected :attribute is invalid.",in_array:"The :attribute field does not exist in :other.",integer:"The :attribute must be an integer.",ip:"The :attribute must be a valid IP address.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"The :attribute must be a valid JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"The :attribute may not be greater than :max.",file:"The :attribute may not be greater than :max kilobytes.",string:"The :attribute may not be greater than :max characters.",array:"The :attribute may not have more than :max items."},mimes:"The :attribute must be a file of type: :values.",mimetypes:"The :attribute must be a file of type: :values.",min:{numeric:"The :attribute must be at least :min.",file:"The :attribute must be at least :min kilobytes.",string:"The :attribute must be at least :min characters.",array:"The :attribute must have at least :min items."},not_in:"The selected :attribute is invalid.",not_regex:"The :attribute format is invalid.",numeric:"The :attribute must be a number.",present:"The :attribute field must be present.",regex:"The :attribute format is invalid.",required:"The :attribute field is required.",required_if:"The :attribute field is required when :other is :value.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"The :attribute field is required when :values is present.",required_with_all:"The :attribute field is required when :values are present.",required_without:"The :attribute field is required when :values is not present.",required_without_all:"The :attribute field is required when none of :values are present.",same:"The :attribute and :other must match.",size:{numeric:"The :attribute must be :size.",file:"The :attribute must be :size kilobytes.",string:"The :attribute must be :size characters.",array:"The :attribute must contain :size items."},starts_with:"The :attribute must start with one of the following: :values",string:"The :attribute must be a string.",timezone:"The :attribute must be a valid zone.",unique:"The :attribute has already been taken.",uploaded:"The :attribute failed to upload.",url:"The :attribute format is invalid.",uuid:"The :attribute must be a valid UUID.",custom:{"attribute-name":{"rule-name":"custom-message"},icon:{image:"Supported format are jpeg, png, bmp, gif, svg, or webp"},qrcode:{image:"Supported format are jpeg, png, bmp, gif, svg, or webp"},uri:{starts_with:"Only valid OTP uri are supported"},email:{exists:"No account found using this email"}},attributes:[]}},fr:{auth:{sign_out:"Déconnexion",sign_in:"Se connecter",register:"Créer un compte",hello:"Hi {username} !",throttle:"Trop de tentatives de connexion. Veuillez réessayer dans :seconds secondes.",already_authenticated:"Déjà authentifié",confirm:{logout:"Etes-vous sûrs de vouloir vous déconnecter ?"},forms:{name:"Nom",login:"Connexion",email:"Email",password:"Mot de passe",confirm_password:"Confirmez le mot de passe",confirm_new_password:"Confirmez le nouveau mot de passe",dont_have_account_yet:"Pas encore de compte ?",already_register:"Déjà enregistré ?",password_do_not_match:"Le mot de passe ne correspond pas",forgot_your_password:"Mot de passe oublié ?",request_password_reset:"Réinitialiser le mot de passe",reset_password:"Mot de passe oublié",no_reset_password_in_demo:"Réinitialisation impossible en mode Démo",new_password:"Nouveau mot de passe",current_password:{label:"Mot de passe actuel",help:"Indiquez votre mot de passe actuel pour confirmer qu'il s'agit bien de vous"},change_password:"Modifier le mot de passe",send_password_reset_link:"Envoyer",change_your_password:"Modifier votre mot de passe",password_successfully_changed:"Mot de passe modifié avec succès",edit_account:"Mis à jour du profil",profile_saved:"Profil mis à jour avec succès !",welcome_to_demo_app_use_those_credentials:"bienvenue sur la démo de 2FAuth.<br><br>Vous pouvez vous connecter en utilisant l'adresse email <strong>demo@2fauth.app</strong> et le mot de passe <strong>demo</demo>"}},commons:{cancel:"Annuler",update:"Mettre à jour",copy_to_clipboard:"Copier",copied_to_clipboard:"Copié dans le presse-papier",profile:"Profil",edit:"Modifier",delete:"Supprimer",save:"Enregistrer",close:"Fermer",demo_do_not_post_sensitive_data:"Site de démonstration, ne postez aucune donnée sensible",selected:"selectionné(s)"},errors:{resource_not_found:"Ressource introuvable",error_occured:"Une erreur est survenue :",already_one_user_registered:"Un compte utilisateur existe déjà.",cannot_register_more_user:"Vous ne pouvez pas enregistrer plus d'un utilisateur.",refresh:"Actualiser",please:"",response:{no_valid_otp:"Aucune donnée OTP valide dans ce QR code"},something_wrong_with_server:"Il y a un problème avec votre serveur",Unable_to_decrypt_uri:"uri impossible à décoder",wrong_current_password:"Mot de passe actuel érroné, rien n\\a été modifié"},languages:{en:"Anglais",fr:"Français"},pagination:{previous:"&laquo; Précédent",next:"Suivant &raquo;"},passwords:{password:"Les mots de passe doivent contenir au moins huit caractères et être identiques.",reset:"Votre mot de passe a été réinitialisé !",sent:"Le lien pour réinitialiser votre mot de passe vient d'être envoyé !",token:"Ce jeton de réinitialisation n'est pas valide.",user:"Cette adresse email n'est pas celle de votre compte."},settings:{settings:"Réglages",account:"Compte",password:"Mot de passe",options:"Options",confirm:[],general:"General",security:"Sécurité",advanced:"Avancés",forms:{edit_settings:"Modifier les réglages",setting_saved:"Réglages sauvegardés",language:{label:"Langue",help:"Traduit l'application dans la langue choisie"},show_token_as_dot:{label:"Rendre illisibles les codes générés",help:"Remplace les caractères des codes générés par des ●●● pour garantir leur confidentialité. N'affecte pas la fonction de copier/coller qui reste utilisable."},close_token_on_copy:{label:"Ne plus afficher les codes copiés",help:"Ferme automatiquement le popup affichant le code généré dès que ce dernier a été copié."},use_basic_qrcode_reader:{label:"Utiliser le lecteur de qrcode basique",help:"Si vous rencontrez des problèmes lors de la lecture des qrCodes activez cette option pour utiliser un lecteur de qrcode moins évolué mais plus largement compatible"},display_mode:{label:"Mode d'affichage",help:"Change le mode d'affichage des comptes, soit sous forme de liste, soit sous forme de grille"},grid:"Grille",list:"Liste",show_accounts_icons:{label:"Afficher les icônes",help:"Affiche les icônes des comptes dans la vue principale"},auto_lock:{label:"Verouillage automatique",help:"Déconnecter automatiquement l'utilisateur en cas d'inactivité"},never:"Jamais",on_token_copy:"Après copie d'un code de sécurité","1_minutes":"Après 1 minute","5_minutes":"Après 5 minutes","10_minutes":"Après 10 minutes","15_minutes":"Après 15 minutes","30_minutes":"Après 15 minutes","1_hour":"Après 1 heure","1_day":"Après 1 journée"}},twofaccounts:{service:"Service",account:"Compte",icon:"Icône",new:"Nouveau",no_account_here:"Aucun compte 2FA !",add_first_account:"Ajouter votre premier compte",use_full_form:"Ou utiliser le formulaire détaillé",add_one:"Add one",manage:"Gérer",done:"Terminé",forms:{service:{placeholder:"example.com"},account:{placeholder:"Marc Dupont"},new_account:"Nouveau compte",edit_account:"Modifier le compte",otp_uri:"OTP Uri",hotp_counter:"Compteur HOTP",scan_qrcode:"Scanner un QR code",use_qrcode:{val:"Utiliser un QR code",title:"Utiliser un QR code pour renseigner le formulaire d'un seul coup d'un seul"},unlock:{val:"Déverouiller",title:"Déverouiller le champ (à vos risques et périls)"},lock:{val:"Vérouiller",title:"Vérouiller le champ"},choose_image:"Choisir une image…",create:"Créer",save:"Enregistrer",test:"Tester"},stream:{need_grant_permission:"Vous devez autoriser l'utilisation de votre caméra",not_readable:"Le scanner ne se charge pas. La caméra est-elle déjà utilisée ?",no_cam_on_device:"Votre équipement ne dispose pas de caméra",secured_context_required:"Contexte sécurisé requis (HTTPS ou localhost)",https_required:"HTTPS requis pour utiliser la caméra",camera_not_suitable:"Votre équipement ne dispose pas d'une caméra adaptée",stream_api_not_supported:"L'API Stream n'est pas supportée par votre navigateur"},confirm:{delete:"Etes-vous sûrs de vouloir supprimer le compte ?",cancel:"Les données seront perdues, êtes-vous sûrs ?"}},validation:{accepted:"Le champ :attribute doit être accepté.",active_url:"Le champ :attribute n'est pas une URL valide.",after:"Le champ :attribute doit être une date postérieure au :date.",after_or_equal:"Le champ :attribute doit être une date postérieure ou égale au :date.",alpha:"Le champ :attribute doit contenir uniquement des lettres.",alpha_dash:"Le champ :attribute doit contenir uniquement des lettres, des chiffres et des tirets.",alpha_num:"Le champ :attribute doit contenir uniquement des chiffres et des lettres.",array:"Le champ :attribute doit être un tableau.",before:"Le champ :attribute doit être une date antérieure au :date.",before_or_equal:"Le champ :attribute doit être une date antérieure ou égale au :date.",between:{numeric:"La valeur de :attribute doit être comprise entre :min et :max.",file:"La taille du fichier de :attribute doit être comprise entre :min et :max kilo-octets.",string:"Le texte :attribute doit contenir entre :min et :max caractères.",array:"Le tableau :attribute doit contenir entre :min et :max éléments."},boolean:"Le champ :attribute doit être vrai ou faux.",confirmed:"Le champ de confirmation :attribute ne correspond pas.",date:"Le champ :attribute n'est pas une date valide.",date_equals:"Le champ :attribute doit être une date égale à :date.",date_format:"Le champ :attribute ne correspond pas au format :format.",different:"Les champs :attribute et :other doivent être différents.",digits:"Le champ :attribute doit contenir :digits chiffres.",digits_between:"Le champ :attribute doit contenir entre :min et :max chiffres.",dimensions:"La taille de l'image :attribute n'est pas conforme.",distinct:"Le champ :attribute a une valeur en double.",email:"Le champ :attribute doit être une adresse email valide.",ends_with:"Le champ :attribute doit se terminer par une des valeurs suivantes : :values",exists:"Le champ :attribute sélectionné est invalide.",file:"Le champ :attribute doit être un fichier.",filled:"Le champ :attribute doit avoir une valeur.",gt:{numeric:"La valeur de :attribute doit être supérieure à :value.",file:"La taille du fichier de :attribute doit être supérieure à :value kilo-octets.",string:"Le texte :attribute doit contenir plus de :value caractères.",array:"Le tableau :attribute doit contenir plus de :value éléments."},gte:{numeric:"La valeur de :attribute doit être supérieure ou égale à :value.",file:"La taille du fichier de :attribute doit être supérieure ou égale à :value kilo-octets.",string:"Le texte :attribute doit contenir au moins :value caractères.",array:"Le tableau :attribute doit contenir au moins :value éléments."},image:"Le champ :attribute doit être une image.",in:"Le champ :attribute est invalide.",in_array:"Le champ :attribute n'existe pas dans :other.",integer:"Le champ :attribute doit être un entier.",ip:"Le champ :attribute doit être une adresse IP valide.",ipv4:"Le champ :attribute doit être une adresse IPv4 valide.",ipv6:"Le champ :attribute doit être une adresse IPv6 valide.",json:"Le champ :attribute doit être un document JSON valide.",lt:{numeric:"La valeur de :attribute doit être inférieure à :value.",file:"La taille du fichier de :attribute doit être inférieure à :value kilo-octets.",string:"Le texte :attribute doit contenir moins de :value caractères.",array:"Le tableau :attribute doit contenir moins de :value éléments."},lte:{numeric:"La valeur de :attribute doit être inférieure ou égale à :value.",file:"La taille du fichier de :attribute doit être inférieure ou égale à :value kilo-octets.",string:"Le texte :attribute doit contenir au plus :value caractères.",array:"Le tableau :attribute doit contenir au plus :value éléments."},max:{numeric:"La valeur de :attribute ne peut être supérieure à :max.",file:"La taille du fichier de :attribute ne peut pas dépasser :max kilo-octets.",string:"Le texte de :attribute ne peut contenir plus de :max caractères.",array:"Le tableau :attribute ne peut contenir plus de :max éléments."},mimes:"Le champ :attribute doit être un fichier de type : :values.",mimetypes:"Le champ :attribute doit être un fichier de type : :values.",min:{numeric:"La valeur de :attribute doit être supérieure ou égale à :min.",file:"La taille du fichier de :attribute doit être supérieure à :min kilo-octets.",string:"Le texte :attribute doit contenir au moins :min caractères.",array:"Le tableau :attribute doit contenir au moins :min éléments."},not_in:"Le champ :attribute sélectionné n'est pas valide.",not_regex:"Le format du champ :attribute n'est pas valide.",numeric:"Le champ :attribute doit contenir un nombre.",password:"Le mot de passe est incorrect",present:"Le champ :attribute doit être présent.",regex:"Le format du champ :attribute est invalide.",required:"Le champ :attribute est obligatoire.",required_if:"Le champ :attribute est obligatoire quand la valeur de :other est :value.",required_unless:"Le champ :attribute est obligatoire sauf si :other est :values.",required_with:"Le champ :attribute est obligatoire quand :values est présent.",required_with_all:"Le champ :attribute est obligatoire quand :values sont présents.",required_without:"Le champ :attribute est obligatoire quand :values n'est pas présent.",required_without_all:"Le champ :attribute est requis quand aucun de :values n'est présent.",same:"Les champs :attribute et :other doivent être identiques.",size:{numeric:"La valeur de :attribute doit être :size.",file:"La taille du fichier de :attribute doit être de :size kilo-octets.",string:"Le texte de :attribute doit contenir :size caractères.",array:"Le tableau :attribute doit contenir :size éléments."},starts_with:"Le champ :attribute doit commencer avec une des valeurs suivantes : :values",string:"Le champ :attribute doit être une chaîne de caractères.",timezone:"Le champ :attribute doit être un fuseau horaire valide.",unique:"La valeur du champ :attribute est déjà utilisée.",uploaded:"Le fichier du champ :attribute n'a pu être téléversé.",url:"Le format de l'URL de :attribute n'est pas valide.",uuid:"Le champ :attribute doit être un UUID valide",custom:{"attribute-name":{"rule-name":"custom-message"},icon:{image:"Les formats acceptés sont jpeg, png, bmp, gif, svg, or webp"},qrcode:{image:"Les formats acceptés sont jpeg, png, bmp, gif, svg, or webp"},uri:{starts_with:"La valeur n'est pas une uri OTP valide"},email:{exists:"Aucun compte utilisateur n'utilise cette email"}},attributes:[]}}}},YBdB:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,s,c=1,u={},l=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){h(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){h(t.data)},r=function(t){i.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[c]=o,r(c),c++},d.clearImmediate=p}function p(t){delete u[t]}function h(t){if(l)setTimeout(h,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{p(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n("yLpj"),n("8oxB"))},"aET+":function(t,e,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(t,e){return e?e.querySelector(t):document.querySelector(t)},c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=s.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),u=null,l=0,f=[],d=n("9tPo");function p(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],e))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],e));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=e.base?i[0]+e.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function m(t,e){var n=c(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=f[f.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),f.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=c(t.insertAt.before,n);n.insertBefore(e,o)}}function v(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=f.indexOf(t);e>=0&&f.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return b(e,t.attrs),m(t,e),e}function b(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function y(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var a=l++;n=u||(u=g(e)),r=x.bind(null,n,a,!1),o=x.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",b(e,t.attrs),m(t,e),e}(e),r=k.bind(null,n,e),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),r=S.bind(null,n),o=function(){v(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=h(t,e);return p(n,e),function(t){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}t&&p(h(t,e),e);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete i[s.id]}}}};var w,_=(w=[],function(t,e){return w[t]=e,w.filter(Boolean).join("\n")});function x(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function S(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function k(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},bRJq:function(t,e,n){"undefined"!=typeof self&&self,t.exports=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")}({"00ee":function(t,e,n){var r={};r[n("b622")("toStringTag")]="z",t.exports="[object z]"===String(r)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};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)}}},"0538":function(t,e,n){"use strict";var r=n("1c0b"),o=n("861d"),i=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(e,r.length,r):e.apply(t,r)};return o(e.prototype)&&(a.prototype=e.prototype),a}},"057f":function(t,e,n){var r=n("fc6a"),o=n("241c").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},"06c5":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n("a630"),n("fb6a"),n("b0c0"),n("d3b7"),n("25f0"),n("3ca3");var r=n("6b75");function o(t,e){if(t){if("string"==typeof t)return Object(r.a)(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)?Object(r.a)(t,e):void 0}}},"06cf":function(t,e,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),a=n("fc6a"),s=n("c04e"),c=n("5135"),u=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e,!0),u)try{return l(t,e)}catch(t){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),i=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d0e":function(t,e,n){"use strict";var r=(n("caad"),n("d3b7"),n("e6cf"),n("96cf"),n("1da1")),o=n("a180");function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n("4de4"),n("4160"),n("e260"),n("3ca3"),n("159b"),n("ddb0"),n("2b3d"),n("a4d3"),n("e439"),n("dbb4"),n("b64b"),n("e01a"),n("d28b");var c=n("06c5");function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(t,e)||Object(c.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=n("d4ec");function f(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)}}var d=n("1cc0"),p=n("f718"),h=n("c036"),m=(n("99af"),n("7db0"),n("fb6a"),n("45fc"),n("b0c0"),n("2532"),n("53ca")),v=(n("13d5"),n("4ec9"),n("cca6"),n("ac1f"),n("25f0"),n("8a79"),n("466d"),!0);function g(t,e,n){var r=t.match(e);return r&&r.length>=n&&parseInt(r[n],10)}function b(t){var e={browser:null,version:null};if(void 0===t||!t.navigator)return e.browser="Not a browser.",e;var n=t.navigator;if(n.mozGetUserMedia)e.browser="firefox",e.version=g(n.userAgent,/Firefox\/(\d+)\./,1);else if(n.webkitGetUserMedia||!1===t.isSecureContext&&t.webkitRTCPeerConnection&&!t.RTCIceGatherer)e.browser="chrome",e.version=g(n.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(n.mediaDevices&&n.userAgent.match(/Edge\/(\d+).(\d+)$/))e.browser="edge",e.version=g(n.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!t.RTCPeerConnection||!n.userAgent.match(/AppleWebKit\/(\d+)\./))return e.browser="Not a supported browser.",e;e.browser="safari",e.version=g(n.userAgent,/AppleWebKit\/(\d+)\./,1),e.supportsUnifiedPlan=t.RTCRtpTransceiver&&"currentDirection"in t.RTCRtpTransceiver.prototype}return e}function y(t){return"[object Object]"===Object.prototype.toString.call(t)}function w(t){return y(t)?Object.keys(t).reduce((function(e,n){var r=y(t[n]),o=r?w(t[n]):t[n],a=r&&!Object.keys(o).length;return void 0===o||a?e:Object.assign(e,i({},n,o))}),{}):t}var _=function(){if("object"===("undefined"==typeof window?"undefined":Object(m.a)(window))){if(v)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}};function x(t){var e=b(t),n=t&&t.navigator,r=t&&t.MediaStreamTrack;if(n.getUserMedia=function(t,e,r){(function(t,e){console.warn(t+" is deprecated, please use "+e+" instead.")})("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(t).then(e,r)},!(e.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){var o=function(t,e,n){e in t&&!(n in t)&&(t[n]=t[e],delete t[e])},i=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(t){return"object"===Object(m.a)(t)&&"object"===Object(m.a)(t.audio)&&(t=JSON.parse(JSON.stringify(t)),o(t.audio,"autoGainControl","mozAutoGainControl"),o(t.audio,"noiseSuppression","mozNoiseSuppression")),i(t)},r&&r.prototype.getSettings){var a=r.prototype.getSettings;r.prototype.getSettings=function(){var t=a.apply(this,arguments);return o(t,"mozAutoGainControl","autoGainControl"),o(t,"mozNoiseSuppression","noiseSuppression"),t}}if(r&&r.prototype.applyConstraints){var s=r.prototype.applyConstraints;r.prototype.applyConstraints=function(t){return"audio"===this.kind&&"object"===Object(m.a)(t)&&(t=JSON.parse(JSON.stringify(t)),o(t,"autoGainControl","mozAutoGainControl"),o(t,"noiseSuppression","mozNoiseSuppression")),s.apply(this,[t])}}}}function S(t){var e=t&&t.navigator;if(e.mediaDevices&&e.mediaDevices.getUserMedia){var n=e.mediaDevices,r=n.getUserMedia.bind(n);e.mediaDevices.getUserMedia=function(t){return r(function(t){return t&&void 0!==t.video?Object.assign({},t,{video:w(t.video)}):t}(t))}}!e.getUserMedia&&e.mediaDevices&&e.mediaDevices.getUserMedia&&(e.getUserMedia=function(t,n,r){e.mediaDevices.getUserMedia(t).then(n,r)}.bind(e))}n("c975"),n("a434");var k=function(t){var e=!1,n=void 0;return function(){return e||(n=t.apply(void 0,arguments),e=!0),n}}((function(){switch(b(window).browser){case"chrome":!function(t){var e=t&&t.navigator;if(e.mediaDevices){var n=b(t),r=function(t){if("object"!==Object(m.a)(t)||t.mandatory||t.optional)return t;var e={};return Object.keys(t).forEach((function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var r="object"===Object(m.a)(t[n])?t[n]:{ideal:t[n]};void 0!==r.exact&&"number"==typeof r.exact&&(r.min=r.max=r.exact);var o=function(t,e){return t?t+e.charAt(0).toUpperCase()+e.slice(1):"deviceId"===e?"sourceId":e};if(void 0!==r.ideal){e.optional=e.optional||[];var i={};"number"==typeof r.ideal?(i[o("min",n)]=r.ideal,e.optional.push(i),(i={})[o("max",n)]=r.ideal,e.optional.push(i)):(i[o("",n)]=r.ideal,e.optional.push(i))}void 0!==r.exact&&"number"!=typeof r.exact?(e.mandatory=e.mandatory||{},e.mandatory[o("",n)]=r.exact):["min","max"].forEach((function(t){void 0!==r[t]&&(e.mandatory=e.mandatory||{},e.mandatory[o(t,n)]=r[t])}))}})),t.advanced&&(e.optional=(e.optional||[]).concat(t.advanced)),e},o=function(t,o){if(n.version>=61)return o(t);if((t=JSON.parse(JSON.stringify(t)))&&"object"===Object(m.a)(t.audio)){var i=function(t,e,n){e in t&&!(n in t)&&(t[n]=t[e],delete t[e])};i((t=JSON.parse(JSON.stringify(t))).audio,"autoGainControl","googAutoGainControl"),i(t.audio,"noiseSuppression","googNoiseSuppression"),t.audio=r(t.audio)}if(t&&"object"===Object(m.a)(t.video)){var a=t.video.facingMode;a=a&&("object"===Object(m.a)(a)?a:{ideal:a});var s,c=n.version<66;if(a&&("user"===a.exact||"environment"===a.exact||"user"===a.ideal||"environment"===a.ideal)&&(!e.mediaDevices.getSupportedConstraints||!e.mediaDevices.getSupportedConstraints().facingMode||c)&&(delete t.video.facingMode,"environment"===a.exact||"environment"===a.ideal?s=["back","rear"]:"user"!==a.exact&&"user"!==a.ideal||(s=["front"]),s))return e.mediaDevices.enumerateDevices().then((function(e){var n=(e=e.filter((function(t){return"videoinput"===t.kind}))).find((function(t){return s.some((function(e){return t.label.toLowerCase().includes(e)}))}));return!n&&e.length&&s.includes("back")&&(n=e[e.length-1]),n&&(t.video.deviceId=a.exact?{exact:n.deviceId}:{ideal:n.deviceId}),t.video=r(t.video),_("chrome: "+JSON.stringify(t)),o(t)}));t.video=r(t.video)}return _("chrome: "+JSON.stringify(t)),o(t)},i=function(t){return n.version>=64?t:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[t.name]||t.name,message:t.message,constraint:t.constraint||t.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};if(e.getUserMedia=function(t,n,r){o(t,(function(t){e.webkitGetUserMedia(t,n,(function(t){r&&r(i(t))}))}))}.bind(e),e.mediaDevices.getUserMedia){var a=e.mediaDevices.getUserMedia.bind(e.mediaDevices);e.mediaDevices.getUserMedia=function(t){return o(t,(function(t){return a(t).then((function(e){if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach((function(t){t.stop()})),new DOMException("","NotFoundError");return e}),(function(t){return Promise.reject(i(t))}))}))}}}}(window);break;case"firefox":x(window);break;case"edge":!function(t){var e=t&&t.navigator,n=e.mediaDevices.getUserMedia.bind(e.mediaDevices);e.mediaDevices.getUserMedia=function(t){return n(t).catch((function(t){return Promise.reject(function(t){return{name:{PermissionDeniedError:"NotAllowedError"}[t.name]||t.name,message:t.message,constraint:t.constraint,toString:function(){return this.name}}}(t))}))}}(window);break;case"safari":S(window);break;default:throw new d.d}})),C=function(){function t(e,n){Object(l.a)(this,t),this.videoEl=e,this.stream=n}return function(t,e,n){e&&f(t.prototype,e),n&&f(t,n)}(t,[{key:"stop",value:function(){this.stream.getTracks().forEach((function(t){return t.stop()}))}},{key:"captureFrame",value:function(){return Object(p.c)(this.videoEl)}},{key:"getCapabilities",value:function(){var t,e,n=u(this.stream.getVideoTracks(),1)[0];return null!==(t=null==n||null===(e=n.getCapabilities)||void 0===e?void 0:e.call(n))&&void 0!==t?t:{}}}]),t}(),E=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,navigator.mediaDevices.enumerateDevices();case 2:if(!((n=t.sent.filter((function(t){return"videoinput"===t.kind}))).length>2)){t.next=15;break}r=n[0],o=n[n.length-1],t.t0=e,t.next="auto"===t.t0?9:"rear"===t.t0?10:"front"===t.t0?11:12;break;case 9:case 10:return t.abrupt("return",{deviceId:{exact:o.deviceId}});case 11:return t.abrupt("return",{deviceId:{exact:r.deviceId}});case 12:return t.abrupt("return",void 0);case 13:t.next=22;break;case 15:t.t1=e,t.next="auto"===t.t1?18:"rear"===t.t1?19:"front"===t.t1?20:21;break;case 18:return t.abrupt("return",{facingMode:{ideal:"environment"}});case 19:return t.abrupt("return",{facingMode:{exact:"environment"}});case 20:return t.abrupt("return",{facingMode:{exact:"user"}});case 21:return t.abrupt("return",void 0);case 22:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),O=function(t,e){return T.apply(this,arguments)};function T(){return(T=Object(r.a)(regeneratorRuntime.mark((function t(e,n){var r,o,i,a,c,l,f,p,m;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.camera,a=n.torch,!0===window.isSecureContext){t.next=3;break}throw new d.c;case 3:if(void 0!==(null===(r=navigator)||void 0===r||null===(o=r.mediaDevices)||void 0===o?void 0:o.getUserMedia)){t.next=5;break}throw new d.d;case 5:return t.next=7,k();case 7:return t.t0=s,t.t1={width:{min:360,ideal:640,max:1920},height:{min:240,ideal:480,max:1080}},t.next=11,E(i);case 11:return t.t2=t.sent,t.t3=(0,t.t0)(t.t1,t.t2),c={audio:!1,video:t.t3},t.next=16,navigator.mediaDevices.getUserMedia(c);case 16:return l=t.sent,void 0!==e.srcObject?e.srcObject=l:void 0!==e.mozSrcObject?e.mozSrcObject=l:window.URL.createObjectURL?e.src=window.URL.createObjectURL(l):window.webkitURL?e.src=window.webkitURL.createObjectURL(l):e.src=l,t.next=20,Object(h.a)(e,"loadeddata");case 20:return t.next=22,Object(h.b)(500);case 22:return a&&(f=l.getVideoTracks(),p=u(f,1),(m=p[0]).getCapabilities().torch?m.applyConstraints({advanced:[{torch:!0}]}):console.warn("device does not support torch capability")),t.abrupt("return",new C(e,l));case 24:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var A=n("b3af"),j=n("3c85"),L={name:"qrcode-stream",mixins:[A.a],props:{camera:{type:String,default:"auto",validator:function(t){return["auto","rear","front","off"].includes(t)}},torch:{type:Boolean,default:!1},track:{type:[Function,Boolean],default:!0},worker:{type:Function,default:j.a}},data:function(){return{cameraInstance:null,destroyed:!1,stopScanning:function(){}}},computed:{shouldStream:function(){return!1===this.destroyed&&"off"!==this.camera},shouldScan:function(){return!0===this.shouldStream&&null!==this.cameraInstance},scanInterval:function(){return!1===this.track?500:40},trackRepaintFunction:function(){return!0===this.track?function(t){var e=t.color;return function(t,n){var r=t.topLeftCorner,o=t.topRightCorner,i=t.bottomLeftCorner,a=t.bottomRightCorner;n.strokeStyle=e,n.beginPath(),n.moveTo(r.x,r.y),n.lineTo(i.x,i.y),n.lineTo(a.x,a.y),n.lineTo(o.x,o.y),n.lineTo(r.x,r.y),n.closePath(),n.stroke()}}({color:"#ff0000"}):!1===this.track?void 0:this.track}},watch:{shouldStream:function(t){if(!t){var e=this.cameraInstance.captureFrame();this.paintPauseFrame(e)}},shouldScan:function(t){t?(this.clearPauseFrame(),this.clearTrackingLayer(),this.startScanning()):this.stopScanning()},torch:function(){this.init()},camera:function(){this.init()}},mounted:function(){this.init()},beforeDestroy:function(){this.beforeResetCamera(),this.stopScanning(),this.destroyed=!0},methods:{init:function(){var t=this,e=Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.beforeResetCamera(),"off"!==t.camera){e.next=6;break}return t.cameraInstance=null,e.abrupt("return",{capabilities:{}});case 6:return e.next=8,O(t.$refs.video,{camera:t.camera,torch:t.torch});case 8:return t.cameraInstance=e.sent,n=t.cameraInstance.getCapabilities(),t.destroyed&&t.cameraInstance.stop(),e.abrupt("return",{capabilities:n});case 12:case"end":return e.stop()}}),e)})))();this.$emit("init",e)},startScanning:function(){var t=this;this.stopScanning=Object(o.a)(this.worker,this.cameraInstance,{detectHandler:function(e){t.onDetect(Promise.resolve(e))},locateHandler:this.onLocate,minDelay:this.scanInterval})},beforeResetCamera:function(){null!==this.cameraInstance&&(this.cameraInstance.stop(),this.cameraInstance=null)},onLocate:function(t){void 0===this.trackRepaintFunction||null===t?this.clearTrackingLayer():this.repaintTrackingLayer(t)},repaintTrackingLayer:function(t){var e=this,n=this.$refs.video,r=this.$refs.trackingLayer,o=r.getContext("2d"),i=n.offsetWidth,a=n.offsetHeight,s=n.videoWidth,c=n.videoHeight,u=Math.max(i/s,a/c),l=s*u,f=c*u,d=l/s,p=f/c,h=(i-l)/2,m=(a-f)/2,v={};for(var g in t)v[g]={x:Math.floor(t[g].x*d+h),y:Math.floor(t[g].y*p+m)};window.requestAnimationFrame((function(){r.width=i,r.height=a,e.trackRepaintFunction(v,o)}))},clearTrackingLayer:function(){var t=this.$refs.trackingLayer,e=t.getContext("2d");window.requestAnimationFrame((function(){e.clearRect(0,0,t.width,t.height)}))},paintPauseFrame:function(t){var e=this.$refs.pauseFrame,n=e.getContext("2d");window.requestAnimationFrame((function(){e.width=t.width,e.height=t.height,n.putImageData(t,0,0)}))},clearPauseFrame:function(){var t=this.$refs.pauseFrame,e=t.getContext("2d");window.requestAnimationFrame((function(){e.clearRect(0,0,t.width,t.height)}))}}},I=(n("f5ae"),n("2877")),P=Object(I.a)(L,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wrapper"},[n("video",{directives:[{name:"show",rawName:"v-show",value:t.shouldScan,expression:"shouldScan"}],ref:"video",staticClass:"camera",attrs:{autoplay:"",muted:"",playsinline:""},domProps:{muted:!0}}),n("canvas",{directives:[{name:"show",rawName:"v-show",value:!t.shouldScan,expression:"!shouldScan"}],ref:"pauseFrame",staticClass:"pause-frame"}),n("canvas",{ref:"trackingLayer",staticClass:"tracking-layer"}),n("div",{staticClass:"overlay"},[t._t("default")],2)])}),[],!1,null,"e0ba7c1e",null);e.a=P.exports},"0d3b":function(t,e,n){var r=n("d039"),o=n("b622"),i=n("c430"),a=o("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"131a":function(t,e,n){n("23e7")({target:"Object",stat:!0},{setPrototypeOf:n("d2bb")})},"13d5":function(t,e,n){"use strict";var r=n("23e7"),o=n("d58f").left,i=n("a640"),a=n("ae40"),s=i("reduce"),c=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!c},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,e,n){var r=n("c6b6"),o=n("9263");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"159b":function(t,e,n){var r=n("da84"),o=n("fdbc"),i=n("17c2"),a=n("9112");for(var s in o){var c=r[s],u=c&&c.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(t){u.forEach=i}}},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,o=n("a640"),i=n("ae40"),a=o("forEach"),s=i("forEach");t.exports=a&&s?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},"1cc0":function(t,e,n){"use strict";n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return h})),n.d(e,"d",(function(){return m})),n.d(e,"c",(function(){return v})),n("b0c0");var r=n("d4ec");function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}n("131a"),n("4ae1"),n("3410"),n("d3b7"),n("25f0");var c=n("53ca");function u(t,e){return!e||"object"!==Object(c.a)(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){var e=s();return function(){var n,r=a(t);if(e){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function f(t,e,n){return(f=s()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&o(i,n.prototype),i}).apply(null,arguments)}function d(t){var e="function"==typeof Map?new Map:void 0;return(d=function(t){if(null===t||!function(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return f(t,arguments,a(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,t)})(t)}n("e260"),n("4ec9"),n("3ca3"),n("ddb0"),n("c975");var p=function(t){i(n,t);var e=l(n);function n(){var t;return Object(r.a)(this,n),(t=e.call(this,"can't process cross-origin image")).name="DropImageFetchError",t}return n}(d(Error)),h=function(t){i(n,t);var e=l(n);function n(){var t;return Object(r.a)(this,n),(t=e.call(this,"drag-and-dropped file is not of type image and can't be decoded")).name="DropImageDecodeError",t}return n}(d(Error)),m=function(t){i(n,t);var e=l(n);function n(){var t;return Object(r.a)(this,n),(t=e.call(this,"this browser has no Stream API support")).name="StreamApiNotSupportedError",t}return n}(d(Error)),v=function(t){i(n,t);var e=l(n);function n(){var t;return Object(r.a)(this,n),(t=e.call(this,"camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.")).name="InsecureContextError",t}return n}(d(Error))},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d80":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"1da1":function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,c,"next",t)}function c(t){r(a,o,i,s,c,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return o})),n("d3b7"),n("e6cf")},"1dde":function(t,e,n){var r=n("d039"),o=n("b622"),i=n("2d00"),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("825a"),o=n("e95a"),i=n("50c4"),a=n("0366"),s=n("35a1"),c=n("9bdd"),u=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,f){var d,p,h,m,v,g,b,y=a(e,n,l?2:1);if(f)d=t;else{if("function"!=typeof(p=s(t)))throw TypeError("Target is not iterable");if(o(p)){for(h=0,m=i(t.length);m>h;h++)if((v=l?y(r(b=t[h])[0],b[1]):y(t[h]))&&v instanceof u)return v;return new u(!1)}d=p.call(t)}for(g=d.next;!(b=g.call(d)).done;)if("object"==typeof(v=c(d,y,b.value,l))&&v&&v instanceof u)return v;return new u(!1)}).stop=function(t){return new u(!0,t)}},"23cb":function(t,e,n){var r=n("a691"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},"23e7":function(t,e,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),a=n("6eeb"),s=n("ce4e"),c=n("e893"),u=n("94ca");t.exports=function(t,e){var n,l,f,d,p,h=t.target,m=t.global,v=t.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in e){if(d=e[l],f=t.noTargetGet?(p=o(n,l))&&p.value:n[l],!u(m?l:h+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),a(n,l,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),o=n("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"24fb":function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}(r),i=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},2532:function(t,e,n){"use strict";var r=n("23e7"),o=n("5a34"),i=n("1d80");r({target:"String",proto:!0,forced:!n("ab13")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),o=n("825a"),i=n("d039"),a=n("ad6d"),s="toString",c=RegExp.prototype,u=c[s],l=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=u.name!=s;(l||f)&&r(RegExp.prototype,s,(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in c)?a.call(t):n)}),{unsafe:!0})},2626:function(t,e,n){"use strict";var r=n("d066"),o=n("9bf2"),i=n("b622"),a=n("83ab"),s=i("species");t.exports=function(t){var e=r(t),n=o.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},2877:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("6b75");n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");var o=n("06c5");function i(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"2b3d":function(t,e,n){"use strict";n("3ca3");var r,o=n("23e7"),i=n("83ab"),a=n("0d3b"),s=n("da84"),c=n("37e8"),u=n("6eeb"),l=n("19aa"),f=n("5135"),d=n("60da"),p=n("4df4"),h=n("6547").codeAt,m=n("5fb2"),v=n("d44e"),g=n("9861"),b=n("69f3"),y=s.URL,w=g.URLSearchParams,_=g.getState,x=b.set,S=b.getterFor("URL"),k=Math.floor,C=Math.pow,E="Invalid scheme",O="Invalid host",T="Invalid port",A=/[A-Za-z]/,j=/[\d+-.A-Za-z]/,L=/\d/,I=/^(0x|0X)/,P=/^[0-7]+$/,D=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,$=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,R=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,q=/[\u0009\u000A\u000D]/g,U=function(t,e){var n,r,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return O;if(!(n=F(e.slice(1,-1))))return O;t.host=n}else if(K(t)){if(e=m(e),N.test(e))return O;if(null===(n=z(e)))return O;t.host=n}else{if($.test(e))return O;for(n="",r=p(e),o=0;o<r.length;o++)n+=Y(r[o],H);t.host=n}},z=function(t){var e,n,r,o,i,a,s,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(e=c.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(o=c[r]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=I.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?D:8==i?P:M).test(o))return t;a=parseInt(o,i)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=C(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*C(256,3-r);return s},F=function(t){var e,n,r,o,i,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,d=function(){return t.charAt(f)};if(":"==d()){if(":"!=t.charAt(1))return;f+=2,l=++u}for(;d();){if(8==u)return;if(":"!=d()){for(e=n=0;n<4&&M.test(d());)e=16*e+parseInt(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,u>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!L.test(d()))return;for(;L.test(d());){if(i=parseInt(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}c[u]=256*c[u]+o,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;c[u++]=e}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},B=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=k(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,o=0,i=0;i<8;i++)0!==t[i]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},H={},W=d({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),G=d({},W,{"#":1,"?":1,"{":1,"}":1}),V=d({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(t,e){var n=h(t,0);return n>32&&n<127&&!f(e,t)?t:encodeURIComponent(t)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},K=function(t){return f(X,t.scheme)},Q=function(t){return""!=t.username||""!=t.password},J=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},Z=function(t,e){var n;return 2==t.length&&A.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},tt=function(t){var e;return t.length>1&&Z(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},et=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&Z(e[0],!0)||e.pop()},nt=function(t){return"."===t||"%2e"===t.toLowerCase()},rt=function(t){return".."===(t=t.toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t},ot={},it={},at={},st={},ct={},ut={},lt={},ft={},dt={},pt={},ht={},mt={},vt={},gt={},bt={},yt={},wt={},_t={},xt={},St={},kt={},Ct=function(t,e,n,o){var i,a,s,c,u=n||ot,l=0,d="",h=!1,m=!1,v=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(R,"")),e=e.replace(q,""),i=p(e);l<=i.length;){switch(a=i[l],u){case ot:if(!a||!A.test(a)){if(n)return E;u=at;continue}d+=a.toLowerCase(),u=it;break;case it:if(a&&(j.test(a)||"+"==a||"-"==a||"."==a))d+=a.toLowerCase();else{if(":"!=a){if(n)return E;d="",u=at,l=0;continue}if(n&&(K(t)!=f(X,d)||"file"==d&&(Q(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=d,n)return void(K(t)&&X[t.scheme]==t.port&&(t.port=null));d="","file"==t.scheme?u=gt:K(t)&&o&&o.scheme==t.scheme?u=st:K(t)?u=ft:"/"==i[l+1]?(u=ct,l++):(t.cannotBeABaseURL=!0,t.path.push(""),u=xt)}break;case at:if(!o||o.cannotBeABaseURL&&"#"!=a)return E;if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,u=kt;break}u="file"==o.scheme?gt:ut;continue;case st:if("/"!=a||"/"!=i[l+1]){u=ut;continue}u=dt,l++;break;case ct:if("/"==a){u=pt;break}u=_t;continue;case ut:if(t.scheme=o.scheme,a==r)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&K(t))u=lt;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",u=St;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),u=_t;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",u=kt}break;case lt:if(!K(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,u=_t;continue}u=pt}else u=dt;break;case ft:if(u=dt,"/"!=a||"/"!=d.charAt(l+1))continue;l++;break;case dt:if("/"!=a&&"\\"!=a){u=pt;continue}break;case pt:if("@"==a){h&&(d="%40"+d),h=!0,s=p(d);for(var g=0;g<s.length;g++){var b=s[g];if(":"!=b||v){var y=Y(b,V);v?t.password+=y:t.username+=y}else v=!0}d=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&K(t)){if(h&&""==d)return"Invalid authority";l-=p(d).length+1,d="",u=ht}else d+=a;break;case ht:case mt:if(n&&"file"==t.scheme){u=yt;continue}if(":"!=a||m){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&K(t)){if(K(t)&&""==d)return O;if(n&&""==d&&(Q(t)||null!==t.port))return;if(c=U(t,d))return c;if(d="",u=wt,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),d+=a}else{if(""==d)return O;if(c=U(t,d))return c;if(d="",u=vt,n==mt)return}break;case vt:if(!L.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&K(t)||n){if(""!=d){var w=parseInt(d,10);if(w>65535)return T;t.port=K(t)&&w===X[t.scheme]?null:w,d=""}if(n)return;u=wt;continue}return T}d+=a;break;case gt:if(t.scheme="file","/"==a||"\\"==a)u=bt;else{if(!o||"file"!=o.scheme){u=_t;continue}if(a==r)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",u=St;else{if("#"!=a){tt(i.slice(l).join(""))||(t.host=o.host,t.path=o.path.slice(),et(t)),u=_t;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",u=kt}}break;case bt:if("/"==a||"\\"==a){u=yt;break}o&&"file"==o.scheme&&!tt(i.slice(l).join(""))&&(Z(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),u=_t;continue;case yt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Z(d))u=_t;else if(""==d){if(t.host="",n)return;u=wt}else{if(c=U(t,d))return c;if("localhost"==t.host&&(t.host=""),n)return;d="",u=wt}continue}d+=a;break;case wt:if(K(t)){if(u=_t,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=_t,"/"!=a))continue}else t.fragment="",u=kt;else t.query="",u=St;break;case _t:if(a==r||"/"==a||"\\"==a&&K(t)||!n&&("?"==a||"#"==a)){if(rt(d)?(et(t),"/"==a||"\\"==a&&K(t)||t.path.push("")):nt(d)?"/"==a||"\\"==a&&K(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&Z(d)&&(t.host&&(t.host=""),d=d.charAt(0)+":"),t.path.push(d)),d="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",u=St):"#"==a&&(t.fragment="",u=kt)}else d+=Y(a,G);break;case xt:"?"==a?(t.query="",u=St):"#"==a?(t.fragment="",u=kt):a!=r&&(t.path[0]+=Y(a,H));break;case St:n||"#"!=a?a!=r&&("'"==a&&K(t)?t.query+="%27":t.query+="#"==a?"%23":Y(a,H)):(t.fragment="",u=kt);break;case kt:a!=r&&(t.fragment+=Y(a,W))}l++}},Et=function(t){var e,n,r=l(this,Et,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),s=x(r,{type:"URL"});if(void 0!==o)if(o instanceof Et)e=S(o);else if(n=Ct(e={},String(o)))throw TypeError(n);if(n=Ct(s,a,null,e))throw TypeError(n);var c=s.searchParams=new w,u=_(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||null},i||(r.href=Tt.call(r),r.origin=At.call(r),r.protocol=jt.call(r),r.username=Lt.call(r),r.password=It.call(r),r.host=Pt.call(r),r.hostname=Dt.call(r),r.port=Mt.call(r),r.pathname=Nt.call(r),r.search=$t.call(r),r.searchParams=Rt.call(r),r.hash=qt.call(r))},Ot=Et.prototype,Tt=function(){var t=S(this),e=t.scheme,n=t.username,r=t.password,o=t.host,i=t.port,a=t.path,s=t.query,c=t.fragment,u=e+":";return null!==o?(u+="//",Q(t)&&(u+=n+(r?":"+r:"")+"@"),u+=B(o),null!==i&&(u+=":"+i)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},At=function(){var t=S(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&K(t)?e+"://"+B(t.host)+(null!==n?":"+n:""):"null"},jt=function(){return S(this).scheme+":"},Lt=function(){return S(this).username},It=function(){return S(this).password},Pt=function(){var t=S(this),e=t.host,n=t.port;return null===e?"":null===n?B(e):B(e)+":"+n},Dt=function(){var t=S(this).host;return null===t?"":B(t)},Mt=function(){var t=S(this).port;return null===t?"":String(t)},Nt=function(){var t=S(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},$t=function(){var t=S(this).query;return t?"?"+t:""},Rt=function(){return S(this).searchParams},qt=function(){var t=S(this).fragment;return t?"#"+t:""},Ut=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&c(Ot,{href:Ut(Tt,(function(t){var e=S(this),n=String(t),r=Ct(e,n);if(r)throw TypeError(r);_(e.searchParams).updateSearchParams(e.query)})),origin:Ut(At),protocol:Ut(jt,(function(t){var e=S(this);Ct(e,String(t)+":",ot)})),username:Ut(Lt,(function(t){var e=S(this),n=p(String(t));if(!J(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=Y(n[r],V)}})),password:Ut(It,(function(t){var e=S(this),n=p(String(t));if(!J(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=Y(n[r],V)}})),host:Ut(Pt,(function(t){var e=S(this);e.cannotBeABaseURL||Ct(e,String(t),ht)})),hostname:Ut(Dt,(function(t){var e=S(this);e.cannotBeABaseURL||Ct(e,String(t),mt)})),port:Ut(Mt,(function(t){var e=S(this);J(e)||(""==(t=String(t))?e.port=null:Ct(e,t,vt))})),pathname:Ut(Nt,(function(t){var e=S(this);e.cannotBeABaseURL||(e.path=[],Ct(e,t+"",wt))})),search:Ut($t,(function(t){var e=S(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",Ct(e,t,St)),_(e.searchParams).updateSearchParams(e.query)})),searchParams:Ut(Rt),hash:Ut(qt,(function(t){var e=S(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",Ct(e,t,kt)):e.fragment=null}))}),u(Ot,"toJSON",(function(){return Tt.call(this)}),{enumerable:!0}),u(Ot,"toString",(function(){return Tt.call(this)}),{enumerable:!0}),y){var zt=y.createObjectURL,Ft=y.revokeObjectURL;zt&&u(Et,"createObjectURL",(function(t){return zt.apply(y,arguments)})),Ft&&u(Et,"revokeObjectURL",(function(t){return Ft.apply(y,arguments)}))}v(Et,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Et})},"2ca0":function(t,e,n){"use strict";var r=n("23e7"),o=n("06cf").f,i=n("50c4"),a=n("5a34"),s=n("1d80"),c=n("ab13"),u=n("c430"),l="".startsWith,f=Math.min,d=c("startsWith");r({target:"String",proto:!0,forced:!(!u&&!d&&function(){var t=o(String.prototype,"startsWith");return t&&!t.writable}()||d)},{startsWith:function(t){var e=String(s(this));a(t);var n=i(f(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return l?l.call(e,r,n):e.slice(n,n+r.length)===r}})},"2cf4":function(t,e,n){var r,o,i,a=n("da84"),s=n("d039"),c=n("c6b6"),u=n("0366"),l=n("1be4"),f=n("cc12"),d=n("1cdc"),p=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,b=a.Dispatch,y=0,w={},_="onreadystatechange",x=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},S=function(t){return function(){x(t)}},k=function(t){x(t.data)},C=function(t){a.postMessage(t+"",p.protocol+"//"+p.host)};h&&m||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(y),y},m=function(t){delete w[t]},"process"==c(v)?r=function(t){v.nextTick(S(t))}:b&&b.now?r=function(t){b.now(S(t))}:g&&!d?(i=(o=new g).port2,o.port1.onmessage=k,r=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(C)||"file:"===p.protocol?r=_ in f("script")?function(t){l.appendChild(f("script"))[_]=function(){l.removeChild(this),x(t)}}:function(t){setTimeout(S(t),0)}:(r=C,a.addEventListener("message",k,!1))),t.exports={set:h,clear:m}},"2d00":function(t,e,n){var r,o,i=n("da84"),a=n("342f"),s=i.process,c=s&&s.versions,u=c&&c.v8;u?o=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},3410:function(t,e,n){var r=n("23e7"),o=n("d039"),i=n("7b0b"),a=n("e163"),s=n("e177");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),o=n("3f8c"),i=n("b622")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("825a"),a=n("df75");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),s=r.length,c=0;s>c;)o.f(t,n=r[c++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3c85":function(t,e,n){"use strict";n("e260"),n("d3b7"),n("ac1f"),n("25f0"),n("3ca3"),n("466d"),n("498a"),n("ddb0"),n("2b3d"),e.a=function(){return function(t){var e=t.toString().trim().match(/^function\s*\w*\s*\([\w\s,]*\)\s*{([\w\W]*?)}$/)[1];return new Worker(URL.createObjectURL(new Blob([e],{type:"text/javascript"})))}((function(){self.importScripts("https://cdn.jsdelivr.net/npm/jsqr@1.3.1/dist/jsQR.min.js"),self.addEventListener("message",(function(t){var e=t.data,n=jsQR(e.data,e.width,e.height),r=null,o=null;null!==n&&(r=n.data,o=n.location);var i={content:r,location:o,imageData:e};self.postMessage(i,[e.data.buffer])}))}))}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,o=n("69f3"),i=n("7dd0"),a="String Iterator",s=o.set,c=o.getterFor(a);i(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},4160:function(t,e,n){"use strict";var r=n("23e7"),o=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),o=n("c6b6"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),o=n("7c73"),i=n("9bf2"),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var r=n("861d"),o=n("c6b6"),i=n("b622")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},"45fc":function(t,e,n){"use strict";var r=n("23e7"),o=n("b727").some,i=n("a640"),a=n("ae40"),s=i("some"),c=a("some");r({target:"Array",proto:!0,forced:!s||!c},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"466d":function(t,e,n){"use strict";var r=n("d784"),o=n("825a"),i=n("50c4"),a=n("1d80"),s=n("8aa5"),c=n("14c3");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),u=String(this);if(!a.global)return c(a,u);var l=a.unicode;a.lastIndex=0;for(var f,d=[],p=0;null!==(f=c(a,u));){var h=String(f[0]);d[p]=h,""===h&&(a.lastIndex=s(u,i(a.lastIndex),l)),p++}return 0===p?null:d}]}))},4840:function(t,e,n){var r=n("825a"),o=n("1c0b"),i=n("b622")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},4930:function(t,e,n){var r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"498a":function(t,e,n){"use strict";var r=n("23e7"),o=n("58a8").trim;r({target:"String",proto:!0,forced:n("c8d2")("trim")},{trim:function(){return o(this)}})},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],s={id:t+":"+o,css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return h}));var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},f=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,n,o){u=n,f=o||{};var a=r(t,e);return m(a),function(e){for(var n=[],o=0;o<a.length;o++){var s=a[o],c=i[s.id];c.refs--,n.push(c)}for(e?m(a=r(t,e)):a=[],o=0;o<n.length;o++)if(0===(c=n[o]).refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(g(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(g(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function v(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function g(t){var e,n,r=document.querySelector("style["+d+'~="'+t.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(p){var o=c++;r=s||(s=v()),e=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=v(),e=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function w(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),f.ssrId&&t.setAttribute(d,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"4ae1":function(t,e,n){var r=n("23e7"),o=n("d066"),i=n("1c0b"),a=n("825a"),s=n("861d"),c=n("7c73"),u=n("0538"),l=n("d039"),f=o("Reflect","construct"),d=l((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),p=!l((function(){f((function(){}))})),h=d||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(p&&!d)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var o=n.prototype,l=c(s(o)?o:Object.prototype),h=Function.apply.call(t,l,e);return s(h)?h:l}})},"4d64":function(t,e,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),a=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),o=n("b727").filter,i=n("1dde"),a=n("ae40"),s=i("filter"),c=a("filter");r({target:"Array",proto:!0,forced:!s||!c},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),o=n("7b0b"),i=n("9bdd"),a=n("e95a"),s=n("50c4"),c=n("8418"),u=n("35a1");t.exports=function(t){var e,n,l,f,d,p,h=o(t),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,b=void 0!==g,y=u(h),w=0;if(b&&(g=r(g,v>2?arguments[2]:void 0,2)),null==y||m==Array&&a(y))for(n=new m(e=s(h.length));e>w;w++)p=b?g(h[w],w):h[w],c(n,w,p);else for(d=(f=y.call(h)).next,n=new m;!(l=d.call(f)).done;w++)p=b?i(f,g,[l.value,w],!0):l.value,c(n,w,p);return n.length=w,n}},"4ec9":function(t,e,n){"use strict";var r=n("6d61"),o=n("6566");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},"50c4":function(t,e,n){var r=n("a691"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"53ca":function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r})),n("a4d3"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0")},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),o=n("241c"),i=n("7418"),a=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),o="["+n("5899")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},"5a34":function(t,e,n){var r=n("44e7");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5c0b":function(t,e,n){"use strict";var r=(n("4160"),n("d81d"),n("159b"),n("96cf"),n("1da1")),o=n("2909"),i=n("a180"),a=n("f718"),s=n("b3af"),c=n("3c85"),u={name:"qrcode-capture",mixins:[s.a],props:{worker:{type:Function,default:c.a}},methods:{onChangeInput:function(t){Object(o.a)(t.target.files).map(this.processFile).forEach(this.onDetect)},processFile:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(a.a)(t);case 2:return r=n.sent,n.next=5,Object(i.b)(e.worker,r);case 5:return o=n.sent,n.abrupt("return",o);case 7:case"end":return n.stop()}}),n)})))()}}},l=n("2877"),f=Object(l.a)(u,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{attrs:{type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},on:{change:t.onChangeInput}})}),[],!1,null,null,null);e.a=f.exports},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5fb2":function(t,e,n){"use strict";var r=2147483647,o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",s=Math.floor,c=String.fromCharCode,u=function(t){return t+22+75*(t<26)},l=function(t,e,n){var r=0;for(t=n?s(t/700):t>>1,t+=s(t/e);t>455;r+=36)t=s(t/35);return s(r+36*t/(t+38))},f=function(t){var e,n,o=[],i=(t=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=t.charCodeAt(n++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),n--)}else e.push(o)}return e}(t)).length,f=128,d=0,p=72;for(e=0;e<t.length;e++)(n=t[e])<128&&o.push(c(n));var h=o.length,m=h;for(h&&o.push("-");m<i;){var v=r;for(e=0;e<t.length;e++)(n=t[e])>=f&&n<v&&(v=n);var g=m+1;if(v-f>s((r-d)/g))throw RangeError(a);for(d+=(v-f)*g,f=v,e=0;e<t.length;e++){if((n=t[e])<f&&++d>r)throw RangeError(a);if(n==f){for(var b=d,y=36;;y+=36){var w=y<=p?1:y>=p+26?26:y-p;if(b<w)break;var _=b-w,x=36-w;o.push(c(u(w+_%x))),b=s(_/x)}o.push(c(u(b))),p=l(d,g,m==h),d=0,++m}}++d,++f}return o.join("")};t.exports=function(t){var e,n,r=[],a=t.toLowerCase().replace(i,".").split(".");for(e=0;e<a.length;e++)n=a[e],r.push(o.test(n)?"xn--"+f(n):n);return r.join(".")}},"60da":function(t,e,n){"use strict";var r=n("83ab"),o=n("d039"),i=n("df75"),a=n("7418"),s=n("d1e7"),c=n("7b0b"),u=n("44ad"),l=Object.assign,f=Object.defineProperty;t.exports=!l||o((function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||i(l({},e)).join("")!=o}))?function(t,e){for(var n=c(t),o=arguments.length,l=1,f=a.f,d=s.f;o>l;)for(var p,h=u(arguments[l++]),m=f?i(h).concat(f(h)):i(h),v=m.length,g=0;v>g;)p=m[g++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:l},6547:function(t,e,n){var r=n("a691"),o=n("1d80"),i=function(t){return function(e,n){var i,a,s=String(o(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},6566:function(t,e,n){"use strict";var r=n("9bf2").f,o=n("7c73"),i=n("e2cc"),a=n("0366"),s=n("19aa"),c=n("2266"),u=n("7dd0"),l=n("2626"),f=n("83ab"),d=n("f183").fastKey,p=n("69f3"),h=p.set,m=p.getterFor;t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){s(t,l,e),h(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=r&&c(r,t[u],t,n)})),p=m(e),v=function(t,e,n){var r,o,i=p(t),a=g(t,e);return a?a.value=n:(i.last=a={index:o=d(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},g=function(t,e){var n,r=p(t),o=d(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(l.prototype,{clear:function(){for(var t=p(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=this,n=p(e),r=g(e,t);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),f?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=p(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(l.prototype,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return v(this,0===t?0:t,e)}}:{add:function(t){return v(this,t=0===t?0:t,t)}}),f&&r(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",o=m(e),i=m(r);u(t,e,(function(t,e){h(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(e)}}},"65f0":function(t,e,n){var r=n("861d"),o=n("e8b5"),i=n("b622")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,o,i,a=n("7f9a"),s=n("da84"),c=n("861d"),u=n("9112"),l=n("5135"),f=n("f772"),d=n("d012"),p=s.WeakMap;if(a){var h=new p,m=h.get,v=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},o=function(t){return m.call(h,t)||{}},i=function(t){return v.call(h,t)}}else{var b=f("state");d[b]=!0,r=function(t,e){return u(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"6b75":function(t,e,n){"use strict";function r(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}n.d(e,"a",(function(){return r}))},"6d61":function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("94ca"),a=n("6eeb"),s=n("f183"),c=n("2266"),u=n("19aa"),l=n("861d"),f=n("d039"),d=n("1c7e"),p=n("d44e"),h=n("7156");t.exports=function(t,e,n){var m=-1!==t.indexOf("Map"),v=-1!==t.indexOf("Weak"),g=m?"set":"add",b=o[t],y=b&&b.prototype,w=b,_={},x=function(t){var e=y[t];a(y,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof b||!(v||y.forEach&&!f((function(){(new b).entries().next()})))))w=n.getConstructor(e,t,m,g),s.REQUIRED=!0;else if(i(t,!0)){var S=new w,k=S[g](v?{}:-0,1)!=S,C=f((function(){S.has(1)})),E=d((function(t){new b(t)})),O=!v&&f((function(){for(var t=new b,e=5;e--;)t[g](e,e);return!t.has(-0)}));E||((w=e((function(e,n){u(e,w,t);var r=h(new b,e,w);return null!=n&&c(n,r[g],r,m),r}))).prototype=y,y.constructor=w),(C||O)&&(x("delete"),x("has"),m&&x("get")),(O||k)&&x(g),v&&y.clear&&delete y.clear}return _[t]=w,r({global:!0,forced:w!=b},_),p(w,t),v||n.setStrong(w,t,m),w}},"6eeb":function(t,e,n){var r=n("da84"),o=n("9112"),i=n("5135"),a=n("ce4e"),s=n("8925"),c=n("69f3"),u=c.get,l=c.enforce,f=String(String).split("String");(t.exports=function(t,e,n,s){var c=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),l(n).source=f.join("string"==typeof e?e:"")),t!==r?(c?!d&&t[e]&&(u=!0):delete t[e],u?t[e]=n:o(t,e,n)):u?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7156:function(t,e,n){var r=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),o=n("5135"),i=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,o=n("825a"),i=n("37e8"),a=n("7839"),s=n("d012"),c=n("1be4"),u=n("cc12"),l=n("f772"),f="prototype",d="script",p=l("IE_PROTO"),h=function(){},m=function(t){return"<script>"+t+"</"+d+">"},v=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}v=r?function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):function(){var t,e=u("iframe");return e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F}();for(var t=a.length;t--;)delete v[f][a[t]];return v()};s[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h[f]=o(t),n=new h,h[f]=null,n[p]=t):n=v(),void 0===e?n:i(n,e)}},"7db0":function(t,e,n){"use strict";var r=n("23e7"),o=n("b727").find,i=n("44d2"),a=n("ae40"),s="find",c=!0,u=a(s);s in[]&&Array(1)[s]((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(s)},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),o=n("9ed3"),i=n("e163"),a=n("d2bb"),s=n("d44e"),c=n("9112"),u=n("6eeb"),l=n("b622"),f=n("c430"),d=n("3f8c"),p=n("ae93"),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=l("iterator"),g="keys",b="values",y="entries",w=function(){return this};t.exports=function(t,e,n,l,p,_,x){o(n,e,l);var S,k,C,E=function(t){if(t===p&&L)return L;if(!m&&t in A)return A[t];switch(t){case g:case b:case y:return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",T=!1,A=t.prototype,j=A[v]||A["@@iterator"]||p&&A[p],L=!m&&j||E(p),I="Array"==e&&A.entries||j;if(I&&(S=i(I.call(new t)),h!==Object.prototype&&S.next&&(f||i(S)===h||(a?a(S,h):"function"!=typeof S[v]&&c(S,v,w)),s(S,O,!0,!0),f&&(d[O]=w))),p==b&&j&&j.name!==b&&(T=!0,L=function(){return j.call(this)}),f&&!x||A[v]===L||c(A,v,L),d[e]=L,p)if(k={values:E(b),keys:_?L:E(g),entries:E(y)},x)for(C in k)(m||T||!(C in A))&&u(A,C,k[C]);else r({target:e,proto:!0,forced:m||T},k);return k}},"7f9a":function(t,e,n){var r=n("da84"),o=n("8925"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("c04e"),o=n("9bf2"),i=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},"861d":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8875:function(t,e,n){var r,o,i;"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){return function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(t){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(t.stack)||/@([^@]*):(\d+):(\d+)\s*$/gi.exec(t.stack),a=i&&i[1]||!1,s=i&&i[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");a===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var l=0;l<u.length;l++){if("interactive"===u[l].readyState)return u[l];if(u[l].src===a)return u[l];if(a===c&&u[l].innerHTML&&u[l].innerHTML.trim()===o)return u[l]}return null}}})?r.apply(e,o):r)||(t.exports=i)},8925:function(t,e,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"8a79":function(t,e,n){"use strict";var r=n("23e7"),o=n("06cf").f,i=n("50c4"),a=n("5a34"),s=n("1d80"),c=n("ab13"),u=n("c430"),l="".endsWith,f=Math.min,d=c("endsWith");r({target:"String",proto:!0,forced:!(!u&&!d&&function(){var t=o(String.prototype,"endsWith");return t&&!t.writable}()||d)},{endsWith:function(t){var e=String(s(this));a(t);var n=arguments.length>1?arguments[1]:void 0,r=i(e.length),o=void 0===n?r:f(i(n),r),c=String(t);return l?l.call(e,c,o):e.slice(o-c.length,o)===c}})},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r=n("ad6d"),o=n("9f7f"),i=RegExp.prototype.exec,a=String.prototype.replace,s=i,c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=o.UNSUPPORTED_Y||o.BROKEN_CARET,l=void 0!==/()??/.exec("")[1];(c||l||u)&&(s=function(t){var e,n,o,s,f=this,d=u&&f.sticky,p=r.call(f),h=f.source,m=0,v=t;return d&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),v=String(t).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==t[f.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",p)),l&&(n=new RegExp("^"+h+"$(?!\\s)",p)),c&&(e=f.lastIndex),o=i.call(d?n:f,v),d?o?(o.input=o.input.slice(m),o[0]=o[0].slice(m),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:c&&o&&(f.lastIndex=f.global?o.index+o[0].length:e),l&&o&&o.length>1&&a.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o}),t.exports=s},"94ca":function(t,e,n){var r=n("d039"),o=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==u||n!=c&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=u(t,e,n);if("normal"===c.type){if(r=n.done?d:"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",f="executing",d="completed",p={};function h(){}function m(){}function v(){}var g={};g[i]=function(){return this};var b=Object.getPrototypeOf,y=b&&b(b(O([])));y&&y!==n&&r.call(y,i)&&(g=y);var w=v.prototype=h.prototype=Object.create(g);function _(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function x(t,e){function n(o,i,a,s){var c=u(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=u(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,p):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:e,done:!0}}return m.prototype=w.constructor=v,v.constructor=m,v[s]=m.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},_(x.prototype),x.prototype[a]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new x(c(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(w),w[s]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=O,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},9861:function(t,e,n){"use strict";n("e260");var r=n("23e7"),o=n("d066"),i=n("0d3b"),a=n("6eeb"),s=n("e2cc"),c=n("d44e"),u=n("9ed3"),l=n("69f3"),f=n("19aa"),d=n("5135"),p=n("0366"),h=n("f5df"),m=n("825a"),v=n("861d"),g=n("7c73"),b=n("5c6c"),y=n("9a1f"),w=n("35a1"),_=n("b622"),x=o("fetch"),S=o("Headers"),k=_("iterator"),C="URLSearchParams",E=C+"Iterator",O=l.set,T=l.getterFor(C),A=l.getterFor(E),j=/\+/g,L=Array(4),I=function(t){return L[t-1]||(L[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},P=function(t){try{return decodeURIComponent(t)}catch(e){return t}},D=function(t){var e=t.replace(j," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(I(n--),P);return e}},M=/[!'()~]|%20/g,N={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$=function(t){return N[t]},R=function(t){return encodeURIComponent(t).replace(M,$)},q=function(t,e){if(e)for(var n,r,o=e.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),t.push({key:D(r.shift()),value:D(r.join("="))}))},U=function(t){this.entries.length=0,q(this.entries,t)},z=function(t,e){if(t<e)throw TypeError("Not enough arguments")},F=u((function(t,e){O(this,{type:E,iterator:y(T(t).entries),kind:e})}),"Iterator",(function(){var t=A(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),B=function(){f(this,B,C);var t,e,n,r,o,i,a,s,c,u=arguments.length>0?arguments[0]:void 0,l=this,p=[];if(O(l,{type:C,entries:p,updateURL:function(){},updateSearchParams:U}),void 0!==u)if(v(u))if("function"==typeof(t=w(u)))for(n=(e=t.call(u)).next;!(r=n.call(e)).done;){if((a=(i=(o=y(m(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(c in u)d(u,c)&&p.push({key:c,value:u[c]+""});else q(p,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},H=B.prototype;s(H,{append:function(t,e){z(arguments.length,2);var n=T(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){z(arguments.length,1);for(var e=T(this),n=e.entries,r=t+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;e.updateURL()},get:function(t){z(arguments.length,1);for(var e=T(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){z(arguments.length,1);for(var e=T(this).entries,n=t+"",r=[],o=0;o<e.length;o++)e[o].key===n&&r.push(e[o].value);return r},has:function(t){z(arguments.length,1);for(var e=T(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){z(arguments.length,1);for(var n,r=T(this),o=r.entries,i=!1,a=t+"",s=e+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=T(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(t=i[n],e=0;e<n;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){for(var e,n=T(this).entries,r=p(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new F(this,"keys")},values:function(){return new F(this,"values")},entries:function(){return new F(this,"entries")}},{enumerable:!0}),a(H,k,H.entries),a(H,"toString",(function(){for(var t,e=T(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(R(t.key)+"="+R(t.value));return n.join("&")}),{enumerable:!0}),c(B,C),r({global:!0,forced:!i},{URLSearchParams:B}),i||"function"!=typeof x||"function"!=typeof S||r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,o=[t];return arguments.length>1&&(v(e=arguments[1])&&(n=e.body,h(n)===C&&((r=e.headers?new S(e.headers):new S).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=g(e,{body:b(0,String(n)),headers:b(0,r)}))),o.push(e)),x.apply(this,o)}}),t.exports={URLSearchParams:B,getState:T}},"99af":function(t,e,n){"use strict";var r=n("23e7"),o=n("d039"),i=n("e8b5"),a=n("861d"),s=n("7b0b"),c=n("50c4"),u=n("8418"),l=n("65f0"),f=n("1dde"),d=n("b622"),p=n("2d00"),h=d("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=p>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),b=f("concat"),y=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!g||!b},{concat:function(t){var e,n,r,o,i,a=s(this),f=l(a,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(y(i=-1===e?a:arguments[e])){if(d+(o=c(i.length))>m)throw TypeError(v);for(n=0;n<o;n++,d++)n in i&&u(f,d,i[n])}else{if(d>=m)throw TypeError(v);u(f,d++,i)}return f.length=d,f}})},"9a1f":function(t,e,n){var r=n("825a"),o=n("35a1");t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},"9bdd":function(t,e,n){var r=n("825a");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),a=n("c04e"),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,o=n("7c73"),i=n("5c6c"),a=n("d44e"),s=n("3f8c"),c=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,u,!1,!0),s[u]=c,t}},"9f7f":function(t,e,n){"use strict";var r=n("d039");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a180:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return s})),n("96cf");var r=n("1da1"),o=n("c036");function i(t,e){return a.apply(this,arguments)}function a(){return(a=Object(r.a)(regeneratorRuntime.mark((function t(e,n){var r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new e).postMessage(n,[n.data.buffer]),t.next=4,Object(o.a)(r,"message");case 4:return i=t.sent,r.terminate(),t.abrupt("return",i.data);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function s(t,e,n){var r=n.detectHandler,o=n.locateHandler,i=n.minDelay,a=null,s=null,c=performance.now(),u=new t,l=!1,f=!0;return u.onmessage=function(t){l=!1;var e=t.data,n=e.content,i=e.location;null!==n&&n!==a&&r(t.data),i!==s&&o(i),a=n||a,s=i},function t(n){if(f){if(window.requestAnimationFrame(t),n-c>=i&&(c=n,!1===l)){l=!0;var r=e.captureFrame();u.postMessage(r,[r.data.buffer])}}else u.terminate()}(),function(){f=!1}}},a434:function(t,e,n){"use strict";var r=n("23e7"),o=n("23cb"),i=n("a691"),a=n("50c4"),s=n("7b0b"),c=n("65f0"),u=n("8418"),l=n("1dde"),f=n("ae40"),d=l("splice"),p=f("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,m=Math.min,v=9007199254740991,g="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!d||!p},{splice:function(t,e){var n,r,l,f,d,p,b=s(this),y=a(b.length),w=o(t,y),_=arguments.length;if(0===_?n=r=0:1===_?(n=0,r=y-w):(n=_-2,r=m(h(i(e),0),y-w)),y+n-r>v)throw TypeError(g);for(l=c(b,r),f=0;f<r;f++)(d=w+f)in b&&u(l,f,b[d]);if(l.length=r,n<r){for(f=w;f<y-r;f++)p=f+n,(d=f+r)in b?b[p]=b[d]:delete b[p];for(f=y;f>y-r+n;f--)delete b[f-1]}else if(n>r)for(f=y-r;f>w;f--)p=f+n-1,(d=f+r-1)in b?b[p]=b[d]:delete b[p];for(f=0;f<n;f++)b[f+w]=arguments[f+2];return b.length=y-r+n,l}})},a4d3:function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d066"),a=n("c430"),s=n("83ab"),c=n("4930"),u=n("fdbf"),l=n("d039"),f=n("5135"),d=n("e8b5"),p=n("861d"),h=n("825a"),m=n("7b0b"),v=n("fc6a"),g=n("c04e"),b=n("5c6c"),y=n("7c73"),w=n("df75"),_=n("241c"),x=n("057f"),S=n("7418"),k=n("06cf"),C=n("9bf2"),E=n("d1e7"),O=n("9112"),T=n("6eeb"),A=n("5692"),j=n("f772"),L=n("d012"),I=n("90e3"),P=n("b622"),D=n("e538"),M=n("746f"),N=n("d44e"),$=n("69f3"),R=n("b727").forEach,q=j("hidden"),U="Symbol",z="prototype",F=P("toPrimitive"),B=$.set,H=$.getterFor(U),W=Object[z],G=o.Symbol,V=i("JSON","stringify"),Y=k.f,X=C.f,K=x.f,Q=E.f,J=A("symbols"),Z=A("op-symbols"),tt=A("string-to-symbol-registry"),et=A("symbol-to-string-registry"),nt=A("wks"),rt=o.QObject,ot=!rt||!rt[z]||!rt[z].findChild,it=s&&l((function(){return 7!=y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y(W,e);r&&delete W[e],X(t,e,n),r&&t!==W&&X(W,e,r)}:X,at=function(t,e){var n=J[t]=y(G[z]);return B(n,{type:U,tag:t,description:e}),s||(n.description=e),n},st=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof G},ct=function(t,e,n){t===W&&ct(Z,e,n),h(t);var r=g(e,!0);return h(n),f(J,r)?(n.enumerable?(f(t,q)&&t[q][r]&&(t[q][r]=!1),n=y(n,{enumerable:b(0,!1)})):(f(t,q)||X(t,q,b(1,{})),t[q][r]=!0),it(t,r,n)):X(t,r,n)},ut=function(t,e){h(t);var n=v(e),r=w(n).concat(pt(n));return R(r,(function(e){s&&!lt.call(n,e)||ct(t,e,n[e])})),t},lt=function(t){var e=g(t,!0),n=Q.call(this,e);return!(this===W&&f(J,e)&&!f(Z,e))&&(!(n||!f(this,e)||!f(J,e)||f(this,q)&&this[q][e])||n)},ft=function(t,e){var n=v(t),r=g(e,!0);if(n!==W||!f(J,r)||f(Z,r)){var o=Y(n,r);return!o||!f(J,r)||f(n,q)&&n[q][r]||(o.enumerable=!0),o}},dt=function(t){var e=K(v(t)),n=[];return R(e,(function(t){f(J,t)||f(L,t)||n.push(t)})),n},pt=function(t){var e=t===W,n=K(e?Z:v(t)),r=[];return R(n,(function(t){!f(J,t)||e&&!f(W,t)||r.push(J[t])})),r};c||(T((G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=I(t),n=function(t){this===W&&n.call(Z,t),f(this,q)&&f(this[q],e)&&(this[q][e]=!1),it(this,e,b(1,t))};return s&&ot&&it(W,e,{configurable:!0,set:n}),at(e,t)})[z],"toString",(function(){return H(this).tag})),T(G,"withoutSetter",(function(t){return at(I(t),t)})),E.f=lt,C.f=ct,k.f=ft,_.f=x.f=dt,S.f=pt,D.f=function(t){return at(P(t),t)},s&&(X(G[z],"description",{configurable:!0,get:function(){return H(this).description}}),a||T(W,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:G}),R(w(nt),(function(t){M(t)})),r({target:U,stat:!0,forced:!c},{for:function(t){var e=String(t);if(f(tt,e))return tt[e];var n=G(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!st(t))throw TypeError(t+" is not a symbol");if(f(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?y(t):ut(y(t),e)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt,getOwnPropertySymbols:pt}),r({target:"Object",stat:!0,forced:l((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(m(t))}}),V&&r({target:"JSON",stat:!0,forced:!c||l((function(){var t=G();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!st(t))return d(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!st(e))return e}),o[1]=e,V.apply(null,o)}}),G[z][F]||O(G[z],F,G[z].valueOf),N(G,U),L[q]=!0},a630:function(t,e,n){var r=n("23e7"),o=n("4df4");r({target:"Array",stat:!0,forced:!n("1c7e")((function(t){Array.from(t)}))},{from:o})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},ab13:function(t,e,n){var r=n("b622")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,n){var r=n("83ab"),o=n("d039"),i=n("5135"),a=Object.defineProperty,s={},c=function(t){throw t};t.exports=function(t,e){if(i(s,t))return s[t];e||(e={});var n=[][t],u=!!i(e,"ACCESSORS")&&e.ACCESSORS,l=i(e,0)?e[0]:c,f=i(e,1)?e[1]:void 0;return s[t]=!!n&&!o((function(){if(u&&!r)return!0;var t={length:-1};u?a(t,1,{enumerable:!0,get:c}):t[1]=1,n.call(t,l,f)}))}},ae93:function(t,e,n){"use strict";var r,o,i,a=n("e163"),s=n("9112"),c=n("5135"),u=n("b622"),l=n("c430"),f=u("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):d=!0),null==r&&(r={}),l||c(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},b041:function(t,e,n){"use strict";var r=n("00ee"),o=n("f5df");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),o=n("9bf2").f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,c="name";r&&!(c in i)&&o(i,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},b3af:function(t,e,n){"use strict";n("96cf");var r=n("1da1"),o={methods:{onDetect:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.$emit("detect",t),n.prev=1,n.next=4,t;case 4:r=n.sent,null!==(o=r.content)&&e.$emit("decode",o),n.next=11;break;case 9:n.prev=9,n.t0=n.catch(1);case 11:case"end":return n.stop()}}),n,null,[[1,9]])})))()}}},i=n("2877"),a=Object(i.a)(o,void 0,void 0,!1,null,null,null);e.a=a.exports},b575:function(t,e,n){var r,o,i,a,s,c,u,l,f=n("da84"),d=n("06cf").f,p=n("c6b6"),h=n("2cf4").set,m=n("1cdc"),v=f.MutationObserver||f.WebKitMutationObserver,g=f.process,b=f.Promise,y="process"==p(g),w=d(f,"queueMicrotask"),_=w&&w.value;_||(r=function(){var t,e;for(y&&(t=g.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},y?a=function(){g.nextTick(r)}:v&&!m?(s=!0,c=document.createTextNode(""),new v(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):b&&b.resolve?(u=b.resolve(void 0),l=u.then,a=function(){l.call(u,r)}):a=function(){h.call(f,r)}),t.exports=_||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),i=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),u=o("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||a;t.exports=function(t){return i(u,t)||(s&&i(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},b635:function(t,e,n){"use strict";(function(t){n.d(e,"e",(function(){return a}));var r=n("0d0e");n.d(e,"c",(function(){return r.a}));var o=n("5c0b");n.d(e,"a",(function(){return o.a}));var i=n("fe6b");function a(t){t.component("qrcode-stream",r.a),t.component("qrcode-capture",o.a),t.component("qrcode-drop-zone",i.a)}n.d(e,"b",(function(){return i.a}));var s={install:a};e.d=s;var c=null;"undefined"!=typeof window?c=window.Vue:void 0!==t&&(c=t.Vue),c&&c.use(s)}).call(this,n("c8ba"))},b64b:function(t,e,n){var r=n("23e7"),o=n("7b0b"),i=n("df75");r({target:"Object",stat:!0,forced:n("d039")((function(){i(1)}))},{keys:function(t){return i(o(t))}})},b727:function(t,e,n){var r=n("0366"),o=n("44ad"),i=n("7b0b"),a=n("50c4"),s=n("65f0"),c=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,l=4==t,f=6==t,d=5==t||f;return function(p,h,m,v){for(var g,b,y=i(p),w=o(y),_=r(h,m,3),x=a(w.length),S=0,k=v||s,C=e?k(p,x):n?k(p,0):void 0;x>S;S++)if((d||S in w)&&(b=_(g=w[S],S,y),t))if(e)C[S]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return S;case 2:c.call(C,g)}else if(l)return!1;return f?-1:u||l?l:C}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},bb2f:function(t,e,n){var r=n("d039");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bf91:function(t,e,n){var r=n("dab3");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("88730a62",r,!0,{sourceMap:!1,shadowMode:!1})},c036:function(t,e,n){"use strict";function r(t,e,n){var r,o;void 0===n&&(n="error");var i=new Promise((function(t,e){r=t,o=e}));return t.addEventListener(e,r),t.addEventListener(n,o),i.finally((function(){t.removeEventListener(e,r),t.removeEventListener(n,o)})),i}function o(t){return new Promise((function(e){return setTimeout(e,t)}))}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}))},c04e:function(t,e,n){var r=n("861d");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")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},c8d2:function(t,e,n){var r=n("d039"),o=n("5899");t.exports=function(t){return r((function(){return!!o[t]()||"…"!="…"[t]()||o[t].name!==t}))}},c975:function(t,e,n){"use strict";var r=n("23e7"),o=n("4d64").indexOf,i=n("a640"),a=n("ae40"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!u||!l},{indexOf:function(t){return c?s.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},ca84:function(t,e,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,a=n("d012");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},caad:function(t,e,n){"use strict";var r=n("23e7"),o=n("4d64").includes,i=n("44d2");r({target:"Array",proto:!0,forced:!n("ae40")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},cca6:function(t,e,n){var r=n("23e7"),o=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(t,e,n){var r=n("825a"),o=n("861d"),i=n("f069");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),o=n("9112");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},d066:function(t,e,n){var r=n("428f"),o=n("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){n("746f")("iterator")},d2bb:function(t,e,n){var r=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,o=n("5135"),i=n("b622")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},d4ec:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},d58f:function(t,e,n){var r=n("1c0b"),o=n("7b0b"),i=n("44ad"),a=n("50c4"),s=function(t){return function(e,n,s,c){r(n);var u=o(e),l=i(u),f=a(u.length),d=t?f-1:0,p=t?-1:1;if(s<2)for(;;){if(d in l){c=l[d],d+=p;break}if(d+=p,t?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;t?d>=0:f>d;d+=p)d in l&&(c=n(c,l[d],d,u));return c}};t.exports={left:s(!1),right:s(!0)}},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("d039"),i=n("b622"),a=n("9263"),s=n("9112"),c=i("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),d=!!/./[f]&&""===/./[f]("a","$0"),p=!o((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,f){var h=i(t),m=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),v=m&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!m||!v||"replace"===t&&(!u||!l||d)||"split"===t&&!p){var g=/./[h],b=n(h,""[t],(function(t,e,n,r,o){return e.exec===a?m&&!o?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),y=b[0],w=b[1];r(String.prototype,t,y),r(RegExp.prototype,h,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}f&&s(RegExp.prototype[h],"sham",!0)}},d81d:function(t,e,n){"use strict";var r=n("23e7"),o=n("b727").map,i=n("1dde"),a=n("ae40"),s=i("map"),c=a("map");r({target:"Array",proto:!0,forced:!s||!c},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("c8ba"))},dab3:function(t,e,n){(e=n("24fb")(!1)).push([t.i,".wrapper[data-v-e0ba7c1e]{position:relative;z-index:0;width:100%;height:100%}.overlay[data-v-e0ba7c1e],.tracking-layer[data-v-e0ba7c1e]{position:absolute;width:100%;height:100%;top:0;left:0}.camera[data-v-e0ba7c1e],.pause-frame[data-v-e0ba7c1e]{display:block;-o-object-fit:cover;object-fit:cover;width:100%;height:100%}",""]),t.exports=e},dbb4:function(t,e,n){var r=n("23e7"),o=n("83ab"),i=n("56ef"),a=n("fc6a"),s=n("06cf"),c=n("8418");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=s.f,u=i(r),l={},f=0;u.length>f;)void 0!==(n=o(r,e=u[f++]))&&c(l,e,n);return l}})},ddb0:function(t,e,n){var r=n("da84"),o=n("fdbc"),i=n("e260"),a=n("9112"),s=n("b622"),c=s("iterator"),u=s("toStringTag"),l=i.values;for(var f in o){var d=r[f],p=d&&d.prototype;if(p){if(p[c]!==l)try{a(p,c,l)}catch(t){p[c]=l}if(p[u]||a(p,u,f),o[f])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(t){p[h]=i[h]}}}},df75:function(t,e,n){var r=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return r(t,o)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),o=n("83ab"),i=n("da84"),a=n("5135"),s=n("861d"),c=n("9bf2").f,u=n("e893"),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new l(t):void 0===t?l():l(t);return""===t&&(f[e]=!0),e};u(d,l);var p=d.prototype=l.prototype;p.constructor=d;var h=p.toString,m="Symbol(test)"==String(l("test")),v=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=h.call(t);if(a(f,t))return"";var n=m?e.slice(7,-1):e.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},e163:function(t,e,n){var r=n("5135"),o=n("7b0b"),i=n("f772"),a=n("e177"),s=i("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),o=n("44d2"),i=n("3f8c"),a=n("69f3"),s=n("7dd0"),c="Array Iterator",u=a.set,l=a.getterFor(c);t.exports=s(Array,"Array",(function(t,e){u(this,{type:c,target:r(t),index:0,kind:e})}),(function(){var t=l(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},e439:function(t,e,n){var r=n("23e7"),o=n("d039"),i=n("fc6a"),a=n("06cf").f,s=n("83ab"),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},e6cf:function(t,e,n){"use strict";var r,o,i,a,s=n("23e7"),c=n("c430"),u=n("da84"),l=n("d066"),f=n("fea9"),d=n("6eeb"),p=n("e2cc"),h=n("d44e"),m=n("2626"),v=n("861d"),g=n("1c0b"),b=n("19aa"),y=n("c6b6"),w=n("8925"),_=n("2266"),x=n("1c7e"),S=n("4840"),k=n("2cf4").set,C=n("b575"),E=n("cdf9"),O=n("44de"),T=n("f069"),A=n("e667"),j=n("69f3"),L=n("94ca"),I=n("b622"),P=n("2d00"),D=I("species"),M="Promise",N=j.get,$=j.set,R=j.getterFor(M),q=f,U=u.TypeError,z=u.document,F=u.process,B=l("fetch"),H=T.f,W=H,G="process"==y(F),V=!!(z&&z.createEvent&&u.dispatchEvent),Y="unhandledrejection",X=L(M,(function(){if(w(q)===String(q)){if(66===P)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!q.prototype.finally)return!0;if(P>=51&&/native code/.test(q))return!1;var t=q.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[D]=e,!(t.then((function(){}))instanceof e)})),K=X||!x((function(t){q.all(t).catch((function(){}))})),Q=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;C((function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var s,c,u,l=r[a++],f=i?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{f?(i||(2===e.rejection&&nt(t,e),e.rejection=1),!0===f?s=o:(h&&h.enter(),s=f(o),h&&(h.exit(),u=!0)),s===l.promise?p(U("Promise-chain cycle")):(c=Q(s))?c.call(s,d,p):d(s)):p(o)}catch(t){h&&!u&&h.exit(),p(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&tt(t,e)}))}},Z=function(t,e,n){var r,o;V?((r=z.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},(o=u["on"+t])?o(r):t===Y&&O("Unhandled promise rejection",n)},tt=function(t,e){k.call(u,(function(){var n,r=e.value;if(et(e)&&(n=A((function(){G?F.emit("unhandledRejection",r,t):Z(Y,t,r)})),e.rejection=G||et(e)?2:1,n.error))throw n.value}))},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,e){k.call(u,(function(){G?F.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},rt=function(t,e,n,r){return function(o){t(e,n,o,r)}},ot=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},it=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw U("Promise can't be resolved itself");var o=Q(n);o?C((function(){var r={done:!1};try{o.call(n,rt(it,t,r,e),rt(ot,t,r,e))}catch(n){ot(t,r,n,e)}})):(e.value=n,e.state=1,J(t,e,!1))}catch(n){ot(t,{done:!1},n,e)}}};X&&(q=function(t){b(this,q,M),g(t),r.call(this);var e=N(this);try{t(rt(it,this,e),rt(ot,this,e))}catch(t){ot(this,e,t)}},(r=function(t){$(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(q.prototype,{then:function(t,e){var n=R(this),r=H(S(this,q));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=G?F.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=N(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(ot,t,e)},T.f=H=function(t){return t===q||t===i?new o(t):W(t)},c||"function"!=typeof f||(a=f.prototype.then,d(f.prototype,"then",(function(t,e){var n=this;return new q((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof B&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return E(q,B.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:X},{Promise:q}),h(q,M,!1,!0),m(M),i=l(M),s({target:M,stat:!0,forced:X},{reject:function(t){var e=H(this);return e.reject.call(void 0,t),e.promise}}),s({target:M,stat:!0,forced:c||X},{resolve:function(t){return E(c&&this===i?q:this,t)}}),s({target:M,stat:!0,forced:K},{all:function(t){var e=this,n=H(e),r=n.resolve,o=n.reject,i=A((function(){var n=g(e.resolve),i=[],a=0,s=1;_(t,(function(t){var c=a++,u=!1;i.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,i[c]=t,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=H(e),r=n.reject,o=A((function(){var o=g(e.resolve);_(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=o(e),s=a.f,c=i.f,u=0;u<n.length;u++){var l=n[u];r(t,l)||s(t,l,c(e,l))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e95a:function(t,e,n){var r=n("b622"),o=n("3f8c"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},f069:function(t,e,n){"use strict";var r=n("1c0b"),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},f183:function(t,e,n){var r=n("d012"),o=n("861d"),i=n("5135"),a=n("9bf2").f,s=n("90e3"),c=n("bb2f"),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},d=function(t){a(t,u,{value:{objectID:"O"+ ++l,weakData:{}}})},p=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,u)){if(!f(t))return"F";if(!e)return"E";d(t)}return t[u].objectID},getWeakData:function(t,e){if(!i(t,u)){if(!f(t))return!0;if(!e)return!1;d(t)}return t[u].weakData},onFreeze:function(t){return c&&p.REQUIRED&&f(t)&&!i(t,u)&&d(t),t}};r[u]=!0},f5ae:function(t,e,n){"use strict";var r=n("bf91");n.n(r).a},f5df:function(t,e,n){var r=n("00ee"),o=n("c6b6"),i=n("b622")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},f718:function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return p})),n("caad"),n("2532"),n("2ca0"),n("96cf");var r=n("1da1"),o=n("1cc0"),i=n("c036"),a=document.createElement("canvas"),s=a.getContext("2d");function c(t,e,n){var r=Math.min(1,a.width/e,a.height/n),o=r*e,i=r*n;return s.drawImage(t,0,0,o,i),s.getImageData(0,0,o,i)}function u(t){return c(t,t.naturalWidth,t.naturalHeight)}function l(t){return c(t,t.videoWidth,t.videoHeight)}function f(t){return d.apply(this,arguments)}function d(){return(d=Object(r.a)(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.startsWith("http")||!1!==e.includes(location.host)){t.next=2;break}throw new o.b;case 2:return(n=document.createElement("img")).src=e,t.next=6,Object(i.a)(n,"load");case 6:return t.abrupt("return",u(n));case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function p(t){return h.apply(this,arguments)}function h(){return(h=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!/image.*/.test(e.type)){t.next=10;break}return(n=new FileReader).readAsDataURL(e),t.next=5,Object(i.a)(n,"load");case 5:return r=t.sent,a=r.target.result,t.abrupt("return",f(a));case 10:throw new o.a;case 11:case"end":return t.stop()}}),t)})))).apply(this,arguments)}a.width=1920,a.height=1080},f772:function(t,e,n){var r=n("5692"),o=n("90e3"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),n.d(e,"install",(function(){return a.e})),n.d(e,"QrcodeStream",(function(){return a.c})),n.d(e,"QrcodeCapture",(function(){return a.a})),n.d(e,"QrcodeDropZone",(function(){return a.b})),"undefined"!=typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var a=n("b635");e.default=a.d},fb6a:function(t,e,n){"use strict";var r=n("23e7"),o=n("861d"),i=n("e8b5"),a=n("23cb"),s=n("50c4"),c=n("fc6a"),u=n("8418"),l=n("b622"),f=n("1dde"),d=n("ae40"),p=f("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=l("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(t,e){var n,r,l,f=c(this),d=s(f.length),p=a(t,d),h=a(void 0===e?d:e,d);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(f,p,h);for(r=new(void 0===n?Array:n)(g(h-p,0)),l=0;p<h;p++,l++)p in f&&u(r,l,f[p]);return r.length=l,r}})},fc6a:function(t,e,n){var r=n("44ad"),o=n("1d80");t.exports=function(t){return r(o(t))}},fdbc:function(t,e){t.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(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fe6b:function(t,e,n){"use strict";var r=(n("4160"),n("159b"),n("96cf"),n("1da1")),o=n("2909"),i=n("a180"),a=n("f718"),s=n("b3af"),c=n("3c85"),u={name:"qrcode-drop-zone",mixins:[s.a],props:{worker:{type:Function,default:c.a}},methods:{onDragOver:function(t){this.$emit("dragover",t)},onDrop:function(t){var e=this,n=t.dataTransfer;this.onDragOver(!1);var r=Object(o.a)(n.files),i=n.getData("text/uri-list");r.forEach((function(t){e.onDetect(e.processFile(t))})),""!==i&&this.onDetect(this.processUrl(i))},processFile:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(a.a)(t);case 2:return r=n.sent,n.next=5,Object(i.b)(e.worker,r);case 5:return o=n.sent,n.abrupt("return",o);case 7:case"end":return n.stop()}}),n)})))()},processUrl:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(a.b)(t);case 2:return r=n.sent,n.next=5,Object(i.b)(e.worker,r);case 5:return o=n.sent,n.abrupt("return",o);case 7:case"end":return n.stop()}}),n)})))()}}},l=n("2877"),f=Object(l.a)(u,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{on:{drop:function(e){return e.preventDefault(),e.stopPropagation(),t.onDrop(e)},dragenter:function(e){return e.preventDefault(),e.stopPropagation(),t.onDragOver(!0)},dragleave:function(e){return e.preventDefault(),e.stopPropagation(),t.onDragOver(!1)},dragover:function(t){t.preventDefault(),t.stopPropagation()}}},[t._t("default")],2)}),[],!1,null,null,null);e.a=f.exports},fea9:function(t,e,n){var r=n("da84");t.exports=r.Promise}})},bUC5:function(t,e,n){"use strict";n.r(e);var r=n("XuX8"),o=n.n(r),i=n("o0o1"),a=n.n(i);function s(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}o.a.mixin({data:function(){return{appVersion:window.appVersion}},methods:{appLogout:function(t){var e,n=this;return(e=a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.axios.get("api/logout");case 2:localStorage.removeItem("jwt"),localStorage.removeItem("user"),delete n.axios.defaults.headers.common.Authorization,n.$router.push({name:"login"});case 6:case"end":return t.stop()}}),t)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(t){s(i,r,o,a,c,"next",t)}function c(t){s(i,r,o,a,c,"throw",t)}a(void 0)}))})()}}});var c=n("jE9Z");function u(t,e,n,r,o,i,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var l=u({name:"Modal",props:{value:Boolean},computed:{isActive:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{closeModal:function(t){t&&(this.isActive=!1,this.$notify({clean:!0}),this.$parent.$emit("modalClose"))}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal modal-otp",class:{"is-active":t.isActive}},[n("div",{staticClass:"modal-background",on:{click:function(e){return e.stopPropagation(),t.closeModal(e)}}}),t._v(" "),n("div",{staticClass:"modal-content"},[n("section",{staticClass:"section"},[n("div",{staticClass:"columns is-centered"},[n("div",{staticClass:"column is-three-quarters"},[n("div",{staticClass:"box has-text-centered has-background-black-ter is-shadowless"},[t._t("default")],2)])])])]),t._v(" "),n("div",{staticClass:"fullscreen-footer"},[n("label",{staticClass:"button is-dark is-rounded",on:{click:function(e){return e.stopPropagation(),t.closeModal(e)}}},[t._v("\n "+t._s(t.$t("commons.close"))+"\n ")])])])}),[],!1,null,null,null).exports;function f(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}var d=u({data:function(){return{id:null,internal_service:"",internal_account:"",internal_uri:"",next_uri:"",internal_icon:"",type:"",otp:"",timerID:null,position:null,counter:null}},props:{service:"",account:"",uri:"",icon:""},computed:{displayedOtp:function(){return this.$root.appSettings.showTokenAsDot?this.otp.replace(/[0-9]/g,"●"):this.otp}},mounted:function(){this.showAccount()},methods:{showAccount:function(t){var e,n=this;return(e=a.a.mark((function e(){var r,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.id=t,!n.id&&!n.uri){e.next=26;break}if(!n.id){e.next=13;break}return e.next=5,n.axios.get("api/twofaccounts/"+n.id);case 5:r=e.sent,o=r.data,n.internal_service=o.service,n.internal_account=o.account,n.internal_icon=o.icon,n.type=o.type,e.next=18;break;case 13:n.internal_service=n.service,n.internal_account=n.account,n.internal_icon=n.icon,n.internal_uri=n.uri,n.type="otpauth://totp/"===n.internal_uri.slice(0,15)?"totp":"hotp";case 18:if("totp"!==n.type){e.next=23;break}return e.next=21,n.getTOTP();case 21:e.next=25;break;case 23:return e.next=25,n.getHOTP();case 25:n.$parent.isActive=!0;case 26:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(t){f(i,r,o,a,s,"next",t)}function s(t){f(i,r,o,a,s,"throw",t)}a(void 0)}))})()},getTOTP:function(){var t=this;this.axios.post("api/twofaccounts/otp",{data:this.id?this.id:this.internal_uri}).then((function(e){var n=Math.ceil(e.data.otp.length/2);t.otp=e.data.otp.substr(0,n)+" "+e.data.otp.substr(n),t.position=e.data.position;for(var r=t.$el.querySelector(".dots");r.querySelector("[data-is-active]");)r.querySelector("[data-is-active]").removeAttribute("data-is-active");var o=r.querySelector("li:nth-child("+(t.position+1)+")");o.setAttribute("data-is-active",!0);var i=t;t.timerID=setInterval((function(){var t=o.nextSibling;null===o.nextSibling?(console.log("no more sibling to activate, we refresh the OTP"),i.stopLoop(),i.getTOTP()):(o.removeAttribute("data-is-active"),t.setAttribute("data-is-active",!0),o=t)}),1e3)}))},getHOTP:function(){var t=this;this.axios.post("api/twofaccounts/otp",{data:this.id?this.id:this.internal_uri}).then((function(e){var n=Math.ceil(e.data.otp.length/2);t.otp=e.data.otp.substr(0,n)+" "+e.data.otp.substr(n),t.counter=e.data.counter,t.next_uri=e.data.nextUri}))},clearOTP:function(){this.stopLoop(),this.id=this.timerID=this.position=this.counter=null,this.internal_service=this.internal_account=this.internal_icon=this.internal_uri="",this.otp="... ...";try{this.$el.querySelector("[data-is-active]").removeAttribute("data-is-active"),this.$el.querySelector(".dots li:first-child").setAttribute("data-is-active",!0)}catch(t){}},stopLoop:function(){"totp"===this.type&&clearInterval(this.timerID)},clipboardSuccessHandler:function(t){t.value,t.event;-1==this.$root.appSettings.kickUserAfter?this.appLogout():this.$root.appSettings.closeTokenOnCopy&&(this.$parent.isActive=!1,this.clearOTP()),this.$notify({type:"is-success",text:this.$t("commons.copied_to_clipboard")})},clipboardErrorHandler:function(t){var e=t.value;t.event;console.log("error",e)}},beforeDestroy:function(){this.stopLoop()}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("figure",{staticClass:"image is-64x64",class:{"no-icon":!t.internal_icon},staticStyle:{display:"inline-block"}},[t.internal_icon?n("img",{attrs:{src:"storage/icons/"+t.internal_icon}}):t._e()]),t._v(" "),n("p",{staticClass:"is-size-4 has-text-grey-light has-ellipsis"},[t._v(t._s(t.internal_service))]),t._v(" "),n("p",{staticClass:"is-size-6 has-text-grey has-ellipsis"},[t._v(t._s(t.internal_account))]),t._v(" "),n("p",{directives:[{name:"clipboard",rawName:"v-clipboard",value:function(){return t.otp.replace(/ /g,"")},expression:"() => otp.replace(/ /g, '')"},{name:"clipboard",rawName:"v-clipboard:success",value:t.clipboardSuccessHandler,expression:"clipboardSuccessHandler",arg:"success"}],staticClass:"is-size-1 has-text-white",attrs:{id:"otp",title:t.$t("commons.copy_to_clipboard")}},[t._v(t._s(t.displayedOtp))]),t._v(" "),"totp"===t.type?n("ul",{staticClass:"dots"},t._l(30,(function(t){return n("li")})),0):"hotp"===t.type?n("ul",[n("li",[t._v("counter: "+t._s(t.counter))])]):t._e()])}),[],!1,null,null,null).exports;function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach((function(e){m(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(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)}}var b=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.errors={}}var e,n,r;return e=t,(n=[{key:"set",value:function(t,e){"object"===v(t)?this.errors=t:this.set(h(h({},this.errors),{},m({},t,y(e))))}},{key:"all",value:function(){return this.errors}},{key:"has",value:function(t){return this.errors.hasOwnProperty(t)}},{key:"hasAny",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.some((function(e){return t.has(e)}))}},{key:"any",value:function(){return Object.keys(this.errors).length>0}},{key:"get",value:function(t){if(this.has(t))return this.getAll(t)[0]}},{key:"getAll",value:function(t){return y(this.errors[t]||[])}},{key:"only",value:function(){for(var t=this,e=[],n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return r.forEach((function(n){var r=t.get(n);r&&e.push(r)})),e}},{key:"flatten",value:function(){return Object.values(this.errors).reduce((function(t,e){return t.concat(e)}),[])}},{key:"clear",value:function(t){var e=this,n={};t&&Object.keys(this.errors).forEach((function(r){r!==t&&(n[r]=e.errors[r])})),this.set(n)}}])&&g(e.prototype,n),r&&g(e,r),t}();function y(t){return Array.isArray(t)?t:[t]}function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function k(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)}}var E=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};k(this,t),this.isBusy=!1,this.isDisabled=!1,this.errors=new b,Object.assign(this,e)}var e,n,r;return e=t,(n=[{key:"fill",value:function(t){var e=this;this.keys().forEach((function(n){e[n]=t[n]}))}},{key:"data",value:function(){var t=this;return this.keys().reduce((function(e,n){return x(x({},e),{},S({},n,t[n]))}),{})}},{key:"keys",value:function(){return Object.keys(this).filter((function(e){return!t.ignore.includes(e)}))}},{key:"startProcessing",value:function(){this.errors.clear(),this.isBusy=!0}},{key:"finishProcessing",value:function(){this.isBusy=!1}},{key:"clear",value:function(){this.errors.clear()}},{key:"reset",value:function(){var e=this;Object.keys(this).filter((function(e){return!t.ignore.includes(e)})).forEach((function(t){e[t]=deepCopy(e.originalData[t])}))}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("get",t,e)}},{key:"post",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("post",t,e)}},{key:"patch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("patch",t,e)}},{key:"put",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("put",t,e)}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("delete",t,e)}},{key:"submit",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.startProcessing();var i="get"===t?{params:this.data()}:this.data();return new Promise((function(a,s){o.a.axios.request(x({url:n.route(e),method:t,data:i},r)).then((function(t){n.finishProcessing(),a(t)})).catch((function(t){n.isBusy=!1,t.response&&n.errors.set(n.extractErrors(t.response)),s(t)}))}))}},{key:"upload",value:function(t,e){var n=this;return this.startProcessing(),new Promise((function(r,i){o.a.axios.request({url:n.route(t),method:"post",data:e,header:{"Content-Type":"multipart/form-data"}}).then((function(t){n.finishProcessing(),r(t)})).catch((function(t){n.isBusy=!1,t.response&&n.errors.set(n.extractErrors(t.response)),i(t)}))}))}},{key:"extractErrors",value:function(e){return e.data&&"object"===w(e.data)?e.data.errors?x({},e.data.errors):e.data.message?{error:e.data.message}:x({},e.data):{error:t.errorMessage}}},{key:"route",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e;return t.routes.hasOwnProperty(e)&&(r=decodeURI(t.routes[e])),"object"!==w(n)&&(n={id:n}),Object.keys(n).forEach((function(t){r=r.replace("{".concat(t,"}"),n[t])})),r}},{key:"onKeydown",value:function(t){t.target.name&&this.errors.clear(t.target.name)}}])&&C(e.prototype,n),r&&C(e,r),t}();E.routes={},E.errorMessage="Something went wrong. Please try again.",E.ignore=["isBusy","isDisabled","errors","originalData"];var O=E;function T(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function A(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){T(i,r,o,a,s,"next",t)}function s(t){T(i,r,o,a,s,"throw",t)}a(void 0)}))}}var j=u({name:"QuickUploader",data:function(){return{form:new O({qrcode:null,uri:""}),errorName:"",errorText:"",showStream:!1,canStream:!0,camera:"auto"}},props:{showTrailer:{type:Boolean,default:!1},directStreaming:{type:Boolean,default:!0}},created:function(){this.$root.appSettings.useBasicQrcodeReader?this.canStream=this.showStream=!1:this.directStreaming&&this.enableStream()},beforeDestroy:function(){this.form.clear()},methods:{enableStream:function(){var t=this;return A(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$parent.$emit("initStreaming"),t.camera="auto",t.showStream=!0,console.log("stream enabled");case 4:case"end":return e.stop()}}),e)})))()},disableStream:function(){var t=this;return A(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.camera="off",t.showStream=!1,t.$parent.$emit("stopStreaming"),console.log("stream disabled");case 4:case"end":return e.stop()}}),e)})))()},onStreamerInit:function(t){var e=this;return A(a.a.mark((function n(){return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.errorText="",e.errorName="",n.prev=2,n.next=5,t;case 5:n.next=11;break;case 7:n.prev=7,n.t0=n.catch(2),e.errorName=n.t0.name,"NotAllowedError"===n.t0.name?e.errorText=e.$t("twofaccounts.stream.need_grant_permission"):"NotReadableError"===n.t0.name?e.errorText=e.$t("twofaccounts.stream.not_readable"):"NotFoundError"===n.t0.name?e.errorText=e.$t("twofaccounts.stream.no_cam_on_device"):"NotSupportedError"===n.t0.name||"InsecureContextError"===n.t0.name?e.errorText=e.$t("twofaccounts.stream.secured_context_required"):"OverconstrainedError"===n.t0.name?e.errorText=e.$t("twofaccounts.stream.camera_not_suitable"):"StreamApiNotSupportedError"===n.t0.name&&(e.errorText=e.$t("twofaccounts.stream.stream_api_not_supported"));case 11:e.setUploader();case 12:case"end":return n.stop()}}),n,null,[[2,7]])})))()},setUploader:function(){this.errorName&&(this.canStream=!1,this.$parent.$emit("cannotStream"),console.log("fail to stream : "+this.errorText),"NotAllowedError"===this.errorName&&this.$notify({type:"is-danger",text:this.errorText}),"InsecureContextError"===this.errorName&&this.$notify({type:"is-warning",text:"HTTPS required for camera streaming"})),this.errorName||this.showStream||(this.camera="off",console.log("stream stopped")),this.canStream&&this.showStream&&(this.$parent.$emit("startStreaming"),console.log("stream started"))},uploadQrcode:function(t){var e=this;return A(a.a.mark((function n(){var r,o;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.$root.appSettings.useBasicQrcodeReader){n.next=8;break}return(o=new FormData).append("qrcode",e.$refs.qrcodeInput.files[0]),n.next=5,e.form.upload("/api/qrcode/decode",o);case 5:r=n.sent,n.next=14;break;case 8:if(e.form.uri=t,e.form.uri){n.next=11;break}return n.abrupt("return",!1);case 11:return n.next=13,e.form.post("/api/qrcode/decode");case 13:r=n.sent;case 14:e.$router.push({name:"create",params:{qrAccount:r.data}});case 15:case"end":return n.stop()}}),n)})))()}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"quick-uploader"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.showStream&&t.canStream),expression:"!(showStream && canStream)"}],staticClass:"container has-text-centered"},[n("div",{staticClass:"columns quick-uploader"},[n("div",{staticClass:"column is-full quick-uploader-header",class:{"is-invisible":!t.showTrailer}},[t._v("\n "+t._s(t.$t("twofaccounts.no_account_here"))),n("br"),t._v("\n "+t._s(t.$t("twofaccounts.add_first_account"))+"\n ")]),t._v(" "),n("div",{staticClass:"column is-full quick-uploader-button"},[n("div",{staticClass:"quick-uploader-centerer"},[t.canStream?n("label",{staticClass:"button is-link is-medium is-rounded is-focused",on:{click:function(e){return t.enableStream()}}},[t._v("\n "+t._s(t.$t("twofaccounts.forms.scan_qrcode"))+"\n ")]):n("form",{on:{submit:function(e){return e.preventDefault(),t.createAccount(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("label",{staticClass:"button is-link is-medium is-rounded is-focused",class:{"is-loading":t.form.isBusy}},[t.$root.appSettings.useBasicQrcodeReader?n("input",{ref:"qrcodeInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:t.uploadQrcode}}):n("qrcode-capture",{ref:"qrcodeInput",staticClass:"file-input",on:{decode:t.uploadQrcode}}),t._v("\n "+t._s(t.$t("twofaccounts.forms.use_qrcode.val"))+"\n ")],1),t._v(" "),n("field-error",{attrs:{form:t.form,field:"qrcode"}}),t._v(" "),n("field-error",{attrs:{form:t.form,field:"uri"}})],1)])]),t._v(" "),n("div",{staticClass:"column is-full quick-uploader-footer"},[n("router-link",{staticClass:"is-link",attrs:{to:{name:"create"}}},[t._v(t._s(t.$t("twofaccounts.use_full_form")))])],1)])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showStream&&t.canStream,expression:"showStream && canStream"}]},[n("div",{staticClass:"fullscreen-alert has-text-centered"},[n("span",{staticClass:"is-size-4 has-text-light"},[n("font-awesome-icon",{attrs:{icon:["fas","spinner"],size:"2x",spin:""}})],1)]),t._v(" "),n("div",{staticClass:"fullscreen-streamer"},[n("qrcode-stream",{attrs:{camera:t.camera},on:{decode:t.uploadQrcode,init:t.onStreamerInit}})],1),t._v(" "),n("div",{staticClass:"fullscreen-footer"},[n("label",{staticClass:"button is-large is-warning is-rounded",on:{click:function(e){return t.disableStream()}}},[t._v("\n "+t._s(t.$t("commons.cancel"))+"\n ")])])])])}),[],!1,null,null,null).exports,L=n("MQ60");function I(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}var P={data:function(){return{accounts:[],selectedAccounts:[],showTwofaccountInModal:!1,search:"",editMode:this.InitialEditMode,showUploader:!1,showFooter:!0,drag:!1}},computed:{filteredAccounts:{get:function(){var t=this;return this.accounts.filter((function(e){return e.service.toLowerCase().includes(t.search.toLowerCase())||e.account.toLowerCase().includes(t.search.toLowerCase())}))},set:function(t){this.accounts=t}},showAccounts:function(){return this.accounts.length>0&&!this.showUploader}},props:["InitialEditMode"],mounted:function(){this.fetchAccounts(),this.$on("modalClose",(function(){console.log("modalClose triggered"),this.$refs.TwofaccountShow.clearOTP()})),this.$on("initStreaming",(function(){this.showFooter=!1})),this.$on("stopStreaming",(function(){this.showUploader=!(this.accounts.length>0),this.showFooter=!0})),this.$on("cannotStream",(function(){this.showFooter=!0}))},components:{Modal:l,TwofaccountShow:d,QuickUploader:j,draggable:n.n(L).a},methods:{fetchAccounts:function(){var t=this;this.accounts=[],this.selectedAccounts=[],this.axios.get("api/twofaccounts").then((function(e){e.data.forEach((function(e){t.accounts.push({id:e.id,service:e.service,account:e.account?e.account:"-",icon:e.icon})})),t.showUploader=0===e.data.length}))},showAccount:function(t){if(this.editMode){for(var e=0;e<this.selectedAccounts.length;e++)if(this.selectedAccounts[e]===t.id)return void this.selectedAccounts.splice(e,1);this.selectedAccounts.push(t.id)}else this.$refs.TwofaccountShow.showAccount(t.id)},saveOrder:function(){this.drag=!1,this.axios.patch("/api/twofaccounts/reorder",{orderedIds:this.accounts.map((function(t){return t.id}))})},deleteAccount:function(t){confirm(this.$t("twofaccounts.confirm.delete"))&&(this.axios.delete("/api/twofaccounts/"+t),this.accounts=this.accounts.filter((function(e){return e.id!==t})))},destroyAccounts:function(){var t,e=this;return(t=a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!confirm(e.$t("twofaccounts.confirm.delete"))){t.next=6;break}return n=[],e.selectedAccounts.forEach((function(t){return n.push(t)})),t.next=5,e.axios.delete("/api/twofaccounts/batch",{data:n});case 5:e.fetchAccounts();case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){I(i,r,o,a,s,"next",t)}function s(t){I(i,r,o,a,s,"throw",t)}a(void 0)}))})()},setEditModeTo:function(t){!1===t?this.selectedAccounts=[]:this.search="",this.editMode=t,this.$parent.showToolbar=t}}},D=(n("LD3X"),u(P,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[this.showAccounts?n("div",{staticClass:"container"},[n("draggable",{staticClass:"accounts",attrs:{"ghost-class":"ghost",handle:".tfa-dots",animation:"200"},on:{start:function(e){t.drag=!0},end:t.saveOrder},model:{value:t.filteredAccounts,callback:function(e){t.filteredAccounts=e},expression:"filteredAccounts"}},[n("transition-group",{staticClass:"columns is-multiline",class:{"is-centered":"grid"===t.$root.appSettings.displayMode},attrs:{type:"transition",name:t.drag?null:"flip-list"}},t._l(t.filteredAccounts,(function(e){return n("div",{key:e.id,staticClass:"column is-narrow has-text-white",class:["grid"===t.$root.appSettings.displayMode?"tfa-grid":"tfa-list"]},[n("div",{staticClass:"tfa-container"},[n("transition",{attrs:{name:"slideCheckbox"}},[t.editMode?n("div",{staticClass:"tfa-checkbox"},[n("div",{staticClass:"field"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedAccounts,expression:"selectedAccounts"}],staticClass:"is-checkradio is-small is-white",attrs:{id:"ckb_"+e.id,type:"checkbox",name:"ckb_"+e.id},domProps:{value:e.id,checked:Array.isArray(t.selectedAccounts)?t._i(t.selectedAccounts,e.id)>-1:t.selectedAccounts},on:{change:function(n){var r=t.selectedAccounts,o=n.target,i=!!o.checked;if(Array.isArray(r)){var a=e.id,s=t._i(r,a);o.checked?s<0&&(t.selectedAccounts=r.concat([a])):s>-1&&(t.selectedAccounts=r.slice(0,s).concat(r.slice(s+1)))}else t.selectedAccounts=i}}}),t._v(" "),n("label",{attrs:{for:"ckb_"+e.id}})])]):t._e()]),t._v(" "),n("div",{staticClass:"tfa-content is-size-3 is-size-4-mobile",on:{click:function(n){return n.stopPropagation(),t.showAccount(e)}}},[n("div",{staticClass:"tfa-text has-ellipsis"},[e.icon&&t.$root.appSettings.showAccountsIcons?n("img",{attrs:{src:"/storage/icons/"+e.icon}}):t._e(),t._v("\n "+t._s(e.service)+"\n "),n("span",{staticClass:"is-family-primary is-size-6 is-size-7-mobile has-text-grey "},[t._v(t._s(e.account))])])]),t._v(" "),n("transition",{attrs:{name:"fadeInOut"}},[t.editMode?n("div",{staticClass:"tfa-edit has-text-grey"},[n("router-link",{staticClass:"tag is-dark is-rounded",attrs:{to:{name:"edit",params:{twofaccountId:e.id}}}},[t._v("\n \t "+t._s(t.$t("commons.edit"))+"\n \t ")])],1):t._e()]),t._v(" "),n("transition",{attrs:{name:"fadeInOut"}},[t.editMode?n("div",{staticClass:"tfa-dots has-text-grey"},[n("font-awesome-icon",{attrs:{icon:["fas","bars"]}})],1):t._e()])],1)])})),0)],1)],1):t._e(),t._v(" "),this.showAccounts?n("div",{staticClass:"header has-background-black-ter"},[n("div",{staticClass:"columns is-gapless is-mobile is-centered"},[n("div",{staticClass:"column is-three-quarters-mobile is-one-third-tablet is-one-quarter-desktop is-one-quarter-widescreen is-one-quarter-fullhd"},[t.editMode?n("div",{staticClass:"toolbar has-text-centered"},[n("div",{staticClass:"manage-buttons tags has-addons are-medium"},[n("span",{staticClass:"tag is-dark"},[t._v(t._s(t.selectedAccounts.length)+" "+t._s(t.$t("commons.selected")))]),t._v(" "),t.selectedAccounts.length>0?n("a",{staticClass:"tag is-danger",on:{click:t.destroyAccounts}},[t._v("\n "+t._s(t.$t("commons.delete"))+" "),n("font-awesome-icon",{attrs:{icon:["fas","trash"]}})],1):t._e()])]):n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-right"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"input is-rounded is-search",attrs:{type:"text"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" "),n("span",{staticClass:"icon is-small is-right"},[t.search?t._e():n("font-awesome-icon",{attrs:{icon:["fas","search"]}}),t._v(" "),t.search?n("a",{staticClass:"delete",on:{click:function(e){t.search=""}}}):t._e()],1)])])])])]):t._e(),t._v(" "),t.showUploader?n("quick-uploader",{ref:"QuickUploader",attrs:{directStreaming:t.accounts.length>0,showTrailer:0===t.accounts.length}}):t._e(),t._v(" "),n("modal",{model:{value:t.showTwofaccountInModal,callback:function(e){t.showTwofaccountInModal=e},expression:"showTwofaccountInModal"}},[n("twofaccount-show",{ref:"TwofaccountShow"})],1),t._v(" "),t.showFooter?n("vue-footer",{attrs:{showButtons:t.accounts.length>0}},[t.showUploader||t.editMode?t._e():n("p",{staticClass:"control"},[n("a",{staticClass:"button is-link is-rounded is-focus",on:{click:function(e){t.showUploader=!0}}},[n("span",[t._v(t._s(t.$t("twofaccounts.new")))]),t._v(" "),n("span",{staticClass:"icon is-small"},[n("font-awesome-icon",{attrs:{icon:["fas","qrcode"]}})],1)])]),t._v(" "),t.showUploader||t.editMode?t._e():n("p",{staticClass:"control"},[n("a",{staticClass:"button is-dark is-rounded",on:{click:function(e){return t.setEditModeTo(!0)}}},[t._v(t._s(t.$t("twofaccounts.manage")))])]),t._v(" "),!t.showUploader&&t.editMode?n("p",{staticClass:"control"},[n("a",{staticClass:"button is-success is-rounded",on:{click:function(e){return t.setEditModeTo(!1)}}},[n("span",[t._v(t._s(t.$t("twofaccounts.done")))]),t._v(" "),n("span",{staticClass:"icon is-small"},[n("font-awesome-icon",{attrs:{icon:["fas","check"]}})],1)])]):t._e(),t._v(" "),t.showUploader&&t.showFooter?n("p",{staticClass:"control"},[n("a",{staticClass:"button is-dark is-rounded",on:{click:function(e){t.showUploader=!1}}},[t._v("\n "+t._s(t.$t("commons.cancel"))+"\n ")])]):t._e()]):t._e()],1)}),[],!1,null,null,null).exports);function M(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function N(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){M(i,r,o,a,s,"next",t)}function s(t){M(i,r,o,a,s,"throw",t)}a(void 0)}))}}var $=u({data:function(){return{isQuickForm:!1,ShowTwofaccountInModal:!1,uriIsLocked:!0,tempIcon:"",form:new O({service:"",account:"",uri:"",icon:"",qrcode:null})}},watch:{tempIcon:function(t){this.isQuickForm&&(this.$refs.TwofaccountShow.internal_icon=t)}},mounted:function(){this.$route.params.qrAccount&&(this.isQuickForm=!0,this.form.fill(this.$route.params.qrAccount)),this.$on("modalClose",(function(){this.$refs.TwofaccountPreview.stopLoop()}))},components:{Modal:l,TwofaccountShow:d},methods:{createAccount:function(){var t=this;return N(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.form.icon=t.tempIcon,t.isQuickForm&&t.$refs.TwofaccountShow.next_uri?t.form.uri=t.$refs.TwofaccountShow.next_uri:t.$refs.TwofaccountPreview&&t.$refs.TwofaccountPreview.next_uri&&(t.form.uri=t.$refs.TwofaccountPreview.next_uri),e.next=4,t.form.post("/api/twofaccounts");case 4:!1===t.form.errors.any()&&t.$router.push({name:"accounts",params:{InitialEditMode:!1}});case 5:case"end":return e.stop()}}),e)})))()},previewAccount:function(){this.form.uri&&this.$refs.TwofaccountPreview.showAccount()},cancelCreation:function(){this.form.service&&this.form.uri&&!1===confirm(this.$t("twofaccounts.confirm.cancel"))||(this.deleteIcon(),this.$router.push({name:"accounts",params:{InitialEditMode:!1}}))},uploadQrcode:function(t){var e=this;return N(a.a.mark((function t(){var n,r,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(n=new FormData).append("qrcode",e.$refs.qrcodeInput.files[0]),t.next=4,e.form.upload("/api/qrcode/decode",n);case 4:r=t.sent,o=r.data,e.form.fill(o);case 7:case"end":return t.stop()}}),t)})))()},uploadIcon:function(t){var e=this;return N(a.a.mark((function t(){var n,r,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.deleteIcon(),(n=new FormData).append("icon",e.$refs.iconInput.files[0]),t.next=5,e.form.upload("/api/icon/upload",n);case 5:r=t.sent,o=r.data,e.tempIcon=o;case 8:case"end":return t.stop()}}),t)})))()},deleteIcon:function(t){this.tempIcon&&(this.axios.delete("/api/icon/delete/"+this.tempIcon),this.tempIcon="")}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isQuickForm?n("form",{on:{submit:function(e){return e.preventDefault(),t.createAccount(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("div",{staticClass:"container preview has-text-centered"},[n("div",{staticClass:"columns is-mobile"},[n("div",{staticClass:"column"},[t.tempIcon?t._e():n("label",{staticClass:"add-icon-button"},[n("input",{ref:"iconInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:t.uploadIcon}}),t._v(" "),n("font-awesome-icon",{attrs:{icon:["fas","image"],size:"2x"}})],1),t._v(" "),t.tempIcon?n("button",{staticClass:"delete delete-icon-button is-medium",on:{click:function(e){return e.preventDefault(),t.deleteIcon(e)}}}):t._e(),t._v(" "),n("twofaccount-show",{ref:"TwofaccountShow",attrs:{service:t.form.service,account:t.form.account,uri:t.form.uri}})],1)]),t._v(" "),n("div",{staticClass:"columns is-mobile"},[n("div",{staticClass:"column quickform-footer"},[n("div",{staticClass:"field is-grouped is-grouped-centered"},[n("div",{staticClass:"control"},[n("v-button",{attrs:{isLoading:t.form.isBusy}},[t._v(t._s(t.$t("twofaccounts.forms.save")))])],1),t._v(" "),n("div",{staticClass:"control"},[n("button",{staticClass:"button is-text",attrs:{type:"button"},on:{click:t.cancelCreation}},[t._v(t._s(t.$t("commons.cancel")))])])])])])])]):n("form-wrapper",{attrs:{title:t.$t("twofaccounts.forms.new_account")}},[n("form",{on:{submit:function(e){return e.preventDefault(),t.createAccount(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("div",{staticClass:"field"},[n("div",{staticClass:"file is-dark is-boxed"},[n("label",{staticClass:"file-label",attrs:{title:t.$t("twofaccounts.forms.use_qrcode.title")}},[n("input",{ref:"qrcodeInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:t.uploadQrcode}}),t._v(" "),n("span",{staticClass:"file-cta"},[n("span",{staticClass:"file-icon"},[n("font-awesome-icon",{attrs:{icon:["fas","qrcode"],size:"lg"}})],1),t._v(" "),n("span",{staticClass:"file-label"},[t._v(t._s(t.$t("twofaccounts.forms.use_qrcode.val")))])])])])]),t._v(" "),n("field-error",{staticClass:"help-for-file",attrs:{form:t.form,field:"qrcode"}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"service",inputType:"text",label:t.$t("twofaccounts.service"),placeholder:t.$t("twofaccounts.forms.service.placeholder"),autofocus:""}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"account",inputType:"text",label:t.$t("twofaccounts.account"),placeholder:t.$t("twofaccounts.forms.account.placeholder")}}),t._v(" "),n("div",{staticClass:"field",staticStyle:{"margin-bottom":"0.5rem"}},[n("label",{staticClass:"label"},[t._v(t._s(t.$t("twofaccounts.forms.otp_uri")))])]),t._v(" "),n("div",{staticClass:"field has-addons"},[n("div",{staticClass:"control is-expanded"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.uri,expression:"form.uri"}],staticClass:"input",attrs:{type:"text",placeholder:"otpauth://totp/...",disabled:t.uriIsLocked},domProps:{value:t.form.uri},on:{input:function(e){e.target.composing||t.$set(t.form,"uri",e.target.value)}}})]),t._v(" "),t.uriIsLocked?n("div",{staticClass:"control"},[n("a",{staticClass:"button is-dark field-lock",attrs:{title:t.$t("twofaccounts.forms.unlock.title")},on:{click:function(e){t.uriIsLocked=!1}}},[n("span",{staticClass:"icon"},[n("font-awesome-icon",{attrs:{icon:["fas","lock"]}})],1)])]):n("div",{staticClass:"control"},[n("a",{staticClass:"button is-dark field-unlock",attrs:{title:t.$t("twofaccounts.forms.lock.title")},on:{click:function(e){t.uriIsLocked=!0}}},[n("span",{staticClass:"icon has-text-danger"},[n("font-awesome-icon",{attrs:{icon:["fas","lock-open"]}})],1)])])]),t._v(" "),n("field-error",{staticClass:"help-for-file",attrs:{form:t.form,field:"uri"}}),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[t._v(t._s(t.$t("twofaccounts.icon")))]),t._v(" "),n("div",{staticClass:"file is-dark"},[n("label",{staticClass:"file-label"},[n("input",{ref:"iconInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:t.uploadIcon}}),t._v(" "),n("span",{staticClass:"file-cta"},[n("span",{staticClass:"file-icon"},[n("font-awesome-icon",{attrs:{icon:["fas","image"]}})],1),t._v(" "),n("span",{staticClass:"file-label"},[t._v(t._s(t.$t("twofaccounts.forms.choose_image")))])])]),t._v(" "),t.tempIcon?n("span",{staticClass:"tag is-black is-large"},[n("img",{staticClass:"icon-preview",attrs:{src:"/storage/icons/"+t.tempIcon}}),t._v(" "),n("button",{staticClass:"delete is-small",on:{click:function(e){return e.preventDefault(),t.deleteIcon(e)}}})]):t._e()])]),t._v(" "),n("field-error",{staticClass:"help-for-file",attrs:{form:t.form,field:"icon"}}),t._v(" "),n("div",{staticClass:"field is-grouped"},[n("div",{staticClass:"control"},[n("v-button",{attrs:{isLoading:t.form.isBusy}},[t._v(t._s(t.$t("twofaccounts.forms.create")))])],1),t._v(" "),t.form.uri?n("div",{staticClass:"control"},[n("button",{staticClass:"button is-success",attrs:{type:"button"},on:{click:t.previewAccount}},[t._v(t._s(t.$t("twofaccounts.forms.test")))])]):t._e(),t._v(" "),n("div",{staticClass:"control"},[n("button",{staticClass:"button is-text",attrs:{type:"button"},on:{click:t.cancelCreation}},[t._v(t._s(t.$t("commons.cancel")))])])])],1),t._v(" "),n("modal",{model:{value:t.ShowTwofaccountInModal,callback:function(e){t.ShowTwofaccountInModal=e},expression:"ShowTwofaccountInModal"}},[n("twofaccount-show",{ref:"TwofaccountPreview",attrs:{service:t.form.service,account:t.form.account,uri:t.form.uri,icon:t.tempIcon}})],1)],1)}),[],!1,null,null,null).exports;function R(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function q(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){R(i,r,o,a,s,"next",t)}function s(t){R(i,r,o,a,s,"throw",t)}a(void 0)}))}}var U=u({data:function(){return{counterIsLocked:!0,twofaccountExists:!1,tempIcon:"",form:new O({service:"",account:"",uri:"",icon:"",qrcode:null,type:"",counter:null})}},created:function(){this.getAccount()},methods:{getAccount:function(){var t=this;return q(a.a.mark((function e(){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.axios.get("/api/twofaccounts/"+t.$route.params.twofaccountId);case 2:n=e.sent,r=n.data,t.form.fill(r),t.twofaccountExists=!0,t.tempIcon=t.form.icon;case 7:case"end":return e.stop()}}),e)})))()},updateAccount:function(){var t=this;return q(a.a.mark((function e(){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.tempIcon!==t.form.icon&&("",n=t.form.icon,t.form.icon=t.tempIcon,t.tempIcon=n,t.deleteIcon()),e.next=3,t.form.put("/api/twofaccounts/"+t.$route.params.twofaccountId);case 3:!1===t.form.errors.any()&&t.$router.push({name:"accounts",params:{InitialEditMode:!0}});case 4:case"end":return e.stop()}}),e)})))()},cancelCreation:function(){this.deleteIcon(),this.$router.push({name:"accounts",params:{InitialEditMode:!0}})},uploadIcon:function(t){var e=this;return q(a.a.mark((function t(){var n,r,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.deleteIcon(),(n=new FormData).append("icon",e.$refs.iconInput.files[0]),t.next=5,e.form.upload("/api/icon/upload",n);case 5:r=t.sent,o=r.data,e.tempIcon=o;case 8:case"end":return t.stop()}}),t)})))()},deleteIcon:function(t){this.tempIcon&&this.tempIcon!==this.form.icon&&this.axios.delete("/api/icon/delete/"+this.tempIcon),this.tempIcon=""}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-wrapper",{attrs:{title:t.$t("twofaccounts.forms.edit_account")}},[n("form",{on:{submit:function(e){return e.preventDefault(),t.updateAccount(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("form-field",{attrs:{form:t.form,fieldName:"service",inputType:"text",label:t.$t("twofaccounts.service"),placeholder:t.$t("twofaccounts.forms.service.placeholder"),autofocus:""}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"account",inputType:"text",label:t.$t("twofaccounts.account"),placeholder:t.$t("twofaccounts.forms.account.placeholder")}}),t._v(" "),"hotp"===t.form.type?n("div",[n("div",{staticClass:"field",staticStyle:{"margin-bottom":"0.5rem"}},[n("label",{staticClass:"label"},[t._v(t._s(t.$t("twofaccounts.forms.hotp_counter")))])]),t._v(" "),n("div",{staticClass:"field has-addons"},[n("div",{staticClass:"control is-expanded"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.counter,expression:"form.counter"}],staticClass:"input",attrs:{type:"text",placeholder:"",disabled:t.counterIsLocked},domProps:{value:t.form.counter},on:{input:function(e){e.target.composing||t.$set(t.form,"counter",e.target.value)}}})]),t._v(" "),t.counterIsLocked?n("div",{staticClass:"control"},[n("a",{staticClass:"button is-dark field-lock",attrs:{title:t.$t("twofaccounts.forms.unlock.title")},on:{click:function(e){t.counterIsLocked=!1}}},[n("span",{staticClass:"icon"},[n("font-awesome-icon",{attrs:{icon:["fas","lock"]}})],1)])]):n("div",{staticClass:"control"},[n("a",{staticClass:"button is-dark field-unlock",attrs:{title:t.$t("twofaccounts.forms.lock.title")},on:{click:function(e){t.counterIsLocked=!0}}},[n("span",{staticClass:"icon has-text-danger"},[n("font-awesome-icon",{attrs:{icon:["fas","lock-open"]}})],1)])])]),t._v(" "),n("field-error",{staticClass:"help-for-file",attrs:{form:t.form,field:"uri"}})],1):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[t._v(t._s(t.$t("twofaccounts.icon")))]),t._v(" "),n("div",{staticClass:"file is-dark"},[n("label",{staticClass:"file-label"},[n("input",{ref:"iconInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:t.uploadIcon}}),t._v(" "),n("span",{staticClass:"file-cta"},[n("span",{staticClass:"file-icon"},[n("font-awesome-icon",{attrs:{icon:["fas","image"]}})],1),t._v(" "),n("span",{staticClass:"file-label"},[t._v(t._s(t.$t("twofaccounts.forms.choose_image")))])])]),t._v(" "),t.tempIcon?n("span",{staticClass:"tag is-black is-large"},[n("img",{staticClass:"icon-preview",attrs:{src:"/storage/icons/"+t.tempIcon}}),t._v(" "),n("button",{staticClass:"delete is-small",on:{click:function(e){return e.preventDefault(),t.deleteIcon(e)}}})]):t._e()])]),t._v(" "),n("field-error",{staticClass:"help-for-file",attrs:{form:t.form,field:"icon"}}),t._v(" "),n("div",{staticClass:"field is-grouped"},[n("div",{staticClass:"control"},[n("v-button",{attrs:{isLoading:t.form.isBusy}},[t._v(t._s(t.$t("twofaccounts.forms.save")))])],1),t._v(" "),n("div",{staticClass:"control"},[n("button",{staticClass:"button is-text",attrs:{type:"button"},on:{click:t.cancelCreation}},[t._v(t._s(t.$t("commons.cancel")))])])])],1)])}),[],!1,null,null,null).exports,z=u({data:function(){return{form:new O({email:"",password:""})}},methods:{handleSubmit:function(t){var e=this;t.preventDefault(),this.form.post("/api/login",{returnError:!0}).then((function(t){localStorage.setItem("user",t.data.message.name),localStorage.setItem("jwt",t.data.message.token),null!=localStorage.getItem("jwt")&&e.$router.go("/")})).catch((function(t){401===t.response.status?e.$notify({type:"is-danger",text:e.$t("auth.forms.password_do_not_match"),duration:-1}):422!==t.response.status&&e.$router.push({name:"genericError",params:{err:t.response}})}))}},beforeRouteEnter:function(t,e,n){if(localStorage.getItem("jwt"))return n("/");n()},beforeRouteLeave:function(t,e,n){this.$notify({clean:!0}),n()}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-wrapper",{attrs:{title:t.$t("auth.forms.login")}},[t.$root.appSettings.isDemoApp?n("div",{staticClass:"notification is-info has-text-centered",domProps:{innerHTML:t._s(t.$t("auth.forms.welcome_to_demo_app_use_those_credentials"))}}):t._e(),t._v(" "),n("form",{on:{submit:function(e){return e.preventDefault(),t.handleSubmit(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("form-field",{attrs:{form:t.form,fieldName:"email",inputType:"email",label:t.$t("auth.forms.email"),autofocus:""}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"password",inputType:"password",label:t.$t("auth.forms.password")}}),t._v(" "),n("form-buttons",{attrs:{isBusy:t.form.isBusy,caption:t.$t("auth.sign_in")}})],1),t._v(" "),n("p",[t._v(t._s(t.$t("auth.forms.dont_have_account_yet"))+" "),n("router-link",{staticClass:"is-link",attrs:{to:{name:"register"}}},[t._v(t._s(t.$t("auth.register")))])],1),t._v(" "),n("p",[t._v(t._s(t.$t("auth.forms.forgot_your_password"))+" "),n("router-link",{staticClass:"is-link",attrs:{to:{name:"password.request"}}},[t._v(t._s(t.$t("auth.forms.request_password_reset")))])],1)])}),[],!1,null,null,null).exports;function F(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function B(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){F(i,r,o,a,s,"next",t)}function s(t){F(i,r,o,a,s,"throw",t)}a(void 0)}))}}var H=u({data:function(){return{form:new O({name:"",email:"",password:"",password_confirmation:""})}},methods:{handleSubmit:function(t){var e=this;return B(a.a.mark((function n(){var r,o;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.preventDefault(),n.next=3,e.form.post("api/register");case 3:r=n.sent,o=r.data,!1===e.form.errors.any()&&(localStorage.setItem("user",o.message.name),localStorage.setItem("jwt",o.message.token),null!=localStorage.getItem("jwt")&&e.$router.push({name:"accounts"}));case 6:case"end":return n.stop()}}),n)})))()}},beforeRouteEnter:function(t,e,n){if(localStorage.getItem("jwt"))return n("/");n(function(){var t=B(a.a.mark((function t(e){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.axios.post("api/checkuser");case 2:n=t.sent,n.data.userCount>0&&(e.form.isDisabled=!0,e.$notify({type:"is-danger",text:e.$t("errors.already_one_user_registered")+" "+e.$t("errors.cannot_register_more_user"),duration:-1}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},beforeRouteLeave:function(t,e,n){this.$notify({clean:!0}),n()}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-wrapper",{attrs:{title:t.$t("auth.register")}},[n("form",{on:{submit:function(e){return e.preventDefault(),t.handleSubmit(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("form-field",{attrs:{form:t.form,fieldName:"name",inputType:"text",label:t.$t("auth.forms.name"),autofocus:""}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"email",inputType:"email",label:t.$t("auth.forms.email")}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"password",inputType:"password",label:t.$t("auth.forms.password")}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"password_confirmation",inputType:"password",label:t.$t("auth.forms.confirm_password")}}),t._v(" "),n("form-buttons",{attrs:{isBusy:t.form.isBusy,isDisabled:t.form.isDisabled,caption:t.$t("auth.register")}})],1),t._v(" "),n("p",[t._v(t._s(t.$t("auth.forms.already_register"))+" "),n("router-link",{staticClass:"is-link",attrs:{to:{name:"login"}}},[t._v(t._s(t.$t("auth.sign_in")))])],1)])}),[],!1,null,null,null).exports,W=u({data:function(){return{form:new O({email:""})}},methods:{handleSubmit:function(t){var e=this;t.preventDefault(),this.form.post("/api/password/email",{returnError:!0}).then((function(t){e.$notify({type:"is-success",text:t.data.status,duration:-1})})).catch((function(t){t.response.data.requestFailed?e.$notify({type:"is-danger",text:t.response.data.requestFailed,duration:-1}):422!==t.response.status&&e.$router.push({name:"genericError",params:{err:t.response}})}))}},beforeRouteLeave:function(t,e,n){this.$notify({clean:!0}),n()}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-wrapper",{attrs:{title:t.$t("auth.forms.reset_password")}},[n("form",{on:{submit:function(e){return e.preventDefault(),t.handleSubmit(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("form-field",{attrs:{form:t.form,fieldName:"email",inputType:"email",label:t.$t("auth.forms.email"),autofocus:""}}),t._v(" "),n("form-buttons",{attrs:{isBusy:t.form.isBusy,caption:t.$t("auth.forms.send_password_reset_link"),showCancelButton:!0,cancelLandingView:"login"}})],1)])}),[],!1,null,null,null).exports,G=u({data:function(){return{success:"",fail:"",form:new O({email:"",password:"",password_confirmation:"",token:""})}},created:function(){this.form.email=this.$route.query.email,this.form.token=this.$route.params.token},methods:{handleSubmit:function(t){var e=this;t.preventDefault(),this.form.post("/api/password/reset",{returnError:!0}).then((function(t){e.$notify({type:"is-success",text:t.data.status,duration:-1})})).catch((function(t){t.response.data.resetFailed?e.$notify({type:"is-danger",text:t.response.data.resetFailed,duration:-1}):422!==t.response.status&&e.$router.push({name:"genericError",params:{err:t.response}})}))}},beforeRouteLeave:function(t,e,n){this.$notify({clean:!0}),n()}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-wrapper",{attrs:{title:t.$t("auth.forms.new_password")}},[n("form",{on:{submit:function(e){return e.preventDefault(),t.handleSubmit(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("form-field",{attrs:{form:t.form,fieldName:"email",inputType:"email",label:t.$t("auth.forms.email"),disabled:"",readonly:""}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"password",inputType:"password",label:t.$t("auth.forms.new_password")}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"password_confirmation",inputType:"password",label:t.$t("auth.forms.confirm_password")}}),t._v(" "),n("form-buttons",{attrs:{isBusy:t.form.isBusy,caption:t.$t("auth.forms.change_password"),showCancelButton:!0,cancelLandingView:"login"}})],1)])}),[],!1,null,null,null).exports,V=u({data:function(){return{form:new O({lang:this.$root.$i18n.locale,showTokenAsDot:this.$root.appSettings.showTokenAsDot,closeTokenOnCopy:this.$root.appSettings.closeTokenOnCopy,useBasicQrcodeReader:this.$root.appSettings.useBasicQrcodeReader,showAccountsIcons:this.$root.appSettings.showAccountsIcons,displayMode:this.$root.appSettings.displayMode,kickUserAfter:this.$root.appSettings.kickUserAfter}),langs:[{text:this.$t("languages.en"),value:"en"},{text:this.$t("languages.fr"),value:"fr"}],layouts:[{text:this.$t("settings.forms.grid"),value:"grid"},{text:this.$t("settings.forms.list"),value:"list"}],kickUserAfters:[{text:this.$t("settings.forms.never"),value:"0"},{text:this.$t("settings.forms.on_token_copy"),value:"-1"},{text:this.$t("settings.forms.1_minutes"),value:"1"},{text:this.$t("settings.forms.5_minutes"),value:"5"},{text:this.$t("settings.forms.10_minutes"),value:"10"},{text:this.$t("settings.forms.15_minutes"),value:"15"},{text:this.$t("settings.forms.30_minutes"),value:"30"},{text:this.$t("settings.forms.1_hour"),value:"60"},{text:this.$t("settings.forms.1_day"),value:"1440"}]}},methods:{handleSubmit:function(t){var e=this;t.preventDefault(),this.form.post("/api/settings/options",{returnError:!0}).then((function(t){e.$notify({type:"is-success",text:t.data.message}),t.data.settings.lang!==e.$root.$i18n.locale?e.$router.go():e.$root.appSettings=t.data.settings})).catch((function(t){e.$notify({type:"is-danger",text:t.response.data.message})}))}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-wrapper",[n("form",{on:{submit:function(e){return e.preventDefault(),t.handleSubmit(e)},change:t.handleSubmit,keydown:function(e){return t.form.onKeydown(e)}}},[n("h4",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.general")))]),t._v(" "),n("form-select",{attrs:{options:t.langs,form:t.form,fieldName:"lang",label:t.$t("settings.forms.language.label"),help:t.$t("settings.forms.language.help")}}),t._v(" "),n("form-select",{attrs:{options:t.layouts,form:t.form,fieldName:"displayMode",label:t.$t("settings.forms.display_mode.label"),help:t.$t("settings.forms.display_mode.help")}}),t._v(" "),n("form-checkbox",{attrs:{form:t.form,fieldName:"showAccountsIcons",label:t.$t("settings.forms.show_accounts_icons.label"),help:t.$t("settings.forms.show_accounts_icons.help")}}),t._v(" "),n("h4",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.security")))]),t._v(" "),n("form-select",{attrs:{options:t.kickUserAfters,form:t.form,fieldName:"kickUserAfter",label:t.$t("settings.forms.auto_lock.label"),help:t.$t("settings.forms.auto_lock.help")}}),t._v(" "),n("form-checkbox",{attrs:{form:t.form,fieldName:"showTokenAsDot",label:t.$t("settings.forms.show_token_as_dot.label"),help:t.$t("settings.forms.show_token_as_dot.help")}}),t._v(" "),n("form-checkbox",{attrs:{form:t.form,fieldName:"closeTokenOnCopy",label:t.$t("settings.forms.close_token_on_copy.label"),help:t.$t("settings.forms.close_token_on_copy.help")}}),t._v(" "),n("h4",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.advanced")))]),t._v(" "),n("form-checkbox",{attrs:{form:t.form,fieldName:"useBasicQrcodeReader",label:t.$t("settings.forms.use_basic_qrcode_reader.label"),help:t.$t("settings.forms.use_basic_qrcode_reader.help")}})],1)])}),[],!1,null,null,null).exports;function Y(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}var X=u({data:function(){return{form:new O({name:"",email:"",password:""})}},mounted:function(){var t,e=this;return(t=a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.form.get("/api/settings/account");case 2:n=t.sent,r=n.data,e.form.fill(r);case 5:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Y(i,r,o,a,s,"next",t)}function s(t){Y(i,r,o,a,s,"throw",t)}a(void 0)}))})()},methods:{handleSubmit:function(t){var e=this;t.preventDefault(),this.form.patch("/api/settings/account",{returnError:!0}).then((function(t){e.$notify({type:"is-success",text:t.data.message})})).catch((function(t){400===t.response.status?e.$notify({type:"is-danger",text:t.response.data.message}):422!==t.response.status&&e.$router.push({name:"genericError",params:{err:t.response}})}))}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-wrapper",[n("form",{on:{submit:function(e){return e.preventDefault(),t.handleSubmit(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("form-field",{attrs:{form:t.form,fieldName:"name",label:t.$t("auth.forms.name"),autofocus:""}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"email",inputType:"email",label:t.$t("auth.forms.email")}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"password",inputType:"password",label:t.$t("auth.forms.current_password.label"),help:t.$t("auth.forms.current_password.help"),hasOffset:!0}}),t._v(" "),n("form-buttons",{attrs:{isBusy:t.form.isBusy,caption:t.$t("commons.update")}})],1)])}),[],!1,null,null,null).exports,K=u({data:function(){return{form:new O({currentPassword:"",password:"",password_confirmation:""})}},methods:{handleSubmit:function(t){var e=this;t.preventDefault(),this.form.patch("/api/settings/password",{returnError:!0}).then((function(t){e.$notify({type:"is-success",text:t.data.message})})).catch((function(t){400===t.response.status?e.$notify({type:"is-danger",text:t.response.data.message}):422!==t.response.status&&e.$router.push({name:"genericError",params:{err:t.response}})}))}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-wrapper",[n("form",{on:{submit:function(e){return e.preventDefault(),t.handleSubmit(e)},keydown:function(e){return t.form.onKeydown(e)}}},[n("form-field",{attrs:{form:t.form,fieldName:"password",inputType:"password",label:t.$t("auth.forms.new_password")}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"password_confirmation",inputType:"password",label:t.$t("auth.forms.confirm_new_password")}}),t._v(" "),n("form-field",{attrs:{form:t.form,fieldName:"currentPassword",inputType:"password",label:t.$t("auth.forms.current_password.label"),help:t.$t("auth.forms.current_password.help"),hasOffset:!0}}),t._v(" "),n("form-buttons",{attrs:{isBusy:t.form.isBusy,caption:t.$t("auth.forms.change_password")}})],1)])}),[],!1,null,null,null),Q=u({data:function(){return{tabs:[{name:this.$t("settings.options"),isActive:!0},{name:this.$t("settings.account"),isActive:!1},{name:this.$t("settings.password"),isActive:!1}],activeTab:this.$t("settings.options")}},components:{Options:V,Account:X,Password:K.exports},methods:{selectTab:function(t){var e=this;this.tabs.forEach((function(n){n.isActive=n.name==t.name,n.name==t.name&&(e.activeTab=t.name)}))},exitSettings:function(t){t&&(this.$notify({clean:!0}),this.$router.push({name:"accounts"}))}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"options-header has-background-black-ter"},[n("div",{staticClass:"columns is-centered"},[n("div",{staticClass:"form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-quarter-fullhd"},[n("div",{staticClass:"tabs is-centered is-fullwidth"},[n("ul",t._l(t.tabs,(function(e){return n("li",{class:{"is-active":e.isActive}},[n("a",{on:{click:function(n){return t.selectTab(e)}}},[t._v(t._s(e.name))])])})),0)])])])]),t._v(" "),n("div",{staticClass:"options-tabs"},[t.activeTab===t.$t("settings.options")?n("options"):t._e(),t._v(" "),t.activeTab===t.$t("settings.account")?n("account"):t._e(),t._v(" "),t.activeTab===t.$t("settings.password")?n("password"):t._e()],1),t._v(" "),n("vue-footer",{attrs:{showButtons:!0}},[n("p",{staticClass:"control"},[n("a",{staticClass:"button is-dark is-rounded",on:{click:function(e){return e.stopPropagation(),t.exitSettings(e)}}},[t._v("\n "+t._s(t.$t("commons.close"))+"\n ")])])])],1)}),[],!1,null,null,null).exports,J=u({data:function(){return{ShowModal:!0}},computed:{debugMode:function(){return"production"},error:function(){return void 0===this.err?null:this.err.data?(console.log(this.err.data),this.err.data):{statusText:this.err}}},props:["err"],components:{Modal:l},mounted:function(){this.$on("modalClose",(function(){this.$router.push({name:"accounts"})}))}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error-message"},[n("modal",{model:{value:t.ShowModal,callback:function(e){t.ShowModal=e},expression:"ShowModal"}},["404"==t.$route.name?n("div",{staticClass:"error-message"},[n("p",{staticClass:"error-404"}),t._v(" "),n("p",[t._v(t._s(t.$t("errors.resource_not_found")))]),t._v(" "),n("p",{},[t._v(t._s(t.$t("errors.please"))),n("router-link",{staticClass:"is-text",attrs:{to:{name:"accounts"}}},[t._v(t._s(t.$t("errors.refresh")))])],1)]):"flooded"==t.$route.name?n("div",[n("p",{staticClass:"error-generic"}),t._v(" "),n("p",[t._v("\n "+t._s(t.$t("errors.already_one_user_registered"))),n("br"),t._v("\n "+t._s(t.$t("errors.cannot_register_more_user"))+"\n ")]),t._v(" "),n("p",[t._v(t._s(t.$t("errors.please"))),n("router-link",{staticClass:"is-text",attrs:{to:{name:"accounts"}}},[t._v(t._s(t.$t("auth.sign_in")))])],1)]):n("div",[n("p",{staticClass:"error-generic"}),t._v(" "),n("p",[t._v(t._s(t.$t("errors.error_occured")))]),t._v(" "),t.error?n("p",{staticClass:"has-text-grey-lighter"},[t._v(t._s(t.error.message))]):t._e(),t._v(" "),n("p",[t._v(t._s(t.$t("errors.please"))),n("router-link",{staticClass:"is-text",attrs:{to:{name:"accounts"}}},[t._v(t._s(t.$t("errors.refresh")))])],1),t._v(" "),"development"==t.debugMode&&t.error?n("p",[n("br"),t._v("\n "+t._s(t.error.debug)+"\n ")]):t._e()])])],1)}),[],!1,null,null,null).exports;o.a.use(c.default);var Z=new c.default({mode:"history",routes:[{path:"/accounts",name:"accounts",component:D,meta:{requiresAuth:!0},alias:"/",props:!0},{path:"/settings",name:"settings",component:Q,meta:{requiresAuth:!0}},{path:"/create",name:"create",component:$,meta:{requiresAuth:!0}},{path:"/edit/:twofaccountId",name:"edit",component:U,meta:{requiresAuth:!0}},{path:"/login",name:"login",component:z},{path:"/register",name:"register",component:H},{path:"/password/request",name:"password.request",component:W},{path:"/password/reset/:token",name:"password.reset",component:G},{path:"/flooded",name:"flooded",component:J,props:!0},{path:"/error",name:"genericError",component:J,props:!0},{path:"/404",name:"404",component:J,props:!0},{path:"*",redirect:{name:"404"}}]});Z.beforeEach((function(t,e,n){t.matched.some((function(t){return t.meta.requiresAuth}))?localStorage.getItem("jwt")?n():n({name:"login"}):n()}));var tt=Z,et=n("vDqi"),nt=n.n(et),rt=n("p/7L"),ot=n.n(rt);o.a.use(ot.a,nt.a),o.a.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var it=document.head.querySelector('meta[name="csrf-token"]');it?o.a.axios.defaults.headers.common["X-CSRF-TOKEN"]=it.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),o.a.axios.interceptors.request.use((function(t){var e=localStorage.getItem("jwt");return e&&(t.headers.common.Authorization="Bearer "+e),t.headers.common["Content-Type"]="application/json",t})),o.a.axios.interceptors.response.use((function(t){return t}),(function(t){if(t.config.hasOwnProperty("returnError")&&!0===t.config.returnError)return Promise.reject(t);if(422===t.response.status)return Promise.reject(t);var e="genericError";throw 401===t.response.status&&(localStorage.removeItem("jwt"),localStorage.removeItem("user"),e="login"),404===t.response.status&&(e="404"),tt.push({name:e,params:{err:t.response}}),new o.a.axios.Cancel}));var at=n("qSUR"),st=n("Uhxf"),ct=n.n(st);o.a.use(at.default);var ut=document.documentElement.lang.substr(0,2),lt=new at.default({locale:ut,messages:ct.a}),ft=lt,dt=n("7O5W"),pt=n("rT2p"),ht={prefix:"fas",iconName:"bars",icon:[448,512,[],"f0c9","M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"]},mt={prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},vt={prefix:"fas",iconName:"edit",icon:[576,512,[],"f044","M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"]},gt={prefix:"fas",iconName:"ellipsis-h",icon:[512,512,[],"f141","M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"]},bt={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"]},yt={prefix:"fas",iconName:"lock",icon:[448,512,[],"f023","M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"]},wt={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M423.5 0C339.5.3 272 69.5 272 153.5V224H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48h-48v-71.1c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v80c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-80C576 68 507.5-.3 423.5 0z"]},_t={prefix:"fas",iconName:"plus",icon:[448,512,[],"f067","M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},xt={prefix:"fas",iconName:"qrcode",icon:[448,512,[],"f029","M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"]},St={prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},kt={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"]},Ct={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"]},Et={prefix:"fab",iconName:"github-alt",icon:[480,512,[],"f113","M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"]};dt.c.add(_t,xt,bt,Ct,vt,mt,yt,wt,St,gt,ht,kt,Et),o.a.component("font-awesome-icon",pt.a);var Ot=n("SubT"),Tt=n.n(Ot);o.a.use(Tt.a);var At=n("bRJq"),jt=n.n(At);o.a.use(jt.a);var Lt=n("7pj7"),It=n.n(Lt);[u({name:"App",data:function(){return{}},computed:{kickInactiveUser:function(){return parseInt(this.$root.appSettings.kickUserAfter)>0&&this.$route.meta.requiresAuth}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.kickInactiveUser?n("kicker"):t._e(),t._v(" "),t.$root.appSettings.isDemoApp?n("div",{staticClass:"demo has-background-warning has-text-centered is-size-7-mobile"},[t._v("\n "+t._s(t.$t("commons.demo_do_not_post_sensitive_data"))+"\n ")]):t._e(),t._v(" "),n("notifications",{attrs:{width:"100%",position:"top",duration:4e3,speed:0,max:1,classes:"notification"}}),t._v(" "),n("main",{staticClass:"main-section"},[n("router-view")],1)],1)}),[],!1,null,null,null).exports,u({name:"VButton",props:{color:{type:String,default:"is-link"},nativeType:{type:String,default:"submit"},isLoading:{type:Boolean,default:!1}}},(function(){var t,e=this.$createElement;return(this._self._c||e)("button",{class:(t={button:!0},t[""+this.color]=!0,t["is-loading"]=this.isLoading,t),attrs:{type:this.nativeType,disabled:this.isLoading}},[this._t("default")],2)}),[],!1,null,null,null).exports,u({name:"field-error",props:{form:{type:Object,required:!0},field:{type:String,required:!0}}},(function(){var t=this.$createElement,e=this._self._c||t;return this.form.errors.has(this.field)?e("p",{staticClass:"help is-danger",domProps:{innerHTML:this._s(this.form.errors.get(this.field))}}):this._e()}),[],!1,null,null,null).exports,u({name:"FormWrapper",data:function(){return{}},props:{title:{type:String,default:""}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"columns is-centered"},[e("div",{staticClass:"form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-quarter-fullhd"},[this.title?e("h1",{staticClass:"title",domProps:{innerHTML:this._s(this.title)}}):this._e(),this._v(" "),this._t("default")],2)])}),[],!1,null,null,null).exports,u({name:"FormField",inheritAttrs:!1,data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},inputType:{type:String,default:"text"},form:{type:Object,required:!0},placeholder:{type:String,default:""},help:{type:String,default:""},hasOffset:{type:Boolean,default:!1}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field",class:{"with-offset":t.hasOffset}},[n("label",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t._v(" "),n("div",{staticClass:"control"},["checkbox"===t.inputType?n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.form[t.fieldName],expression:"form[fieldName]"}],staticClass:"input",attrs:{id:t.fieldName,placeholder:t.placeholder,type:"checkbox"},domProps:{checked:Array.isArray(t.form[t.fieldName])?t._i(t.form[t.fieldName],null)>-1:t.form[t.fieldName]},on:{change:function(e){var n=t.form[t.fieldName],r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=t._i(n,null);r.checked?i<0&&t.$set(t.form,t.fieldName,n.concat([null])):i>-1&&t.$set(t.form,t.fieldName,n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.form,t.fieldName,o)}}},"input",t.$attrs,!1)):"radio"===t.inputType?n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.form[t.fieldName],expression:"form[fieldName]"}],staticClass:"input",attrs:{id:t.fieldName,placeholder:t.placeholder,type:"radio"},domProps:{checked:t._q(t.form[t.fieldName],null)},on:{change:function(e){return t.$set(t.form,t.fieldName,null)}}},"input",t.$attrs,!1)):n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.form[t.fieldName],expression:"form[fieldName]"}],staticClass:"input",attrs:{id:t.fieldName,placeholder:t.placeholder,type:t.inputType},domProps:{value:t.form[t.fieldName]},on:{input:function(e){e.target.composing||t.$set(t.form,t.fieldName,e.target.value)}}},"input",t.$attrs,!1))]),t._v(" "),n("field-error",{attrs:{form:t.form,field:t.fieldName}}),t._v(" "),t.help?n("p",{staticClass:"help",domProps:{innerHTML:t._s(t.help)}}):t._e()],1)}),[],!1,null,null,null).exports,u({name:"FormSelect",data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},options:{type:Array,required:!0},form:{type:Object,required:!0},help:{type:String,default:""}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field"},[n("label",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}),t._v(" "),n("div",{staticClass:"control"},[n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.form[t.fieldName],expression:"form[fieldName]"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,t.fieldName,e.target.multiple?n:n[0])}}},t._l(t.options,(function(e){return n("option",{domProps:{value:e.value}},[t._v(t._s(e.text))])})),0)])]),t._v(" "),n("field-error",{attrs:{form:t.form,field:t.fieldName}}),t._v(" "),t.help?n("p",{staticClass:"help",domProps:{innerHTML:t._s(t.help)}}):t._e()],1)}),[],!1,null,null,null).exports,u({name:"FormSwitch",data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},form:{type:Object,required:!0},help:{type:String,default:""}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:t.fieldName},domProps:{innerHTML:t._s(t.label)}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.form[t.fieldName],expression:"form[fieldName]"}],staticClass:"switch is-thin is-info",attrs:{id:t.fieldName,type:"checkbox",name:t.fieldName},domProps:{checked:Array.isArray(t.form[t.fieldName])?t._i(t.form[t.fieldName],null)>-1:t.form[t.fieldName]},on:{change:function(e){var n=t.form[t.fieldName],r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=t._i(n,null);r.checked?i<0&&t.$set(t.form,t.fieldName,n.concat([null])):i>-1&&t.$set(t.form,t.fieldName,n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.form,t.fieldName,o)}}}),t._v(" "),n("label",{staticClass:"label",attrs:{for:t.fieldName}}),t._v(" "),t.help?n("p",{staticClass:"help",domProps:{innerHTML:t._s(t.help)}}):t._e()])}),[],!1,null,null,null).exports,u({name:"FormCheckbox",data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},form:{type:Object,required:!0},help:{type:String,default:""}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form[t.fieldName],expression:"form[fieldName]"}],staticClass:"is-checkradio is-info",attrs:{id:t.fieldName,type:"checkbox",name:t.fieldName},domProps:{checked:Array.isArray(t.form[t.fieldName])?t._i(t.form[t.fieldName],null)>-1:t.form[t.fieldName]},on:{change:function(e){var n=t.form[t.fieldName],r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=t._i(n,null);r.checked?i<0&&t.$set(t.form,t.fieldName,n.concat([null])):i>-1&&t.$set(t.form,t.fieldName,n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.form,t.fieldName,o)}}}),t._v(" "),n("label",{staticClass:"label",attrs:{for:t.fieldName},domProps:{innerHTML:t._s(t.label)}}),t._v(" "),t.help?n("p",{staticClass:"help",domProps:{innerHTML:t._s(t.help)}}):t._e()])}),[],!1,null,null,null).exports,u({name:"FormButtons",data:function(){return{}},props:{showCancelButton:{type:Boolean,default:!1},isBusy:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},caption:{type:String,default:"Submit"},cancelLandingView:{type:String,default:""}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field is-grouped"},[n("div",{staticClass:"control"},[n("v-button",{attrs:{isLoading:t.isBusy,disabled:t.isDisabled}},[t._v(t._s(t.caption))])],1),t._v(" "),t.showCancelButton?n("div",{staticClass:"control"},[n("router-link",{staticClass:"button is-text",attrs:{to:{name:t.cancelLandingView}}},[t._v(t._s(t.$t("commons.cancel")))])],1):t._e()])}),[],!1,null,null,null).exports,u({name:"VueFooter",data:function(){return{}},props:{showButtons:!0},methods:{logout:function(){confirm(this.$t("auth.confirm.logout"))&&this.appLogout()}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"has-background-black-ter"},[t.showButtons?n("div",{staticClass:"columns is-gapless"},[n("div",{staticClass:"column has-text-centered"},[n("div",{staticClass:"field is-grouped"},[t._t("default")],2)])]):t._e(),t._v(" "),"settings"===t.$route.name?n("div",{staticClass:"content has-text-centered is-size-6"},[n("a",{staticClass:"has-text-grey",attrs:{href:"https://github.com/Bubka/2FAuth"}},[n("b",[t._v("2FAuth")]),t._v(" "),n("font-awesome-icon",{attrs:{icon:["fab","github-alt"]}})],1),t._v(" - v"+t._s(t.appVersion)+"\n ")]):n("div",{staticClass:"content has-text-centered"},[n("router-link",{staticClass:"has-text-grey",attrs:{to:{name:"settings"}}},[t._v(t._s(t.$t("settings.settings")))]),t._v(" - "),n("a",{staticClass:"has-text-grey",on:{click:t.logout}},[t._v(t._s(t.$t("auth.sign_out")))])],1)])}),[],!1,null,null,null).exports,u({name:"Kicker",data:function(){return{events:["click","mousedown","scroll","keypress","load"],logoutTimer:null}},mounted:function(){this.events.forEach((function(t){window.addEventListener(t,this.resetTimer)}),this),this.setTimer()},destroyed:function(){this.events.forEach((function(t){window.removeEventListener(t,this.resetTimer)}),this),clearTimeout(this.logoutTimer)},methods:{setTimer:function(){this.logoutTimer=setTimeout(this.logoutUser,60*this.$root.appSettings.kickUserAfter*1e3)},logoutUser:function(){clearTimeout(this.logoutTimer),this.appLogout()},resetTimer:function(){clearTimeout(this.logoutTimer),this.setTimer()}}},(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,null,null).exports].forEach((function(t){o.a.component(t.name,t)})),o.a.use(It.a);new o.a({el:"#app",data:{appSettings:window.appSettings},i18n:ft,router:tt})},dTCG:function(t,e,n){var r=n("4/Ry");"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(r,o);r.locals&&(t.exports=r.locals)},ls82:function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function f(){}function d(){}function p(){}var h={};h[o]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(k([])));v&&v!==e&&n.call(v,o)&&(h=v);var g=p.prototype=f.prototype=Object.create(h);function b(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){var r;this._invoke=function(o,i){function a(){return new e((function(r,a){!function r(o,i,a,s){var c=u(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function k(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=g.constructor=p,p.constructor=d,d.displayName=s(p,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(y.prototype),y.prototype[i]=function(){return this},t.AsyncIterator=y,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new y(c(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),s(g,a,"Generator"),g[o]=function(){return this},g.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=k,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},o0o1:function(t,e,n){t.exports=n("ls82")},pyCd:function(t,e){},qkdH:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function s(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function c(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(e),n.d(e,"MultiDrag",(function(){return ye})),n.d(e,"Sortable",(function(){return Ut})),n.d(e,"Swap",(function(){return ce}));function u(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var l=u(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),f=u(/Edge/i),d=u(/firefox/i),p=u(/safari/i)&&!u(/chrome/i)&&!u(/android/i),h=u(/iP(ad|od|hone)/i),m=u(/chrome/i)&&u(/android/i),v={capture:!1,passive:!1};function g(t,e,n){t.addEventListener(e,n,!l&&v)}function b(t,e,n){t.removeEventListener(e,n,!l&&v)}function y(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function w(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function _(t,e,n,r){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&y(t,e):y(t,e))||r&&t===n)return t;if(t===n)break}while(t=w(t))}return null}var x,S=/\s+/g;function k(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(S," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(S," ")}}function C(t,e,n){var r=t&&t.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in r||-1!==e.indexOf("webkit")||(e="-webkit-"+e),r[e]=n+("string"==typeof n?"":"px")}}function E(t,e){var n="";if("string"==typeof t)n=t;else do{var r=C(t,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function O(t,e,n){if(t){var r=t.getElementsByTagName(e),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function T(){var t=document.scrollingElement;return t||document.documentElement}function A(t,e,n,r,o){if(t.getBoundingClientRect||t===window){var i,a,s,c,u,f,d;if(t!==window&&t!==T()?(a=(i=t.getBoundingClientRect()).top,s=i.left,c=i.bottom,u=i.right,f=i.height,d=i.width):(a=0,s=0,c=window.innerHeight,u=window.innerWidth,f=window.innerHeight,d=window.innerWidth),(e||n)&&t!==window&&(o=o||t.parentNode,!l))do{if(o&&o.getBoundingClientRect&&("none"!==C(o,"transform")||n&&"static"!==C(o,"position"))){var p=o.getBoundingClientRect();a-=p.top+parseInt(C(o,"border-top-width")),s-=p.left+parseInt(C(o,"border-left-width")),c=a+i.height,u=s+i.width;break}}while(o=o.parentNode);if(r&&t!==window){var h=E(o||t),m=h&&h.a,v=h&&h.d;h&&(c=(a/=v)+(f/=v),u=(s/=m)+(d/=m))}return{top:a,left:s,bottom:c,right:u,width:d,height:f}}}function j(t,e,n){for(var r=M(t,!0),o=A(t)[e];r;){var i=A(r)[n];if(!("top"===n||"left"===n?o>=i:o<=i))return r;if(r===T())break;r=M(r,!1)}return!1}function L(t,e,n){for(var r=0,o=0,i=t.children;o<i.length;){if("none"!==i[o].style.display&&i[o]!==Ut.ghost&&i[o]!==Ut.dragged&&_(i[o],n.draggable,t,!1)){if(r===e)return i[o];r++}o++}return null}function I(t,e){for(var n=t.lastElementChild;n&&(n===Ut.ghost||"none"===C(n,"display")||e&&!y(n,e));)n=n.previousElementSibling;return n||null}function P(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Ut.clone||e&&!y(t,e)||n++;return n}function D(t){var e=0,n=0,r=T();if(t)do{var o=E(t),i=o.a,a=o.d;e+=t.scrollLeft*i,n+=t.scrollTop*a}while(t!==r&&(t=t.parentNode));return[e,n]}function M(t,e){if(!t||!t.getBoundingClientRect)return T();var n=t,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=C(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return T();if(r||e)return n;r=!0}}}while(n=n.parentNode);return T()}function N(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function $(t,e){return function(){if(!x){var n=arguments,r=this;1===n.length?t.call(r,n[0]):t.apply(r,n),x=setTimeout((function(){x=void 0}),e)}}}function R(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function q(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function U(t,e){C(t,"position","absolute"),C(t,"top",e.top),C(t,"left",e.left),C(t,"width",e.width),C(t,"height",e.height)}function z(t){C(t,"position",""),C(t,"top",""),C(t,"left",""),C(t,"width",""),C(t,"height","")}var F="Sortable"+(new Date).getTime();function B(){var t,e=[];return{captureAnimationState:function(){(e=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(t){if("none"!==C(t,"display")&&t!==Ut.ghost){e.push({target:t,rect:A(t)});var n=a({},e[e.length-1].rect);if(t.thisAnimationDuration){var r=E(t,!0);r&&(n.top-=r.f,n.left-=r.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var r in e)if(e.hasOwnProperty(r)&&e[r]===t[n][r])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var o=!1,i=0;e.forEach((function(t){var e=0,n=t.target,a=n.fromRect,s=A(n),c=n.prevFromRect,u=n.prevToRect,l=t.rect,f=E(n,!0);f&&(s.top-=f.f,s.left-=f.e),n.toRect=s,n.thisAnimationDuration&&N(c,s)&&!N(a,s)&&(l.top-s.top)/(l.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(e=function(t,e,n,r){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*r.animation}(l,c,u,r.options)),N(s,a)||(n.prevFromRect=a,n.prevToRect=s,e||(e=r.options.animation),r.animate(n,l,s,e)),e&&(o=!0,i=Math.max(i,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),o?t=setTimeout((function(){"function"==typeof n&&n()}),i):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,r){if(r){C(t,"transition",""),C(t,"transform","");var o=E(this.el),i=o&&o.a,a=o&&o.d,s=(e.left-n.left)/(i||1),c=(e.top-n.top)/(a||1);t.animatingX=!!s,t.animatingY=!!c,C(t,"transform","translate3d("+s+"px,"+c+"px,0)"),function(t){t.offsetWidth}(t),C(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),C(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){C(t,"transition",""),C(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),r)}}}}var H=[],W={initializeByDefault:!0},G={mount:function(t){for(var e in W)W.hasOwnProperty(e)&&!(e in t)&&(t[e]=W[e]);H.push(t)},pluginEvent:function(t,e,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var o=t+"Global";H.forEach((function(r){e[r.pluginName]&&(e[r.pluginName][o]&&e[r.pluginName][o](a({sortable:e},n)),e.options[r.pluginName]&&e[r.pluginName][t]&&e[r.pluginName][t](a({sortable:e},n)))}))},initializePlugins:function(t,e,n,r){for(var o in H.forEach((function(r){var o=r.pluginName;if(t.options[o]||r.initializeByDefault){var a=new r(t,e,t.options);a.sortable=t,a.options=t.options,t[o]=a,i(n,a.defaults)}})),t.options)if(t.options.hasOwnProperty(o)){var a=this.modifyOption(t,o,t.options[o]);void 0!==a&&(t.options[o]=a)}},getEventProperties:function(t,e){var n={};return H.forEach((function(r){"function"==typeof r.eventProperties&&i(n,r.eventProperties.call(e[r.pluginName],t))})),n},modifyOption:function(t,e,n){var r;return H.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[e]&&(r=o.optionListeners[e].call(t[o.pluginName],n))})),r}};function V(t){var e=t.sortable,n=t.rootEl,r=t.name,o=t.targetEl,i=t.cloneEl,s=t.toEl,c=t.fromEl,u=t.oldIndex,d=t.newIndex,p=t.oldDraggableIndex,h=t.newDraggableIndex,m=t.originalEvent,v=t.putSortable,g=t.extraEventProperties;if(e=e||n&&n[F]){var b,y=e.options,w="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||l||f?(b=document.createEvent("Event")).initEvent(r,!0,!0):b=new CustomEvent(r,{bubbles:!0,cancelable:!0}),b.to=s||n,b.from=c||n,b.item=o||n,b.clone=i,b.oldIndex=u,b.newIndex=d,b.oldDraggableIndex=p,b.newDraggableIndex=h,b.originalEvent=m,b.pullMode=v?v.lastPutMode:void 0;var _=a({},g,G.getEventProperties(r,e));for(var x in _)b[x]=_[x];n&&n.dispatchEvent(b),y[w]&&y[w].call(e,b)}}var Y=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=s(n,["evt"]);G.pluginEvent.bind(Ut)(t,e,a({dragEl:K,parentEl:Q,ghostEl:J,rootEl:Z,nextEl:tt,lastDownEl:et,cloneEl:nt,cloneHidden:rt,dragStarted:vt,putSortable:ut,activeSortable:Ut.active,originalEvent:r,oldIndex:ot,oldDraggableIndex:at,newIndex:it,newDraggableIndex:st,hideGhostForTarget:Nt,unhideGhostForTarget:$t,cloneNowHidden:function(){rt=!0},cloneNowShown:function(){rt=!1},dispatchSortableEvent:function(t){X({sortable:e,name:t,originalEvent:r})}},o))};function X(t){V(a({putSortable:ut,cloneEl:nt,targetEl:K,rootEl:Z,oldIndex:ot,oldDraggableIndex:at,newIndex:it,newDraggableIndex:st},t))}var K,Q,J,Z,tt,et,nt,rt,ot,it,at,st,ct,ut,lt,ft,dt,pt,ht,mt,vt,gt,bt,yt,wt,_t=!1,xt=!1,St=[],kt=!1,Ct=!1,Et=[],Ot=!1,Tt=[],At="undefined"!=typeof document,jt=h,Lt=f||l?"cssFloat":"float",It=At&&!m&&!h&&"draggable"in document.createElement("div"),Pt=function(){if(At){if(l)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Dt=function(t,e){var n=C(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=L(t,0,e),i=L(t,1,e),a=o&&C(o),s=i&&C(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+A(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+A(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&"none"!==a.float){var l="left"===a.float?"left":"right";return!i||"both"!==s.clear&&s.clear!==l?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||c>=r&&"none"===n[Lt]||i&&"none"===n[Lt]&&c+u>r)?"vertical":"horizontal"},Mt=function(t){function e(t,n){return function(r,o,i,a){var s=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(r,o,i,a),n)(r,o,i,a);var c=(n?r:o).options.group.name;return!0===t||"string"==typeof t&&t===c||t.join&&t.indexOf(c)>-1}}var n={},o=t.group;o&&"object"==r(o)||(o={name:o}),n.name=o.name,n.checkPull=e(o.pull,!0),n.checkPut=e(o.put),n.revertClone=o.revertClone,t.group=n},Nt=function(){!Pt&&J&&C(J,"display","none")},$t=function(){!Pt&&J&&C(J,"display","")};At&&document.addEventListener("click",(function(t){if(xt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),xt=!1,!1}),!0);var Rt=function(t){if(K){t=t.touches?t.touches[0]:t;var e=(o=t.clientX,i=t.clientY,St.some((function(t){if(!I(t)){var e=A(t),n=t[F].options.emptyInsertThreshold,r=o>=e.left-n&&o<=e.right+n,s=i>=e.top-n&&i<=e.bottom+n;return n&&r&&s?a=t:void 0}})),a);if(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[F]._onDragOver(n)}}var o,i,a},qt=function(t){K&&K.parentNode[F]._isOutsideThisEl(t.target)};function Ut(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=i({},e),t[F]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Dt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ut.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in G.initializePlugins(this,t,n),n)!(r in e)&&(e[r]=n[r]);for(var o in Mt(e),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!e.forceFallback&&It,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?g(t,"pointerdown",this._onTapStart):(g(t,"mousedown",this._onTapStart),g(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(g(t,"dragover",this),g(t,"dragenter",this)),St.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),i(this,B())}function zt(t,e,n,r,o,i,a,s){var c,u,d=t[F],p=d.options.onMove;return!window.CustomEvent||l||f?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=e,c.from=t,c.dragged=n,c.draggedRect=r,c.related=o||e,c.relatedRect=i||A(e),c.willInsertAfter=s,c.originalEvent=a,t.dispatchEvent(c),p&&(u=p.call(d,c,a)),u}function Ft(t){t.draggable=!1}function Bt(){Ot=!1}function Ht(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function Wt(t){return setTimeout(t,0)}function Gt(t){return clearTimeout(t)}Ut.prototype={constructor:Ut,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(gt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,K):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,r=this.options,o=r.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,u=r.filter;if(function(t){Tt.length=0;var e=t.getElementsByTagName("input"),n=e.length;for(;n--;){var r=e[n];r.checked&&Tt.push(r)}}(n),!K&&!(/mousedown|pointerdown/.test(i)&&0!==t.button||r.disabled||c.isContentEditable||(s=_(s,r.draggable,n,!1))&&s.animated||et===s)){if(ot=P(s),at=P(s,r.draggable),"function"==typeof u){if(u.call(this,t,s,this))return X({sortable:e,rootEl:c,name:"filter",targetEl:s,toEl:n,fromEl:n}),Y("filter",e,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(u&&(u=u.split(",").some((function(r){if(r=_(c,r.trim(),n,!1))return X({sortable:e,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Y("filter",e,{evt:t}),!0}))))return void(o&&t.cancelable&&t.preventDefault());r.handle&&!_(c,r.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var r,o=this,i=o.el,a=o.options,s=i.ownerDocument;if(n&&!K&&n.parentNode===i){var c=A(n);if(Z=i,Q=(K=n).parentNode,tt=K.nextSibling,et=n,ct=a.group,Ut.dragged=K,lt={target:K,clientX:(e||t).clientX,clientY:(e||t).clientY},ht=lt.clientX-c.left,mt=lt.clientY-c.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,K.style["will-change"]="all",r=function(){Y("delayEnded",o,{evt:t}),Ut.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!d&&o.nativeDraggable&&(K.draggable=!0),o._triggerDragStart(t,e),X({sortable:o,name:"choose",originalEvent:t}),k(K,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){O(K,t.trim(),Ft)})),g(s,"dragover",Rt),g(s,"mousemove",Rt),g(s,"touchmove",Rt),g(s,"mouseup",o._onDrop),g(s,"touchend",o._onDrop),g(s,"touchcancel",o._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),Y("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(f||l))r();else{if(Ut.eventCanceled)return void this._onDrop();g(s,"mouseup",o._disableDelayedDrag),g(s,"touchend",o._disableDelayedDrag),g(s,"touchcancel",o._disableDelayedDrag),g(s,"mousemove",o._delayedDragTouchMoveHandler),g(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&g(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){K&&Ft(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._disableDelayedDrag),b(t,"touchend",this._disableDelayedDrag),b(t,"touchcancel",this._disableDelayedDrag),b(t,"mousemove",this._delayedDragTouchMoveHandler),b(t,"touchmove",this._delayedDragTouchMoveHandler),b(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?g(document,"pointermove",this._onTouchMove):g(document,e?"touchmove":"mousemove",this._onTouchMove):(g(K,"dragend",this),g(Z,"dragstart",this._onDragStart));try{document.selection?Wt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(_t=!1,Z&&K){Y("dragStarted",this,{evt:e}),this.nativeDraggable&&g(document,"dragover",qt);var n=this.options;!t&&k(K,n.dragClass,!1),k(K,n.ghostClass,!0),Ut.active=this,t&&this._appendGhost(),X({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(ft){this._lastX=ft.clientX,this._lastY=ft.clientY,Nt();for(var t=document.elementFromPoint(ft.clientX,ft.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(ft.clientX,ft.clientY))!==e;)e=t;if(K.parentNode[F]._isOutsideThisEl(t),e)do{if(e[F]){if(e[F]._onDragOver({clientX:ft.clientX,clientY:ft.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);$t()}},_onTouchMove:function(t){if(lt){var e=this.options,n=e.fallbackTolerance,r=e.fallbackOffset,o=t.touches?t.touches[0]:t,i=J&&E(J,!0),a=J&&i&&i.a,s=J&&i&&i.d,c=jt&&wt&&D(wt),u=(o.clientX-lt.clientX+r.x)/(a||1)+(c?c[0]-Et[0]:0)/(a||1),l=(o.clientY-lt.clientY+r.y)/(s||1)+(c?c[1]-Et[1]:0)/(s||1);if(!Ut.active&&!_t){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(J){i?(i.e+=u-(dt||0),i.f+=l-(pt||0)):i={a:1,b:0,c:0,d:1,e:u,f:l};var f="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");C(J,"webkitTransform",f),C(J,"mozTransform",f),C(J,"msTransform",f),C(J,"transform",f),dt=u,pt=l,ft=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!J){var t=this.options.fallbackOnBody?document.body:Z,e=A(K,!0,jt,!0,t),n=this.options;if(jt){for(wt=t;"static"===C(wt,"position")&&"none"===C(wt,"transform")&&wt!==document;)wt=wt.parentNode;wt!==document.body&&wt!==document.documentElement?(wt===document&&(wt=T()),e.top+=wt.scrollTop,e.left+=wt.scrollLeft):wt=T(),Et=D(wt)}k(J=K.cloneNode(!0),n.ghostClass,!1),k(J,n.fallbackClass,!0),k(J,n.dragClass,!0),C(J,"transition",""),C(J,"transform",""),C(J,"box-sizing","border-box"),C(J,"margin",0),C(J,"top",e.top),C(J,"left",e.left),C(J,"width",e.width),C(J,"height",e.height),C(J,"opacity","0.8"),C(J,"position",jt?"absolute":"fixed"),C(J,"zIndex","100000"),C(J,"pointerEvents","none"),Ut.ghost=J,t.appendChild(J),C(J,"transform-origin",ht/parseInt(J.style.width)*100+"% "+mt/parseInt(J.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,r=t.dataTransfer,o=n.options;Y("dragStart",this,{evt:t}),Ut.eventCanceled?this._onDrop():(Y("setupClone",this),Ut.eventCanceled||((nt=q(K)).draggable=!1,nt.style["will-change"]="",this._hideClone(),k(nt,this.options.chosenClass,!1),Ut.clone=nt),n.cloneId=Wt((function(){Y("clone",n),Ut.eventCanceled||(n.options.removeCloneOnHide||Z.insertBefore(nt,K),n._hideClone(),X({sortable:n,name:"clone"}))})),!e&&k(K,o.dragClass,!0),e?(xt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(b(document,"mouseup",n._onDrop),b(document,"touchend",n._onDrop),b(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,K)),g(document,"drop",n),C(K,"transform","translateZ(0)")),_t=!0,n._dragStartId=Wt(n._dragStarted.bind(n,e,t)),g(document,"selectstart",n),vt=!0,p&&C(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,r,o,i=this.el,s=t.target,c=this.options,u=c.group,l=Ut.active,f=ct===u,d=c.sort,p=ut||l,h=this,m=!1;if(!Ot){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=_(s,c.draggable,i,!0),N("dragOver"),Ut.eventCanceled)return m;if(K.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||h._ignoreWhileAnimating===s)return q(!1);if(xt=!1,l&&!c.disabled&&(f?d||(r=!Z.contains(K)):ut===this||(this.lastPutMode=ct.checkPull(this,l,K,t))&&u.checkPut(this,l,K,t))){if(o="vertical"===this._getDirection(t,s),e=A(K),N("dragOverValid"),Ut.eventCanceled)return m;if(r)return Q=Z,$(),this._hideClone(),N("revert"),Ut.eventCanceled||(tt?Z.insertBefore(K,tt):Z.appendChild(K)),q(!0);var v=I(i,c.draggable);if(!v||function(t,e,n){var r=A(I(n.el,n.options.draggable));return e?t.clientX>r.right+10||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+10}(t,o,this)&&!v.animated){if(v===K)return q(!1);if(v&&i===t.target&&(s=v),s&&(n=A(s)),!1!==zt(Z,i,K,e,s,n,t,!!s))return $(),i.appendChild(K),Q=i,U(),q(!0)}else if(s.parentNode===i){n=A(s);var g,b,y,w=K.parentNode!==i,x=!function(t,e,n){var r=n?t.left:t.top,o=n?t.right:t.bottom,i=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,c=n?e.width:e.height;return r===a||o===s||r+i/2===a+c/2}(K.animated&&K.toRect||e,s.animated&&s.toRect||n,o),S=o?"top":"left",E=j(s,"top","top")||j(K,"top","top"),O=E?E.scrollTop:void 0;if(gt!==s&&(b=n[S],kt=!1,Ct=!x&&c.invertSwap||w),0!==(g=function(t,e,n,r,o,i,a,s){var c=r?t.clientY:t.clientX,u=r?n.height:n.width,l=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a)if(s&&yt<u*o){if(!kt&&(1===bt?c>l+u*i/2:c<f-u*i/2)&&(kt=!0),kt)d=!0;else if(1===bt?c<l+yt:c>f-yt)return-bt}else if(c>l+u*(1-o)/2&&c<f-u*(1-o)/2)return function(t){return P(K)<P(t)?1:-1}(e);if((d=d||a)&&(c<l+u*i/2||c>f-u*i/2))return c>l+u/2?1:-1;return 0}(t,s,n,o,x?1:c.swapThreshold,null==c.invertedSwapThreshold?c.swapThreshold:c.invertedSwapThreshold,Ct,gt===s))){var T=P(K);do{T-=g,y=Q.children[T]}while(y&&("none"===C(y,"display")||y===J))}if(0===g||y===s)return q(!1);gt=s,bt=g;var L=s.nextElementSibling,D=!1,M=zt(Z,i,K,e,s,n,t,D=1===g);if(!1!==M)return 1!==M&&-1!==M||(D=1===M),Ot=!0,setTimeout(Bt,30),$(),D&&!L?i.appendChild(K):s.parentNode.insertBefore(K,D?L:s),E&&R(E,0,O-E.scrollTop),Q=K.parentNode,void 0===b||Ct||(yt=Math.abs(b-A(s)[S])),U(),q(!0)}if(i.contains(K))return q(!1)}return!1}function N(c,u){Y(c,h,a({evt:t,isOwner:f,axis:o?"vertical":"horizontal",revert:r,dragRect:e,targetRect:n,canSort:d,fromSortable:p,target:s,completed:q,onMove:function(n,r){return zt(Z,i,K,e,n,A(n),t,r)},changed:U},u))}function $(){N("dragOverAnimationCapture"),h.captureAnimationState(),h!==p&&p.captureAnimationState()}function q(e){return N("dragOverCompleted",{insertion:e}),e&&(f?l._hideClone():l._showClone(h),h!==p&&(k(K,ut?ut.options.ghostClass:l.options.ghostClass,!1),k(K,c.ghostClass,!0)),ut!==h&&h!==Ut.active?ut=h:h===Ut.active&&ut&&(ut=null),p===h&&(h._ignoreWhileAnimating=s),h.animateAll((function(){N("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(s===K&&!K.animated||s===i&&!s.animated)&&(gt=null),c.dragoverBubble||t.rootEl||s===document||(K.parentNode[F]._isOutsideThisEl(t.target),!e&&Rt(t)),!c.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function U(){it=P(K),st=P(K,c.draggable),X({sortable:h,name:"change",toEl:i,newIndex:it,newDraggableIndex:st,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",Rt),b(document,"mousemove",Rt),b(document,"touchmove",Rt)},_offUpEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._onDrop),b(t,"touchend",this._onDrop),b(t,"pointerup",this._onDrop),b(t,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;it=P(K),st=P(K,n.draggable),Y("drop",this,{evt:t}),Q=K&&K.parentNode,it=P(K),st=P(K,n.draggable),Ut.eventCanceled||(_t=!1,Ct=!1,kt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Gt(this.cloneId),Gt(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),p&&C(document.body,"user-select",""),C(K,"transform",""),t&&(vt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(Z===Q||ut&&"clone"!==ut.lastPutMode)&&nt&&nt.parentNode&&nt.parentNode.removeChild(nt),K&&(this.nativeDraggable&&b(K,"dragend",this),Ft(K),K.style["will-change"]="",vt&&!_t&&k(K,ut?ut.options.ghostClass:this.options.ghostClass,!1),k(K,this.options.chosenClass,!1),X({sortable:this,name:"unchoose",toEl:Q,newIndex:null,newDraggableIndex:null,originalEvent:t}),Z!==Q?(it>=0&&(X({rootEl:Q,name:"add",toEl:Q,fromEl:Z,originalEvent:t}),X({sortable:this,name:"remove",toEl:Q,originalEvent:t}),X({rootEl:Q,name:"sort",toEl:Q,fromEl:Z,originalEvent:t}),X({sortable:this,name:"sort",toEl:Q,originalEvent:t})),ut&&ut.save()):it!==ot&&it>=0&&(X({sortable:this,name:"update",toEl:Q,originalEvent:t}),X({sortable:this,name:"sort",toEl:Q,originalEvent:t})),Ut.active&&(null!=it&&-1!==it||(it=ot,st=at),X({sortable:this,name:"end",toEl:Q,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Y("nulling",this),Z=K=Q=J=tt=nt=et=rt=lt=ft=vt=it=st=ot=at=gt=bt=ut=ct=Ut.dragged=Ut.ghost=Ut.clone=Ut.active=null,Tt.forEach((function(t){t.checked=!0})),Tt.length=dt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":K&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,r=0,o=n.length,i=this.options;r<o;r++)_(t=n[r],i.draggable,this.el,!1)&&e.push(t.getAttribute(i.dataIdAttr)||Ht(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,r){var o=n.children[r];_(o,this.options.draggable,n,!1)&&(e[t]=o)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return _(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var r=G.modifyOption(this,t,e);n[t]=void 0!==r?r:e,"group"===t&&Mt(n)},destroy:function(){Y("destroy",this);var t=this.el;t[F]=null,b(t,"mousedown",this._onTapStart),b(t,"touchstart",this._onTapStart),b(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(t,"dragover",this),b(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),St.splice(St.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!rt){if(Y("hideClone",this),Ut.eventCanceled)return;C(nt,"display","none"),this.options.removeCloneOnHide&&nt.parentNode&&nt.parentNode.removeChild(nt),rt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(rt){if(Y("showClone",this),Ut.eventCanceled)return;Z.contains(K)&&!this.options.group.revertClone?Z.insertBefore(nt,K):tt?Z.insertBefore(nt,tt):Z.appendChild(nt),this.options.group.revertClone&&this.animate(K,nt),C(nt,"display",""),rt=!1}}else this._hideClone()}},At&&g(document,"touchmove",(function(t){(Ut.active||_t)&&t.cancelable&&t.preventDefault()})),Ut.utils={on:g,off:b,css:C,find:O,is:function(t,e){return!!_(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:$,closest:_,toggleClass:k,clone:q,index:P,nextTick:Wt,cancelNextTick:Gt,detectDirection:Dt,getChild:L},Ut.get=function(t){return t[F]},Ut.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Ut.utils=a({},Ut.utils,t.utils)),G.mount(t)}))},Ut.create=function(t,e){return new Ut(t,e)},Ut.version="1.10.2";var Vt,Yt,Xt,Kt,Qt,Jt,Zt=[],te=!1;function ee(){Zt.forEach((function(t){clearInterval(t.pid)})),Zt=[]}function ne(){clearInterval(Jt)}var re,oe=$((function(t,e,n,r){if(e.scroll){var o,i=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,c=e.scrollSpeed,u=T(),l=!1;Yt!==n&&(Yt=n,ee(),Vt=e.scroll,o=e.scrollFn,!0===Vt&&(Vt=M(n,!0)));var f=0,d=Vt;do{var p=d,h=A(p),m=h.top,v=h.bottom,g=h.left,b=h.right,y=h.width,w=h.height,_=void 0,x=void 0,S=p.scrollWidth,k=p.scrollHeight,E=C(p),O=p.scrollLeft,j=p.scrollTop;p===u?(_=y<S&&("auto"===E.overflowX||"scroll"===E.overflowX||"visible"===E.overflowX),x=w<k&&("auto"===E.overflowY||"scroll"===E.overflowY||"visible"===E.overflowY)):(_=y<S&&("auto"===E.overflowX||"scroll"===E.overflowX),x=w<k&&("auto"===E.overflowY||"scroll"===E.overflowY));var L=_&&(Math.abs(b-i)<=s&&O+y<S)-(Math.abs(g-i)<=s&&!!O),I=x&&(Math.abs(v-a)<=s&&j+w<k)-(Math.abs(m-a)<=s&&!!j);if(!Zt[f])for(var P=0;P<=f;P++)Zt[P]||(Zt[P]={});Zt[f].vx==L&&Zt[f].vy==I&&Zt[f].el===p||(Zt[f].el=p,Zt[f].vx=L,Zt[f].vy=I,clearInterval(Zt[f].pid),0==L&&0==I||(l=!0,Zt[f].pid=setInterval(function(){r&&0===this.layer&&Ut.active._onTouchMove(Qt);var e=Zt[this.layer].vy?Zt[this.layer].vy*c:0,n=Zt[this.layer].vx?Zt[this.layer].vx*c:0;"function"==typeof o&&"continue"!==o.call(Ut.dragged.parentNode[F],n,e,t,Qt,Zt[this.layer].el)||R(Zt[this.layer].el,n,e)}.bind({layer:f}),24))),f++}while(e.bubbleScroll&&d!==u&&(d=M(d,!1)));te=l}}),30),ie=function(t){var e=t.originalEvent,n=t.putSortable,r=t.dragEl,o=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var c=n||o;a();var u=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,l=document.elementFromPoint(u.clientX,u.clientY);s(),c&&!c.el.contains(l)&&(i("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function ae(){}function se(){}function ce(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;re=e},dragOverValid:function(t){var e=t.completed,n=t.target,r=t.onMove,o=t.activeSortable,i=t.changed,a=t.cancel;if(o.options.swap){var s=this.sortable.el,c=this.options;if(n&&n!==s){var u=re;!1!==r(n)?(k(n,c.swapClass,!0),re=n):re=null,u&&u!==re&&k(u,c.swapClass,!1)}i(),e(!0),a()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,r=t.dragEl,o=n||this.sortable,i=this.options;re&&k(re,i.swapClass,!1),re&&(i.swap||n&&n.options.swap)&&r!==re&&(o.captureAnimationState(),o!==e&&e.captureAnimationState(),function(t,e){var n,r,o=t.parentNode,i=e.parentNode;if(!o||!i||o.isEqualNode(e)||i.isEqualNode(t))return;n=P(t),r=P(e),o.isEqualNode(i)&&n<r&&r++;o.insertBefore(e,o.children[n]),i.insertBefore(t,i.children[r])}(r,re),o.animateAll(),o!==e&&e.animateAll())},nulling:function(){re=null}},i(t,{pluginName:"swap",eventProperties:function(){return{swapItem:re}}})}ae.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=L(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(e,r):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:ie},i(ae,{pluginName:"revertOnSpill"}),se.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:ie},i(se,{pluginName:"removeOnSpill"});var ue,le,fe,de,pe,he=[],me=[],ve=!1,ge=!1,be=!1;function ye(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?g(document,"pointerup",this._deselectMultiDrag):(g(document,"mouseup",this._deselectMultiDrag),g(document,"touchend",this._deselectMultiDrag)),g(document,"keydown",this._checkKeyDown),g(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,n){var r="";he.length&&le===t?he.forEach((function(t,e){r+=(e?", ":"")+t.textContent})):r=n.textContent,e.setData("Text",r)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;fe=e},delayEnded:function(){this.isMultiDrag=~he.indexOf(fe)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var r=0;r<he.length;r++)me.push(q(he[r])),me[r].sortableIndex=he[r].sortableIndex,me[r].draggable=!1,me[r].style["will-change"]="",k(me[r],this.options.selectedClass,!1),he[r]===fe&&k(me[r],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,r=t.dispatchSortableEvent,o=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||he.length&&le===e&&(we(!0,n),r("clone"),o()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,r=t.cancel;this.isMultiDrag&&(we(!1,n),me.forEach((function(t){C(t,"display","")})),e(),pe=!1,r())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),r=t.cancel;this.isMultiDrag&&(me.forEach((function(t){C(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),pe=!0,r())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&le&&le.multiDrag._deselectMultiDrag(),he.forEach((function(t){t.sortableIndex=P(t)})),he=he.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),be=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){he.forEach((function(t){t!==fe&&C(t,"position","absolute")}));var r=A(fe,!1,!0,!0);he.forEach((function(t){t!==fe&&U(t,r)})),ge=!0,ve=!0}n.animateAll((function(){ge=!1,ve=!1,e.options.animation&&he.forEach((function(t){z(t)})),e.options.sort&&_e()}))}},dragOver:function(t){var e=t.target,n=t.completed,r=t.cancel;ge&&~he.indexOf(e)&&(n(!1),r())},revert:function(t){var e=t.fromSortable,n=t.rootEl,r=t.sortable,o=t.dragRect;he.length>1&&(he.forEach((function(t){r.addAnimationState({target:t,rect:ge?A(t):o}),z(t),t.fromRect=o,e.removeAnimationState(t)})),ge=!1,function(t,e){he.forEach((function(n,r){var o=e.children[n.sortableIndex+(t?Number(r):0)];o?e.insertBefore(n,o):e.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,r=t.insertion,o=t.activeSortable,i=t.parentEl,a=t.putSortable,s=this.options;if(r){if(n&&o._hideClone(),ve=!1,s.animation&&he.length>1&&(ge||!n&&!o.options.sort&&!a)){var c=A(fe,!1,!0,!0);he.forEach((function(t){t!==fe&&(U(t,c),i.appendChild(t))})),ge=!0}if(!n)if(ge||_e(),he.length>1){var u=pe;o._showClone(e),o.options.animation&&!pe&&u&&me.forEach((function(t){o.addAnimationState({target:t,rect:de}),t.fromRect=de,t.thisAnimationDuration=null}))}else o._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,r=t.activeSortable;if(he.forEach((function(t){t.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){de=i({},e);var o=E(fe,!0);de.top-=o.f,de.left-=o.e}},dragOverAnimationComplete:function(){ge&&(ge=!1,_e())},drop:function(t){var e=t.originalEvent,n=t.rootEl,r=t.parentEl,o=t.sortable,i=t.dispatchSortableEvent,a=t.oldIndex,s=t.putSortable,c=s||this.sortable;if(e){var u=this.options,l=r.children;if(!be)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),k(fe,u.selectedClass,!~he.indexOf(fe)),~he.indexOf(fe))he.splice(he.indexOf(fe),1),ue=null,V({sortable:o,rootEl:n,name:"deselect",targetEl:fe,originalEvt:e});else{if(he.push(fe),V({sortable:o,rootEl:n,name:"select",targetEl:fe,originalEvt:e}),e.shiftKey&&ue&&o.el.contains(ue)){var f,d,p=P(ue),h=P(fe);if(~p&&~h&&p!==h)for(h>p?(d=p,f=h):(d=h,f=p+1);d<f;d++)~he.indexOf(l[d])||(k(l[d],u.selectedClass,!0),he.push(l[d]),V({sortable:o,rootEl:n,name:"select",targetEl:l[d],originalEvt:e}))}else ue=fe;le=c}if(be&&this.isMultiDrag){if((r[F].options.sort||r!==n)&&he.length>1){var m=A(fe),v=P(fe,":not(."+this.options.selectedClass+")");if(!ve&&u.animation&&(fe.thisAnimationDuration=null),c.captureAnimationState(),!ve&&(u.animation&&(fe.fromRect=m,he.forEach((function(t){if(t.thisAnimationDuration=null,t!==fe){var e=ge?A(t):m;t.fromRect=e,c.addAnimationState({target:t,rect:e})}}))),_e(),he.forEach((function(t){l[v]?r.insertBefore(t,l[v]):r.appendChild(t),v++})),a===P(fe))){var g=!1;he.forEach((function(t){t.sortableIndex===P(t)||(g=!0)})),g&&i("update")}he.forEach((function(t){z(t)})),c.animateAll()}le=c}(n===r||s&&"clone"!==s.lastPutMode)&&me.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=be=!1,me.length=0},destroyGlobal:function(){this._deselectMultiDrag(),b(document,"pointerup",this._deselectMultiDrag),b(document,"mouseup",this._deselectMultiDrag),b(document,"touchend",this._deselectMultiDrag),b(document,"keydown",this._checkKeyDown),b(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==be&&be||le!==this.sortable||t&&_(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;he.length;){var e=he[0];k(e,this.options.selectedClass,!1),he.shift(),V({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},i(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[F];e&&e.options.multiDrag&&!~he.indexOf(t)&&(le&&le!==e&&(le.multiDrag._deselectMultiDrag(),le=e),k(t,e.options.selectedClass,!0),he.push(t))},deselect:function(t){var e=t.parentNode[F],n=he.indexOf(t);e&&e.options.multiDrag&&~n&&(k(t,e.options.selectedClass,!1),he.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return he.forEach((function(r){var o;e.push({multiDragElement:r,index:r.sortableIndex}),o=ge&&r!==fe?-1:ge?P(r,":not(."+t.options.selectedClass+")"):P(r),n.push({multiDragElement:r,index:o})})),{items:c(he),clones:[].concat(me),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function we(t,e){me.forEach((function(n,r){var o=e.children[n.sortableIndex+(t?Number(r):0)];o?e.insertBefore(n,o):e.appendChild(n)}))}function _e(){he.forEach((function(t){t!==fe&&t.parentNode&&t.parentNode.removeChild(t)}))}Ut.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):this.options.supportPointer?g(document,"pointermove",this._handleFallbackAutoScroll):e.touches?g(document,"touchmove",this._handleFallbackAutoScroll):g(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),ne(),ee(),clearTimeout(x),x=void 0},nulling:function(){Qt=Yt=Vt=te=Jt=Xt=Kt=null,Zt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,i=document.elementFromPoint(r,o);if(Qt=t,e||f||l||p){oe(t,this.options,i,e);var a=M(i,!0);!te||Jt&&r===Xt&&o===Kt||(Jt&&ne(),Jt=setInterval((function(){var i=M(document.elementFromPoint(r,o),!0);i!==a&&(a=i,ee()),oe(t,n.options,i,e)}),10),Xt=r,Kt=o)}else{if(!this.options.bubbleScroll||M(i,!0)===T())return void ee();oe(t,this.options,M(i,!1),!1)}}},i(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(se,ae),e.default=Ut},rT2p:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return g}));var r=n("7O5W"),o="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};var i=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){!function(e){var n=function(t,e,r){if(!c(e)||l(e)||f(e)||d(e)||s(e))return e;var o,i=0,a=0;if(u(e))for(o=[],a=e.length;i<a;i++)o.push(n(t,e[i],r));else for(var p in o={},e)Object.prototype.hasOwnProperty.call(e,p)&&(o[t(p,r)]=n(t,e[p],r));return o},r=function(t){return p(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))).substr(0,1).toLowerCase()+t.substr(1)},o=function(t){var e=r(t);return e.substr(0,1).toUpperCase()+e.substr(1)},i=function(t,e){return function(t,e){var n=(e=e||{}).separator||"_",r=e.split||/(?=[A-Z])/;return t.split(r).join(n)}(t,e).toLowerCase()},a=Object.prototype.toString,s=function(t){return"function"==typeof t},c=function(t){return t===Object(t)},u=function(t){return"[object Array]"==a.call(t)},l=function(t){return"[object Date]"==a.call(t)},f=function(t){return"[object RegExp]"==a.call(t)},d=function(t){return"[object Boolean]"==a.call(t)},p=function(t){return(t-=0)==t},h=function(t,e){var n=e&&"process"in e?e.process:e;return"function"!=typeof n?t:function(e,r){return n(e,t,r)}},m={camelize:r,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(t,e){return n(h(r,e),t)},decamelizeKeys:function(t,e){return n(h(i,e),t,e)},pascalizeKeys:function(t,e){return n(h(o,e),t)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=m:e.humps=m}(o)})),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n};function l(t){return t.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n=e.indexOf(":"),r=i.camelize(e.slice(0,n)),o=e.slice(n+1).trim();return t[r]=o,t}),{})}function f(t){return t.split(/\s+/).reduce((function(t,e){return t[e]=!0,t}),{})}function d(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((function(t,e){return Array.isArray(e)?t=t.concat(e):t.push(e),t}),[])}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=(e.children||[]).map(p.bind(null,t)),i=Object.keys(e.attributes||{}).reduce((function(t,n){var r=e.attributes[n];switch(n){case"class":t.class=f(r);break;case"style":t.style=l(r);break;default:t.attrs[n]=r}return t}),{class:{},style:{},attrs:{}}),a=r.class,s=void 0===a?{}:a,h=r.style,m=void 0===h?{}:h,v=r.attrs,g=void 0===v?{}:v,b=u(r,["class","style","attrs"]);return"string"==typeof e?e:t(e.tag,c({class:d(i.class,s),style:c({},i.style,m),attrs:c({},i.attrs,g)},b,{props:n}),o)}var h=!1;try{h=!0}catch(t){}function m(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?s({},t,e):{}}function v(t){return null===t?null:"object"===(void 0===t?"undefined":a(t))&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:"fas",iconName:t}:void 0}var g={name:"FontAwesomeIcon",functional:!0,props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:String,default:null,validator:function(t){return["horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1}},render:function(t,e){var n=e.props,o=n.icon,i=n.mask,a=n.symbol,u=n.title,l=v(o),f=m("classes",function(t){var e,n=(e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-li":t.listItem,"fa-inverse":t.inverse,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip},s(e,"fa-"+t.size,null!==t.size),s(e,"fa-rotate-"+t.rotation,null!==t.rotation),s(e,"fa-pull-"+t.pull,null!==t.pull),s(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(n).map((function(t){return n[t]?t:null})).filter((function(t){return t}))}(n)),d=m("transform","string"==typeof n.transform?r.d.transform(n.transform):n.transform),g=m("mask",v(i)),b=Object(r.b)(l,c({},f,d,g,{symbol:a,title:u}));if(!b)return function(){var t;!h&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find one or more icon(s)",l,g);var y=b.abstract;return p.bind(null,t)(y[0],{},e.data)}};Boolean,Boolean}).call(this,n("yLpj"))},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}},[[0,1,2]]]);