Version Description
Download this release
Release Info
Developer | nico23 |
Plugin | ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video …) |
Version | 9.3.0 |
Comparing to | |
See all releases |
Code changes from version 9.2.4 to 9.3.0
- advanced-responsive-video-embedder.php +4 -3
- build/admin.asset.php +1 -1
- build/block.asset.php +1 -1
- build/common/notice-ajax.asset.php +1 -1
- build/common/settings.asset.php +1 -1
- build/common/settings.css +1 -1
- build/common/settings.js +1 -1
- build/main.asset.php +1 -1
- build/main.css +1 -1
- build/shortcode-ui.asset.php +1 -1
- changelog.md +11 -0
- php/Admin/functions-admin.php +31 -123
- php/Admin/functions-settings-page.php +32 -0
- php/Admin/partials/settings-sidebar-pro.html +1 -1
- php/Common/Admin/NoticeFactory.php +17 -4
- php/Common/Admin/functions-debug.php +1 -1
- php/Common/Admin/functions-settings.php +6 -1
- php/Common/Admin/partials/debug-info.php +3 -2
- php/Common/Settings.php +47 -23
- php/Common/functions-array.php +100 -0
- php/Common/functions-attr.php +0 -33
- php/Common/functions-license.php +20 -9
- php/Common/functions-misc.php +25 -84
- php/Common/functions-settings.php +2 -2
- php/Common/functions-string.php +0 -17
- php/Common/init.php +4 -3
- php/ShortcodeArgs.php +1 -1
- php/functions-html-output.php +7 -7
- php/functions-settings.php +31 -31
- php/functions-shortcode-data.php +0 -2
- readme.txt +4 -7
advanced-responsive-video-embedder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: ARVE Advanced Responsive Video Embedder
|
4 |
* Plugin URI: https://nextgenthemes.com/plugins/arve-pro/
|
5 |
* Description: Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.
|
6 |
-
* Version: 9.
|
7 |
* Author: Nicolas Jonas
|
8 |
* Author URI: https://nextgenthemes.com
|
9 |
* License: GPL-3.0
|
@@ -21,7 +21,7 @@
|
|
21 |
|
22 |
namespace Nextgenthemes\ARVE;
|
23 |
|
24 |
-
const VERSION = '9.
|
25 |
const PRO_VERSION_REQUIRED = '5.1.5';
|
26 |
const NUM_TRACKS = 3;
|
27 |
const PLUGIN_FILE = __FILE__;
|
@@ -74,7 +74,8 @@ function init_920() {
|
|
74 |
add_filter( 'embed_oembed_discover', __NAMESPACE__ . '\reenable_oembed_cache' );
|
75 |
|
76 |
// Admin Hooks
|
77 |
-
add_action( 'nextgenthemes/arve/admin/
|
|
|
78 |
|
79 |
add_action( 'admin_bar_menu', __NAMESPACE__ . '\Admin\action_admin_bar_menu', 100 );
|
80 |
add_action( 'admin_enqueue_scripts', __NAMESPACE__ . '\Admin\admin_enqueue_scripts' );
|
3 |
* Plugin Name: ARVE Advanced Responsive Video Embedder
|
4 |
* Plugin URI: https://nextgenthemes.com/plugins/arve-pro/
|
5 |
* Description: Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.
|
6 |
+
* Version: 9.3.0
|
7 |
* Author: Nicolas Jonas
|
8 |
* Author URI: https://nextgenthemes.com
|
9 |
* License: GPL-3.0
|
21 |
|
22 |
namespace Nextgenthemes\ARVE;
|
23 |
|
24 |
+
const VERSION = '9.3.0';
|
25 |
const PRO_VERSION_REQUIRED = '5.1.5';
|
26 |
const NUM_TRACKS = 3;
|
27 |
const PLUGIN_FILE = __FILE__;
|
74 |
add_filter( 'embed_oembed_discover', __NAMESPACE__ . '\reenable_oembed_cache' );
|
75 |
|
76 |
// Admin Hooks
|
77 |
+
add_action( 'nextgenthemes/arve/admin/settings/sidebar', __NAMESPACE__ . '\Admin\settings_sidebar' );
|
78 |
+
add_action( 'nextgenthemes/arve/admin/settings/content', __NAMESPACE__ . '\Admin\settings_content' );
|
79 |
|
80 |
add_action( 'admin_bar_menu', __NAMESPACE__ . '\Admin\action_admin_bar_menu', 100 );
|
81 |
add_action( 'admin_enqueue_scripts', __NAMESPACE__ . '\Admin\admin_enqueue_scripts' );
|
build/admin.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '79591bc4b855aba1162e8b30c10f4eb8');
|
build/block.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => '17c03b6d9879bbf64116b1bc5de226dd');
|
build/common/notice-ajax.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'bca5ac9ed0184d3348f128719178e1e0');
|
build/common/settings.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '7e0f1298c824ff746e9fb09a432c8c65');
|
build/common/settings.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap--nextgenthemes{max-width:1100px;margin-right:auto;margin-left:auto}.wrap--nextgenthemes .nav-tab{cursor:pointer}.wrap--nextgenthemes .nav-tab:not(.nav-tab--ngt-highlight){font-weight:400}.wrap--nextgenthemes a{text-decoration:none}.wp-core-ui .button-primary--ngt-small{height:18px;padding-right:5px;padding-left:5px;line-height:12px}.nextgenthemes-label-text{display:block;margin-bottom:3px;font-weight:600}.nextgenthemes-label-text span{opacity:.5}[type=checkbox]+.nextgenthemes-label-text{display:inline}.wrap--nextgenthemes__loading-indicator{width:16px;height:16px}.ngt-settings-grid{display:-ms-grid;display:grid;grid-column-gap:1rem;grid-template-areas:"content" "sidebar"}@media(min-width: 750px){.ngt-settings-grid{grid-column-gap:2rem;grid-template-areas:"content sidebar";-ms-grid-columns:1fr 2rem 300px;grid-template-columns:1fr 300px}}@media(min-width: 1200px){.ngt-settings-grid{grid-column-gap:3rem;-ms-grid-columns:1fr 420px;grid-template-columns:1fr 420px}}.ngt-settings-grid__content{-ms-grid-row:1;-ms-grid-column:1;grid-area:content}.ngt-settings-grid__sidebar{-ms-grid-row:2;-ms-grid-column:1;grid-area:sidebar}@media (min-width: 750px){.ngt-settings-grid__content{-ms-grid-row:1;-ms-grid-column:1}.ngt-settings-grid__sidebar{-ms-grid-row:1;-ms-grid-column:3}}.ngt-sidebar-box{padding:1rem;margin-top:1rem;margin-bottom:1rem;background:#fff;border-left:4px solid #46b450;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.ngt-sidebar-box h3:first-child{margin-top:0}.ngt-sidebar-box ul{padding-left:1em;list-style:square}.ngt-sidebar-box li{padding-left:.7em;margin-bottom:1em}@media(min-width: 1200px){.ngt-sidebar-box{padding:3rem}}
|
1 |
+
.wrap--nextgenthemes{max-width:1100px;margin-right:auto;margin-left:auto}.wrap--nextgenthemes .nav-tab{cursor:pointer}.wrap--nextgenthemes .nav-tab:not(.nav-tab--ngt-highlight){font-weight:400}.wrap--nextgenthemes a{text-decoration:none}.wp-core-ui .button-primary--ngt-small{height:18px;padding-right:5px;padding-left:5px;line-height:12px}.nextgenthemes-label-text{display:block;margin-bottom:3px;font-weight:600}.nextgenthemes-label-text span{opacity:.5}[type=checkbox]+.nextgenthemes-label-text{display:inline}.wrap--nextgenthemes__loading-indicator{width:16px;height:16px}.ngt-settings-grid{display:-ms-grid;display:grid;grid-column-gap:1rem;grid-template-areas:"content" "sidebar"}@media(min-width: 750px){.ngt-settings-grid{grid-column-gap:2rem;grid-template-areas:"content sidebar";-ms-grid-columns:1fr 2rem 300px;grid-template-columns:1fr 300px}}@media(min-width: 1200px){.ngt-settings-grid{grid-column-gap:3rem;-ms-grid-columns:1fr 420px;grid-template-columns:1fr 420px}}.ngt-settings-grid__content{-ms-grid-row:1;-ms-grid-column:1;grid-area:content}.ngt-settings-grid__sidebar{-ms-grid-row:2;-ms-grid-column:1;grid-area:sidebar}@media (min-width: 750px){.ngt-settings-grid__content{-ms-grid-row:1;-ms-grid-column:1}.ngt-settings-grid__sidebar{-ms-grid-row:1;-ms-grid-column:3}}.ngt-sidebar-box{padding:1rem;margin-top:1rem;margin-bottom:1rem;background:#fff;border-left:4px solid #46b450;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.ngt-sidebar-box h3:first-child{margin-top:0}.ngt-sidebar-box ul{padding-left:1em;list-style:square}.ngt-sidebar-box li{padding-left:.7em;margin-bottom:1em}@media(min-width: 1200px){.ngt-sidebar-box{padding:3rem}}.ngt-debug-textarea{width:100%;height:1000px;max-height:calc(95vh - 230px);margin-top:2em;font-family:monospace}
|
build/common/settings.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t,n){(function(t,n){var r;r=function(){"use strict";var e=Object.freeze({});function r(e){return null==e}function o(e){return null!=e}function i(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function l(e){return c.call(e).slice(8,-1)}function u(e){return"[object Object]"===c.call(e)}function f(e){return"[object RegExp]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var g=m("slot,component",!0),y=m("key,ref,slot,slot-scope,is");function b(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function w(e,t){return _.call(e,t)}function $(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,k=$((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),A=$((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,S=$((function(e){return e.replace(C,"-$1").toLowerCase()})),O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function T(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function M(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n<e.length;n++)e[n]&&M(t,e[n]);return t}function I(e,t,n){}var E=function(e,t,n){return!1},N=function(e){return e};function D(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every((function(e,n){return D(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),c=Object.keys(t);return a.length===c.length&&a.every((function(n){return D(e[n],t[n])}))}catch(e){return!1}}function L(e,t){for(var n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function P(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F=["component","directive","filter"],R=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:E,isReservedAttr:E,isUnknownElement:E,getTagNamespace:I,parsePlatformTagName:N,mustUseProp:E,async:!0,_lifecycleHooks:R},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function V(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function B(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var z,q=new RegExp("[^"+U.source+".$_\\d]"),J="__proto__"in{},K="undefined"!=typeof window,W="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Z=W&&WXEnvironment.platform.toLowerCase(),G=K&&window.navigator.userAgent.toLowerCase(),Y=G&&/msie|trident/.test(G),X=G&&G.indexOf("msie 9.0")>0,Q=G&&G.indexOf("edge/")>0,ee=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===Z),te=(G&&/chrome\/\d+/.test(G),G&&/phantomjs/.test(G),G&&G.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(K)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,oe)}catch(e){}var ie=function(){return void 0===z&&(z=!K&&!W&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),z},ae=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var ce,le="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);ce="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue,fe,de,pe=I,ve="undefined"!=typeof console,he=/(?:^|[-_])(\w)/g;ue=function(e,t){var n=t?pe(t):"";H.warnHandler?H.warnHandler.call(null,e,t,n):ve&&!H.silent&&console.error("[Vue warn]: "+e+n)},fe=function(e,t){ve&&!H.silent&&console.warn("[Vue tip]: "+e+(t?pe(t):""))},de=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,r=n.name||n._componentTag,o=n.__file;if(!r&&o){var i=o.match(/([^/\\]+)\.vue$/);r=i&&i[1]}return(r?"<"+function(e){return e.replace(he,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")}(r)+">":"<Anonymous>")+(o&&!1!==t?" at "+o:"")},pe=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?de(e[0])+"... ("+e[1]+" recursive calls)":de(e))})).join("\n")}return"\n\n(found in "+de(e)+")"};var me=0,ge=function(){this.id=me++,this.subs=[]};ge.prototype.addSub=function(e){this.subs.push(e)},ge.prototype.removeSub=function(e){b(this.subs,e)},ge.prototype.depend=function(){ge.target&&ge.target.addDep(this)},ge.prototype.notify=function(){var e=this.subs.slice();H.async||e.sort((function(e,t){return e.id-t.id}));for(var t=0,n=e.length;t<n;t++)e[t].update()},ge.target=null;var ye=[];function be(e){ye.push(e),ge.target=e}function _e(){ye.pop(),ge.target=ye[ye.length-1]}var we=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},$e={child:{configurable:!0}};$e.child.get=function(){return this.componentInstance},Object.defineProperties(we.prototype,$e);var xe=function(e){void 0===e&&(e="");var t=new we;return t.text=e,t.isComment=!0,t};function ke(e){return new we(void 0,void 0,void 0,String(e))}function Ae(e){var t=new we(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ce=Array.prototype,Se=Object.create(Ce);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Ce[e];B(Se,e,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i}))}));var Oe=Object.getOwnPropertyNames(Se),Te=!0;function Me(e){Te=e}var je=function(e){this.value=e,this.dep=new ge,this.vmCount=0,B(e,"__ob__",this),Array.isArray(e)?(J?function(e,t){e.__proto__=t}(e,Se):function(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];B(e,i,t[i])}}(e,Se,Oe),this.observeArray(e)):this.walk(e)};function Ie(e,t){var n;if(s(e)&&!(e instanceof we))return w(e,"__ob__")&&e.__ob__ instanceof je?n=e.__ob__:Te&&!ie()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new je(e)),t&&n&&n.vmCount++,n}function Ee(e,t,n,r,o){var i=new ge,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!o&&Ie(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ge.target&&(i.depend(),l&&(l.dep.depend(),Array.isArray(t)&&Le(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!=t&&a!=a||(r&&r(),s&&!c||(c?c.call(e,t):n=t,l=!o&&Ie(t),i.notify()))}})}}function Ne(e,t,n){if((r(e)||a(e))&&ue("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var o=e.__ob__;return e._isVue||o&&o.vmCount?(ue("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):o?(Ee(o.value,t,n),o.dep.notify(),n):(e[t]=n,n)}function De(e,t){if((r(e)||a(e))&&ue("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?ue("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):w(e,t)&&(delete e[t],n&&n.dep.notify())}}function Le(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Le(t)}je.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ee(e,t[n])},je.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ie(e[t])};var Pe=H.optionMergeStrategies;function Fe(e,t){if(!t)return e;for(var n,r,o,i=le?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(r=e[n],o=t[n],w(e,n)?r!==o&&u(r)&&u(o)&&Fe(r,o):Ne(e,n,o));return e}function Re(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?Fe(r,o):o}:t?e?function(){return Fe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function He(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ue(e,t,n,r){var o=Object.create(e||null);return t?(ze(r,t,n),M(o,t)):o}Pe.el=Pe.propsData=function(e,t,n,r){return n||ue('option "'+r+'" can only be used during instance creation with the `new` keyword.'),Ve(e,t)},Pe.data=function(e,t,n){return n?Re(e,t,n):t&&"function"!=typeof t?(ue('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):Re(e,t)},R.forEach((function(e){Pe[e]=He})),F.forEach((function(e){Pe[e+"s"]=Ue})),Pe.watch=function(e,t,n,r){if(e===ne&&(e=void 0),t===ne&&(t=void 0),!t)return Object.create(e||null);if(ze(r,t,n),!e)return t;var o={};for(var i in M(o,e),t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Pe.props=Pe.methods=Pe.inject=Pe.computed=function(e,t,n,r){if(t&&ze(r,t,n),!e)return t;var o=Object.create(null);return M(o,e),t&&M(o,t),o},Pe.provide=Re;var Ve=function(e,t){return void 0===t?e:t};function Be(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+U.source+"]*$").test(e)||ue('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(g(e)||H.isReservedTag(e))&&ue("Do not use built-in or reserved HTML elements as component id: "+e)}function ze(e,t,n){u(t)||ue('Invalid value for option "'+e+'": expected an Object, but got '+l(t)+".",n)}function qe(e,t,n){if(function(e){for(var t in e.components)Be(t)}(t),"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])?i[k(o)]={type:null}:ue("props must be strings when using array syntax.");else if(u(n))for(var a in n)o=n[a],i[k(a)]=u(o)?o:{type:o};else ue('Invalid value for option "props": expected an Array or an Object, but got '+l(n)+".",t);e.props=i}}(t,n),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(u(n))for(var i in n){var a=n[i];r[i]=u(a)?M({from:i},a):{from:a}}else ue('Invalid value for option "inject": expected an Array or an Object, but got '+l(n)+".",t)}}(t,n),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=qe(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=qe(e,t.mixins[r],n);var i,a={};for(i in e)s(i);for(i in t)w(e,i)||s(i);function s(r){var o=Pe[r]||Ve;a[r]=o(e[r],t[r],n,r)}return a}function Je(e,t,n,r){if("string"==typeof n){var o=e[t];if(w(o,n))return o[n];var i=k(n);if(w(o,i))return o[i];var a=A(i);if(w(o,a))return o[a];var s=o[n]||o[i]||o[a];return r&&!s&&ue("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function Ke(e,t,n,r){var o=t[e],i=!w(n,e),a=n[e],c=Xe(Boolean,o.type);if(c>-1)if(i&&!w(o,"default"))a=!1;else if(""===a||a===S(e)){var u=Xe(String,o.type);(u<0||c<u)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(w(t,"default")){var r=t.default;return s(r)&&ue('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==Ge(t.type)?r.call(e):r}}(r,o,e);var f=Te;Me(!0),Ie(a),Me(f)}return function(e,t,n,r,o){if(e.required&&o)ue('Missing required prop: "'+t+'"',r);else if(null!=n||e.required){var i=e.type,a=!i||!0===i,s=[];if(i){Array.isArray(i)||(i=[i]);for(var c=0;c<i.length&&!a;c++){var u=Ze(n,i[c]);s.push(u.expectedType||""),a=u.valid}}if(a){var f=e.validator;f&&(f(n)||ue('Invalid prop: custom validator check failed for prop "'+t+'".',r))}else ue(function(e,t,n){var r='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(A).join(", "),o=n[0],i=l(t),a=Qe(t,o),s=Qe(t,i);return 1===n.length&&et(o)&&!function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.some((function(e){return"boolean"===e.toLowerCase()}))}(o,i)&&(r+=" with value "+a),r+=", got "+i+" ",et(i)&&(r+="with value "+s+"."),r}(t,n,s),r)}}(o,e,a,r,i),a}var We=/^(String|Number|Boolean|Function|Symbol)$/;function Ze(e,t){var n,r=Ge(t);if(We.test(r)){var o=typeof e;(n=o===r.toLowerCase())||"object"!==o||(n=e instanceof t)}else n="Object"===r?u(e):"Array"===r?Array.isArray(e):e instanceof t;return{valid:n,expectedType:r}}function Ge(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ye(e,t){return Ge(e)===Ge(t)}function Xe(e,t){if(!Array.isArray(t))return Ye(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Ye(t[n],e))return n;return-1}function Qe(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function et(e){return["string","number","boolean"].some((function(t){return e.toLowerCase()===t}))}function tt(e,t,n){be();try{if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){rt(e,r,"errorCaptured hook")}}rt(e,t,n)}finally{_e()}}function nt(e,t,n,r,o){var i;try{(i=n?e.apply(t,n):e.call(t))&&!i._isVue&&p(i)&&!i._handled&&(i.catch((function(e){return tt(e,r,o+" (Promise/async)")})),i._handled=!0)}catch(e){tt(e,r,o)}return i}function rt(e,t,n){if(H.errorHandler)try{return H.errorHandler.call(null,e,t,n)}catch(t){t!==e&&ot(t,null,"config.errorHandler")}ot(e,t,n)}function ot(e,t,n){if(ue("Error in "+n+': "'+e.toString()+'"',t),!K&&!W||"undefined"==typeof console)throw e;console.error(e)}var it,at,st,ct=!1,lt=[],ut=!1;function ft(){ut=!1;var e=lt.slice(0);lt.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&se(Promise)){var dt=Promise.resolve();it=function(){dt.then(ft),ee&&setTimeout(I)},ct=!0}else if(Y||"undefined"==typeof MutationObserver||!se(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())it=void 0!==n&&se(n)?function(){n(ft)}:function(){setTimeout(ft,0)};else{var pt=1,vt=new MutationObserver(ft),ht=document.createTextNode(String(pt));vt.observe(ht,{characterData:!0}),it=function(){pt=(pt+1)%2,ht.data=String(pt)},ct=!0}function mt(e,t){var n;if(lt.push((function(){if(e)try{e.call(t)}catch(e){tt(e,t,"nextTick")}else n&&n(t)})),ut||(ut=!0,it()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var gt,yt=K&&window.performance;yt&&yt.mark&&yt.measure&&yt.clearMarks&&yt.clearMeasures&&(at=function(e){return yt.mark(e)},st=function(e,t,n){yt.measure(e,t,n),yt.clearMarks(t),yt.clearMarks(n)});var bt=m("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),_t=function(e,t){ue('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},wt=function(e,t){ue('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},$t="undefined"!=typeof Proxy&&se(Proxy);if($t){var xt=m("stop,prevent,self,ctrl,shift,alt,meta,exact");H.keyCodes=new Proxy(H.keyCodes,{set:function(e,t,n){return xt(t)?(ue("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var kt={has:function(e,t){var n=t in e,r=bt(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||r||(t in e.$data?wt(e,t):_t(e,t)),n||!r}},At={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?wt(e,t):_t(e,t)),e[t]}};gt=function(e){if($t){var t=e.$options,n=t.render&&t.render._withStripped?At:kt;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var Ct=new ce;function St(e){!function e(t,n){var r,o,i=Array.isArray(t);if(!(!i&&!s(t)||Object.isFrozen(t)||t instanceof we)){if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(i)for(r=t.length;r--;)e(t[r],n);else for(r=(o=Object.keys(t)).length;r--;)e(t[o[r]],n)}}(e,Ct),Ct.clear()}var Ot=$((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function Tt(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return nt(r,null,arguments,t,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)nt(o[i],null,e,t,"v-on handler")}return n.fns=e,n}function Mt(e,t,n,o,a,s){var c,l,u,f;for(c in e)l=e[c],u=t[c],f=Ot(c),r(l)?ue('Invalid handler for event "'+f.name+'": got '+String(l),s):r(u)?(r(l.fns)&&(l=e[c]=Tt(l,s)),i(f.once)&&(l=e[c]=a(f.name,l,f.capture)),n(f.name,l,f.capture,f.passive,f.params)):l!==u&&(u.fns=l,e[c]=u);for(c in t)r(e[c])&&o((f=Ot(c)).name,t[c],f.capture)}function jt(e,t,n){var a;e instanceof we&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){n.apply(this,arguments),b(a.fns,c)}r(s)?a=Tt([c]):o(s.fns)&&i(s.merged)?(a=s).fns.push(c):a=Tt([s,c]),a.merged=!0,e[t]=a}function It(e,t,n,r,i){if(o(t)){if(w(t,n))return e[n]=t[n],i||delete t[n],!0;if(w(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function Et(e){return a(e)?[ke(e)]:Array.isArray(e)?function e(t,n){var s,c,l,u,f=[];for(s=0;s<t.length;s++)r(c=t[s])||"boolean"==typeof c||(u=f[l=f.length-1],Array.isArray(c)?c.length>0&&(Nt((c=e(c,(n||"")+"_"+s))[0])&&Nt(u)&&(f[l]=ke(u.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?Nt(u)?f[l]=ke(u.text+c):""!==c&&f.push(ke(c)):Nt(c)&&Nt(u)?f[l]=ke(u.text+c.text):(i(t._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(e):void 0}function Nt(e){return o(e)&&o(e.text)&&!1===e.isComment}function Dt(e,t){if(e){for(var n=Object.create(null),r=le?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){for(var a=e[i].from,s=t;s;){if(s._provided&&w(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[i]){var c=e[i].default;n[i]="function"==typeof c?c.call(t):c}else ue('Injection "'+i+'" not found',t)}}return n}}function Lt(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var l in n)n[l].every(Pt)&&delete n[l];return n}function Pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ft(t,n,r){var o,i=Object.keys(n).length>0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=Rt(n,c,t[c]))}else o={};for(var l in n)l in o||(o[l]=Ht(n,l));return t&&Object.isExtensible(t)&&(t._normalized=o),B(o,"$stable",a),B(o,"$key",s),B(o,"$hasNormal",i),o}function Rt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:Et(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Ht(e,t){return function(){return e[t]}}function Ut(e,t){var n,r,i,a,c;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(s(e))if(le&&e[Symbol.iterator]){n=[];for(var l=e[Symbol.iterator](),u=l.next();!u.done;)n.push(t(u.value,n.length)),u=l.next()}else for(a=Object.keys(e),n=new Array(a.length),r=0,i=a.length;r<i;r++)c=a[r],n[r]=t(e[c],c,r);return o(n)||(n=[]),n._isVList=!0,n}function Vt(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(s(r)||ue("slot v-bind without argument expects an Object",this),n=M(M({},r),n)),o=i(n)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Bt(e){return Je(this.$options,"filters",e,!0)||N}function zt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function qt(e,t,n,r,o){var i=H.keyCodes[t]||n;return o&&r&&!H.keyCodes[t]?zt(o,r):i?zt(i,e):r?S(r)!==t:void 0}function Jt(e,t,n,r,o){if(n)if(s(n)){var i;Array.isArray(n)&&(n=j(n));var a=function(a){if("class"===a||"style"===a||y(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||H.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=k(a),l=S(a);c in i||l in i||(i[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var c in n)a(c)}else ue("v-bind without argument expects an Object or Array value",this);return e}function Kt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||Zt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function Wt(e,t,n){return Zt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Zt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Gt(e[r],t+"_"+r,n);else Gt(e,t,n)}function Gt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Yt(e,t){if(t)if(u(t)){var n=e.on=e.on?M({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else ue("v-on without argument expects an Object value",this);return e}function Xt(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var i=e[o];Array.isArray(i)?Xt(i,t,n):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function Qt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r?e[t[n]]=t[n+1]:""!==r&&null!==r&&ue("Invalid value for dynamic directive argument (expected string or null): "+r,this)}return e}function en(e,t){return"string"==typeof e?t+e:e}function tn(e){e._o=Wt,e._n=h,e._s=v,e._l=Ut,e._t=Vt,e._q=D,e._i=L,e._m=Kt,e._f=Bt,e._k=qt,e._b=Jt,e._v=ke,e._e=xe,e._u=Xt,e._g=Yt,e._d=Qt,e._p=en}function nn(t,n,r,o,a){var s,c=this,l=a.options;w(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var u=i(l._compiled),f=!u;this.data=t,this.props=n,this.children=r,this.parent=o,this.listeners=t.on||e,this.injections=Dt(l.inject,o),this.slots=function(){return c.$slots||Ft(t.scopedSlots,c.$slots=Lt(r,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ft(t.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Ft(t.scopedSlots,this.$slots)),l._scopeId?this._c=function(e,t,n,r){var i=un(s,e,t,n,r,f);return i&&!Array.isArray(i)&&(i.fnScopeId=l._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return un(s,e,t,n,r,f)}}function rn(e,t,n,r,o){var i=Ae(e);return i.fnContext=n,i.fnOptions=r,(i.devtoolsMeta=i.devtoolsMeta||{}).renderContext=o,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function on(e,t){for(var n in t)e[k(n)]=t[n]}tn(nn.prototype);var an={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;an.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,_n)).$mount(t?e.elm:void 0,t)},prepatch:function(t,n){var r=n.componentOptions;!function(t,n,r,o,i){wn=!0;var a=o.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==e&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),l=!!(i||t.$options._renderChildren||c);if(t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i,t.$attrs=o.data.attrs||e,t.$listeners=r||e,n&&t.$options.props){Me(!1);for(var u=t._props,f=t.$options._propKeys||[],d=0;d<f.length;d++){var p=f[d],v=t.$options.props;u[p]=Ke(p,v,n,t)}Me(!0),t.$options.propsData=n}r=r||e;var h=t.$options._parentListeners;t.$options._parentListeners=r,bn(t,r,h),l&&(t.$slots=Lt(i,o.context),t.$forceUpdate()),wn=!1}(n.componentInstance=t.componentInstance,r.propsData,r.listeners,n,r.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,An(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,Sn.push(t)):kn(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,xn(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);An(t,"deactivated")}}(t,!0):t.$destroy())}},sn=Object.keys(an);function cn(t,n,a,c,l){if(!r(t)){var u=a.$options._base;if(s(t)&&(t=u.extend(t)),"function"==typeof t){var f;if(r(t.cid)&&void 0===(t=function(e,t){if(i(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=dn;if(n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),i(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var a=e.owners=[n],c=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return b(a,n)}));var f=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},d=P((function(n){e.resolved=pn(n,t),c?a.length=0:f(!0)})),v=P((function(t){ue("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),o(e.errorComp)&&(e.error=!0,f(!0))})),h=e(d,v);return s(h)&&(p(h)?r(e.resolved)&&h.then(d,v):p(h.component)&&(h.component.then(d,v),o(h.error)&&(e.errorComp=pn(h.error,t)),o(h.loading)&&(e.loadingComp=pn(h.loading,t),0===h.delay?e.loading=!0:l=setTimeout((function(){l=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,f(!1))}),h.delay||200)),o(h.timeout)&&(u=setTimeout((function(){u=null,r(e.resolved)&&v("timeout ("+h.timeout+"ms)")}),h.timeout)))),c=!1,e.loading?e.loadingComp:e.resolved}}(f=t,u)))return function(e,t,n,r,o){var i=xe();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(f,n,a,c,l);n=n||{},Kn(t),o(n.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),a=i[r],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[r]=[s].concat(a)):i[r]=s}(t.options,n);var d=function(e,t,n){var i=t.options.props;if(!r(i)){var a={},s=e.attrs,c=e.props;if(o(s)||o(c))for(var l in i){var u=S(l),f=l.toLowerCase();l!==f&&s&&w(s,f)&&fe('Prop "'+f+'" is passed to component '+de(n||t)+', but the declared prop name is "'+l+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+u+'" instead of "'+l+'".'),It(a,c,l,u,!0)||It(a,s,l,u,!1)}return a}}(n,t,l);if(i(t.options.functional))return function(t,n,r,i,a){var s=t.options,c={},l=s.props;if(o(l))for(var u in l)c[u]=Ke(u,l,n||e);else o(r.attrs)&&on(c,r.attrs),o(r.props)&&on(c,r.props);var f=new nn(r,c,a,i,t),d=s.render.call(null,f._c,f);if(d instanceof we)return rn(d,r,f.parent,s,f);if(Array.isArray(d)){for(var p=Et(d)||[],v=new Array(p.length),h=0;h<p.length;h++)v[h]=rn(p[h],r,f.parent,s,f);return v}}(t,d,n,a,c);var v=n.on;if(n.on=n.nativeOn,i(t.options.abstract)){var h=n.slot;n={},h&&(n.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<sn.length;n++){var r=sn[n],o=t[r],i=an[r];o===i||o&&o._merged||(t[r]=o?ln(i,o):i)}}(n);var m=t.options.name||l;return new we("vue-component-"+t.cid+(m?"-"+m:""),n,void 0,void 0,void 0,a,{Ctor:t,propsData:d,listeners:v,tag:l,children:c},f)}ue("Invalid Component definition: "+String(t),a)}}function ln(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function un(e,t,n,c,l,u){return(Array.isArray(n)||a(n))&&(l=c,c=n,n=void 0),i(u)&&(l=2),function(e,t,n,c,l){return o(n)&&o(n.__ob__)?(ue("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),xe()):(o(n)&&o(n.is)&&(t=n.is),t?(o(n)&&o(n.key)&&!a(n.key)&&ue("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(c)&&"function"==typeof c[0]&&((n=n||{}).scopedSlots={default:c[0]},c.length=0),2===l?c=Et(c):1===l&&(c=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(c)),"string"==typeof t?(f=e.$vnode&&e.$vnode.ns||H.getTagNamespace(t),H.isReservedTag(t)?(o(n)&&o(n.nativeOn)&&ue("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),u=new we(H.parsePlatformTagName(t),n,c,void 0,void 0,e)):u=n&&n.pre||!o(d=Je(e.$options,"components",t))?new we(t,n,c,void 0,void 0,e):cn(d,n,e,c,t)):u=cn(t,n,e,c),Array.isArray(u)?u:o(u)?(o(f)&&function e(t,n,a){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,a=!0),o(t.children))for(var s=0,c=t.children.length;s<c;s++){var l=t.children[s];o(l.tag)&&(r(l.ns)||i(a)&&"svg"!==l.tag)&&e(l,n,a)}}(u,f),o(n)&&function(e){s(e.style)&&St(e.style),s(e.class)&&St(e.class)}(n),u):xe()):xe());var u,f,d}(e,t,n,c,l)}var fn,dn=null;function pn(e,t){return(e.__esModule||le&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function vn(e){return e.isComment&&e.asyncFactory}function hn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||vn(n)))return n}}function mn(e,t){fn.$on(e,t)}function gn(e,t){fn.$off(e,t)}function yn(e,t){var n=fn;return function r(){var o=t.apply(null,arguments);null!==o&&n.$off(e,r)}}function bn(e,t,n){fn=e,Mt(t,n||{},mn,gn,yn,e),fn=void 0}var _n=null,wn=!1;function $n(e){var t=_n;return _n=e,function(){_n=t}}function xn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function kn(e,t){if(t){if(e._directInactive=!1,xn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)kn(e.$children[n]);An(e,"activated")}}function An(e,t){be();var n=e.$options[t],r=t+" hook";if(n)for(var o=0,i=n.length;o<i;o++)nt(n[o],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),_e()}var Cn=[],Sn=[],On={},Tn={},Mn=!1,jn=!1,In=0,En=0,Nn=Date.now;if(K&&!Y){var Dn=window.performance;Dn&&"function"==typeof Dn.now&&Nn()>document.createEvent("Event").timeStamp&&(Nn=function(){return Dn.now()})}function Ln(){var e,t;for(En=Nn(),jn=!0,Cn.sort((function(e,t){return e.id-t.id})),In=0;In<Cn.length;In++)if((e=Cn[In]).before&&e.before(),t=e.id,On[t]=null,e.run(),null!=On[t]&&(Tn[t]=(Tn[t]||0)+1,Tn[t]>100)){ue("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=Sn.slice(),r=Cn.slice();In=Cn.length=Sn.length=0,On={},Tn={},Mn=jn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,kn(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&An(r,"updated")}}(r),ae&&H.devtools&&ae.emit("flush")}var Pn=0,Fn=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ce,this.newDepIds=new ce,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=function(e){if(!q.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=I,ue('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};Fn.prototype.get=function(){var e;be(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;tt(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&St(e),_e(),this.cleanupDeps()}return e},Fn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Fn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Fn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==On[t]){if(On[t]=!0,jn){for(var n=Cn.length-1;n>In&&Cn[n].id>e.id;)n--;Cn.splice(n+1,0,e)}else Cn.push(e);if(!Mn){if(Mn=!0,!H.async)return void Ln();mt(Ln)}}}(this)},Fn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){tt(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Fn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Rn={enumerable:!0,configurable:!0,get:I,set:I};function Hn(e,t,n){Rn.get=function(){return this[t][n]},Rn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Rn)}var Un={lazy:!0};function Vn(e,t,n){var r=!ie();"function"==typeof n?(Rn.get=r?Bn(t):zn(n),Rn.set=I):(Rn.get=n.get?r&&!1!==n.cache?Bn(t):zn(n.get):I,Rn.set=n.set||I),Rn.set===I&&(Rn.set=function(){ue('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Rn)}function Bn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ge.target&&t.depend(),t.value}}function zn(e){return function(){return e.call(this,this)}}function qn(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var Jn=0;function Kn(e){var t=e.options;if(e.super){var n=Kn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&M(e.extendOptions,r),(t=e.options=qe(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Wn(e){this instanceof Wn||ue("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Zn(e){return e&&(e.Ctor.options.name||e.tag)}function Gn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function Yn(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Zn(a.componentOptions);s&&!t(s)&&Xn(n,i,r,o)}}}function Xn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,b(n,t)}!function(t){t.prototype._init=function(t){var n,r,o=this;o._uid=Jn++,H.performance&&at&&(n="vue-perf-start:"+o._uid,r="vue-perf-end:"+o._uid,at(n)),o._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,t):o.$options=qe(Kn(o.constructor),t||{},o),gt(o),o._self=o,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&bn(e,t)}(o),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,o=r&&r.context;t.$slots=Lt(n._renderChildren,o),t.$scopedSlots=e,t._c=function(e,n,r,o){return un(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return un(t,e,n,r,o,!0)};var i=r&&r.data;Ee(t,"$attrs",i&&i.attrs||e,(function(){!wn&&ue("$attrs is readonly.",t)}),!0),Ee(t,"$listeners",n._parentListeners||e,(function(){!wn&&ue("$listeners is readonly.",t)}),!0)}(o),An(o,"beforeCreate"),function(e){var t=Dt(e.$options.inject,e);t&&(Me(!1),Object.keys(t).forEach((function(n){Ee(e,n,t[n],(function(){ue('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)}))})),Me(!0))}(o),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||Me(!1);var a=function(a){o.push(a);var s=Ke(a,t,n,e),c=S(a);(y(c)||H.isReservedAttr(c))&&ue('"'+c+'" is a reserved attribute and cannot be used as component prop.',e),Ee(r,a,s,(function(){i||wn||ue("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)})),a in e||Hn(e,"_props",a)};for(var s in t)a(s);Me(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var r in t)"function"!=typeof t[r]&&ue('Method "'+r+'" has type "'+typeof t[r]+'" in the component definition. Did you reference the function correctly?',e),n&&w(n,r)&&ue('Method "'+r+'" has already been defined as a prop.',e),r in e&&V(r)&&ue('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]="function"!=typeof t[r]?I:O(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){be();try{return e.call(t,t)}catch(e){return tt(e,t,"data()"),{}}finally{_e()}}(t,e):t||{})||(t={},ue("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var n=Object.keys(t),r=e.$options.props,o=e.$options.methods,i=n.length;i--;){var a=n[i];o&&w(o,a)&&ue('Method "'+a+'" has already been defined as a data property.',e),r&&w(r,a)?ue('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):V(a)||Hn(e,"_data",a)}Ie(t,!0)}(e):Ie(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;null==a&&ue('Getter is missing for computed property "'+o+'".',e),r||(n[o]=new Fn(e,a||I,I,Un)),o in e?o in e.$data?ue('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&ue('The computed property "'+o+'" is already defined as a prop.',e):Vn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)qn(e,n,r[o]);else qn(e,n,r)}}(e,t.watch)}(o),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(o),An(o,"created"),H.performance&&at&&(o._name=de(o,!1),at(r),st("vue "+o._name+" init",n,r)),o.$options.el&&o.$mount(o.$options.el)}}(Wn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){ue("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){ue("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ne,e.prototype.$delete=De,e.prototype.$watch=function(e,t,n){if(u(t))return qn(this,e,t,n);(n=n||{}).user=!0;var r=new Fn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){tt(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)r.$on(e[o],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}var i,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((i=a[s])===t||i.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&fe('Event "'+n+'" is emitted in component '+de(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+S(e)+'" instead of "'+e+'".');var r=t._events[e];if(r){r=r.length>1?T(r):r;for(var o=T(arguments,1),i='event handler for "'+e+'"',a=0,s=r.length;a<s;a++)nt(r[a],t,o,t,i)}return t}}(Wn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=$n(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){An(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||b(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),An(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Wn),function(e){tn(e.prototype),e.prototype.$nextTick=function(e){return mt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,o=n._parentVnode;o&&(t.$scopedSlots=Ft(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{dn=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){if(tt(n,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,n)}catch(n){tt(n,t,"renderError"),e=t._vnode}else e=t._vnode}finally{dn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof we||(Array.isArray(e)&&ue("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=xe()),e.parent=o,e}}(Wn);var Qn=[String,RegExp,Array],er={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Qn,exclude:Qn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Xn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Yn(e,(function(e){return Gn(t,e)}))})),this.$watch("exclude",(function(t){Yn(e,(function(e){return!Gn(t,e)}))}))},render:function(){var e=this.$slots.default,t=hn(e),n=t&&t.componentOptions;if(n){var r=Zn(n),o=this.include,i=this.exclude;if(o&&(!r||!Gn(o,r))||i&&r&&Gn(i,r))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,b(s,c),s.push(c)):(a[c]=t,s.push(c),this.max&&s.length>parseInt(this.max)&&Xn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return H},set:function(){ue("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:M,mergeOptions:qe,defineReactive:Ee},e.set=Ne,e.delete=De,e.nextTick=mt,e.observable=function(e){return Ie(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,M(e.options.components,er),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=qe(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;i&&Be(i);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=qe(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Hn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Vn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,F.forEach((function(e){a[e]=n[e]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=M({},a.options),o[r]=a,a}}(e),function(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&Be(e),"component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Wn),Object.defineProperty(Wn.prototype,"$isServer",{get:ie}),Object.defineProperty(Wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Wn,"FunctionalRenderContext",{value:nn}),Wn.version="2.6.12";var tr=m("style,class"),nr=m("input,textarea,option,select,progress"),rr=function(e,t,n){return"value"===n&&nr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},or=m("contenteditable,draggable,spellcheck"),ir=m("events,caret,typing,plaintext-only"),ar=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),sr="http://www.w3.org/1999/xlink",cr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},lr=function(e){return cr(e)?e.slice(6,e.length):""},ur=function(e){return null==e||!1===e};function fr(e,t){return{staticClass:dr(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function dr(e,t){return e?t?e+" "+t:e:t||""}function pr(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)o(t=pr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):s(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var vr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},hr=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),mr=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),gr=function(e){return hr(e)||mr(e)};function yr(e){return mr(e)?"svg":"math"===e?"math":void 0}var br=Object.create(null),_r=m("text,number,password,search,email,tel,url");function wr(e){return"string"==typeof e?document.querySelector(e)||(ue("Cannot find element: "+e),document.createElement("div")):e}var $r=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(vr[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),xr={create:function(e,t){kr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(kr(e,!0),kr(t))},destroy:function(e){kr(e,!0)}};function kr(e,t){var n=e.data.ref;if(o(n)){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?b(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var Ar=new we("",{},[]),Cr=["create","activate","update","remove","destroy"];function Sr(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=o(n=e.data)&&o(n=n.attrs)&&n.type,i=o(n=t.data)&&o(n=n.attrs)&&n.type;return r===i||_r(r)&&_r(i)}(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Or(e,t,n){var r,i,a={};for(r=t;r<=n;++r)o(i=e[r].key)&&(a[i]=r);return a}var Tr={create:Mr,update:Mr,destroy:function(e){Mr(e,Ar)}};function Mr(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,o,i=e===Ar,a=t===Ar,s=Ir(e.data.directives,e.context),c=Ir(t.data.directives,t.context),l=[],u=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,Nr(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(Nr(o,"bind",t,e),o.def&&o.def.inserted&&l.push(o));if(l.length){var f=function(){for(var n=0;n<l.length;n++)Nr(l[n],"inserted",t,e)};i?jt(t,"insert",f):f()}if(u.length&&jt(t,"postpatch",(function(){for(var n=0;n<u.length;n++)Nr(u[n],"componentUpdated",t,e)})),!i)for(n in s)c[n]||Nr(s[n],"unbind",e,e,a)}(e,t)}var jr=Object.create(null);function Ir(e,t){var n,r,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=jr),o[Er(r)]=r,r.def=Je(t.$options,"directives",r.name,!0);return o}function Er(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Nr(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){tt(r,n.context,"directive "+e.name+" "+t+" hook")}}var Dr=[xr,Tr];function Lr(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,a,s=t.elm,c=e.data.attrs||{},l=t.data.attrs||{};for(i in o(l.__ob__)&&(l=t.data.attrs=M({},l)),l)a=l[i],c[i]!==a&&Pr(s,i,a);for(i in(Y||Q)&&l.value!==c.value&&Pr(s,"value",l.value),c)r(l[i])&&(cr(i)?s.removeAttributeNS(sr,lr(i)):or(i)||s.removeAttribute(i))}}function Pr(e,t,n){e.tagName.indexOf("-")>-1?Fr(e,t,n):ar(t)?ur(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):or(t)?e.setAttribute(t,function(e,t){return ur(t)||"false"===t?"false":"contenteditable"===e&&ir(t)?t:"true"}(t,n)):cr(t)?ur(n)?e.removeAttributeNS(sr,lr(t)):e.setAttributeNS(sr,t,n):Fr(e,t,n)}function Fr(e,t,n){if(ur(n))e.removeAttribute(t);else{if(Y&&!X&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Rr={create:Lr,update:Lr};function Hr(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=fr(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=fr(t,n.data));return i=t.staticClass,a=t.class,o(i)||o(a)?dr(i,pr(a)):"";var i,a}(t),c=n._transitionClasses;o(c)&&(s=dr(s,pr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ur,Vr,Br,zr,qr,Jr,Kr,Wr,Zr={create:Hr,update:Hr},Gr=/[\w).+\-_$\]]/;function Yr(e){var t,n,r,o,i,a=!1,s=!1,c=!1,l=!1,u=0,f=0,d=0,p=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(c)96===t&&92!==n&&(c=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||u||f||d){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===t){for(var v=r-1,h=void 0;v>=0&&" "===(h=e.charAt(v));v--);h&&Gr.test(h)||(l=!0)}}else void 0===o?(p=r+1,o=e.slice(0,r).trim()):m();function m(){(i||(i=[])).push(e.slice(p,r).trim()),p=r+1}if(void 0===o?o=e.slice(0,r).trim():0!==p&&m(),i)for(r=0;r<i.length;r++)o=Xr(o,i[r]);return o}function Xr(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),o=t.slice(n+1);return'_f("'+r+'")('+e+(")"!==o?","+o:o)}function Qr(e,t){console.error("[Vue compiler]: "+e)}function eo(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function to(e,t,n,r,o){(e.props||(e.props=[])).push(fo({name:t,value:n,dynamic:o},r)),e.plain=!1}function no(e,t,n,r,o){(o?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(fo({name:t,value:n,dynamic:o},r)),e.plain=!1}function ro(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(fo({name:t,value:n},r))}function oo(e,t,n,r,o,i,a,s){(e.directives||(e.directives=[])).push(fo({name:t,rawName:n,value:r,arg:o,isDynamicArg:i,modifiers:a},s)),e.plain=!1}function io(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function ao(t,n,r,o,i,a,s,c){var l;o=o||e,a&&o.prevent&&o.passive&&a("passive and prevent can't be used together. Passive handler can't prevent default event.",s),o.right?c?n="("+n+")==='click'?'contextmenu':("+n+")":"click"===n&&(n="contextmenu",delete o.right):o.middle&&(c?n="("+n+")==='click'?'mouseup':("+n+")":"click"===n&&(n="mouseup")),o.capture&&(delete o.capture,n=io("!",n,c)),o.once&&(delete o.once,n=io("~",n,c)),o.passive&&(delete o.passive,n=io("&",n,c)),o.native?(delete o.native,l=t.nativeEvents||(t.nativeEvents={})):l=t.events||(t.events={});var u=fo({value:r.trim(),dynamic:c},s);o!==e&&(u.modifiers=o);var f=l[n];Array.isArray(f)?i?f.unshift(u):f.push(u):l[n]=f?i?[u,f]:[f,u]:u,t.plain=!1}function so(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function co(e,t,n){var r=lo(e,":"+t)||lo(e,"v-bind:"+t);if(null!=r)return Yr(r);if(!1!==n){var o=lo(e,t);if(null!=o)return JSON.stringify(o)}}function lo(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var o=e.attrsList,i=0,a=o.length;i<a;i++)if(o[i].name===t){o.splice(i,1);break}return n&&delete e.attrsMap[t],r}function uo(e,t){for(var n=e.attrsList,r=0,o=n.length;r<o;r++){var i=n[r];if(t.test(i.name))return n.splice(r,1),i}}function fo(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function po(e,t,n){var r=n||{},o=r.number,i="$$v";r.trim&&(i="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(i="_n("+i+")");var a=vo(t,i);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function vo(e,t){var n=function(e){if(e=e.trim(),Ur=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Ur-1)return(zr=e.lastIndexOf("."))>-1?{exp:e.slice(0,zr),key:'"'+e.slice(zr+1)+'"'}:{exp:e,key:null};for(Vr=e,zr=qr=Jr=0;!mo();)go(Br=ho())?bo(Br):91===Br&&yo(Br);return{exp:e.slice(0,qr),key:e.slice(qr+1,Jr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function ho(){return Vr.charCodeAt(++zr)}function mo(){return zr>=Ur}function go(e){return 34===e||39===e}function yo(e){var t=1;for(qr=zr;!mo();)if(go(e=ho()))bo(e);else if(91===e&&t++,93===e&&t--,0===t){Jr=zr;break}}function bo(e){for(var t=e;!mo()&&(e=ho())!==t;);}function _o(e,t,n){var r=Wr;return function o(){var i=t.apply(null,arguments);null!==i&&xo(e,o,n,r)}}var wo=ct&&!(te&&Number(te[1])<=53);function $o(e,t,n,r){if(wo){var o=En,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Wr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function xo(e,t,n,r){(r||Wr).removeEventListener(e,t._wrapper||t,n)}function ko(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Wr=t.elm,function(e){if(o(e.__r)){var t=Y?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}o(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),Mt(n,i,$o,xo,_o,t.context),Wr=void 0}}var Ao,Co={create:ko,update:ko};function So(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in o(c.__ob__)&&(c=t.data.domProps=M({},c)),s)n in c||(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var l=r(i)?"":String(i);Oo(a,l)&&(a.value=l)}else if("innerHTML"===n&&mr(a.tagName)&&r(a.innerHTML)){(Ao=Ao||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=Ao.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function Oo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return h(n)!==h(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var To={create:So,update:So},Mo=$((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function jo(e){var t=Io(e.style);return e.staticStyle?M(e.staticStyle,t):t}function Io(e){return Array.isArray(e)?j(e):"string"==typeof e?Mo(e):e}var Eo,No=/^--/,Do=/\s*!important$/,Lo=function(e,t,n){if(No.test(t))e.style.setProperty(t,n);else if(Do.test(n))e.style.setProperty(S(t),n.replace(Do,""),"important");else{var r=Fo(t);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)e.style[r]=n[o];else e.style[r]=n}},Po=["Webkit","Moz","ms"],Fo=$((function(e){if(Eo=Eo||document.createElement("div").style,"filter"!==(e=k(e))&&e in Eo)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Po.length;n++){var r=Po[n]+t;if(r in Eo)return r}}));function Ro(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,c=t.elm,l=i.staticStyle,u=i.normalizedStyle||i.style||{},f=l||u,d=Io(t.data.style)||{};t.data.normalizedStyle=o(d.__ob__)?M({},d):d;var p=function(e,t){for(var n,r={},o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=jo(o.data))&&M(r,n);(n=jo(e.data))&&M(r,n);for(var i=e;i=i.parent;)i.data&&(n=jo(i.data))&&M(r,n);return r}(t);for(s in f)r(p[s])&&Lo(c,s,"");for(s in p)(a=p[s])!==f[s]&&Lo(c,s,null==a?"":a)}}var Ho={create:Ro,update:Ro},Uo=/\s+/;function Vo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Uo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Bo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Uo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function zo(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&M(t,qo(e.name||"v")),M(t,e),t}return"string"==typeof e?qo(e):void 0}}var qo=$((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Jo=K&&!X,Ko="transition",Wo="transitionend",Zo="animation",Go="animationend";Jo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ko="WebkitTransition",Wo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Zo="WebkitAnimation",Go="webkitAnimationEnd"));var Yo=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Xo(e){Yo((function(){Yo(e)}))}function Qo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Vo(e,t))}function ei(e,t){e._transitionClasses&&b(e._transitionClasses,t),Bo(e,t)}function ti(e,t,n){var r=ri(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s="transition"===o?Wo:Go,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=a&&l()};setTimeout((function(){c<a&&l()}),i+1),e.addEventListener(s,u)}var ni=/\b(transform|all)(,|$)/;function ri(e,t){var n,r=window.getComputedStyle(e),o=(r[Ko+"Delay"]||"").split(", "),i=(r[Ko+"Duration"]||"").split(", "),a=oi(o,i),s=(r[Zo+"Delay"]||"").split(", "),c=(r[Zo+"Duration"]||"").split(", "),l=oi(s,c),u=0,f=0;return"transition"===t?a>0&&(n="transition",u=a,f=i.length):"animation"===t?l>0&&(n="animation",u=l,f=c.length):f=(n=(u=Math.max(a,l))>0?a>l?"transition":"animation":null)?"transition"===n?i.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:"transition"===n&&ni.test(r[Ko+"Property"])}}function oi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return ii(t)+ii(e[n])})))}function ii(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ai(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=zo(e.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var a=i.css,c=i.type,l=i.enterClass,u=i.enterToClass,f=i.enterActiveClass,d=i.appearClass,p=i.appearToClass,v=i.appearActiveClass,m=i.beforeEnter,g=i.enter,y=i.afterEnter,b=i.enterCancelled,_=i.beforeAppear,w=i.appear,$=i.afterAppear,x=i.appearCancelled,k=i.duration,A=_n,C=_n.$vnode;C&&C.parent;)A=C.context,C=C.parent;var S=!A._isMounted||!e.isRootInsert;if(!S||w||""===w){var O=S&&d?d:l,T=S&&v?v:f,M=S&&p?p:u,j=S&&_||m,I=S&&"function"==typeof w?w:g,E=S&&$||y,N=S&&x||b,D=h(s(k)?k.enter:k);null!=D&&ci(D,"enter",e);var L=!1!==a&&!X,F=ui(I),R=n._enterCb=P((function(){L&&(ei(n,M),ei(n,T)),R.cancelled?(L&&ei(n,O),N&&N(n)):E&&E(n),n._enterCb=null}));e.data.show||jt(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),I&&I(n,R)})),j&&j(n),L&&(Qo(n,O),Qo(n,T),Xo((function(){ei(n,O),R.cancelled||(Qo(n,M),F||(li(D)?setTimeout(R,D):ti(n,c,R)))}))),e.data.show&&(t&&t(),I&&I(n,R)),L||F||R()}}}function si(e,t){var n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=zo(e.data.transition);if(r(i)||1!==n.nodeType)return t();if(!o(n._leaveCb)){var a=i.css,c=i.type,l=i.leaveClass,u=i.leaveToClass,f=i.leaveActiveClass,d=i.beforeLeave,p=i.leave,v=i.afterLeave,m=i.leaveCancelled,g=i.delayLeave,y=i.duration,b=!1!==a&&!X,_=ui(p),w=h(s(y)?y.leave:y);o(w)&&ci(w,"leave",e);var $=n._leaveCb=P((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(ei(n,u),ei(n,f)),$.cancelled?(b&&ei(n,l),m&&m(n)):(t(),v&&v(n)),n._leaveCb=null}));g?g(x):x()}function x(){$.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),b&&(Qo(n,l),Qo(n,f),Xo((function(){ei(n,l),$.cancelled||(Qo(n,u),_||(li(w)?setTimeout($,w):ti(n,c,$)))}))),p&&p(n,$),b||_||$())}}function ci(e,t,n){"number"!=typeof e?ue("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&ue("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function li(e){return"number"==typeof e&&!isNaN(e)}function ui(e){if(r(e))return!1;var t=e.fns;return o(t)?ui(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function fi(e,t){!0!==t.data.show&&ai(t)}var di=function(e){var t,n,s={},c=e.modules,l=e.nodeOps;for(t=0;t<Cr.length;++t)for(s[Cr[t]]=[],n=0;n<c.length;++n)o(c[n][Cr[t]])&&s[Cr[t]].push(c[n][Cr[t]]);function u(e){var t=l.parentNode(e);o(t)&&l.removeChild(t,e)}function d(e,t){return!t&&!e.ns&&!(H.ignoredElements.length&&H.ignoredElements.some((function(t){return f(t)?t.test(e.tag):t===e.tag})))&&H.isUnknownElement(e.tag)}var p=0;function v(e,t,n,r,a,c,u){if(o(e.elm)&&o(c)&&(e=c[u]=Ae(e)),e.isRootInsert=!a,!function(e,t,n,r){var a=e.data;if(o(a)){var c=o(e.componentInstance)&&a.keepAlive;if(o(a=a.hook)&&o(a=a.init)&&a(e,!1),o(e.componentInstance))return h(e,t),g(n,e.elm,r),i(c)&&function(e,t,n,r){for(var i,a=e;a.componentInstance;)if(o(i=(a=a.componentInstance._vnode).data)&&o(i=i.transition)){for(i=0;i<s.activate.length;++i)s.activate[i](Ar,a);t.push(a);break}g(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var f=e.data,v=e.children,m=e.tag;o(m)?(f&&f.pre&&p++,d(e,p)&&ue("Unknown custom element: <"+m+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?l.createElementNS(e.ns,m):l.createElement(m,e),w(e),y(e,v,t),o(f)&&_(e,t),g(n,e.elm,r),f&&f.pre&&p--):i(e.isComment)?(e.elm=l.createComment(e.text),g(n,e.elm,r)):(e.elm=l.createTextNode(e.text),g(n,e.elm,r))}}function h(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,b(e)?(_(e,t),w(e)):(kr(e),t.push(e))}function g(e,t,n){o(e)&&(o(n)?l.parentNode(n)===e&&l.insertBefore(e,t,n):l.appendChild(e,t))}function y(e,t,n){if(Array.isArray(t)){C(t);for(var r=0;r<t.length;++r)v(t[r],n,e.elm,null,!0,t,r)}else a(e.text)&&l.appendChild(e.elm,l.createTextNode(String(e.text)))}function b(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function _(e,n){for(var r=0;r<s.create.length;++r)s.create[r](Ar,e);o(t=e.data.hook)&&(o(t.create)&&t.create(Ar,e),o(t.insert)&&n.push(e))}function w(e){var t;if(o(t=e.fnScopeId))l.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t),n=n.parent;o(t=_n)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t)}function $(e,t,n,r,o,i){for(;r<=o;++r)v(n[r],i,e,t,!1,n,r)}function x(e){var t,n,r=e.data;if(o(r))for(o(t=r.hook)&&o(t=t.destroy)&&t(e),t=0;t<s.destroy.length;++t)s.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)x(e.children[n])}function k(e,t,n){for(;t<=n;++t){var r=e[t];o(r)&&(o(r.tag)?(A(r),x(r)):u(r.elm))}}function A(e,t){if(o(t)||o(e.data)){var n,r=s.remove.length+1;for(o(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&A(n,t),n=0;n<s.remove.length;++n)s.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else u(e.elm)}function C(e){for(var t={},n=0;n<e.length;n++){var r=e[n],i=r.key;o(i)&&(t[i]?ue("Duplicate keys detected: '"+i+"'. This may cause an update error.",r.context):t[i]=!0)}}function S(e,t,n,r){for(var i=n;i<r;i++){var a=t[i];if(o(a)&&Sr(e,a))return i}}function O(e,t,n){if(i(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var T=!1,M=m("attrs,class,staticClass,staticStyle,key");function j(e,t,n,r){var a,s=t.tag,c=t.data,l=t.children;if(r=r||c&&c.pre,t.elm=e,i(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!function(e,t,n){return o(t.tag)?0===t.tag.indexOf("vue-component")||!d(t,n)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}(e,t,r))return!1;if(o(c)&&(o(a=c.hook)&&o(a=a.init)&&a(t,!0),o(a=t.componentInstance)))return h(t,n),!0;if(o(s)){if(o(l))if(e.hasChildNodes())if(o(a=c)&&o(a=a.domProps)&&o(a=a.innerHTML)){if(a!==e.innerHTML)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",a),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var u=!0,f=e.firstChild,p=0;p<l.length;p++){if(!f||!j(f,l[p],n,r)){u=!1;break}f=f.nextSibling}if(!u||f)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,l)),!1}else y(t,l,n);if(o(c)){var v=!1;for(var m in c)if(!M(m)){v=!0,_(t,n);break}!v&&c.class&&St(c.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,a){if(!r(t)){var c,u=!1,f=[];if(r(e))u=!0,v(t,f);else{var d=o(e.nodeType);if(!d&&Sr(e,t))!function e(t,n,a,c,u,f){if(t!==n){o(n.elm)&&o(c)&&(n=c[u]=Ae(n));var d=n.elm=t.elm;if(i(t.isAsyncPlaceholder))o(n.asyncFactory.resolved)?j(t.elm,n,a):n.isAsyncPlaceholder=!0;else if(i(n.isStatic)&&i(t.isStatic)&&n.key===t.key&&(i(n.isCloned)||i(n.isOnce)))n.componentInstance=t.componentInstance;else{var p,h=n.data;o(h)&&o(p=h.hook)&&o(p=p.prepatch)&&p(t,n);var m=t.children,g=n.children;if(o(h)&&b(n)){for(p=0;p<s.update.length;++p)s.update[p](t,n);o(p=h.hook)&&o(p=p.update)&&p(t,n)}r(n.text)?o(m)&&o(g)?m!==g&&function(t,n,i,a,s){var c,u,f,d=0,p=0,h=n.length-1,m=n[0],g=n[h],y=i.length-1,b=i[0],_=i[y],w=!s;for(C(i);d<=h&&p<=y;)r(m)?m=n[++d]:r(g)?g=n[--h]:Sr(m,b)?(e(m,b,a,i,p),m=n[++d],b=i[++p]):Sr(g,_)?(e(g,_,a,i,y),g=n[--h],_=i[--y]):Sr(m,_)?(e(m,_,a,i,y),w&&l.insertBefore(t,m.elm,l.nextSibling(g.elm)),m=n[++d],_=i[--y]):Sr(g,b)?(e(g,b,a,i,p),w&&l.insertBefore(t,g.elm,m.elm),g=n[--h],b=i[++p]):(r(c)&&(c=Or(n,d,h)),r(u=o(b.key)?c[b.key]:S(b,n,d,h))?v(b,a,t,m.elm,!1,i,p):Sr(f=n[u],b)?(e(f,b,a,i,p),n[u]=void 0,w&&l.insertBefore(t,f.elm,m.elm)):v(b,a,t,m.elm,!1,i,p),b=i[++p]);d>h?$(t,r(i[y+1])?null:i[y+1].elm,i,p,y,a):p>y&&k(n,d,h)}(d,m,g,a,f):o(g)?(C(g),o(t.text)&&l.setTextContent(d,""),$(d,null,g,0,g.length-1,a)):o(m)?k(m,0,m.length-1):o(t.text)&&l.setTextContent(d,""):t.text!==n.text&&l.setTextContent(d,n.text),o(h)&&o(p=h.hook)&&o(p=p.postpatch)&&p(t,n)}}}(e,t,f,null,null,a);else{if(d){if(1===e.nodeType&&e.hasAttribute("data-server-rendered")&&(e.removeAttribute("data-server-rendered"),n=!0),i(n)){if(j(e,t,f))return O(t,f,!0),e;ue("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}c=e,e=new we(l.tagName(c).toLowerCase(),{},[],void 0,c)}var p=e.elm,h=l.parentNode(p);if(v(t,f,p._leaveCb?null:h,l.nextSibling(p)),o(t.parent))for(var m=t.parent,g=b(t);m;){for(var y=0;y<s.destroy.length;++y)s.destroy[y](m);if(m.elm=t.elm,g){for(var _=0;_<s.create.length;++_)s.create[_](Ar,m);var w=m.data.hook.insert;if(w.merged)for(var A=1;A<w.fns.length;A++)w.fns[A]()}else kr(m);m=m.parent}o(h)?k([e],0,0):o(e.tag)&&x(e)}}return O(t,f,u),t.elm}o(e)&&x(e)}}({nodeOps:$r,modules:[Rr,Zr,Co,To,Ho,K?{create:fi,activate:fi,remove:function(e,t){!0!==e.data.show?si(e,t):t()}}:{}].concat(Dr)});X&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&_i(e,"input")}));var pi={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?jt(n,"postpatch",(function(){pi.componentUpdated(e,t,n)})):vi(e,t,n.context),e._vOptions=[].map.call(e.options,gi)):("textarea"===n.tag||_r(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",yi),e.addEventListener("compositionend",bi),e.addEventListener("change",bi),X&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){vi(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,gi);o.some((function(e,t){return!D(e,r[t])}))&&(e.multiple?t.value.some((function(e){return mi(e,o)})):t.value!==t.oldValue&&mi(t.value,o))&&_i(e,"change")}}};function vi(e,t,n){hi(e,t,n),(Y||Q)&&setTimeout((function(){hi(e,t,n)}),0)}function hi(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],o)i=L(r,gi(a))>-1,a.selected!==i&&(a.selected=i);else if(D(gi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}else ue('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(r).slice(8,-1),n)}function mi(e,t){return t.every((function(t){return!D(t,e)}))}function gi(e){return"_value"in e?e._value:e.value}function yi(e){e.target.composing=!0}function bi(e){e.target.composing&&(e.target.composing=!1,_i(e.target,"input"))}function _i(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function wi(e){return!e.componentInstance||e.data&&e.data.transition?e:wi(e.componentInstance._vnode)}var $i={model:pi,show:{bind:function(e,t,n){var r=t.value,o=(n=wi(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,ai(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=wi(n)).data&&n.data.transition?(n.data.show=!0,r?ai(n,(function(){e.style.display=e.__vOriginalDisplay})):si(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}}},xi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ki(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ki(hn(t.children)):e}function Ai(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[k(i)]=o[i];return t}function Ci(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Si=function(e){return e.tag||vn(e)},Oi=function(e){return"show"===e.name},Ti={name:"transition",props:xi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Si)).length){n.length>1&&ue("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var r=this.mode;r&&"in-out"!==r&&"out-in"!==r&&ue("invalid <transition> mode: "+r,this.$parent);var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var i=ki(o);if(!i)return o;if(this._leaving)return Ci(e,o);var s="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?s+"comment":s+i.tag:a(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var c=(i.data||(i.data={})).transition=Ai(this),l=this._vnode,u=ki(l);if(i.data.directives&&i.data.directives.some(Oi)&&(i.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,u)&&!vn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=M({},c);if("out-in"===r)return this._leaving=!0,jt(f,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Ci(e,o);if("in-out"===r){if(vn(i))return l;var d,p=function(){d()};jt(c,"afterEnter",p),jt(c,"enterCancelled",p),jt(f,"delayLeave",(function(e){d=e}))}}return o}}},Mi=M({tag:String,moveClass:String},xi);function ji(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ii(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ei(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete Mi.mode;var Ni={Transition:Ti,TransitionGroup:{props:Mi,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=$n(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Ai(this),s=0;s<o.length;s++){var c=o[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else{var l=c.componentOptions,u=l?l.Ctor.options.name||l.tag||"":c.tag;ue("<transition-group> children must be keyed: <"+u+">")}}if(r){for(var f=[],d=[],p=0;p<r.length;p++){var v=r[p];v.data.transition=a,v.data.pos=v.elm.getBoundingClientRect(),n[v.key]?f.push(v):d.push(v)}this.kept=e(t,null,f),this.removed=d}return e(t,null,i)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ji),e.forEach(Ii),e.forEach(Ei),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Qo(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Wo,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Wo,e),n._moveCb=null,ei(n,t))})}})))},methods:{hasMove:function(e,t){if(!Jo)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){Bo(n,e)})),Vo(n,t),n.style.display="none",this.$el.appendChild(n);var r=ri(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Wn.config.mustUseProp=rr,Wn.config.isReservedTag=gr,Wn.config.isReservedAttr=tr,Wn.config.getTagNamespace=yr,Wn.config.isUnknownElement=function(e){if(!K)return!0;if(gr(e))return!1;if(e=e.toLowerCase(),null!=br[e])return br[e];var t=document.createElement(e);return e.indexOf("-")>-1?br[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:br[e]=/HTMLUnknownElement/.test(t.toString())},M(Wn.options.directives,$i),M(Wn.options.components,Ni),Wn.prototype.__patch__=K?di:I,Wn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=xe,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?ue("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):ue("Failed to mount component: template or render function not defined.",e)),An(e,"beforeMount"),r=H.performance&&at?function(){var t=e._name,r=e._uid,o="vue-perf-start:"+r,i="vue-perf-end:"+r;at(o);var a=e._render();at(i),st("vue "+t+" render",o,i),at(o),e._update(a,n),at(i),st("vue "+t+" patch",o,i)}:function(){e._update(e._render(),n)},new Fn(e,r,I,{before:function(){e._isMounted&&!e._isDestroyed&&An(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,An(e,"mounted")),e}(this,e=e&&K?wr(e):void 0,t)},K&&setTimeout((function(){H.devtools&&(ae?ae.emit("init",Wn):console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\nhttps://github.com/vuejs/vue-devtools")),!1!==H.productionTip&&"undefined"!=typeof console&&console[console.info?"info":"log"]("You are running Vue in development mode.\nMake sure to turn on production mode when deploying for production.\nSee more tips at https://vuejs.org/guide/deployment.html")}),0);var Di=/\{\{((?:.|\r?\n)+?)\}\}/g,Li=/[-.*+?^${}()|[\]\/\\]/g,Pi=$((function(e){var t=e[0].replace(Li,"\\$&"),n=e[1].replace(Li,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));function Fi(e,t){var n=t?Pi(t):Di;if(n.test(e)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(o=r.index)>c&&(s.push(i=e.slice(c,o)),a.push(JSON.stringify(i)));var l=Yr(r[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),c=o+r[0].length}return c<e.length&&(s.push(i=e.slice(c)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:s}}}var Ri,Hi={staticKeys:["staticClass"],transformNode:function(e,t){var n=t.warn||Qr,r=lo(e,"class");r&&Fi(r,t.delimiters)&&n('class="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div class="{{ val }}">, use <div :class="val">.',e.rawAttrsMap.class),r&&(e.staticClass=JSON.stringify(r));var o=co(e,"class",!1);o&&(e.classBinding=o)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},Ui={staticKeys:["staticStyle"],transformNode:function(e,t){var n=t.warn||Qr,r=lo(e,"style");r&&(Fi(r,t.delimiters)&&n('style="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div style="{{ val }}">, use <div :style="val">.',e.rawAttrsMap.style),e.staticStyle=JSON.stringify(Mo(r)));var o=co(e,"style",!1);o&&(e.styleBinding=o)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Vi=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Bi=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),zi=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),qi=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ji=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ki="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",Wi="((?:"+Ki+"\\:)?"+Ki+")",Zi=new RegExp("^<"+Wi),Gi=/^\s*(\/?)>/,Yi=new RegExp("^<\\/"+Wi+"[^>]*>"),Xi=/^<!DOCTYPE [^>]+>/i,Qi=/^<!\--/,ea=/^<!\[/,ta=m("script,style,textarea",!0),na={},ra={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},oa=/&(?:lt|gt|quot|amp|#39);/g,ia=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,aa=m("pre,textarea",!0),sa=function(e,t){return e&&aa(e)&&"\n"===t[0]};function ca(e,t){var n=t?ia:oa;return e.replace(n,(function(e){return ra[e]}))}var la,ua,fa,da,pa,va,ha,ma,ga,ya=/^@|^v-on:/,ba=/^v-|^@|^:|^#/,_a=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,wa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,$a=/^\(|\)$/g,xa=/^\[.*\]$/,ka=/:(.*)$/,Aa=/^:|^\.|^v-bind:/,Ca=/\.[^.\]]+(?=[^\]]*$)/g,Sa=/^v-slot(:|$)|^#/,Oa=/[\r\n]/,Ta=/\s+/g,Ma=/[\s"'<>\/=]/,ja=$((function(e){return(Ri=Ri||document.createElement("div")).innerHTML=e,Ri.textContent}));function Ia(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Fa(t),rawAttrsMap:{},parent:n,children:[]}}function Ea(e,t){var n;!function(e){var t=co(e,"key");if(t){if("template"===e.tag&&la("<template> cannot be keyed. Place the key on real elements instead.",so(e,"key")),e.for){var n=e.iterator2||e.iterator1,r=e.parent;n&&n===t&&r&&"transition-group"===r.tag&&la("Do not use v-for index as key on <transition-group> children, this is the same as not using keys.",so(e,"key"),!0)}e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=co(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?((t=lo(e,"scope"))&&la('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.',e.rawAttrsMap.scope,!0),e.slotScope=t||lo(e,"slot-scope")):(t=lo(e,"slot-scope"))&&(e.attrsMap["v-for"]&&la("Ambiguous combined usage of slot-scope and v-for on <"+e.tag+"> (v-for takes higher priority). Use a wrapper <template> for the scoped slot to make it clearer.",e.rawAttrsMap["slot-scope"],!0),e.slotScope=t);var n=co(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||no(e,"slot",n,so(e,"slot"))),"template"===e.tag){var r=uo(e,Sa);if(r){(e.slotTarget||e.slotScope)&&la("Unexpected mixed usage of different slot syntaxes.",e),e.parent&&!ga(e.parent)&&la("<template v-slot> can only appear at the root level inside the receiving component",e);var o=La(r),i=o.name,a=o.dynamic;e.slotTarget=i,e.slotTargetDynamic=a,e.slotScope=r.value||"_empty_"}}else{var s=uo(e,Sa);if(s){ga(e)||la("v-slot can only be used on components or <template>.",s),(e.slotScope||e.slotTarget)&&la("Unexpected mixed usage of different slot syntaxes.",e),e.scopedSlots&&la("To avoid scope ambiguity, the default slot should also use <template> syntax when there are other named slots.",s);var c=e.scopedSlots||(e.scopedSlots={}),l=La(s),u=l.name,f=l.dynamic,d=c[u]=Ia("template",[],e);d.slotTarget=u,d.slotTargetDynamic=f,d.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=d,!0})),d.slotScope=s.value||"_empty_",e.children=[],e.plain=!1}}}(e),"slot"===(n=e).tag&&(n.slotName=co(n,"name"),n.key&&la("`key` does not work on <slot> because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.",so(n,"key"))),function(e){var t;(t=co(e,"is"))&&(e.component=t),null!=lo(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var r=0;r<fa.length;r++)e=fa[r](e,t)||e;return function(e){var t,n,r,o,i,a,s,c,l=e.attrsList;for(t=0,n=l.length;t<n;t++)if(r=o=l[t].name,i=l[t].value,ba.test(r))if(e.hasBindings=!0,(a=Pa(r.replace(ba,"")))&&(r=r.replace(Ca,"")),Aa.test(r))r=r.replace(Aa,""),i=Yr(i),(c=xa.test(r))&&(r=r.slice(1,-1)),0===i.trim().length&&la('The value for a v-bind expression cannot be empty. Found in "v-bind:'+r+'"'),a&&(a.prop&&!c&&"innerHtml"===(r=k(r))&&(r="innerHTML"),a.camel&&!c&&(r=k(r)),a.sync&&(s=vo(i,"$event"),c?ao(e,'"update:"+('+r+")",s,null,!1,la,l[t],!0):(ao(e,"update:"+k(r),s,null,!1,la,l[t]),S(r)!==k(r)&&ao(e,"update:"+S(r),s,null,!1,la,l[t])))),a&&a.prop||!e.component&&ha(e.tag,e.attrsMap.type,r)?to(e,r,i,l[t],c):no(e,r,i,l[t],c);else if(ya.test(r))r=r.replace(ya,""),(c=xa.test(r))&&(r=r.slice(1,-1)),ao(e,r,i,a,!1,la,l[t],c);else{var u=(r=r.replace(ba,"")).match(ka),f=u&&u[1];c=!1,f&&(r=r.slice(0,-(f.length+1)),xa.test(f)&&(f=f.slice(1,-1),c=!0)),oo(e,r,o,i,f,c,a,l[t]),"model"===r&&Ua(e,i)}else Fi(i,ua)&&la(r+'="'+i+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.',l[t]),no(e,r,JSON.stringify(i),l[t]),!e.component&&"muted"===r&&ha(e.tag,e.attrsMap.type,r)&&to(e,r,"true",l[t])}(e),e}function Na(e){var t;if(t=lo(e,"v-for")){var n=function(e){var t=e.match(_a);if(t){var n={};n.for=t[2].trim();var r=t[1].trim().replace($a,""),o=r.match(wa);return o?(n.alias=r.replace(wa,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=r,n}}(t);n?M(e,n):la("Invalid v-for expression: "+t,e.rawAttrsMap["v-for"])}}function Da(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function La(e){var t=e.name.replace(Sa,"");return t||("#"!==e.name[0]?t="default":la("v-slot shorthand syntax requires a slot name.",e)),xa.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function Pa(e){var t=e.match(Ca);if(t){var n={};return t.forEach((function(e){n[e.slice(1)]=!0})),n}}function Fa(e){for(var t={},n=0,r=e.length;n<r;n++)!t[e[n].name]||Y||Q||la("duplicate attribute: "+e[n].name,e[n]),t[e[n].name]=e[n].value;return t}var Ra=/^xmlns:NS\d+/,Ha=/^NS\d+:/;function Ua(e,t){for(var n=e;n;)n.for&&n.alias===t&&la("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.',e.rawAttrsMap["v-model"]),n=n.parent}function Va(e){return Ia(e.tag,e.attrsList.slice(),e.parent)}var Ba,za,qa,Ja=[Hi,Ui,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=co(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var o=lo(e,"v-if",!0),i=o?"&&("+o+")":"",a=null!=lo(e,"v-else",!0),s=lo(e,"v-else-if",!0),c=Va(e);Na(c),ro(c,"type","checkbox"),Ea(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+i,Da(c,{exp:c.if,block:c});var l=Va(e);lo(l,"v-for",!0),ro(l,"type","radio"),Ea(l,t),Da(c,{exp:"("+n+")==='radio'"+i,block:l});var u=Va(e);return lo(u,"v-for",!0),ro(u,":type",n),Ea(u,t),Da(c,{exp:o,block:u}),a?c.else=!0:s&&(c.elseif=s),c}}}}],Ka={expectHTML:!0,modules:Ja,directives:{model:function(e,t,n){Kr=n;var r=t.value,o=t.modifiers,i=e.tag,a=e.attrsMap.type;if("input"===i&&"file"===a&&Kr("<"+e.tag+' v-model="'+r+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.',e.rawAttrsMap["v-model"]),e.component)return po(e,r,o),!1;if("select"===i)!function(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";ao(e,"change",r=r+" "+vo(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}(e,r,o);else if("input"===i&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,o=co(e,"value")||"null",i=co(e,"true-value")||"true",a=co(e,"false-value")||"false";to(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),ao(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+vo(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+vo(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+vo(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===a)!function(e,t,n){var r=n&&n.number,o=co(e,"value")||"null";to(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),ao(e,"change",vo(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type,o=e.attrsMap["v-bind:value"]||e.attrsMap[":value"],i=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];if(o&&!i){var a=e.attrsMap["v-bind:value"]?"v-bind:value":":value";Kr(a+'="'+o+'" conflicts with v-model on the same element because the latter already expands to a value binding internally',e.rawAttrsMap[a])}var s=n||{},c=s.lazy,l=s.number,u=s.trim,f=!c&&"range"!==r,d=c?"change":"range"===r?"__r":"input",p="$event.target.value";u&&(p="$event.target.value.trim()"),l&&(p="_n("+p+")");var v=vo(t,p);f&&(v="if($event.target.composing)return;"+v),to(e,"value","("+t+")"),ao(e,d,v,null,!0),(u||l)&&ao(e,"blur","$forceUpdate()")}(e,r,o);else{if(!H.isReservedTag(i))return po(e,r,o),!1;Kr("<"+e.tag+' v-model="'+r+"\">: v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",e.rawAttrsMap["v-model"])}return!0},text:function(e,t){t.value&&to(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&to(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Vi,mustUseProp:rr,canBeLeftOpenTag:Bi,isReservedTag:gr,getTagNamespace:yr,staticKeys:(qa=Ja,qa.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(","))},Wa=$((function(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));var Za=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Ga=/\([^)]*?\);*$/,Ya=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Xa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Qa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},es=function(e){return"if("+e+")return null;"},ts={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:es("$event.target !== $event.currentTarget"),ctrl:es("!$event.ctrlKey"),shift:es("!$event.shiftKey"),alt:es("!$event.altKey"),meta:es("!$event.metaKey"),left:es("'button' in $event && $event.button !== 0"),middle:es("'button' in $event && $event.button !== 1"),right:es("'button' in $event && $event.button !== 2")};function ns(e,t){var n=t?"nativeOn:":"on:",r="",o="";for(var i in e){var a=rs(e[i]);e[i]&&e[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function rs(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return rs(e)})).join(",")+"]";var t=Ya.test(e.value),n=Za.test(e.value),r=Ya.test(e.value.replace(Ga,""));if(e.modifiers){var o="",i="",a=[];for(var s in e.modifiers)if(ts[s])i+=ts[s],Xa[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;i+=es(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(o+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(os).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function os(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Xa[e],r=Qa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var is={on:function(e,t){t.modifiers&&ue("v-on without argument does not support modifiers."),e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:I},as=function(e){this.options=e,this.warn=e.warn||Qr,this.transforms=eo(e.modules,"transformCode"),this.dataGenFns=eo(e.modules,"genData"),this.directives=M(M({},is),e.directives);var t=e.isReservedTag||E;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ss(e,t){var n=new as(t);return{render:"with(this){return "+(e?cs(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function cs(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return ls(e,t);if(e.once&&!e.onceProcessed)return us(e,t);if(e.for&&!e.forProcessed)return ds(e,t);if(e.if&&!e.ifProcessed)return fs(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=ms(e,t),o="_t("+n+(r?","+r:""),i=e.attrs||e.dynamicAttrs?bs((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];return!i&&!a||r||(o+=",null"),i&&(o+=","+i),a&&(o+=(i?"":",null")+","+a),o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:ms(t,n,!0);return"_c("+e+","+ps(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=ps(e,t));var o=e.inlineTemplate?null:ms(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i<t.transforms.length;i++)n=t.transforms[i](e,n);return n}return ms(e,t)||"void 0"}function ls(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+cs(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function us(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return fs(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+cs(e,t)+","+t.onceId+++","+n+")":(t.warn("v-once can only be used inside v-for that is keyed. ",e.rawAttrsMap["v-once"]),cs(e,t))}return ls(e,t)}function fs(e,t,n,r){return e.ifProcessed=!0,function e(t,n,r,o){if(!t.length)return o||"_e()";var i=t.shift();return i.exp?"("+i.exp+")?"+a(i.block)+":"+e(t,n,r,o):""+a(i.block);function a(e){return r?r(e,n):e.once?us(e,n):cs(e,n)}}(e.ifConditions.slice(),t,n,r)}function ds(e,t,n,r){var o=e.for,i=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return t.maybeComponent(e)&&"slot"!==e.tag&&"template"!==e.tag&&!e.key&&t.warn("<"+e.tag+' v-for="'+i+" in "+o+'">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.',e.rawAttrsMap["v-for"],!0),e.forProcessed=!0,(r||"_l")+"(("+o+"),function("+i+a+s+"){return "+(n||cs)(e,t)+"})"}function ps(e,t){var n="{",r=function(e,t){var n=e.directives;if(n){var r,o,i,a,s="directives:[",c=!1;for(r=0,o=n.length;r<o;r++){i=n[r],a=!0;var l=t.directives[i.name];l&&(a=!!l(e,i,t.warn)),a&&(c=!0,s+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?",arg:"+(i.isDynamicArg?i.arg:'"'+i.arg+'"'):"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}(e,t);r&&(n+=r+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var o=0;o<t.dataGenFns.length;o++)n+=t.dataGenFns[o](e);if(e.attrs&&(n+="attrs:"+bs(e.attrs)+","),e.props&&(n+="domProps:"+bs(e.props)+","),e.events&&(n+=ns(e.events,!1)+","),e.nativeEvents&&(n+=ns(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var r=e.for||Object.keys(t).some((function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||vs(n)})),o=!!e.if;if(!r)for(var i=e.parent;i;){if(i.slotScope&&"_empty_"!==i.slotScope||i.for){r=!0;break}i.if&&(o=!0),i=i.parent}var a=Object.keys(t).map((function(e){return hs(t[e],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&o?",null,false,"+function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=function(e,t){var n=e.children[0];if(1===e.children.length&&1===n.type||t.warn("Inline-template components must have exactly one child element.",{start:e.start}),n&&1===n.type){var r=ss(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+bs(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function vs(e){return 1===e.type&&("slot"===e.tag||e.children.some(vs))}function hs(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return fs(e,t,hs,"null");if(e.for&&!e.forProcessed)return ds(e,t,hs);var r="_empty_"===e.slotScope?"":String(e.slotScope),o="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(ms(e,t)||"undefined")+":undefined":ms(e,t)||"undefined":cs(e,t))+"}",i=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+i+"}"}function ms(e,t,n,r,o){var i=e.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||cs)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var o=e[r];if(1===o.type){if(gs(o)||o.ifConditions&&o.ifConditions.some((function(e){return gs(e.block)}))){n=2;break}(t(o)||o.ifConditions&&o.ifConditions.some((function(e){return t(e.block)})))&&(n=1)}}return n}(i,t.maybeComponent):0,l=o||ys;return"["+i.map((function(e){return l(e,t)})).join(",")+"]"+(c?","+c:"")}}function gs(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ys(e,t){return 1===e.type?cs(e,t):3===e.type&&e.isComment?function(e){return"_e("+JSON.stringify(e.text)+")"}(e):"_v("+(2===(n=e).type?n.expression:_s(JSON.stringify(n.text)))+")";var n}function bs(e){for(var t="",n="",r=0;r<e.length;r++){var o=e[r],i=_s(o.value);o.dynamic?n+=o.name+","+i+",":t+='"'+o.name+'":'+i+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function _s(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var ws=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),$s=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),xs=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function ks(e,t,n,r){var o=e.replace(xs,""),i=o.match($s);i&&"$"!==o.charAt(i.index-1)&&n('avoid using JavaScript unary operator as property name: "'+i[0]+'" in expression '+t.trim(),r),Ss(e,t,n,r)}function As(e,t,n,r){Ss(e.for||"",t,n,r),Cs(e.alias,"v-for alias",t,n,r),Cs(e.iterator1,"v-for iterator",t,n,r),Cs(e.iterator2,"v-for iterator",t,n,r)}function Cs(e,t,n,r,o){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(i){r("invalid "+t+' "'+e+'" in expression: '+n.trim(),o)}}function Ss(e,t,n,r){try{new Function("return "+e)}catch(i){var o=e.replace(xs,"").match(ws);n(o?'avoid using JavaScript keyword as property name: "'+o[0]+'"\n Raw expression: '+t.trim():"invalid expression: "+i.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",r)}}function Os(e,t,n,r){try{new Function(e,"")}catch(o){n("invalid function parameter expression: "+o.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",r)}}function Ts(e,t){var n="";if(t>0)for(;1&t&&(n+=e),!((t>>>=1)<=0);)e+=e;return n}function Ms(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),I}}function js(e){var t=Object.create(null);return function(n,r,o){var i=(r=M({},r)).warn||ue;delete r.warn;try{new Function("return 1")}catch(e){e.toString().match(/unsafe-eval|CSP/)&&i("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var a=r.delimiters?String(r.delimiters)+n:n;if(t[a])return t[a];var s=e(n,r);s.errors&&s.errors.length&&(r.outputSourceRange?s.errors.forEach((function(e){i("Error compiling template:\n\n"+e.msg+"\n\n"+function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var r=e.split(/\r?\n/),o=0,i=[],a=0;a<r.length;a++)if((o+=r[a].length+1)>=t){for(var s=a-2;s<=a+2||n>o;s++)if(!(s<0||s>=r.length)){i.push(""+(s+1)+Ts(" ",3-String(s+1).length)+"| "+r[s]);var c=r[s].length;if(s===a){var l=t-(o-c)+1,u=n>o?c-l:n-t;i.push(" | "+Ts(" ",l)+Ts("^",u))}else if(s>a){if(n>o){var f=Math.min(n-o,c);i.push(" | "+Ts("^",f))}o+=c+1}}break}return i.join("\n")}(n,e.start,e.end),o)})):i("Error compiling template:\n\n"+n+"\n\n"+s.errors.map((function(e){return"- "+e})).join("\n")+"\n",o)),s.tips&&s.tips.length&&(r.outputSourceRange?s.tips.forEach((function(e){return fe(e.msg,o)})):s.tips.forEach((function(e){return fe(e,o)})));var c={},l=[];return c.render=Ms(s.render,l),c.staticRenderFns=s.staticRenderFns.map((function(e){return Ms(e,l)})),s.errors&&s.errors.length||!l.length||i("Failed to generate render function:\n\n"+l.map((function(e){var t=e.err,n=e.code;return t.toString()+" in\n\n"+n+"\n"})).join("\n"),o),t[a]=c}}var Is,Es,Ns=(Is=function(e,t){var n=function(e,t){la=t.warn||Qr,va=t.isPreTag||E,ha=t.mustUseProp||E,ma=t.getTagNamespace||E;var n=t.isReservedTag||E;ga=function(e){return!!e.component||!n(e.tag)},fa=eo(t.modules,"transformNode"),da=eo(t.modules,"preTransformNode"),pa=eo(t.modules,"postTransformNode"),ua=t.delimiters;var r,o,i=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,l=!1,u=!1;function f(e,t){u||(u=!0,la(e,t))}function d(e){if(p(e),c||e.processed||(e=Ea(e,t)),i.length||e===r||(r.if&&(e.elseif||e.else)?(v(e),Da(r,{exp:e.elseif,block:e})):f("Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.",{start:e.start})),o&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&la('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.',e[t]),e.pop()}}(o.children))&&s.if?Da(s,{exp:a.elseif,block:a}):la("v-"+(a.elseif?'else-if="'+a.elseif+'"':"else")+" used on element <"+a.tag+"> without corresponding v-if.",a.rawAttrsMap[a.elseif?"v-else-if":"v-else"]);else{if(e.slotScope){var n=e.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=e}o.children.push(e),e.parent=o}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),p(e),e.pre&&(c=!1),va(e.tag)&&(l=!1);for(var u=0;u<pa.length;u++)pa[u](e,t)}function p(e){if(!l)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}function v(e){"slot"!==e.tag&&"template"!==e.tag||f("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes.",{start:e.start}),e.attrsMap.hasOwnProperty("v-for")&&f("Cannot use v-for on stateful component root element because it renders multiple elements.",e.rawAttrsMap["v-for"])}return function(e,t){for(var n,r,o=[],i=t.expectHTML,a=t.isUnaryTag||E,s=t.canBeLeftOpenTag||E,c=0;e;){if(n=e,r&&ta(r)){var l=0,u=r.toLowerCase(),f=na[u]||(na[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),d=e.replace(f,(function(e,n,r){return l=r.length,ta(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),sa(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-d.length,e=d,C(u,c-l,c)}else{var p=e.indexOf("<");if(0===p){if(Qi.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),x(v+3);continue}}if(ea.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var m=e.match(Xi);if(m){x(m[0].length);continue}var g=e.match(Yi);if(g){var y=c;x(g[0].length),C(g[1],y,c);continue}var b=k();if(b){A(b),sa(b.tagName,e)&&x(1);continue}}var _=void 0,w=void 0,$=void 0;if(p>=0){for(w=e.slice(p);!(Yi.test(w)||Zi.test(w)||Qi.test(w)||ea.test(w)||($=w.indexOf("<",1))<0);)p+=$,w=e.slice(p);_=e.substring(0,p)}p<0&&(_=e),_&&x(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===n){t.chars&&t.chars(e),!o.length&&t.warn&&t.warn('Mal-formatted tag at end of template: "'+e+'"',{start:c+e.length});break}}function x(t){c+=t,e=e.substring(t)}function k(){var t=e.match(Zi);if(t){var n,r,o={tagName:t[1],attrs:[],start:c};for(x(t[0].length);!(n=e.match(Gi))&&(r=e.match(Ji)||e.match(qi));)r.start=c,x(r[0].length),r.end=c,o.attrs.push(r);if(n)return o.unarySlash=n[1],x(n[0].length),o.end=c,o}}function A(e){var n=e.tagName,c=e.unarySlash;i&&("p"===r&&zi(n)&&C(r),s(n)&&r===n&&C(n));for(var l=a(n)||!!c,u=e.attrs.length,f=new Array(u),d=0;d<u;d++){var p=e.attrs[d],v=p[3]||p[4]||p[5]||"",h="a"===n&&"href"===p[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[d]={name:p[1],value:ca(v,h)},t.outputSourceRange&&(f[d].start=p.start+p[0].match(/^\s*/).length,f[d].end=p.end)}l||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f,start:e.start,end:e.end}),r=n),t.start&&t.start(n,f,l,e.start,e.end)}function C(e,n,i){var a,s;if(null==n&&(n=c),null==i&&(i=c),e)for(s=e.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=o.length-1;l>=a;l--)(l>a||!e&&t.warn)&&t.warn("tag <"+o[l].tag+"> has no matching end tag.",{start:o[l].start,end:o[l].end}),t.end&&t.end(o[l].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,i):"p"===s&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}C()}(e,{warn:la,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,u){var f=o&&o.ns||ma(e);Y&&"svg"===f&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Ra.test(r.name)||(r.name=r.name.replace(Ha,""),t.push(r))}return t}(n));var p,h=Ia(e,n,o);f&&(h.ns=f),t.outputSourceRange&&(h.start=s,h.end=u,h.rawAttrsMap=h.attrsList.reduce((function(e,t){return e[t.name]=t,e}),{})),n.forEach((function(e){Ma.test(e.name)&&la("Invalid dynamic argument expression: attribute names cannot contain spaces, quotes, <, >, / or =.",{start:e.start+e.name.indexOf("["),end:e.start+e.name.length})})),"style"!==(p=h).tag&&("script"!==p.tag||p.attrsMap.type&&"text/javascript"!==p.attrsMap.type)||ie()||(h.forbidden=!0,la("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+e+">, as they will not be parsed.",{start:h.start}));for(var m=0;m<da.length;m++)h=da[m](h,t)||h;c||(function(e){null!=lo(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(c=!0)),va(h.tag)&&(l=!0),c?function(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),o=0;o<n;o++)r[o]={name:t[o].name,value:JSON.stringify(t[o].value)},null!=t[o].start&&(r[o].start=t[o].start,r[o].end=t[o].end);else e.pre||(e.plain=!0)}(h):h.processed||(Na(h),function(e){var t=lo(e,"v-if");if(t)e.if=t,Da(e,{exp:t,block:e});else{null!=lo(e,"v-else")&&(e.else=!0);var n=lo(e,"v-else-if");n&&(e.elseif=n)}}(h),function(e){null!=lo(e,"v-once")&&(e.once=!0)}(h)),r||v(r=h),a?d(h):(o=h,i.push(h))},end:function(e,n,r){var a=i[i.length-1];i.length-=1,o=i[i.length-1],t.outputSourceRange&&(a.end=r),d(a)},chars:function(n,r,i){if(o){if(!Y||"textarea"!==o.tag||o.attrsMap.placeholder!==n){var u,d,p,v=o.children;(n=l||n.trim()?"script"===(u=o).tag||"style"===u.tag?n:ja(n):v.length?s?"condense"===s&&Oa.test(n)?"":" ":a?" ":"":"")&&(l||"condense"!==s||(n=n.replace(Ta," ")),!c&&" "!==n&&(d=Fi(n,ua))?p={type:2,expression:d.expression,tokens:d.tokens,text:n}:" "===n&&v.length&&" "===v[v.length-1].text||(p={type:3,text:n}),p&&(t.outputSourceRange&&(p.start=r,p.end=i),v.push(p)))}}else n===e?f("Component template requires a root element, rather than just text.",{start:r}):(n=n.trim())&&f('text "'+n+'" outside root element will be ignored.',{start:r})},comment:function(e,n,r){if(o){var i={type:3,text:e,isComment:!0};t.outputSourceRange&&(i.start=n,i.end=r),o.children.push(i)}}}),r}(e.trim(),t);!1!==t.optimize&&function(e,t){e&&(Ba=Wa(t.staticKeys||""),za=t.isReservedTag||E,function e(t){if(t.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||g(e.tag)||!za(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Ba))))}(t),1===t.type){if(!za(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n<r;n++){var o=t.children[n];e(o),o.static||(t.static=!1)}if(t.ifConditions)for(var i=1,a=t.ifConditions.length;i<a;i++){var s=t.ifConditions[i].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var r=0,o=t.children.length;r<o;r++)e(t.children[r],n||!!t.for);if(t.ifConditions)for(var i=1,a=t.ifConditions.length;i<a;i++)e(t.ifConditions[i].block,n)}}(e,!1))}(n,t);var r=ss(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),o=[],i=[],a=function(e,t,n){(n?i:o).push(e)};if(n){if(n.outputSourceRange){var s=t.match(/^\s*/)[0].length;a=function(e,t,n){var r={msg:e};t&&(null!=t.start&&(r.start=t.start+s),null!=t.end&&(r.end=t.end+s)),(n?i:o).push(r)}}for(var c in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=M(Object.create(e.directives||null),n.directives)),n)"modules"!==c&&"directives"!==c&&(r[c]=n[c])}r.warn=a;var l=Is(t.trim(),r);return function(e,t){e&&function e(t,n){if(1===t.type){for(var r in t.attrsMap)if(ba.test(r)){var o=t.attrsMap[r];if(o){var i=t.rawAttrsMap[r];"v-for"===r?As(t,'v-for="'+o+'"',n,i):"v-slot"===r||"#"===r[0]?Os(o,r+'="'+o+'"',n,i):ya.test(r)?ks(o,r+'="'+o+'"',n,i):Ss(o,r+'="'+o+'"',n,i)}}if(t.children)for(var a=0;a<t.children.length;a++)e(t.children[a],n)}else 2===t.type&&Ss(t.expression,t.text,n,t)}(e,t)}(l.ast,a),l.errors=o,l.tips=i,l}return{compile:t,compileToFunctions:js(t)}})(Ka),Ds=(Ns.compile,Ns.compileToFunctions);function Ls(e){return(Es=Es||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Es.innerHTML.indexOf(" ")>0}var Ps=!!K&&Ls(!1),Fs=!!K&&Ls(!0),Rs=$((function(e){var t=wr(e);return t&&t.innerHTML})),Hs=Wn.prototype.$mount;return Wn.prototype.$mount=function(e,t){if((e=e&&wr(e))===document.body||e===document.documentElement)return ue("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&((r=Rs(r))||ue("Template element not found or is empty: "+n.template,this));else{if(!r.nodeType)return ue("invalid template option:"+r,this),this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){H.performance&&at&&at("compile");var o=Ds(r,{outputSourceRange:!0,shouldDecodeNewlines:Ps,shouldDecodeNewlinesForHref:Fs,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a,H.performance&&at&&(at("compile end"),st("vue "+this._name+" compile","compile","compile end"))}}return Hs.call(this,e,t)},Wn.compile=Ds,Wn},e.exports=r()}).call(this,n(4),n(15).setImmediate)},,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(6),o=n.n(r);n(14);const i=new URL(window.location.href).searchParams.get("page");if(!i)throw"Need page url arg";const a=window[i],s=a.settings,c=a.sections;function l(e,t){Object.keys(e).forEach(n=>{e[n]=t})}new o.a({el:"#nextgenthemes-vue",data:{errors:[],isSaving:!1,refreshAfterSave:!1,sectionsDisplayed:function(){const e={};return Object.keys(c).forEach(t=>{e[t]="debug"!==t}),e}(),message:"",vm:a.options},methods:{checkForError(){this.name||this.errors.push("Name required.")},saveOptions(){this.isSaving=!0,window.jQuery.ajax({url:a.rest_url+"/save",method:"POST",data:this.vm,beforeSend(e){e.setRequestHeader("X-WP-Nonce",a.nonce)},success:()=>{this.message="Options saved",setTimeout(()=>this.message="",1e3)},error:e=>{this.message=e.responseText,this.refreshAfterSave=!1},complete:()=>{this.isSaving=!1,this.refreshAfterSave&&(this.refreshAfterSave=!1,window.location.reload())}})},resetOptions(e="all"){"all"===e?Object.entries(s).forEach(([e,t])=>{this.vm[e]=t.default}):Object.entries(s).forEach(([t,n])=>{e===n.tag&&(this.vm[t]=n.default)}),this.saveOptions()},licenseAPI(e,t,n){this.isSaving=!0,window.jQuery.ajax({url:"https://nextgenthemes.com",method:"POST",crossDomain:!0,data:{edd_action:e+"_license",license:this.vm[n],item_id:t,url:a.home_url},success:e=>{this.message="License API call saved",setTimeout(()=>this.message="",1e3)},error:e=>this.message=e.responseText,complete:()=>this.isSaving=!1})},licenseAPI_native(e,t,n){const r=new XMLHttpRequest;r.onreadystatechange=function(){if(console.log("xhttp.readyState",r.readyState),console.log("xhttp.status",r.status),4===r.readyState&&200===r.status){const e=JSON.parse(r.responseText);console.log("slData",e)}};const o={edd_action:e+"_license",license:this.vm[n],item_id:t,url:a.home_url};r.open("POST","https://nextgenthemes.com",!0),r.setRequestHeader("Content-type","application/json; charset=utf-8"),r.setRequestHeader("Access-Control-Allow-Origin",a.home_url);let i="";for(const e in o)i+=e+"="+a[e]+"&";i=i.substring(0,i.length-1),r.send(i)},showSection(e){l(this.sectionsDisplayed,!1),this.sectionsDisplayed[e]=!0},showAllSectionsButDebug(){l(this.sectionsDisplayed,!0),this.sectionsDisplayed.debug=!1},uploadImage(e){const t=this,n=window.wp.media({title:"Upload Image",multiple:!1}).open().on("select",(function(){const r=n.state().get("selection").first().toJSON().id;t.vm[e]=r}))},action(e,t){this.vm.action=JSON.stringify({action:e,product:t}),this.refreshAfterSave=!0,this.saveOptions()}}})},function(e,t,n){},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(16),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(4))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,s,c=1,l={},u=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){v(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&v(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(v,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return l[c]=o,r(c),c++},d.clearImmediate=p}function p(e){delete l[e]}function v(e){if(u)setTimeout(v,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(4),n(17))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,l=[],u=!1,f=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):f=-1,l.length&&p())}function p(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(c=l,l=[];++f<t;)c&&c[f].run();f=-1,t=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new v(e,t)),1!==l.length||u||s(p)},v.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=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}}]);
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t,n){(function(t,n){var r;r=function(){"use strict";var e=Object.freeze({});function r(e){return null==e}function o(e){return null!=e}function i(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function l(e){return c.call(e).slice(8,-1)}function u(e){return"[object Object]"===c.call(e)}function f(e){return"[object RegExp]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var y=m("slot,component",!0),g=m("key,ref,slot,slot-scope,is");function b(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function w(e,t){return _.call(e,t)}function $(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,A=$((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),k=$((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,S=$((function(e){return e.replace(C,"-$1").toLowerCase()})),O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function T(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function M(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n<e.length;n++)e[n]&&M(t,e[n]);return t}function I(e,t,n){}var E=function(e,t,n){return!1},N=function(e){return e};function D(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every((function(e,n){return D(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),c=Object.keys(t);return a.length===c.length&&a.every((function(n){return D(e[n],t[n])}))}catch(e){return!1}}function L(e,t){for(var n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function P(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F=["component","directive","filter"],R=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:E,isReservedAttr:E,isUnknownElement:E,getTagNamespace:I,parsePlatformTagName:N,mustUseProp:E,async:!0,_lifecycleHooks:R},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function V(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function B(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var z,q=new RegExp("[^"+U.source+".$_\\d]"),J="__proto__"in{},K="undefined"!=typeof window,W="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Z=W&&WXEnvironment.platform.toLowerCase(),G=K&&window.navigator.userAgent.toLowerCase(),Y=G&&/msie|trident/.test(G),X=G&&G.indexOf("msie 9.0")>0,Q=G&&G.indexOf("edge/")>0,ee=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===Z),te=(G&&/chrome\/\d+/.test(G),G&&/phantomjs/.test(G),G&&G.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(K)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,oe)}catch(e){}var ie=function(){return void 0===z&&(z=!K&&!W&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),z},ae=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var ce,le="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);ce="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue,fe,de,pe=I,ve="undefined"!=typeof console,he=/(?:^|[-_])(\w)/g;ue=function(e,t){var n=t?pe(t):"";H.warnHandler?H.warnHandler.call(null,e,t,n):ve&&!H.silent&&console.error("[Vue warn]: "+e+n)},fe=function(e,t){ve&&!H.silent&&console.warn("[Vue tip]: "+e+(t?pe(t):""))},de=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,r=n.name||n._componentTag,o=n.__file;if(!r&&o){var i=o.match(/([^/\\]+)\.vue$/);r=i&&i[1]}return(r?"<"+function(e){return e.replace(he,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")}(r)+">":"<Anonymous>")+(o&&!1!==t?" at "+o:"")},pe=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?de(e[0])+"... ("+e[1]+" recursive calls)":de(e))})).join("\n")}return"\n\n(found in "+de(e)+")"};var me=0,ye=function(){this.id=me++,this.subs=[]};ye.prototype.addSub=function(e){this.subs.push(e)},ye.prototype.removeSub=function(e){b(this.subs,e)},ye.prototype.depend=function(){ye.target&&ye.target.addDep(this)},ye.prototype.notify=function(){var e=this.subs.slice();H.async||e.sort((function(e,t){return e.id-t.id}));for(var t=0,n=e.length;t<n;t++)e[t].update()},ye.target=null;var ge=[];function be(e){ge.push(e),ye.target=e}function _e(){ge.pop(),ye.target=ge[ge.length-1]}var we=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},$e={child:{configurable:!0}};$e.child.get=function(){return this.componentInstance},Object.defineProperties(we.prototype,$e);var xe=function(e){void 0===e&&(e="");var t=new we;return t.text=e,t.isComment=!0,t};function Ae(e){return new we(void 0,void 0,void 0,String(e))}function ke(e){var t=new we(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ce=Array.prototype,Se=Object.create(Ce);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Ce[e];B(Se,e,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i}))}));var Oe=Object.getOwnPropertyNames(Se),Te=!0;function Me(e){Te=e}var je=function(e){this.value=e,this.dep=new ye,this.vmCount=0,B(e,"__ob__",this),Array.isArray(e)?(J?function(e,t){e.__proto__=t}(e,Se):function(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];B(e,i,t[i])}}(e,Se,Oe),this.observeArray(e)):this.walk(e)};function Ie(e,t){var n;if(s(e)&&!(e instanceof we))return w(e,"__ob__")&&e.__ob__ instanceof je?n=e.__ob__:Te&&!ie()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new je(e)),t&&n&&n.vmCount++,n}function Ee(e,t,n,r,o){var i=new ye,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!o&&Ie(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ye.target&&(i.depend(),l&&(l.dep.depend(),Array.isArray(t)&&Le(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!=t&&a!=a||(r&&r(),s&&!c||(c?c.call(e,t):n=t,l=!o&&Ie(t),i.notify()))}})}}function Ne(e,t,n){if((r(e)||a(e))&&ue("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var o=e.__ob__;return e._isVue||o&&o.vmCount?(ue("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):o?(Ee(o.value,t,n),o.dep.notify(),n):(e[t]=n,n)}function De(e,t){if((r(e)||a(e))&&ue("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?ue("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):w(e,t)&&(delete e[t],n&&n.dep.notify())}}function Le(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Le(t)}je.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ee(e,t[n])},je.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ie(e[t])};var Pe=H.optionMergeStrategies;function Fe(e,t){if(!t)return e;for(var n,r,o,i=le?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(r=e[n],o=t[n],w(e,n)?r!==o&&u(r)&&u(o)&&Fe(r,o):Ne(e,n,o));return e}function Re(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?Fe(r,o):o}:t?e?function(){return Fe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function He(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ue(e,t,n,r){var o=Object.create(e||null);return t?(ze(r,t,n),M(o,t)):o}Pe.el=Pe.propsData=function(e,t,n,r){return n||ue('option "'+r+'" can only be used during instance creation with the `new` keyword.'),Ve(e,t)},Pe.data=function(e,t,n){return n?Re(e,t,n):t&&"function"!=typeof t?(ue('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):Re(e,t)},R.forEach((function(e){Pe[e]=He})),F.forEach((function(e){Pe[e+"s"]=Ue})),Pe.watch=function(e,t,n,r){if(e===ne&&(e=void 0),t===ne&&(t=void 0),!t)return Object.create(e||null);if(ze(r,t,n),!e)return t;var o={};for(var i in M(o,e),t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Pe.props=Pe.methods=Pe.inject=Pe.computed=function(e,t,n,r){if(t&&ze(r,t,n),!e)return t;var o=Object.create(null);return M(o,e),t&&M(o,t),o},Pe.provide=Re;var Ve=function(e,t){return void 0===t?e:t};function Be(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+U.source+"]*$").test(e)||ue('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(y(e)||H.isReservedTag(e))&&ue("Do not use built-in or reserved HTML elements as component id: "+e)}function ze(e,t,n){u(t)||ue('Invalid value for option "'+e+'": expected an Object, but got '+l(t)+".",n)}function qe(e,t,n){if(function(e){for(var t in e.components)Be(t)}(t),"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])?i[A(o)]={type:null}:ue("props must be strings when using array syntax.");else if(u(n))for(var a in n)o=n[a],i[A(a)]=u(o)?o:{type:o};else ue('Invalid value for option "props": expected an Array or an Object, but got '+l(n)+".",t);e.props=i}}(t,n),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(u(n))for(var i in n){var a=n[i];r[i]=u(a)?M({from:i},a):{from:a}}else ue('Invalid value for option "inject": expected an Array or an Object, but got '+l(n)+".",t)}}(t,n),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=qe(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=qe(e,t.mixins[r],n);var i,a={};for(i in e)s(i);for(i in t)w(e,i)||s(i);function s(r){var o=Pe[r]||Ve;a[r]=o(e[r],t[r],n,r)}return a}function Je(e,t,n,r){if("string"==typeof n){var o=e[t];if(w(o,n))return o[n];var i=A(n);if(w(o,i))return o[i];var a=k(i);if(w(o,a))return o[a];var s=o[n]||o[i]||o[a];return r&&!s&&ue("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function Ke(e,t,n,r){var o=t[e],i=!w(n,e),a=n[e],c=Xe(Boolean,o.type);if(c>-1)if(i&&!w(o,"default"))a=!1;else if(""===a||a===S(e)){var u=Xe(String,o.type);(u<0||c<u)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(w(t,"default")){var r=t.default;return s(r)&&ue('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==Ge(t.type)?r.call(e):r}}(r,o,e);var f=Te;Me(!0),Ie(a),Me(f)}return function(e,t,n,r,o){if(e.required&&o)ue('Missing required prop: "'+t+'"',r);else if(null!=n||e.required){var i=e.type,a=!i||!0===i,s=[];if(i){Array.isArray(i)||(i=[i]);for(var c=0;c<i.length&&!a;c++){var u=Ze(n,i[c]);s.push(u.expectedType||""),a=u.valid}}if(a){var f=e.validator;f&&(f(n)||ue('Invalid prop: custom validator check failed for prop "'+t+'".',r))}else ue(function(e,t,n){var r='Invalid prop: type check failed for prop "'+e+'". Expected '+n.map(k).join(", "),o=n[0],i=l(t),a=Qe(t,o),s=Qe(t,i);return 1===n.length&&et(o)&&!function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.some((function(e){return"boolean"===e.toLowerCase()}))}(o,i)&&(r+=" with value "+a),r+=", got "+i+" ",et(i)&&(r+="with value "+s+"."),r}(t,n,s),r)}}(o,e,a,r,i),a}var We=/^(String|Number|Boolean|Function|Symbol)$/;function Ze(e,t){var n,r=Ge(t);if(We.test(r)){var o=typeof e;(n=o===r.toLowerCase())||"object"!==o||(n=e instanceof t)}else n="Object"===r?u(e):"Array"===r?Array.isArray(e):e instanceof t;return{valid:n,expectedType:r}}function Ge(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ye(e,t){return Ge(e)===Ge(t)}function Xe(e,t){if(!Array.isArray(t))return Ye(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Ye(t[n],e))return n;return-1}function Qe(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function et(e){return["string","number","boolean"].some((function(t){return e.toLowerCase()===t}))}function tt(e,t,n){be();try{if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){rt(e,r,"errorCaptured hook")}}rt(e,t,n)}finally{_e()}}function nt(e,t,n,r,o){var i;try{(i=n?e.apply(t,n):e.call(t))&&!i._isVue&&p(i)&&!i._handled&&(i.catch((function(e){return tt(e,r,o+" (Promise/async)")})),i._handled=!0)}catch(e){tt(e,r,o)}return i}function rt(e,t,n){if(H.errorHandler)try{return H.errorHandler.call(null,e,t,n)}catch(t){t!==e&&ot(t,null,"config.errorHandler")}ot(e,t,n)}function ot(e,t,n){if(ue("Error in "+n+': "'+e.toString()+'"',t),!K&&!W||"undefined"==typeof console)throw e;console.error(e)}var it,at,st,ct=!1,lt=[],ut=!1;function ft(){ut=!1;var e=lt.slice(0);lt.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&se(Promise)){var dt=Promise.resolve();it=function(){dt.then(ft),ee&&setTimeout(I)},ct=!0}else if(Y||"undefined"==typeof MutationObserver||!se(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())it=void 0!==n&&se(n)?function(){n(ft)}:function(){setTimeout(ft,0)};else{var pt=1,vt=new MutationObserver(ft),ht=document.createTextNode(String(pt));vt.observe(ht,{characterData:!0}),it=function(){pt=(pt+1)%2,ht.data=String(pt)},ct=!0}function mt(e,t){var n;if(lt.push((function(){if(e)try{e.call(t)}catch(e){tt(e,t,"nextTick")}else n&&n(t)})),ut||(ut=!0,it()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var yt,gt=K&&window.performance;gt&>.mark&>.measure&>.clearMarks&>.clearMeasures&&(at=function(e){return gt.mark(e)},st=function(e,t,n){gt.measure(e,t,n),gt.clearMarks(t),gt.clearMarks(n)});var bt=m("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),_t=function(e,t){ue('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},wt=function(e,t){ue('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},$t="undefined"!=typeof Proxy&&se(Proxy);if($t){var xt=m("stop,prevent,self,ctrl,shift,alt,meta,exact");H.keyCodes=new Proxy(H.keyCodes,{set:function(e,t,n){return xt(t)?(ue("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=n,!0)}})}var At={has:function(e,t){var n=t in e,r=bt(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return n||r||(t in e.$data?wt(e,t):_t(e,t)),n||!r}},kt={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?wt(e,t):_t(e,t)),e[t]}};yt=function(e){if($t){var t=e.$options,n=t.render&&t.render._withStripped?kt:At;e._renderProxy=new Proxy(e,n)}else e._renderProxy=e};var Ct=new ce;function St(e){!function e(t,n){var r,o,i=Array.isArray(t);if(!(!i&&!s(t)||Object.isFrozen(t)||t instanceof we)){if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(i)for(r=t.length;r--;)e(t[r],n);else for(r=(o=Object.keys(t)).length;r--;)e(t[o[r]],n)}}(e,Ct),Ct.clear()}var Ot=$((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function Tt(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return nt(r,null,arguments,t,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)nt(o[i],null,e,t,"v-on handler")}return n.fns=e,n}function Mt(e,t,n,o,a,s){var c,l,u,f;for(c in e)l=e[c],u=t[c],f=Ot(c),r(l)?ue('Invalid handler for event "'+f.name+'": got '+String(l),s):r(u)?(r(l.fns)&&(l=e[c]=Tt(l,s)),i(f.once)&&(l=e[c]=a(f.name,l,f.capture)),n(f.name,l,f.capture,f.passive,f.params)):l!==u&&(u.fns=l,e[c]=u);for(c in t)r(e[c])&&o((f=Ot(c)).name,t[c],f.capture)}function jt(e,t,n){var a;e instanceof we&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){n.apply(this,arguments),b(a.fns,c)}r(s)?a=Tt([c]):o(s.fns)&&i(s.merged)?(a=s).fns.push(c):a=Tt([s,c]),a.merged=!0,e[t]=a}function It(e,t,n,r,i){if(o(t)){if(w(t,n))return e[n]=t[n],i||delete t[n],!0;if(w(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function Et(e){return a(e)?[Ae(e)]:Array.isArray(e)?function e(t,n){var s,c,l,u,f=[];for(s=0;s<t.length;s++)r(c=t[s])||"boolean"==typeof c||(u=f[l=f.length-1],Array.isArray(c)?c.length>0&&(Nt((c=e(c,(n||"")+"_"+s))[0])&&Nt(u)&&(f[l]=Ae(u.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?Nt(u)?f[l]=Ae(u.text+c):""!==c&&f.push(Ae(c)):Nt(c)&&Nt(u)?f[l]=Ae(u.text+c.text):(i(t._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(e):void 0}function Nt(e){return o(e)&&o(e.text)&&!1===e.isComment}function Dt(e,t){if(e){for(var n=Object.create(null),r=le?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){for(var a=e[i].from,s=t;s;){if(s._provided&&w(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[i]){var c=e[i].default;n[i]="function"==typeof c?c.call(t):c}else ue('Injection "'+i+'" not found',t)}}return n}}function Lt(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var l in n)n[l].every(Pt)&&delete n[l];return n}function Pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ft(t,n,r){var o,i=Object.keys(n).length>0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=Rt(n,c,t[c]))}else o={};for(var l in n)l in o||(o[l]=Ht(n,l));return t&&Object.isExtensible(t)&&(t._normalized=o),B(o,"$stable",a),B(o,"$key",s),B(o,"$hasNormal",i),o}function Rt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:Et(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Ht(e,t){return function(){return e[t]}}function Ut(e,t){var n,r,i,a,c;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(s(e))if(le&&e[Symbol.iterator]){n=[];for(var l=e[Symbol.iterator](),u=l.next();!u.done;)n.push(t(u.value,n.length)),u=l.next()}else for(a=Object.keys(e),n=new Array(a.length),r=0,i=a.length;r<i;r++)c=a[r],n[r]=t(e[c],c,r);return o(n)||(n=[]),n._isVList=!0,n}function Vt(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(s(r)||ue("slot v-bind without argument expects an Object",this),n=M(M({},r),n)),o=i(n)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Bt(e){return Je(this.$options,"filters",e,!0)||N}function zt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function qt(e,t,n,r,o){var i=H.keyCodes[t]||n;return o&&r&&!H.keyCodes[t]?zt(o,r):i?zt(i,e):r?S(r)!==t:void 0}function Jt(e,t,n,r,o){if(n)if(s(n)){var i;Array.isArray(n)&&(n=j(n));var a=function(a){if("class"===a||"style"===a||g(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||H.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=A(a),l=S(a);c in i||l in i||(i[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var c in n)a(c)}else ue("v-bind without argument expects an Object or Array value",this);return e}function Kt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||Zt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function Wt(e,t,n){return Zt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Zt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Gt(e[r],t+"_"+r,n);else Gt(e,t,n)}function Gt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Yt(e,t){if(t)if(u(t)){var n=e.on=e.on?M({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else ue("v-on without argument expects an Object value",this);return e}function Xt(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var i=e[o];Array.isArray(i)?Xt(i,t,n):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function Qt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r?e[t[n]]=t[n+1]:""!==r&&null!==r&&ue("Invalid value for dynamic directive argument (expected string or null): "+r,this)}return e}function en(e,t){return"string"==typeof e?t+e:e}function tn(e){e._o=Wt,e._n=h,e._s=v,e._l=Ut,e._t=Vt,e._q=D,e._i=L,e._m=Kt,e._f=Bt,e._k=qt,e._b=Jt,e._v=Ae,e._e=xe,e._u=Xt,e._g=Yt,e._d=Qt,e._p=en}function nn(t,n,r,o,a){var s,c=this,l=a.options;w(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var u=i(l._compiled),f=!u;this.data=t,this.props=n,this.children=r,this.parent=o,this.listeners=t.on||e,this.injections=Dt(l.inject,o),this.slots=function(){return c.$slots||Ft(t.scopedSlots,c.$slots=Lt(r,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ft(t.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Ft(t.scopedSlots,this.$slots)),l._scopeId?this._c=function(e,t,n,r){var i=un(s,e,t,n,r,f);return i&&!Array.isArray(i)&&(i.fnScopeId=l._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return un(s,e,t,n,r,f)}}function rn(e,t,n,r,o){var i=ke(e);return i.fnContext=n,i.fnOptions=r,(i.devtoolsMeta=i.devtoolsMeta||{}).renderContext=o,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function on(e,t){for(var n in t)e[A(n)]=t[n]}tn(nn.prototype);var an={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;an.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,wn)).$mount(t?e.elm:void 0,t)},prepatch:function(t,n){var r=n.componentOptions;!function(t,n,r,o,i){$n=!0;var a=o.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==e&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),l=!!(i||t.$options._renderChildren||c);if(t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i,t.$attrs=o.data.attrs||e,t.$listeners=r||e,n&&t.$options.props){Me(!1);for(var u=t._props,f=t.$options._propKeys||[],d=0;d<f.length;d++){var p=f[d],v=t.$options.props;u[p]=Ke(p,v,n,t)}Me(!0),t.$options.propsData=n}r=r||e;var h=t.$options._parentListeners;t.$options._parentListeners=r,bn(t,r,h),l&&(t.$slots=Lt(i,o.context),t.$forceUpdate()),$n=!1}(n.componentInstance=t.componentInstance,r.propsData,r.listeners,n,r.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Cn(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,On.push(t)):kn(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,An(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);Cn(t,"deactivated")}}(t,!0):t.$destroy())}},sn=Object.keys(an);function cn(t,n,a,c,l){if(!r(t)){var u=a.$options._base;if(s(t)&&(t=u.extend(t)),"function"==typeof t){var f;if(r(t.cid)&&void 0===(t=function(e,t){if(i(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=dn;if(n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),i(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var a=e.owners=[n],c=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return b(a,n)}));var f=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},d=P((function(n){e.resolved=pn(n,t),c?a.length=0:f(!0)})),v=P((function(t){ue("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),o(e.errorComp)&&(e.error=!0,f(!0))})),h=e(d,v);return s(h)&&(p(h)?r(e.resolved)&&h.then(d,v):p(h.component)&&(h.component.then(d,v),o(h.error)&&(e.errorComp=pn(h.error,t)),o(h.loading)&&(e.loadingComp=pn(h.loading,t),0===h.delay?e.loading=!0:l=setTimeout((function(){l=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,f(!1))}),h.delay||200)),o(h.timeout)&&(u=setTimeout((function(){u=null,r(e.resolved)&&v("timeout ("+h.timeout+"ms)")}),h.timeout)))),c=!1,e.loading?e.loadingComp:e.resolved}}(f=t,u)))return function(e,t,n,r,o){var i=xe();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(f,n,a,c,l);n=n||{},Wn(t),o(n.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),a=i[r],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[r]=[s].concat(a)):i[r]=s}(t.options,n);var d=function(e,t,n){var i=t.options.props;if(!r(i)){var a={},s=e.attrs,c=e.props;if(o(s)||o(c))for(var l in i){var u=S(l),f=l.toLowerCase();l!==f&&s&&w(s,f)&&fe('Prop "'+f+'" is passed to component '+de(n||t)+', but the declared prop name is "'+l+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+u+'" instead of "'+l+'".'),It(a,c,l,u,!0)||It(a,s,l,u,!1)}return a}}(n,t,l);if(i(t.options.functional))return function(t,n,r,i,a){var s=t.options,c={},l=s.props;if(o(l))for(var u in l)c[u]=Ke(u,l,n||e);else o(r.attrs)&&on(c,r.attrs),o(r.props)&&on(c,r.props);var f=new nn(r,c,a,i,t),d=s.render.call(null,f._c,f);if(d instanceof we)return rn(d,r,f.parent,s,f);if(Array.isArray(d)){for(var p=Et(d)||[],v=new Array(p.length),h=0;h<p.length;h++)v[h]=rn(p[h],r,f.parent,s,f);return v}}(t,d,n,a,c);var v=n.on;if(n.on=n.nativeOn,i(t.options.abstract)){var h=n.slot;n={},h&&(n.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<sn.length;n++){var r=sn[n],o=t[r],i=an[r];o===i||o&&o._merged||(t[r]=o?ln(i,o):i)}}(n);var m=t.options.name||l;return new we("vue-component-"+t.cid+(m?"-"+m:""),n,void 0,void 0,void 0,a,{Ctor:t,propsData:d,listeners:v,tag:l,children:c},f)}ue("Invalid Component definition: "+String(t),a)}}function ln(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function un(e,t,n,c,l,u){return(Array.isArray(n)||a(n))&&(l=c,c=n,n=void 0),i(u)&&(l=2),function(e,t,n,c,l){return o(n)&&o(n.__ob__)?(ue("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),xe()):(o(n)&&o(n.is)&&(t=n.is),t?(o(n)&&o(n.key)&&!a(n.key)&&ue("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(c)&&"function"==typeof c[0]&&((n=n||{}).scopedSlots={default:c[0]},c.length=0),2===l?c=Et(c):1===l&&(c=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(c)),"string"==typeof t?(f=e.$vnode&&e.$vnode.ns||H.getTagNamespace(t),H.isReservedTag(t)?(o(n)&&o(n.nativeOn)&&ue("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),u=new we(H.parsePlatformTagName(t),n,c,void 0,void 0,e)):u=n&&n.pre||!o(d=Je(e.$options,"components",t))?new we(t,n,c,void 0,void 0,e):cn(d,n,e,c,t)):u=cn(t,n,e,c),Array.isArray(u)?u:o(u)?(o(f)&&function e(t,n,a){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,a=!0),o(t.children))for(var s=0,c=t.children.length;s<c;s++){var l=t.children[s];o(l.tag)&&(r(l.ns)||i(a)&&"svg"!==l.tag)&&e(l,n,a)}}(u,f),o(n)&&function(e){s(e.style)&&St(e.style),s(e.class)&&St(e.class)}(n),u):xe()):xe());var u,f,d}(e,t,n,c,l)}var fn,dn=null;function pn(e,t){return(e.__esModule||le&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function vn(e){return e.isComment&&e.asyncFactory}function hn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||vn(n)))return n}}function mn(e,t){fn.$on(e,t)}function yn(e,t){fn.$off(e,t)}function gn(e,t){var n=fn;return function r(){var o=t.apply(null,arguments);null!==o&&n.$off(e,r)}}function bn(e,t,n){fn=e,Mt(t,n||{},mn,yn,gn,e),fn=void 0}var wn=null,$n=!1;function xn(e){var t=wn;return wn=e,function(){wn=t}}function An(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function kn(e,t){if(t){if(e._directInactive=!1,An(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)kn(e.$children[n]);Cn(e,"activated")}}function Cn(e,t){be();var n=e.$options[t],r=t+" hook";if(n)for(var o=0,i=n.length;o<i;o++)nt(n[o],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),_e()}var Sn=[],On=[],Tn={},Mn={},jn=!1,In=!1,En=0,Nn=0,Dn=Date.now;if(K&&!Y){var Ln=window.performance;Ln&&"function"==typeof Ln.now&&Dn()>document.createEvent("Event").timeStamp&&(Dn=function(){return Ln.now()})}function Pn(){var e,t;for(Nn=Dn(),In=!0,Sn.sort((function(e,t){return e.id-t.id})),En=0;En<Sn.length;En++)if((e=Sn[En]).before&&e.before(),t=e.id,Tn[t]=null,e.run(),null!=Tn[t]&&(Mn[t]=(Mn[t]||0)+1,Mn[t]>100)){ue("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=On.slice(),r=Sn.slice();En=Sn.length=On.length=0,Tn={},Mn={},jn=In=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,kn(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Cn(r,"updated")}}(r),ae&&H.devtools&&ae.emit("flush")}var Fn=0,Rn=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Fn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ce,this.newDepIds=new ce,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=function(e){if(!q.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=I,ue('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};Rn.prototype.get=function(){var e;be(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;tt(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&St(e),_e(),this.cleanupDeps()}return e},Rn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Rn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Rn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Tn[t]){if(Tn[t]=!0,In){for(var n=Sn.length-1;n>En&&Sn[n].id>e.id;)n--;Sn.splice(n+1,0,e)}else Sn.push(e);if(!jn){if(jn=!0,!H.async)return void Pn();mt(Pn)}}}(this)},Rn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){tt(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Rn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Rn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Rn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Hn={enumerable:!0,configurable:!0,get:I,set:I};function Un(e,t,n){Hn.get=function(){return this[t][n]},Hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Hn)}var Vn={lazy:!0};function Bn(e,t,n){var r=!ie();"function"==typeof n?(Hn.get=r?zn(t):qn(n),Hn.set=I):(Hn.get=n.get?r&&!1!==n.cache?zn(t):qn(n.get):I,Hn.set=n.set||I),Hn.set===I&&(Hn.set=function(){ue('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Hn)}function zn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ye.target&&t.depend(),t.value}}function qn(e){return function(){return e.call(this,this)}}function Jn(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var Kn=0;function Wn(e){var t=e.options;if(e.super){var n=Wn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&M(e.extendOptions,r),(t=e.options=qe(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Zn(e){this instanceof Zn||ue("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Gn(e){return e&&(e.Ctor.options.name||e.tag)}function Yn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function Xn(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Gn(a.componentOptions);s&&!t(s)&&Qn(n,i,r,o)}}}function Qn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,b(n,t)}!function(t){t.prototype._init=function(t){var n,r,o=this;o._uid=Kn++,H.performance&&at&&(n="vue-perf-start:"+o._uid,r="vue-perf-end:"+o._uid,at(n)),o._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,t):o.$options=qe(Wn(o.constructor),t||{},o),yt(o),o._self=o,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&bn(e,t)}(o),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,o=r&&r.context;t.$slots=Lt(n._renderChildren,o),t.$scopedSlots=e,t._c=function(e,n,r,o){return un(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return un(t,e,n,r,o,!0)};var i=r&&r.data;Ee(t,"$attrs",i&&i.attrs||e,(function(){!$n&&ue("$attrs is readonly.",t)}),!0),Ee(t,"$listeners",n._parentListeners||e,(function(){!$n&&ue("$listeners is readonly.",t)}),!0)}(o),Cn(o,"beforeCreate"),function(e){var t=Dt(e.$options.inject,e);t&&(Me(!1),Object.keys(t).forEach((function(n){Ee(e,n,t[n],(function(){ue('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)}))})),Me(!0))}(o),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||Me(!1);var a=function(a){o.push(a);var s=Ke(a,t,n,e),c=S(a);(g(c)||H.isReservedAttr(c))&&ue('"'+c+'" is a reserved attribute and cannot be used as component prop.',e),Ee(r,a,s,(function(){i||$n||ue("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)})),a in e||Un(e,"_props",a)};for(var s in t)a(s);Me(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var r in t)"function"!=typeof t[r]&&ue('Method "'+r+'" has type "'+typeof t[r]+'" in the component definition. Did you reference the function correctly?',e),n&&w(n,r)&&ue('Method "'+r+'" has already been defined as a prop.',e),r in e&&V(r)&&ue('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]="function"!=typeof t[r]?I:O(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){be();try{return e.call(t,t)}catch(e){return tt(e,t,"data()"),{}}finally{_e()}}(t,e):t||{})||(t={},ue("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var n=Object.keys(t),r=e.$options.props,o=e.$options.methods,i=n.length;i--;){var a=n[i];o&&w(o,a)&&ue('Method "'+a+'" has already been defined as a data property.',e),r&&w(r,a)?ue('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):V(a)||Un(e,"_data",a)}Ie(t,!0)}(e):Ie(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;null==a&&ue('Getter is missing for computed property "'+o+'".',e),r||(n[o]=new Rn(e,a||I,I,Vn)),o in e?o in e.$data?ue('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&ue('The computed property "'+o+'" is already defined as a prop.',e):Bn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Jn(e,n,r[o]);else Jn(e,n,r)}}(e,t.watch)}(o),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(o),Cn(o,"created"),H.performance&&at&&(o._name=de(o,!1),at(r),st("vue "+o._name+" init",n,r)),o.$options.el&&o.$mount(o.$options.el)}}(Zn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){ue("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){ue("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ne,e.prototype.$delete=De,e.prototype.$watch=function(e,t,n){if(u(t))return Jn(this,e,t,n);(n=n||{}).user=!0;var r=new Rn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){tt(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Zn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)r.$on(e[o],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}var i,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((i=a[s])===t||i.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=e.toLowerCase();n!==e&&t._events[n]&&fe('Event "'+n+'" is emitted in component '+de(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+S(e)+'" instead of "'+e+'".');var r=t._events[e];if(r){r=r.length>1?T(r):r;for(var o=T(arguments,1),i='event handler for "'+e+'"',a=0,s=r.length;a<s;a++)nt(r[a],t,o,t,i)}return t}}(Zn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=xn(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Cn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||b(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Cn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Zn),function(e){tn(e.prototype),e.prototype.$nextTick=function(e){return mt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,o=n._parentVnode;o&&(t.$scopedSlots=Ft(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{dn=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){if(tt(n,t,"render"),t.$options.renderError)try{e=t.$options.renderError.call(t._renderProxy,t.$createElement,n)}catch(n){tt(n,t,"renderError"),e=t._vnode}else e=t._vnode}finally{dn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof we||(Array.isArray(e)&&ue("Multiple root nodes returned from render function. Render function should return a single root node.",t),e=xe()),e.parent=o,e}}(Zn);var er=[String,RegExp,Array],tr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:er,exclude:er,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Qn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Xn(e,(function(e){return Yn(t,e)}))})),this.$watch("exclude",(function(t){Xn(e,(function(e){return!Yn(t,e)}))}))},render:function(){var e=this.$slots.default,t=hn(e),n=t&&t.componentOptions;if(n){var r=Gn(n),o=this.include,i=this.exclude;if(o&&(!r||!Yn(o,r))||i&&r&&Yn(i,r))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,b(s,c),s.push(c)):(a[c]=t,s.push(c),this.max&&s.length>parseInt(this.max)&&Qn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return H},set:function(){ue("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:M,mergeOptions:qe,defineReactive:Ee},e.set=Ne,e.delete=De,e.nextTick=mt,e.observable=function(e){return Ie(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,M(e.options.components,tr),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=qe(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;i&&Be(i);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=qe(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Un(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Bn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,F.forEach((function(e){a[e]=n[e]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=M({},a.options),o[r]=a,a}}(e),function(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&Be(e),"component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Zn),Object.defineProperty(Zn.prototype,"$isServer",{get:ie}),Object.defineProperty(Zn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Zn,"FunctionalRenderContext",{value:nn}),Zn.version="2.6.12";var nr=m("style,class"),rr=m("input,textarea,option,select,progress"),or=function(e,t,n){return"value"===n&&rr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},ir=m("contenteditable,draggable,spellcheck"),ar=m("events,caret,typing,plaintext-only"),sr=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),cr="http://www.w3.org/1999/xlink",lr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},ur=function(e){return lr(e)?e.slice(6,e.length):""},fr=function(e){return null==e||!1===e};function dr(e,t){return{staticClass:pr(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function pr(e,t){return e?t?e+" "+t:e:t||""}function vr(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)o(t=vr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):s(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var hr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},mr=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),yr=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),gr=function(e){return mr(e)||yr(e)};function br(e){return yr(e)?"svg":"math"===e?"math":void 0}var _r=Object.create(null),wr=m("text,number,password,search,email,tel,url");function $r(e){return"string"==typeof e?document.querySelector(e)||(ue("Cannot find element: "+e),document.createElement("div")):e}var xr=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(hr[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Ar={create:function(e,t){kr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(kr(e,!0),kr(t))},destroy:function(e){kr(e,!0)}};function kr(e,t){var n=e.data.ref;if(o(n)){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?b(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var Cr=new we("",{},[]),Sr=["create","activate","update","remove","destroy"];function Or(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=o(n=e.data)&&o(n=n.attrs)&&n.type,i=o(n=t.data)&&o(n=n.attrs)&&n.type;return r===i||wr(r)&&wr(i)}(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Tr(e,t,n){var r,i,a={};for(r=t;r<=n;++r)o(i=e[r].key)&&(a[i]=r);return a}var Mr={create:jr,update:jr,destroy:function(e){jr(e,Cr)}};function jr(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,o,i=e===Cr,a=t===Cr,s=Er(e.data.directives,e.context),c=Er(t.data.directives,t.context),l=[],u=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,Dr(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(Dr(o,"bind",t,e),o.def&&o.def.inserted&&l.push(o));if(l.length){var f=function(){for(var n=0;n<l.length;n++)Dr(l[n],"inserted",t,e)};i?jt(t,"insert",f):f()}if(u.length&&jt(t,"postpatch",(function(){for(var n=0;n<u.length;n++)Dr(u[n],"componentUpdated",t,e)})),!i)for(n in s)c[n]||Dr(s[n],"unbind",e,e,a)}(e,t)}var Ir=Object.create(null);function Er(e,t){var n,r,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=Ir),o[Nr(r)]=r,r.def=Je(t.$options,"directives",r.name,!0);return o}function Nr(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Dr(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){tt(r,n.context,"directive "+e.name+" "+t+" hook")}}var Lr=[Ar,Mr];function Pr(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,a,s=t.elm,c=e.data.attrs||{},l=t.data.attrs||{};for(i in o(l.__ob__)&&(l=t.data.attrs=M({},l)),l)a=l[i],c[i]!==a&&Fr(s,i,a);for(i in(Y||Q)&&l.value!==c.value&&Fr(s,"value",l.value),c)r(l[i])&&(lr(i)?s.removeAttributeNS(cr,ur(i)):ir(i)||s.removeAttribute(i))}}function Fr(e,t,n){e.tagName.indexOf("-")>-1?Rr(e,t,n):sr(t)?fr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):ir(t)?e.setAttribute(t,function(e,t){return fr(t)||"false"===t?"false":"contenteditable"===e&&ar(t)?t:"true"}(t,n)):lr(t)?fr(n)?e.removeAttributeNS(cr,ur(t)):e.setAttributeNS(cr,t,n):Rr(e,t,n)}function Rr(e,t,n){if(fr(n))e.removeAttribute(t);else{if(Y&&!X&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Hr={create:Pr,update:Pr};function Ur(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=dr(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=dr(t,n.data));return i=t.staticClass,a=t.class,o(i)||o(a)?pr(i,vr(a)):"";var i,a}(t),c=n._transitionClasses;o(c)&&(s=pr(s,vr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Vr,Br,zr,qr,Jr,Kr,Wr,Zr,Gr={create:Ur,update:Ur},Yr=/[\w).+\-_$\]]/;function Xr(e){var t,n,r,o,i,a=!1,s=!1,c=!1,l=!1,u=0,f=0,d=0,p=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(c)96===t&&92!==n&&(c=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||u||f||d){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===t){for(var v=r-1,h=void 0;v>=0&&" "===(h=e.charAt(v));v--);h&&Yr.test(h)||(l=!0)}}else void 0===o?(p=r+1,o=e.slice(0,r).trim()):m();function m(){(i||(i=[])).push(e.slice(p,r).trim()),p=r+1}if(void 0===o?o=e.slice(0,r).trim():0!==p&&m(),i)for(r=0;r<i.length;r++)o=Qr(o,i[r]);return o}function Qr(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),o=t.slice(n+1);return'_f("'+r+'")('+e+(")"!==o?","+o:o)}function eo(e,t){console.error("[Vue compiler]: "+e)}function to(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function no(e,t,n,r,o){(e.props||(e.props=[])).push(po({name:t,value:n,dynamic:o},r)),e.plain=!1}function ro(e,t,n,r,o){(o?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(po({name:t,value:n,dynamic:o},r)),e.plain=!1}function oo(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(po({name:t,value:n},r))}function io(e,t,n,r,o,i,a,s){(e.directives||(e.directives=[])).push(po({name:t,rawName:n,value:r,arg:o,isDynamicArg:i,modifiers:a},s)),e.plain=!1}function ao(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function so(t,n,r,o,i,a,s,c){var l;o=o||e,a&&o.prevent&&o.passive&&a("passive and prevent can't be used together. Passive handler can't prevent default event.",s),o.right?c?n="("+n+")==='click'?'contextmenu':("+n+")":"click"===n&&(n="contextmenu",delete o.right):o.middle&&(c?n="("+n+")==='click'?'mouseup':("+n+")":"click"===n&&(n="mouseup")),o.capture&&(delete o.capture,n=ao("!",n,c)),o.once&&(delete o.once,n=ao("~",n,c)),o.passive&&(delete o.passive,n=ao("&",n,c)),o.native?(delete o.native,l=t.nativeEvents||(t.nativeEvents={})):l=t.events||(t.events={});var u=po({value:r.trim(),dynamic:c},s);o!==e&&(u.modifiers=o);var f=l[n];Array.isArray(f)?i?f.unshift(u):f.push(u):l[n]=f?i?[u,f]:[f,u]:u,t.plain=!1}function co(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function lo(e,t,n){var r=uo(e,":"+t)||uo(e,"v-bind:"+t);if(null!=r)return Xr(r);if(!1!==n){var o=uo(e,t);if(null!=o)return JSON.stringify(o)}}function uo(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var o=e.attrsList,i=0,a=o.length;i<a;i++)if(o[i].name===t){o.splice(i,1);break}return n&&delete e.attrsMap[t],r}function fo(e,t){for(var n=e.attrsList,r=0,o=n.length;r<o;r++){var i=n[r];if(t.test(i.name))return n.splice(r,1),i}}function po(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function vo(e,t,n){var r=n||{},o=r.number,i="$$v";r.trim&&(i="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(i="_n("+i+")");var a=ho(t,i);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function ho(e,t){var n=function(e){if(e=e.trim(),Vr=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Vr-1)return(qr=e.lastIndexOf("."))>-1?{exp:e.slice(0,qr),key:'"'+e.slice(qr+1)+'"'}:{exp:e,key:null};for(Br=e,qr=Jr=Kr=0;!yo();)go(zr=mo())?_o(zr):91===zr&&bo(zr);return{exp:e.slice(0,Jr),key:e.slice(Jr+1,Kr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function mo(){return Br.charCodeAt(++qr)}function yo(){return qr>=Vr}function go(e){return 34===e||39===e}function bo(e){var t=1;for(Jr=qr;!yo();)if(go(e=mo()))_o(e);else if(91===e&&t++,93===e&&t--,0===t){Kr=qr;break}}function _o(e){for(var t=e;!yo()&&(e=mo())!==t;);}function wo(e,t,n){var r=Zr;return function o(){var i=t.apply(null,arguments);null!==i&&Ao(e,o,n,r)}}var $o=ct&&!(te&&Number(te[1])<=53);function xo(e,t,n,r){if($o){var o=Nn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Zr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function Ao(e,t,n,r){(r||Zr).removeEventListener(e,t._wrapper||t,n)}function ko(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Zr=t.elm,function(e){if(o(e.__r)){var t=Y?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}o(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),Mt(n,i,xo,Ao,wo,t.context),Zr=void 0}}var Co,So={create:ko,update:ko};function Oo(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in o(c.__ob__)&&(c=t.data.domProps=M({},c)),s)n in c||(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var l=r(i)?"":String(i);To(a,l)&&(a.value=l)}else if("innerHTML"===n&&yr(a.tagName)&&r(a.innerHTML)){(Co=Co||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=Co.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[n])try{a[n]=i}catch(e){}}}}function To(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return h(n)!==h(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Mo={create:Oo,update:Oo},jo=$((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Io(e){var t=Eo(e.style);return e.staticStyle?M(e.staticStyle,t):t}function Eo(e){return Array.isArray(e)?j(e):"string"==typeof e?jo(e):e}var No,Do=/^--/,Lo=/\s*!important$/,Po=function(e,t,n){if(Do.test(t))e.style.setProperty(t,n);else if(Lo.test(n))e.style.setProperty(S(t),n.replace(Lo,""),"important");else{var r=Ro(t);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)e.style[r]=n[o];else e.style[r]=n}},Fo=["Webkit","Moz","ms"],Ro=$((function(e){if(No=No||document.createElement("div").style,"filter"!==(e=A(e))&&e in No)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Fo.length;n++){var r=Fo[n]+t;if(r in No)return r}}));function Ho(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,c=t.elm,l=i.staticStyle,u=i.normalizedStyle||i.style||{},f=l||u,d=Eo(t.data.style)||{};t.data.normalizedStyle=o(d.__ob__)?M({},d):d;var p=function(e,t){for(var n,r={},o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=Io(o.data))&&M(r,n);(n=Io(e.data))&&M(r,n);for(var i=e;i=i.parent;)i.data&&(n=Io(i.data))&&M(r,n);return r}(t);for(s in f)r(p[s])&&Po(c,s,"");for(s in p)(a=p[s])!==f[s]&&Po(c,s,null==a?"":a)}}var Uo={create:Ho,update:Ho},Vo=/\s+/;function Bo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Vo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function zo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Vo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function qo(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&M(t,Jo(e.name||"v")),M(t,e),t}return"string"==typeof e?Jo(e):void 0}}var Jo=$((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ko=K&&!X,Wo="transition",Zo="transitionend",Go="animation",Yo="animationend";Ko&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Wo="WebkitTransition",Zo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Go="WebkitAnimation",Yo="webkitAnimationEnd"));var Xo=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Qo(e){Xo((function(){Xo(e)}))}function ei(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Bo(e,t))}function ti(e,t){e._transitionClasses&&b(e._transitionClasses,t),zo(e,t)}function ni(e,t,n){var r=oi(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s="transition"===o?Zo:Yo,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=a&&l()};setTimeout((function(){c<a&&l()}),i+1),e.addEventListener(s,u)}var ri=/\b(transform|all)(,|$)/;function oi(e,t){var n,r=window.getComputedStyle(e),o=(r[Wo+"Delay"]||"").split(", "),i=(r[Wo+"Duration"]||"").split(", "),a=ii(o,i),s=(r[Go+"Delay"]||"").split(", "),c=(r[Go+"Duration"]||"").split(", "),l=ii(s,c),u=0,f=0;return"transition"===t?a>0&&(n="transition",u=a,f=i.length):"animation"===t?l>0&&(n="animation",u=l,f=c.length):f=(n=(u=Math.max(a,l))>0?a>l?"transition":"animation":null)?"transition"===n?i.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:"transition"===n&&ri.test(r[Wo+"Property"])}}function ii(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return ai(t)+ai(e[n])})))}function ai(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function si(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=qo(e.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var a=i.css,c=i.type,l=i.enterClass,u=i.enterToClass,f=i.enterActiveClass,d=i.appearClass,p=i.appearToClass,v=i.appearActiveClass,m=i.beforeEnter,y=i.enter,g=i.afterEnter,b=i.enterCancelled,_=i.beforeAppear,w=i.appear,$=i.afterAppear,x=i.appearCancelled,A=i.duration,k=wn,C=wn.$vnode;C&&C.parent;)k=C.context,C=C.parent;var S=!k._isMounted||!e.isRootInsert;if(!S||w||""===w){var O=S&&d?d:l,T=S&&v?v:f,M=S&&p?p:u,j=S&&_||m,I=S&&"function"==typeof w?w:y,E=S&&$||g,N=S&&x||b,D=h(s(A)?A.enter:A);null!=D&&li(D,"enter",e);var L=!1!==a&&!X,F=fi(I),R=n._enterCb=P((function(){L&&(ti(n,M),ti(n,T)),R.cancelled?(L&&ti(n,O),N&&N(n)):E&&E(n),n._enterCb=null}));e.data.show||jt(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),I&&I(n,R)})),j&&j(n),L&&(ei(n,O),ei(n,T),Qo((function(){ti(n,O),R.cancelled||(ei(n,M),F||(ui(D)?setTimeout(R,D):ni(n,c,R)))}))),e.data.show&&(t&&t(),I&&I(n,R)),L||F||R()}}}function ci(e,t){var n=e.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=qo(e.data.transition);if(r(i)||1!==n.nodeType)return t();if(!o(n._leaveCb)){var a=i.css,c=i.type,l=i.leaveClass,u=i.leaveToClass,f=i.leaveActiveClass,d=i.beforeLeave,p=i.leave,v=i.afterLeave,m=i.leaveCancelled,y=i.delayLeave,g=i.duration,b=!1!==a&&!X,_=fi(p),w=h(s(g)?g.leave:g);o(w)&&li(w,"leave",e);var $=n._leaveCb=P((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(ti(n,u),ti(n,f)),$.cancelled?(b&&ti(n,l),m&&m(n)):(t(),v&&v(n)),n._leaveCb=null}));y?y(x):x()}function x(){$.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),b&&(ei(n,l),ei(n,f),Qo((function(){ti(n,l),$.cancelled||(ei(n,u),_||(ui(w)?setTimeout($,w):ni(n,c,$)))}))),p&&p(n,$),b||_||$())}}function li(e,t,n){"number"!=typeof e?ue("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&ue("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function ui(e){return"number"==typeof e&&!isNaN(e)}function fi(e){if(r(e))return!1;var t=e.fns;return o(t)?fi(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function di(e,t){!0!==t.data.show&&si(t)}var pi=function(e){var t,n,s={},c=e.modules,l=e.nodeOps;for(t=0;t<Sr.length;++t)for(s[Sr[t]]=[],n=0;n<c.length;++n)o(c[n][Sr[t]])&&s[Sr[t]].push(c[n][Sr[t]]);function u(e){var t=l.parentNode(e);o(t)&&l.removeChild(t,e)}function d(e,t){return!t&&!e.ns&&!(H.ignoredElements.length&&H.ignoredElements.some((function(t){return f(t)?t.test(e.tag):t===e.tag})))&&H.isUnknownElement(e.tag)}var p=0;function v(e,t,n,r,a,c,u){if(o(e.elm)&&o(c)&&(e=c[u]=ke(e)),e.isRootInsert=!a,!function(e,t,n,r){var a=e.data;if(o(a)){var c=o(e.componentInstance)&&a.keepAlive;if(o(a=a.hook)&&o(a=a.init)&&a(e,!1),o(e.componentInstance))return h(e,t),y(n,e.elm,r),i(c)&&function(e,t,n,r){for(var i,a=e;a.componentInstance;)if(o(i=(a=a.componentInstance._vnode).data)&&o(i=i.transition)){for(i=0;i<s.activate.length;++i)s.activate[i](Cr,a);t.push(a);break}y(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var f=e.data,v=e.children,m=e.tag;o(m)?(f&&f.pre&&p++,d(e,p)&&ue("Unknown custom element: <"+m+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?l.createElementNS(e.ns,m):l.createElement(m,e),w(e),g(e,v,t),o(f)&&_(e,t),y(n,e.elm,r),f&&f.pre&&p--):i(e.isComment)?(e.elm=l.createComment(e.text),y(n,e.elm,r)):(e.elm=l.createTextNode(e.text),y(n,e.elm,r))}}function h(e,t){o(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,b(e)?(_(e,t),w(e)):(kr(e),t.push(e))}function y(e,t,n){o(e)&&(o(n)?l.parentNode(n)===e&&l.insertBefore(e,t,n):l.appendChild(e,t))}function g(e,t,n){if(Array.isArray(t)){C(t);for(var r=0;r<t.length;++r)v(t[r],n,e.elm,null,!0,t,r)}else a(e.text)&&l.appendChild(e.elm,l.createTextNode(String(e.text)))}function b(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return o(e.tag)}function _(e,n){for(var r=0;r<s.create.length;++r)s.create[r](Cr,e);o(t=e.data.hook)&&(o(t.create)&&t.create(Cr,e),o(t.insert)&&n.push(e))}function w(e){var t;if(o(t=e.fnScopeId))l.setStyleScope(e.elm,t);else for(var n=e;n;)o(t=n.context)&&o(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t),n=n.parent;o(t=wn)&&t!==e.context&&t!==e.fnContext&&o(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t)}function $(e,t,n,r,o,i){for(;r<=o;++r)v(n[r],i,e,t,!1,n,r)}function x(e){var t,n,r=e.data;if(o(r))for(o(t=r.hook)&&o(t=t.destroy)&&t(e),t=0;t<s.destroy.length;++t)s.destroy[t](e);if(o(t=e.children))for(n=0;n<e.children.length;++n)x(e.children[n])}function A(e,t,n){for(;t<=n;++t){var r=e[t];o(r)&&(o(r.tag)?(k(r),x(r)):u(r.elm))}}function k(e,t){if(o(t)||o(e.data)){var n,r=s.remove.length+1;for(o(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),o(n=e.componentInstance)&&o(n=n._vnode)&&o(n.data)&&k(n,t),n=0;n<s.remove.length;++n)s.remove[n](e,t);o(n=e.data.hook)&&o(n=n.remove)?n(e,t):t()}else u(e.elm)}function C(e){for(var t={},n=0;n<e.length;n++){var r=e[n],i=r.key;o(i)&&(t[i]?ue("Duplicate keys detected: '"+i+"'. This may cause an update error.",r.context):t[i]=!0)}}function S(e,t,n,r){for(var i=n;i<r;i++){var a=t[i];if(o(a)&&Or(e,a))return i}}function O(e,t,n){if(i(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var T=!1,M=m("attrs,class,staticClass,staticStyle,key");function j(e,t,n,r){var a,s=t.tag,c=t.data,l=t.children;if(r=r||c&&c.pre,t.elm=e,i(t.isComment)&&o(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!function(e,t,n){return o(t.tag)?0===t.tag.indexOf("vue-component")||!d(t,n)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}(e,t,r))return!1;if(o(c)&&(o(a=c.hook)&&o(a=a.init)&&a(t,!0),o(a=t.componentInstance)))return h(t,n),!0;if(o(s)){if(o(l))if(e.hasChildNodes())if(o(a=c)&&o(a=a.domProps)&&o(a=a.innerHTML)){if(a!==e.innerHTML)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",a),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var u=!0,f=e.firstChild,p=0;p<l.length;p++){if(!f||!j(f,l[p],n,r)){u=!1;break}f=f.nextSibling}if(!u||f)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,l)),!1}else g(t,l,n);if(o(c)){var v=!1;for(var m in c)if(!M(m)){v=!0,_(t,n);break}!v&&c.class&&St(c.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,a){if(!r(t)){var c,u=!1,f=[];if(r(e))u=!0,v(t,f);else{var d=o(e.nodeType);if(!d&&Or(e,t))!function e(t,n,a,c,u,f){if(t!==n){o(n.elm)&&o(c)&&(n=c[u]=ke(n));var d=n.elm=t.elm;if(i(t.isAsyncPlaceholder))o(n.asyncFactory.resolved)?j(t.elm,n,a):n.isAsyncPlaceholder=!0;else if(i(n.isStatic)&&i(t.isStatic)&&n.key===t.key&&(i(n.isCloned)||i(n.isOnce)))n.componentInstance=t.componentInstance;else{var p,h=n.data;o(h)&&o(p=h.hook)&&o(p=p.prepatch)&&p(t,n);var m=t.children,y=n.children;if(o(h)&&b(n)){for(p=0;p<s.update.length;++p)s.update[p](t,n);o(p=h.hook)&&o(p=p.update)&&p(t,n)}r(n.text)?o(m)&&o(y)?m!==y&&function(t,n,i,a,s){var c,u,f,d=0,p=0,h=n.length-1,m=n[0],y=n[h],g=i.length-1,b=i[0],_=i[g],w=!s;for(C(i);d<=h&&p<=g;)r(m)?m=n[++d]:r(y)?y=n[--h]:Or(m,b)?(e(m,b,a,i,p),m=n[++d],b=i[++p]):Or(y,_)?(e(y,_,a,i,g),y=n[--h],_=i[--g]):Or(m,_)?(e(m,_,a,i,g),w&&l.insertBefore(t,m.elm,l.nextSibling(y.elm)),m=n[++d],_=i[--g]):Or(y,b)?(e(y,b,a,i,p),w&&l.insertBefore(t,y.elm,m.elm),y=n[--h],b=i[++p]):(r(c)&&(c=Tr(n,d,h)),r(u=o(b.key)?c[b.key]:S(b,n,d,h))?v(b,a,t,m.elm,!1,i,p):Or(f=n[u],b)?(e(f,b,a,i,p),n[u]=void 0,w&&l.insertBefore(t,f.elm,m.elm)):v(b,a,t,m.elm,!1,i,p),b=i[++p]);d>h?$(t,r(i[g+1])?null:i[g+1].elm,i,p,g,a):p>g&&A(n,d,h)}(d,m,y,a,f):o(y)?(C(y),o(t.text)&&l.setTextContent(d,""),$(d,null,y,0,y.length-1,a)):o(m)?A(m,0,m.length-1):o(t.text)&&l.setTextContent(d,""):t.text!==n.text&&l.setTextContent(d,n.text),o(h)&&o(p=h.hook)&&o(p=p.postpatch)&&p(t,n)}}}(e,t,f,null,null,a);else{if(d){if(1===e.nodeType&&e.hasAttribute("data-server-rendered")&&(e.removeAttribute("data-server-rendered"),n=!0),i(n)){if(j(e,t,f))return O(t,f,!0),e;ue("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}c=e,e=new we(l.tagName(c).toLowerCase(),{},[],void 0,c)}var p=e.elm,h=l.parentNode(p);if(v(t,f,p._leaveCb?null:h,l.nextSibling(p)),o(t.parent))for(var m=t.parent,y=b(t);m;){for(var g=0;g<s.destroy.length;++g)s.destroy[g](m);if(m.elm=t.elm,y){for(var _=0;_<s.create.length;++_)s.create[_](Cr,m);var w=m.data.hook.insert;if(w.merged)for(var k=1;k<w.fns.length;k++)w.fns[k]()}else kr(m);m=m.parent}o(h)?A([e],0,0):o(e.tag)&&x(e)}}return O(t,f,u),t.elm}o(e)&&x(e)}}({nodeOps:xr,modules:[Hr,Gr,So,Mo,Uo,K?{create:di,activate:di,remove:function(e,t){!0!==e.data.show?ci(e,t):t()}}:{}].concat(Lr)});X&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&wi(e,"input")}));var vi={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?jt(n,"postpatch",(function(){vi.componentUpdated(e,t,n)})):hi(e,t,n.context),e._vOptions=[].map.call(e.options,gi)):("textarea"===n.tag||wr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",bi),e.addEventListener("compositionend",_i),e.addEventListener("change",_i),X&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){hi(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,gi);o.some((function(e,t){return!D(e,r[t])}))&&(e.multiple?t.value.some((function(e){return yi(e,o)})):t.value!==t.oldValue&&yi(t.value,o))&&wi(e,"change")}}};function hi(e,t,n){mi(e,t,n),(Y||Q)&&setTimeout((function(){mi(e,t,n)}),0)}function mi(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],o)i=L(r,gi(a))>-1,a.selected!==i&&(a.selected=i);else if(D(gi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}else ue('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(r).slice(8,-1),n)}function yi(e,t){return t.every((function(t){return!D(t,e)}))}function gi(e){return"_value"in e?e._value:e.value}function bi(e){e.target.composing=!0}function _i(e){e.target.composing&&(e.target.composing=!1,wi(e.target,"input"))}function wi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function $i(e){return!e.componentInstance||e.data&&e.data.transition?e:$i(e.componentInstance._vnode)}var xi={model:vi,show:{bind:function(e,t,n){var r=t.value,o=(n=$i(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,si(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=$i(n)).data&&n.data.transition?(n.data.show=!0,r?si(n,(function(){e.style.display=e.__vOriginalDisplay})):ci(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}}},Ai={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ki(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ki(hn(t.children)):e}function Ci(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[A(i)]=o[i];return t}function Si(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Oi=function(e){return e.tag||vn(e)},Ti=function(e){return"show"===e.name},Mi={name:"transition",props:Ai,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Oi)).length){n.length>1&&ue("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var r=this.mode;r&&"in-out"!==r&&"out-in"!==r&&ue("invalid <transition> mode: "+r,this.$parent);var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var i=ki(o);if(!i)return o;if(this._leaving)return Si(e,o);var s="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?s+"comment":s+i.tag:a(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var c=(i.data||(i.data={})).transition=Ci(this),l=this._vnode,u=ki(l);if(i.data.directives&&i.data.directives.some(Ti)&&(i.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,u)&&!vn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=M({},c);if("out-in"===r)return this._leaving=!0,jt(f,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Si(e,o);if("in-out"===r){if(vn(i))return l;var d,p=function(){d()};jt(c,"afterEnter",p),jt(c,"enterCancelled",p),jt(f,"delayLeave",(function(e){d=e}))}}return o}}},ji=M({tag:String,moveClass:String},Ai);function Ii(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ei(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ni(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete ji.mode;var Di={Transition:Mi,TransitionGroup:{props:ji,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=xn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Ci(this),s=0;s<o.length;s++){var c=o[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else{var l=c.componentOptions,u=l?l.Ctor.options.name||l.tag||"":c.tag;ue("<transition-group> children must be keyed: <"+u+">")}}if(r){for(var f=[],d=[],p=0;p<r.length;p++){var v=r[p];v.data.transition=a,v.data.pos=v.elm.getBoundingClientRect(),n[v.key]?f.push(v):d.push(v)}this.kept=e(t,null,f),this.removed=d}return e(t,null,i)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Ii),e.forEach(Ei),e.forEach(Ni),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;ei(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Zo,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Zo,e),n._moveCb=null,ti(n,t))})}})))},methods:{hasMove:function(e,t){if(!Ko)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){zo(n,e)})),Bo(n,t),n.style.display="none",this.$el.appendChild(n);var r=oi(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Zn.config.mustUseProp=or,Zn.config.isReservedTag=gr,Zn.config.isReservedAttr=nr,Zn.config.getTagNamespace=br,Zn.config.isUnknownElement=function(e){if(!K)return!0;if(gr(e))return!1;if(e=e.toLowerCase(),null!=_r[e])return _r[e];var t=document.createElement(e);return e.indexOf("-")>-1?_r[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:_r[e]=/HTMLUnknownElement/.test(t.toString())},M(Zn.options.directives,xi),M(Zn.options.components,Di),Zn.prototype.__patch__=K?pi:I,Zn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=xe,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?ue("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):ue("Failed to mount component: template or render function not defined.",e)),Cn(e,"beforeMount"),r=H.performance&&at?function(){var t=e._name,r=e._uid,o="vue-perf-start:"+r,i="vue-perf-end:"+r;at(o);var a=e._render();at(i),st("vue "+t+" render",o,i),at(o),e._update(a,n),at(i),st("vue "+t+" patch",o,i)}:function(){e._update(e._render(),n)},new Rn(e,r,I,{before:function(){e._isMounted&&!e._isDestroyed&&Cn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Cn(e,"mounted")),e}(this,e=e&&K?$r(e):void 0,t)},K&&setTimeout((function(){H.devtools&&(ae?ae.emit("init",Zn):console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\nhttps://github.com/vuejs/vue-devtools")),!1!==H.productionTip&&"undefined"!=typeof console&&console[console.info?"info":"log"]("You are running Vue in development mode.\nMake sure to turn on production mode when deploying for production.\nSee more tips at https://vuejs.org/guide/deployment.html")}),0);var Li=/\{\{((?:.|\r?\n)+?)\}\}/g,Pi=/[-.*+?^${}()|[\]\/\\]/g,Fi=$((function(e){var t=e[0].replace(Pi,"\\$&"),n=e[1].replace(Pi,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));function Ri(e,t){var n=t?Fi(t):Li;if(n.test(e)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(o=r.index)>c&&(s.push(i=e.slice(c,o)),a.push(JSON.stringify(i)));var l=Xr(r[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),c=o+r[0].length}return c<e.length&&(s.push(i=e.slice(c)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:s}}}var Hi,Ui={staticKeys:["staticClass"],transformNode:function(e,t){var n=t.warn||eo,r=uo(e,"class");r&&Ri(r,t.delimiters)&&n('class="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div class="{{ val }}">, use <div :class="val">.',e.rawAttrsMap.class),r&&(e.staticClass=JSON.stringify(r));var o=lo(e,"class",!1);o&&(e.classBinding=o)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},Vi={staticKeys:["staticStyle"],transformNode:function(e,t){var n=t.warn||eo,r=uo(e,"style");r&&(Ri(r,t.delimiters)&&n('style="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div style="{{ val }}">, use <div :style="val">.',e.rawAttrsMap.style),e.staticStyle=JSON.stringify(jo(r)));var o=lo(e,"style",!1);o&&(e.styleBinding=o)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Bi=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),zi=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),qi=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ji=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ki=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Wi="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",Zi="((?:"+Wi+"\\:)?"+Wi+")",Gi=new RegExp("^<"+Zi),Yi=/^\s*(\/?)>/,Xi=new RegExp("^<\\/"+Zi+"[^>]*>"),Qi=/^<!DOCTYPE [^>]+>/i,ea=/^<!\--/,ta=/^<!\[/,na=m("script,style,textarea",!0),ra={},oa={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},ia=/&(?:lt|gt|quot|amp|#39);/g,aa=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,sa=m("pre,textarea",!0),ca=function(e,t){return e&&sa(e)&&"\n"===t[0]};function la(e,t){var n=t?aa:ia;return e.replace(n,(function(e){return oa[e]}))}var ua,fa,da,pa,va,ha,ma,ya,ga,ba=/^@|^v-on:/,_a=/^v-|^@|^:|^#/,wa=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$a=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,xa=/^\(|\)$/g,Aa=/^\[.*\]$/,ka=/:(.*)$/,Ca=/^:|^\.|^v-bind:/,Sa=/\.[^.\]]+(?=[^\]]*$)/g,Oa=/^v-slot(:|$)|^#/,Ta=/[\r\n]/,Ma=/\s+/g,ja=/[\s"'<>\/=]/,Ia=$((function(e){return(Hi=Hi||document.createElement("div")).innerHTML=e,Hi.textContent}));function Ea(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Ra(t),rawAttrsMap:{},parent:n,children:[]}}function Na(e,t){var n;!function(e){var t=lo(e,"key");if(t){if("template"===e.tag&&ua("<template> cannot be keyed. Place the key on real elements instead.",co(e,"key")),e.for){var n=e.iterator2||e.iterator1,r=e.parent;n&&n===t&&r&&"transition-group"===r.tag&&ua("Do not use v-for index as key on <transition-group> children, this is the same as not using keys.",co(e,"key"),!0)}e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=lo(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?((t=uo(e,"scope"))&&ua('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.',e.rawAttrsMap.scope,!0),e.slotScope=t||uo(e,"slot-scope")):(t=uo(e,"slot-scope"))&&(e.attrsMap["v-for"]&&ua("Ambiguous combined usage of slot-scope and v-for on <"+e.tag+"> (v-for takes higher priority). Use a wrapper <template> for the scoped slot to make it clearer.",e.rawAttrsMap["slot-scope"],!0),e.slotScope=t);var n=lo(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||ro(e,"slot",n,co(e,"slot"))),"template"===e.tag){var r=fo(e,Oa);if(r){(e.slotTarget||e.slotScope)&&ua("Unexpected mixed usage of different slot syntaxes.",e),e.parent&&!ga(e.parent)&&ua("<template v-slot> can only appear at the root level inside the receiving component",e);var o=Pa(r),i=o.name,a=o.dynamic;e.slotTarget=i,e.slotTargetDynamic=a,e.slotScope=r.value||"_empty_"}}else{var s=fo(e,Oa);if(s){ga(e)||ua("v-slot can only be used on components or <template>.",s),(e.slotScope||e.slotTarget)&&ua("Unexpected mixed usage of different slot syntaxes.",e),e.scopedSlots&&ua("To avoid scope ambiguity, the default slot should also use <template> syntax when there are other named slots.",s);var c=e.scopedSlots||(e.scopedSlots={}),l=Pa(s),u=l.name,f=l.dynamic,d=c[u]=Ea("template",[],e);d.slotTarget=u,d.slotTargetDynamic=f,d.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=d,!0})),d.slotScope=s.value||"_empty_",e.children=[],e.plain=!1}}}(e),"slot"===(n=e).tag&&(n.slotName=lo(n,"name"),n.key&&ua("`key` does not work on <slot> because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.",co(n,"key"))),function(e){var t;(t=lo(e,"is"))&&(e.component=t),null!=uo(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var r=0;r<da.length;r++)e=da[r](e,t)||e;return function(e){var t,n,r,o,i,a,s,c,l=e.attrsList;for(t=0,n=l.length;t<n;t++)if(r=o=l[t].name,i=l[t].value,_a.test(r))if(e.hasBindings=!0,(a=Fa(r.replace(_a,"")))&&(r=r.replace(Sa,"")),Ca.test(r))r=r.replace(Ca,""),i=Xr(i),(c=Aa.test(r))&&(r=r.slice(1,-1)),0===i.trim().length&&ua('The value for a v-bind expression cannot be empty. Found in "v-bind:'+r+'"'),a&&(a.prop&&!c&&"innerHtml"===(r=A(r))&&(r="innerHTML"),a.camel&&!c&&(r=A(r)),a.sync&&(s=ho(i,"$event"),c?so(e,'"update:"+('+r+")",s,null,!1,ua,l[t],!0):(so(e,"update:"+A(r),s,null,!1,ua,l[t]),S(r)!==A(r)&&so(e,"update:"+S(r),s,null,!1,ua,l[t])))),a&&a.prop||!e.component&&ma(e.tag,e.attrsMap.type,r)?no(e,r,i,l[t],c):ro(e,r,i,l[t],c);else if(ba.test(r))r=r.replace(ba,""),(c=Aa.test(r))&&(r=r.slice(1,-1)),so(e,r,i,a,!1,ua,l[t],c);else{var u=(r=r.replace(_a,"")).match(ka),f=u&&u[1];c=!1,f&&(r=r.slice(0,-(f.length+1)),Aa.test(f)&&(f=f.slice(1,-1),c=!0)),io(e,r,o,i,f,c,a,l[t]),"model"===r&&Va(e,i)}else Ri(i,fa)&&ua(r+'="'+i+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.',l[t]),ro(e,r,JSON.stringify(i),l[t]),!e.component&&"muted"===r&&ma(e.tag,e.attrsMap.type,r)&&no(e,r,"true",l[t])}(e),e}function Da(e){var t;if(t=uo(e,"v-for")){var n=function(e){var t=e.match(wa);if(t){var n={};n.for=t[2].trim();var r=t[1].trim().replace(xa,""),o=r.match($a);return o?(n.alias=r.replace($a,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=r,n}}(t);n?M(e,n):ua("Invalid v-for expression: "+t,e.rawAttrsMap["v-for"])}}function La(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Pa(e){var t=e.name.replace(Oa,"");return t||("#"!==e.name[0]?t="default":ua("v-slot shorthand syntax requires a slot name.",e)),Aa.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function Fa(e){var t=e.match(Sa);if(t){var n={};return t.forEach((function(e){n[e.slice(1)]=!0})),n}}function Ra(e){for(var t={},n=0,r=e.length;n<r;n++)!t[e[n].name]||Y||Q||ua("duplicate attribute: "+e[n].name,e[n]),t[e[n].name]=e[n].value;return t}var Ha=/^xmlns:NS\d+/,Ua=/^NS\d+:/;function Va(e,t){for(var n=e;n;)n.for&&n.alias===t&&ua("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.',e.rawAttrsMap["v-model"]),n=n.parent}function Ba(e){return Ea(e.tag,e.attrsList.slice(),e.parent)}var za,qa,Ja,Ka=[Ui,Vi,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=lo(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var o=uo(e,"v-if",!0),i=o?"&&("+o+")":"",a=null!=uo(e,"v-else",!0),s=uo(e,"v-else-if",!0),c=Ba(e);Da(c),oo(c,"type","checkbox"),Na(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+i,La(c,{exp:c.if,block:c});var l=Ba(e);uo(l,"v-for",!0),oo(l,"type","radio"),Na(l,t),La(c,{exp:"("+n+")==='radio'"+i,block:l});var u=Ba(e);return uo(u,"v-for",!0),oo(u,":type",n),Na(u,t),La(c,{exp:o,block:u}),a?c.else=!0:s&&(c.elseif=s),c}}}}],Wa={expectHTML:!0,modules:Ka,directives:{model:function(e,t,n){Wr=n;var r=t.value,o=t.modifiers,i=e.tag,a=e.attrsMap.type;if("input"===i&&"file"===a&&Wr("<"+e.tag+' v-model="'+r+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.',e.rawAttrsMap["v-model"]),e.component)return vo(e,r,o),!1;if("select"===i)!function(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";so(e,"change",r=r+" "+ho(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}(e,r,o);else if("input"===i&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,o=lo(e,"value")||"null",i=lo(e,"true-value")||"true",a=lo(e,"false-value")||"false";no(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),so(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+ho(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+ho(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+ho(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===a)!function(e,t,n){var r=n&&n.number,o=lo(e,"value")||"null";no(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),so(e,"change",ho(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type,o=e.attrsMap["v-bind:value"]||e.attrsMap[":value"],i=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];if(o&&!i){var a=e.attrsMap["v-bind:value"]?"v-bind:value":":value";Wr(a+'="'+o+'" conflicts with v-model on the same element because the latter already expands to a value binding internally',e.rawAttrsMap[a])}var s=n||{},c=s.lazy,l=s.number,u=s.trim,f=!c&&"range"!==r,d=c?"change":"range"===r?"__r":"input",p="$event.target.value";u&&(p="$event.target.value.trim()"),l&&(p="_n("+p+")");var v=ho(t,p);f&&(v="if($event.target.composing)return;"+v),no(e,"value","("+t+")"),so(e,d,v,null,!0),(u||l)&&so(e,"blur","$forceUpdate()")}(e,r,o);else{if(!H.isReservedTag(i))return vo(e,r,o),!1;Wr("<"+e.tag+' v-model="'+r+"\">: v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",e.rawAttrsMap["v-model"])}return!0},text:function(e,t){t.value&&no(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&no(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Bi,mustUseProp:or,canBeLeftOpenTag:zi,isReservedTag:gr,getTagNamespace:br,staticKeys:(Ja=Ka,Ja.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(","))},Za=$((function(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));var Ga=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Ya=/\([^)]*?\);*$/,Xa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Qa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},es={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ts=function(e){return"if("+e+")return null;"},ns={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ts("$event.target !== $event.currentTarget"),ctrl:ts("!$event.ctrlKey"),shift:ts("!$event.shiftKey"),alt:ts("!$event.altKey"),meta:ts("!$event.metaKey"),left:ts("'button' in $event && $event.button !== 0"),middle:ts("'button' in $event && $event.button !== 1"),right:ts("'button' in $event && $event.button !== 2")};function rs(e,t){var n=t?"nativeOn:":"on:",r="",o="";for(var i in e){var a=os(e[i]);e[i]&&e[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function os(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return os(e)})).join(",")+"]";var t=Xa.test(e.value),n=Ga.test(e.value),r=Xa.test(e.value.replace(Ya,""));if(e.modifiers){var o="",i="",a=[];for(var s in e.modifiers)if(ns[s])i+=ns[s],Qa[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;i+=ts(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(o+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(is).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function is(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Qa[e],r=es[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var as={on:function(e,t){t.modifiers&&ue("v-on without argument does not support modifiers."),e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:I},ss=function(e){this.options=e,this.warn=e.warn||eo,this.transforms=to(e.modules,"transformCode"),this.dataGenFns=to(e.modules,"genData"),this.directives=M(M({},as),e.directives);var t=e.isReservedTag||E;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function cs(e,t){var n=new ss(t);return{render:"with(this){return "+(e?ls(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function ls(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return us(e,t);if(e.once&&!e.onceProcessed)return fs(e,t);if(e.for&&!e.forProcessed)return ps(e,t);if(e.if&&!e.ifProcessed)return ds(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=ys(e,t),o="_t("+n+(r?","+r:""),i=e.attrs||e.dynamicAttrs?_s((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:A(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];return!i&&!a||r||(o+=",null"),i&&(o+=","+i),a&&(o+=(i?"":",null")+","+a),o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:ys(t,n,!0);return"_c("+e+","+vs(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=vs(e,t));var o=e.inlineTemplate?null:ys(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i<t.transforms.length;i++)n=t.transforms[i](e,n);return n}return ys(e,t)||"void 0"}function us(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+ls(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function fs(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return ds(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+ls(e,t)+","+t.onceId+++","+n+")":(t.warn("v-once can only be used inside v-for that is keyed. ",e.rawAttrsMap["v-once"]),ls(e,t))}return us(e,t)}function ds(e,t,n,r){return e.ifProcessed=!0,function e(t,n,r,o){if(!t.length)return o||"_e()";var i=t.shift();return i.exp?"("+i.exp+")?"+a(i.block)+":"+e(t,n,r,o):""+a(i.block);function a(e){return r?r(e,n):e.once?fs(e,n):ls(e,n)}}(e.ifConditions.slice(),t,n,r)}function ps(e,t,n,r){var o=e.for,i=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return t.maybeComponent(e)&&"slot"!==e.tag&&"template"!==e.tag&&!e.key&&t.warn("<"+e.tag+' v-for="'+i+" in "+o+'">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.',e.rawAttrsMap["v-for"],!0),e.forProcessed=!0,(r||"_l")+"(("+o+"),function("+i+a+s+"){return "+(n||ls)(e,t)+"})"}function vs(e,t){var n="{",r=function(e,t){var n=e.directives;if(n){var r,o,i,a,s="directives:[",c=!1;for(r=0,o=n.length;r<o;r++){i=n[r],a=!0;var l=t.directives[i.name];l&&(a=!!l(e,i,t.warn)),a&&(c=!0,s+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?",arg:"+(i.isDynamicArg?i.arg:'"'+i.arg+'"'):"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}(e,t);r&&(n+=r+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var o=0;o<t.dataGenFns.length;o++)n+=t.dataGenFns[o](e);if(e.attrs&&(n+="attrs:"+_s(e.attrs)+","),e.props&&(n+="domProps:"+_s(e.props)+","),e.events&&(n+=rs(e.events,!1)+","),e.nativeEvents&&(n+=rs(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var r=e.for||Object.keys(t).some((function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||hs(n)})),o=!!e.if;if(!r)for(var i=e.parent;i;){if(i.slotScope&&"_empty_"!==i.slotScope||i.for){r=!0;break}i.if&&(o=!0),i=i.parent}var a=Object.keys(t).map((function(e){return ms(t[e],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&o?",null,false,"+function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=function(e,t){var n=e.children[0];if(1===e.children.length&&1===n.type||t.warn("Inline-template components must have exactly one child element.",{start:e.start}),n&&1===n.type){var r=cs(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+_s(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function hs(e){return 1===e.type&&("slot"===e.tag||e.children.some(hs))}function ms(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return ds(e,t,ms,"null");if(e.for&&!e.forProcessed)return ps(e,t,ms);var r="_empty_"===e.slotScope?"":String(e.slotScope),o="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(ys(e,t)||"undefined")+":undefined":ys(e,t)||"undefined":ls(e,t))+"}",i=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+i+"}"}function ys(e,t,n,r,o){var i=e.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||ls)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var o=e[r];if(1===o.type){if(gs(o)||o.ifConditions&&o.ifConditions.some((function(e){return gs(e.block)}))){n=2;break}(t(o)||o.ifConditions&&o.ifConditions.some((function(e){return t(e.block)})))&&(n=1)}}return n}(i,t.maybeComponent):0,l=o||bs;return"["+i.map((function(e){return l(e,t)})).join(",")+"]"+(c?","+c:"")}}function gs(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function bs(e,t){return 1===e.type?ls(e,t):3===e.type&&e.isComment?function(e){return"_e("+JSON.stringify(e.text)+")"}(e):"_v("+(2===(n=e).type?n.expression:ws(JSON.stringify(n.text)))+")";var n}function _s(e){for(var t="",n="",r=0;r<e.length;r++){var o=e[r],i=ws(o.value);o.dynamic?n+=o.name+","+i+",":t+='"'+o.name+'":'+i+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function ws(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var $s=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),xs=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),As=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function ks(e,t,n,r){var o=e.replace(As,""),i=o.match(xs);i&&"$"!==o.charAt(i.index-1)&&n('avoid using JavaScript unary operator as property name: "'+i[0]+'" in expression '+t.trim(),r),Os(e,t,n,r)}function Cs(e,t,n,r){Os(e.for||"",t,n,r),Ss(e.alias,"v-for alias",t,n,r),Ss(e.iterator1,"v-for iterator",t,n,r),Ss(e.iterator2,"v-for iterator",t,n,r)}function Ss(e,t,n,r,o){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(i){r("invalid "+t+' "'+e+'" in expression: '+n.trim(),o)}}function Os(e,t,n,r){try{new Function("return "+e)}catch(i){var o=e.replace(As,"").match($s);n(o?'avoid using JavaScript keyword as property name: "'+o[0]+'"\n Raw expression: '+t.trim():"invalid expression: "+i.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",r)}}function Ts(e,t,n,r){try{new Function(e,"")}catch(o){n("invalid function parameter expression: "+o.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",r)}}function Ms(e,t){var n="";if(t>0)for(;1&t&&(n+=e),!((t>>>=1)<=0);)e+=e;return n}function js(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),I}}function Is(e){var t=Object.create(null);return function(n,r,o){var i=(r=M({},r)).warn||ue;delete r.warn;try{new Function("return 1")}catch(e){e.toString().match(/unsafe-eval|CSP/)&&i("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var a=r.delimiters?String(r.delimiters)+n:n;if(t[a])return t[a];var s=e(n,r);s.errors&&s.errors.length&&(r.outputSourceRange?s.errors.forEach((function(e){i("Error compiling template:\n\n"+e.msg+"\n\n"+function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var r=e.split(/\r?\n/),o=0,i=[],a=0;a<r.length;a++)if((o+=r[a].length+1)>=t){for(var s=a-2;s<=a+2||n>o;s++)if(!(s<0||s>=r.length)){i.push(""+(s+1)+Ms(" ",3-String(s+1).length)+"| "+r[s]);var c=r[s].length;if(s===a){var l=t-(o-c)+1,u=n>o?c-l:n-t;i.push(" | "+Ms(" ",l)+Ms("^",u))}else if(s>a){if(n>o){var f=Math.min(n-o,c);i.push(" | "+Ms("^",f))}o+=c+1}}break}return i.join("\n")}(n,e.start,e.end),o)})):i("Error compiling template:\n\n"+n+"\n\n"+s.errors.map((function(e){return"- "+e})).join("\n")+"\n",o)),s.tips&&s.tips.length&&(r.outputSourceRange?s.tips.forEach((function(e){return fe(e.msg,o)})):s.tips.forEach((function(e){return fe(e,o)})));var c={},l=[];return c.render=js(s.render,l),c.staticRenderFns=s.staticRenderFns.map((function(e){return js(e,l)})),s.errors&&s.errors.length||!l.length||i("Failed to generate render function:\n\n"+l.map((function(e){var t=e.err,n=e.code;return t.toString()+" in\n\n"+n+"\n"})).join("\n"),o),t[a]=c}}var Es,Ns,Ds=(Es=function(e,t){var n=function(e,t){ua=t.warn||eo,ha=t.isPreTag||E,ma=t.mustUseProp||E,ya=t.getTagNamespace||E;var n=t.isReservedTag||E;ga=function(e){return!!e.component||!n(e.tag)},da=to(t.modules,"transformNode"),pa=to(t.modules,"preTransformNode"),va=to(t.modules,"postTransformNode"),fa=t.delimiters;var r,o,i=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,l=!1,u=!1;function f(e,t){u||(u=!0,ua(e,t))}function d(e){if(p(e),c||e.processed||(e=Na(e,t)),i.length||e===r||(r.if&&(e.elseif||e.else)?(v(e),La(r,{exp:e.elseif,block:e})):f("Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.",{start:e.start})),o&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&ua('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.',e[t]),e.pop()}}(o.children))&&s.if?La(s,{exp:a.elseif,block:a}):ua("v-"+(a.elseif?'else-if="'+a.elseif+'"':"else")+" used on element <"+a.tag+"> without corresponding v-if.",a.rawAttrsMap[a.elseif?"v-else-if":"v-else"]);else{if(e.slotScope){var n=e.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=e}o.children.push(e),e.parent=o}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),p(e),e.pre&&(c=!1),ha(e.tag)&&(l=!1);for(var u=0;u<va.length;u++)va[u](e,t)}function p(e){if(!l)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}function v(e){"slot"!==e.tag&&"template"!==e.tag||f("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes.",{start:e.start}),e.attrsMap.hasOwnProperty("v-for")&&f("Cannot use v-for on stateful component root element because it renders multiple elements.",e.rawAttrsMap["v-for"])}return function(e,t){for(var n,r,o=[],i=t.expectHTML,a=t.isUnaryTag||E,s=t.canBeLeftOpenTag||E,c=0;e;){if(n=e,r&&na(r)){var l=0,u=r.toLowerCase(),f=ra[u]||(ra[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),d=e.replace(f,(function(e,n,r){return l=r.length,na(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),ca(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-d.length,e=d,C(u,c-l,c)}else{var p=e.indexOf("<");if(0===p){if(ea.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),x(v+3);continue}}if(ta.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var m=e.match(Qi);if(m){x(m[0].length);continue}var y=e.match(Xi);if(y){var g=c;x(y[0].length),C(y[1],g,c);continue}var b=A();if(b){k(b),ca(b.tagName,e)&&x(1);continue}}var _=void 0,w=void 0,$=void 0;if(p>=0){for(w=e.slice(p);!(Xi.test(w)||Gi.test(w)||ea.test(w)||ta.test(w)||($=w.indexOf("<",1))<0);)p+=$,w=e.slice(p);_=e.substring(0,p)}p<0&&(_=e),_&&x(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===n){t.chars&&t.chars(e),!o.length&&t.warn&&t.warn('Mal-formatted tag at end of template: "'+e+'"',{start:c+e.length});break}}function x(t){c+=t,e=e.substring(t)}function A(){var t=e.match(Gi);if(t){var n,r,o={tagName:t[1],attrs:[],start:c};for(x(t[0].length);!(n=e.match(Yi))&&(r=e.match(Ki)||e.match(Ji));)r.start=c,x(r[0].length),r.end=c,o.attrs.push(r);if(n)return o.unarySlash=n[1],x(n[0].length),o.end=c,o}}function k(e){var n=e.tagName,c=e.unarySlash;i&&("p"===r&&qi(n)&&C(r),s(n)&&r===n&&C(n));for(var l=a(n)||!!c,u=e.attrs.length,f=new Array(u),d=0;d<u;d++){var p=e.attrs[d],v=p[3]||p[4]||p[5]||"",h="a"===n&&"href"===p[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[d]={name:p[1],value:la(v,h)},t.outputSourceRange&&(f[d].start=p.start+p[0].match(/^\s*/).length,f[d].end=p.end)}l||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f,start:e.start,end:e.end}),r=n),t.start&&t.start(n,f,l,e.start,e.end)}function C(e,n,i){var a,s;if(null==n&&(n=c),null==i&&(i=c),e)for(s=e.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=o.length-1;l>=a;l--)(l>a||!e&&t.warn)&&t.warn("tag <"+o[l].tag+"> has no matching end tag.",{start:o[l].start,end:o[l].end}),t.end&&t.end(o[l].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,i):"p"===s&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}C()}(e,{warn:ua,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,u){var f=o&&o.ns||ya(e);Y&&"svg"===f&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Ha.test(r.name)||(r.name=r.name.replace(Ua,""),t.push(r))}return t}(n));var p,h=Ea(e,n,o);f&&(h.ns=f),t.outputSourceRange&&(h.start=s,h.end=u,h.rawAttrsMap=h.attrsList.reduce((function(e,t){return e[t.name]=t,e}),{})),n.forEach((function(e){ja.test(e.name)&&ua("Invalid dynamic argument expression: attribute names cannot contain spaces, quotes, <, >, / or =.",{start:e.start+e.name.indexOf("["),end:e.start+e.name.length})})),"style"!==(p=h).tag&&("script"!==p.tag||p.attrsMap.type&&"text/javascript"!==p.attrsMap.type)||ie()||(h.forbidden=!0,ua("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+e+">, as they will not be parsed.",{start:h.start}));for(var m=0;m<pa.length;m++)h=pa[m](h,t)||h;c||(function(e){null!=uo(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(c=!0)),ha(h.tag)&&(l=!0),c?function(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),o=0;o<n;o++)r[o]={name:t[o].name,value:JSON.stringify(t[o].value)},null!=t[o].start&&(r[o].start=t[o].start,r[o].end=t[o].end);else e.pre||(e.plain=!0)}(h):h.processed||(Da(h),function(e){var t=uo(e,"v-if");if(t)e.if=t,La(e,{exp:t,block:e});else{null!=uo(e,"v-else")&&(e.else=!0);var n=uo(e,"v-else-if");n&&(e.elseif=n)}}(h),function(e){null!=uo(e,"v-once")&&(e.once=!0)}(h)),r||v(r=h),a?d(h):(o=h,i.push(h))},end:function(e,n,r){var a=i[i.length-1];i.length-=1,o=i[i.length-1],t.outputSourceRange&&(a.end=r),d(a)},chars:function(n,r,i){if(o){if(!Y||"textarea"!==o.tag||o.attrsMap.placeholder!==n){var u,d,p,v=o.children;(n=l||n.trim()?"script"===(u=o).tag||"style"===u.tag?n:Ia(n):v.length?s?"condense"===s&&Ta.test(n)?"":" ":a?" ":"":"")&&(l||"condense"!==s||(n=n.replace(Ma," ")),!c&&" "!==n&&(d=Ri(n,fa))?p={type:2,expression:d.expression,tokens:d.tokens,text:n}:" "===n&&v.length&&" "===v[v.length-1].text||(p={type:3,text:n}),p&&(t.outputSourceRange&&(p.start=r,p.end=i),v.push(p)))}}else n===e?f("Component template requires a root element, rather than just text.",{start:r}):(n=n.trim())&&f('text "'+n+'" outside root element will be ignored.',{start:r})},comment:function(e,n,r){if(o){var i={type:3,text:e,isComment:!0};t.outputSourceRange&&(i.start=n,i.end=r),o.children.push(i)}}}),r}(e.trim(),t);!1!==t.optimize&&function(e,t){e&&(za=Za(t.staticKeys||""),qa=t.isReservedTag||E,function e(t){if(t.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||y(e.tag)||!qa(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(za))))}(t),1===t.type){if(!qa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n<r;n++){var o=t.children[n];e(o),o.static||(t.static=!1)}if(t.ifConditions)for(var i=1,a=t.ifConditions.length;i<a;i++){var s=t.ifConditions[i].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var r=0,o=t.children.length;r<o;r++)e(t.children[r],n||!!t.for);if(t.ifConditions)for(var i=1,a=t.ifConditions.length;i<a;i++)e(t.ifConditions[i].block,n)}}(e,!1))}(n,t);var r=cs(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),o=[],i=[],a=function(e,t,n){(n?i:o).push(e)};if(n){if(n.outputSourceRange){var s=t.match(/^\s*/)[0].length;a=function(e,t,n){var r={msg:e};t&&(null!=t.start&&(r.start=t.start+s),null!=t.end&&(r.end=t.end+s)),(n?i:o).push(r)}}for(var c in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=M(Object.create(e.directives||null),n.directives)),n)"modules"!==c&&"directives"!==c&&(r[c]=n[c])}r.warn=a;var l=Es(t.trim(),r);return function(e,t){e&&function e(t,n){if(1===t.type){for(var r in t.attrsMap)if(_a.test(r)){var o=t.attrsMap[r];if(o){var i=t.rawAttrsMap[r];"v-for"===r?Cs(t,'v-for="'+o+'"',n,i):"v-slot"===r||"#"===r[0]?Ts(o,r+'="'+o+'"',n,i):ba.test(r)?ks(o,r+'="'+o+'"',n,i):Os(o,r+'="'+o+'"',n,i)}}if(t.children)for(var a=0;a<t.children.length;a++)e(t.children[a],n)}else 2===t.type&&Os(t.expression,t.text,n,t)}(e,t)}(l.ast,a),l.errors=o,l.tips=i,l}return{compile:t,compileToFunctions:Is(t)}})(Wa),Ls=(Ds.compile,Ds.compileToFunctions);function Ps(e){return(Ns=Ns||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Ns.innerHTML.indexOf(" ")>0}var Fs=!!K&&Ps(!1),Rs=!!K&&Ps(!0),Hs=$((function(e){var t=$r(e);return t&&t.innerHTML})),Us=Zn.prototype.$mount;return Zn.prototype.$mount=function(e,t){if((e=e&&$r(e))===document.body||e===document.documentElement)return ue("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&((r=Hs(r))||ue("Template element not found or is empty: "+n.template,this));else{if(!r.nodeType)return ue("invalid template option:"+r,this),this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){H.performance&&at&&at("compile");var o=Ls(r,{outputSourceRange:!0,shouldDecodeNewlines:Fs,shouldDecodeNewlinesForHref:Rs,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a,H.performance&&at&&(at("compile end"),st("vue "+this._name+" compile","compile","compile end"))}}return Us.call(this,e,t)},Zn.compile=Ls,Zn},e.exports=r()}).call(this,n(4),n(15).setImmediate)},,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(6),o=n.n(r);n(14);const i=new URL(window.location.href).searchParams.get("page");if(!i)throw"Need page url arg";const a=window[i],s=a.settings,c=a.sections;function l(e,t){Object.keys(e).forEach(n=>{e[n]=t})}new o.a({el:"#nextgenthemes-vue",data:{errors:[],isSaving:!1,refreshAfterSave:!1,sectionsDisplayed:function(){const e={};return Object.keys(c).forEach(t=>{e[t]="debug"!==t}),e}(),onlySectionDisplayed:!1,message:"",vm:a.options},methods:{saveOptions(){this.isSaving=!0,window.jQuery.ajax({url:a.rest_url+"/save",method:"POST",data:this.vm,beforeSend(e){e.setRequestHeader("X-WP-Nonce",a.nonce)},success:()=>{this.message="Options saved",setTimeout(()=>this.message="",1e3)},error:e=>{this.message=e.responseText,this.refreshAfterSave=!1},complete:()=>{this.isSaving=!1,this.refreshAfterSave&&(this.refreshAfterSave=!1,window.location.reload())}})},resetOptions(e="all"){"all"===e?Object.entries(s).forEach(([e,t])=>{this.vm[e]=t.default}):Object.entries(s).forEach(([t,n])=>{e===n.tag&&(this.vm[t]=n.default)}),this.saveOptions()},licenseAPI(e,t,n){this.isSaving=!0,window.jQuery.ajax({url:"https://nextgenthemes.com",method:"POST",crossDomain:!0,data:{edd_action:e+"_license",license:this.vm[n],item_id:t,url:a.home_url},success:e=>{this.message="License API call saved",setTimeout(()=>this.message="",1e3)},error:e=>this.message=e.responseText,complete:()=>this.isSaving=!1})},licenseAPI_native(e,t,n){const r=new XMLHttpRequest;r.onreadystatechange=function(){if(console.log("xhttp.readyState",r.readyState),console.log("xhttp.status",r.status),4===r.readyState&&200===r.status){const e=JSON.parse(r.responseText);console.log("slData",e)}};const o={edd_action:e+"_license",license:this.vm[n],item_id:t,url:a.home_url};r.open("POST","https://nextgenthemes.com",!0),r.setRequestHeader("Content-type","application/json; charset=utf-8"),r.setRequestHeader("Access-Control-Allow-Origin",a.home_url);let i="";for(const e in o)i+=e+"="+a[e]+"&";i=i.substring(0,i.length-1),r.send(i)},showSection(e){l(this.sectionsDisplayed,!1),this.sectionsDisplayed[e]=!0,this.onlySectionDisplayed=e},showAllSectionsButDebug(){l(this.sectionsDisplayed,!0),this.sectionsDisplayed.debug=!1,this.onlySectionDisplayed=!1},uploadImage(e){const t=this,n=window.wp.media({title:"Upload Image",multiple:!1}).open().on("select",(function(){const r=n.state().get("selection").first().toJSON().id;t.vm[e]=r}))},action(e,t){this.vm.action=JSON.stringify({action:e,product:t}),this.refreshAfterSave=!0,this.saveOptions()}}})},function(e,t,n){},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(16),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(4))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,s,c=1,l={},u=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){v(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&v(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(v,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return l[c]=o,r(c),c++},d.clearImmediate=p}function p(e){delete l[e]}function v(e){if(u)setTimeout(v,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(4),n(17))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,l=[],u=!1,f=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):f=-1,l.length&&p())}function p(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(c=l,l=[];++f<t;)c&&c[f].run();f=-1,t=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new v(e,t)),1!==l.length||u||s(p)},v.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=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}}]);
|
build/main.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '37296b95aef5dc6e795ec996d1aebbf6');
|
build/main.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
#html .arve{display:block;width:100%;margin-bottom:1.5em}#html .arve::after{display:table;clear:both;content:""}#html .arve.alignleft{margin-top:.4em;margin-right:1.5em}#html .arve.alignright{margin-top:.4em;margin-left:1.5em}#html .arve [hidden],#html .arve[hidden]{display:none}#html .arve-inner{display:block;width:auto;padding:0;margin:0}#html .arve-embed{position:relative;display:block;width:100%;max-height:100vh;padding:0;margin:0;overflow:hidden}#html .arve-ar{display:block}#html .arve-embed--has-aspect-ratio{overflow:hidden}#html .arve-embed--16by9::before{display:block;padding-top:56.25%;content:""}#html .arve-thumbnail,#html .arve-play-btn,#html .arve-iframe{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;padding:0;margin:0;border:0}#html .arve-video{width:100%;height:auto;padding:0;margin:0}#html .arve-promote-link{float:right;font-family:"Open Sans","Sagoe UI",Arvo,Lato,arial,sans-serif;font-size:.8em}.components-button--arve-thumbnail{display:block;height:auto}
|
build/shortcode-ui.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '8b401efa6a64e8a2a28b53b817e935e1');
|
changelog.md
CHANGED
@@ -4,6 +4,16 @@
|
|
4 |
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
|
5 |
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/random-video/#changelog)
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
### 2021-01-21 9.2.4 ###
|
8 |
|
9 |
* Fix: Missing 'Normal' mode select
|
@@ -16,6 +26,7 @@
|
|
16 |
|
17 |
* Fix: Compatibility with Astor Theme.
|
18 |
* Improved: Added notes that Shortcode UI is not maintained to the button and readme.
|
|
|
19 |
* Improved: Classic Tabs, new settings section for upcoming [ARVE sticky Videos](https://nextgenthemes.com/plugins/arve-sticky-videos/).
|
20 |
* Improved: Lots of code restructured and improved.
|
21 |
|
4 |
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
|
5 |
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/random-video/#changelog)
|
6 |
|
7 |
+
### 2021-01-24 9.3.0 ###
|
8 |
+
|
9 |
+
Improved:
|
10 |
+
* Simplified CSS and reduced size.
|
11 |
+
* Security related escaping and filtering HTML output on settings page.
|
12 |
+
* No longer show save buttons on Debug Info tab. Nothing to save there.
|
13 |
+
* Added back info text for URL Parameters settings. Found in the code from 8.0.
|
14 |
+
* Added in placeholders for text fields.
|
15 |
+
* General code improvements and removal of unused code.
|
16 |
+
|
17 |
### 2021-01-21 9.2.4 ###
|
18 |
|
19 |
* Fix: Missing 'Normal' mode select
|
26 |
|
27 |
* Fix: Compatibility with Astor Theme.
|
28 |
* Improved: Added notes that Shortcode UI is not maintained to the button and readme.
|
29 |
+
* Improved: Added notes about outdated PHP versions to settings page sidebar.
|
30 |
* Improved: Classic Tabs, new settings section for upcoming [ARVE sticky Videos](https://nextgenthemes.com/plugins/arve-sticky-videos/).
|
31 |
* Improved: Lots of code restructured and improved.
|
32 |
|
php/Admin/functions-admin.php
CHANGED
@@ -1,21 +1,27 @@
|
|
1 |
<?php
|
2 |
namespace Nextgenthemes\ARVE\Admin;
|
3 |
|
|
|
|
|
4 |
use \Nextgenthemes\ARVE;
|
5 |
-
use \Nextgenthemes\ARVE\Common;
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
function action_admin_init_setup_messages() {
|
8 |
|
9 |
-
$
|
10 |
|
11 |
if ( defined( 'ARVE_PRO_VERSION' ) ) {
|
12 |
-
$
|
13 |
} elseif ( defined( '\Nextgenthemes\ARVE\Pro\VERSION' ) ) {
|
14 |
-
$
|
15 |
}
|
16 |
|
17 |
-
if ( $
|
18 |
-
|
19 |
$msg = sprintf(
|
20 |
// Translators: %1$s Version
|
21 |
__( 'Your ARVE Pro Addon is outdated, you need version %1$s or later. If you have setup your license <a href="%2$s">here</a> semi auto updates should work (Admin panel notice and auto install on confirmation). If not please <a href="%3$s">report it</a> and manually update as <a href="%4$s">described here.</a>', 'advanced-responsive-video-embedder' ),
|
@@ -25,7 +31,7 @@ function action_admin_init_setup_messages() {
|
|
25 |
'https://nextgenthemes.com/plugins/arve/documentation/installing-and-license-management/'
|
26 |
);
|
27 |
|
28 |
-
new
|
29 |
}
|
30 |
|
31 |
$update_msg = sprintf(
|
@@ -37,7 +43,7 @@ function action_admin_init_setup_messages() {
|
|
37 |
'https://nextgenthemes.com/plugins/arve/documentation/how-to-downgrade/'
|
38 |
);
|
39 |
|
40 |
-
new
|
41 |
|
42 |
if ( display_pro_ad() ) {
|
43 |
|
@@ -48,7 +54,7 @@ function action_admin_init_setup_messages() {
|
|
48 |
// phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
|
49 |
$pro_ad_message .= file_get_contents( __DIR__ . '/partials/pro-ad.html' );
|
50 |
|
51 |
-
new
|
52 |
}
|
53 |
}
|
54 |
|
@@ -138,7 +144,14 @@ function add_action_links( $links ) {
|
|
138 |
|
139 |
function add_media_button() {
|
140 |
|
141 |
-
$options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
add_thickbox();
|
143 |
?>
|
144 |
|
@@ -146,8 +159,8 @@ function add_media_button() {
|
|
146 |
<p>
|
147 |
<?php
|
148 |
printf(
|
149 |
-
//
|
150 |
-
|
151 |
esc_url( network_admin_url( 'plugin-install.php?s=Shortcode+UI&tab=search&type=term' ) )
|
152 |
);
|
153 |
?>
|
@@ -155,8 +168,8 @@ function add_media_button() {
|
|
155 |
<p>
|
156 |
<?php
|
157 |
printf(
|
158 |
-
//
|
159 |
-
|
160 |
esc_url( 'https://nextgenthemes.com/plugins/arve/documentation/' )
|
161 |
);
|
162 |
?>
|
@@ -232,125 +245,20 @@ function register_shortcode_ui() {
|
|
232 |
);
|
233 |
}
|
234 |
|
235 |
-
function input( $args ) {
|
236 |
-
|
237 |
-
$out = sprintf( '<input%s>', Common\attr( $args['input_attr'] ) );
|
238 |
-
|
239 |
-
if ( ! empty( $args['option_values']['attr'] ) && 'thumbnail_fallback' === $args['option_values']['attr'] ) {
|
240 |
-
|
241 |
-
// jQuery
|
242 |
-
wp_enqueue_script( 'jquery' );
|
243 |
-
// This will enqueue the Media Uploader script
|
244 |
-
wp_enqueue_media();
|
245 |
-
|
246 |
-
$out .= sprintf(
|
247 |
-
'<a %s>%s</a>',
|
248 |
-
Common\attr(
|
249 |
-
[
|
250 |
-
'data-image-upload' => sprintf( '[name="%s"]', $args['input_attr']['name'] ),
|
251 |
-
'class' => 'button-secondary',
|
252 |
-
]
|
253 |
-
),
|
254 |
-
__( 'Upload Image', 'advanced-responsive-video-embedder' )
|
255 |
-
);
|
256 |
-
}
|
257 |
-
|
258 |
-
if ( ! empty( $args['description'] ) ) {
|
259 |
-
$out = $out . '<p class="description">' . $args['description'] . '</p>';
|
260 |
-
}
|
261 |
-
|
262 |
-
echo $out; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
263 |
-
}
|
264 |
-
|
265 |
-
function textarea( $args ) {
|
266 |
-
|
267 |
-
unset( $args['input_attr']['type'] );
|
268 |
-
|
269 |
-
$out = sprintf( '<textarea%s></textarea>', Common\attr( $args['input_attr'] ) );
|
270 |
-
|
271 |
-
if ( ! empty( $args['description'] ) ) {
|
272 |
-
$out = $out . '<p class="description">' . $args['description'] . '</p>';
|
273 |
-
}
|
274 |
-
|
275 |
-
echo $out; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
276 |
-
}
|
277 |
-
|
278 |
-
function select( $args ) {
|
279 |
-
|
280 |
-
unset( $args['input_attr']['type'] );
|
281 |
-
|
282 |
-
foreach ( $args['option_values']['options'] as $key => $value ) {
|
283 |
-
|
284 |
-
if ( 2 === count( $args['option_values']['options'] )
|
285 |
-
&& array_key_exists( 'yes', $args['option_values']['options'] )
|
286 |
-
&& array_key_exists( 'no', $args['option_values']['options'] )
|
287 |
-
) {
|
288 |
-
$current_option = $args['input_attr']['value'] ? 'yes' : 'no';
|
289 |
-
} else {
|
290 |
-
$current_option = $args['input_attr']['value'];
|
291 |
-
}
|
292 |
-
|
293 |
-
$options[] = sprintf(
|
294 |
-
'<option value="%s" %s>%s</option>',
|
295 |
-
esc_attr( $key ),
|
296 |
-
selected( $current_option, $key, false ),
|
297 |
-
esc_html( $value )
|
298 |
-
);
|
299 |
-
}
|
300 |
-
|
301 |
-
$select_attr = $args['input_attr'];
|
302 |
-
unset( $select_attr['value'] );
|
303 |
-
|
304 |
-
$out = sprintf( '<select%s>%s</select>', Common\attr( $select_attr ), implode( '', $options ) );
|
305 |
-
|
306 |
-
if ( ! empty( $args['description'] ) ) {
|
307 |
-
$out = $out . '<p class="description">' . $args['description'] . '</p>';
|
308 |
-
}
|
309 |
-
|
310 |
-
echo $out; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
311 |
-
}
|
312 |
-
|
313 |
-
function params_section_description() {
|
314 |
-
|
315 |
-
$desc = sprintf(
|
316 |
-
__( // phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
|
317 |
-
'This parameters will be added to the <code>iframe src</code> urls, you can control the video players behavior with them. Please read <a href="%s" target="_blank">the documentation</a> on.',
|
318 |
-
'advanced-responsive-video-embedder'
|
319 |
-
),
|
320 |
-
esc_url( 'https://nextgenthemes.com/arve/documentation' )
|
321 |
-
);
|
322 |
-
|
323 |
-
echo "<p>$desc</p>"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
324 |
-
|
325 |
-
?>
|
326 |
-
<p>
|
327 |
-
See
|
328 |
-
<a target="_blank" href="https://developers.google.com/youtube/player_parameters">Youtube Parameters</a>,
|
329 |
-
<a target="_blank" href="http://www.dailymotion.com/doc/api/player.html#parameters">Dailymotion Parameters</a>,
|
330 |
-
<a target="_blank" href="https://developer.vimeo.com/player/embedding">Vimeo Parameters</a>,
|
331 |
-
<a target="_blank" href="https://nextgenthemes.com/arve-pro/documentation">Vimeo Parameters</a>,
|
332 |
-
</p>
|
333 |
-
<?php
|
334 |
-
}
|
335 |
-
|
336 |
-
function debug_section_description() {
|
337 |
-
include_once __DIR__ . '/partials/debug-info.php';
|
338 |
-
}
|
339 |
-
|
340 |
function admin_enqueue_styles() {
|
341 |
|
342 |
-
|
343 |
[
|
344 |
'handle' => 'advanced-responsive-video-embedder',
|
345 |
'src' => plugins_url( 'build/admin.css', ARVE\PLUGIN_FILE ),
|
346 |
-
'ver' =>
|
347 |
]
|
348 |
);
|
349 |
}
|
350 |
|
351 |
function admin_enqueue_scripts() {
|
352 |
|
353 |
-
|
354 |
[
|
355 |
'handle' => 'arve-admin',
|
356 |
'src' => plugins_url( 'build/admin.js', ARVE\PLUGIN_FILE ),
|
@@ -361,7 +269,7 @@ function admin_enqueue_scripts() {
|
|
361 |
);
|
362 |
|
363 |
if ( is_plugin_active( 'shortcode-ui/shortcode-ui.php' ) ) {
|
364 |
-
|
365 |
[
|
366 |
'handle' => 'arve-admin-sc-ui',
|
367 |
'path' => ARVE\PLUGIN_DIR . '/build/shortcode-ui.js',
|
1 |
<?php
|
2 |
namespace Nextgenthemes\ARVE\Admin;
|
3 |
|
4 |
+
use const \Nextgenthemes\ARVE\PRO_VERSION_REQUIRED;
|
5 |
+
|
6 |
use \Nextgenthemes\ARVE;
|
7 |
+
use \Nextgenthemes\ARVE\Common\Admin\NoticeFactory;
|
8 |
+
|
9 |
+
use function \Nextgenthemes\ARVE\Common\ver;
|
10 |
+
use function \Nextgenthemes\ARVE\Common\attr;
|
11 |
+
use function \Nextgenthemes\ARVE\Common\kses_basic;
|
12 |
+
use function \Nextgenthemes\ARVE\Common\enqueue_asset;
|
13 |
|
14 |
function action_admin_init_setup_messages() {
|
15 |
|
16 |
+
$pro_ver = false;
|
17 |
|
18 |
if ( defined( 'ARVE_PRO_VERSION' ) ) {
|
19 |
+
$pro_ver = ARVE_PRO_VERSION;
|
20 |
} elseif ( defined( '\Nextgenthemes\ARVE\Pro\VERSION' ) ) {
|
21 |
+
$pro_ver = \Nextgenthemes\ARVE\Pro\VERSION;
|
22 |
}
|
23 |
|
24 |
+
if ( $pro_ver && version_compare( PRO_VERSION_REQUIRED, $pro_ver, '>' ) ) {
|
|
|
25 |
$msg = sprintf(
|
26 |
// Translators: %1$s Version
|
27 |
__( 'Your ARVE Pro Addon is outdated, you need version %1$s or later. If you have setup your license <a href="%2$s">here</a> semi auto updates should work (Admin panel notice and auto install on confirmation). If not please <a href="%3$s">report it</a> and manually update as <a href="%4$s">described here.</a>', 'advanced-responsive-video-embedder' ),
|
31 |
'https://nextgenthemes.com/plugins/arve/documentation/installing-and-license-management/'
|
32 |
);
|
33 |
|
34 |
+
new NoticeFactory( 'arve-pro-outdated', "<p>$msg</p>", false );
|
35 |
}
|
36 |
|
37 |
$update_msg = sprintf(
|
43 |
'https://nextgenthemes.com/plugins/arve/documentation/how-to-downgrade/'
|
44 |
);
|
45 |
|
46 |
+
new NoticeFactory( 'arve9', $update_msg, true );
|
47 |
|
48 |
if ( display_pro_ad() ) {
|
49 |
|
54 |
// phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
|
55 |
$pro_ad_message .= file_get_contents( __DIR__ . '/partials/pro-ad.html' );
|
56 |
|
57 |
+
new NoticeFactory( 'arve_dismiss_pro_notice', $pro_ad_message, true );
|
58 |
}
|
59 |
}
|
60 |
|
144 |
|
145 |
function add_media_button() {
|
146 |
|
147 |
+
$options = ARVE\options();
|
148 |
+
$link_only = [
|
149 |
+
'a' => [
|
150 |
+
'href' => [],
|
151 |
+
'target' => [],
|
152 |
+
'title' => [],
|
153 |
+
],
|
154 |
+
];
|
155 |
add_thickbox();
|
156 |
?>
|
157 |
|
159 |
<p>
|
160 |
<?php
|
161 |
printf(
|
162 |
+
// translators: URL
|
163 |
+
wp_kses( __( 'This button can open an optional ARVE a Shortcode creation dialog. ARVE needs the <a href="%s">Shortcode UI plugin</a> active for this fuctionality. It helps creating shortcodes and provides a preview in the Editor. But sadly Shortcode UI is not maintained anymore and there have been some know issues with Shortcode UI.', 'advanced-responsive-video-embedder' ), $link_only ),
|
164 |
esc_url( network_admin_url( 'plugin-install.php?s=Shortcode+UI&tab=search&type=term' ) )
|
165 |
);
|
166 |
?>
|
168 |
<p>
|
169 |
<?php
|
170 |
printf(
|
171 |
+
// translators: URL
|
172 |
+
wp_kses( __( 'It is perfectly fine to pass on this and <a href="%s">manually</a> write shortcodes or don\'t use shortcodes at all, but it makes things easier. And if you ever switch to Gutenberg there is a ARVE Block all the settings in the sidebar waiting for you.', 'advanced-responsive-video-embedder' ), $link_only ),
|
173 |
esc_url( 'https://nextgenthemes.com/plugins/arve/documentation/' )
|
174 |
);
|
175 |
?>
|
245 |
);
|
246 |
}
|
247 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
function admin_enqueue_styles() {
|
249 |
|
250 |
+
enqueue_asset(
|
251 |
[
|
252 |
'handle' => 'advanced-responsive-video-embedder',
|
253 |
'src' => plugins_url( 'build/admin.css', ARVE\PLUGIN_FILE ),
|
254 |
+
'ver' => ver( ARVE\VERSION, 'build/admin.css', ARVE\PLUGIN_FILE ),
|
255 |
]
|
256 |
);
|
257 |
}
|
258 |
|
259 |
function admin_enqueue_scripts() {
|
260 |
|
261 |
+
enqueue_asset(
|
262 |
[
|
263 |
'handle' => 'arve-admin',
|
264 |
'src' => plugins_url( 'build/admin.js', ARVE\PLUGIN_FILE ),
|
269 |
);
|
270 |
|
271 |
if ( is_plugin_active( 'shortcode-ui/shortcode-ui.php' ) ) {
|
272 |
+
enqueue_asset(
|
273 |
[
|
274 |
'handle' => 'arve-admin-sc-ui',
|
275 |
'path' => ARVE\PLUGIN_DIR . '/build/shortcode-ui.js',
|
php/Admin/functions-settings-page.php
CHANGED
@@ -4,6 +4,38 @@ namespace Nextgenthemes\ARVE\Admin;
|
|
4 |
use \Nextgenthemes\ARVE;
|
5 |
use \Nextgenthemes\ARVE\Common;
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
function settings_sidebar() {
|
8 |
|
9 |
if ( ! is_plugin_active( 'arve-pro/arve-pro.php' ) ) {
|
4 |
use \Nextgenthemes\ARVE;
|
5 |
use \Nextgenthemes\ARVE\Common;
|
6 |
|
7 |
+
function settings_content() {
|
8 |
+
|
9 |
+
$link_code_only = [
|
10 |
+
'code' => [],
|
11 |
+
'a' => [
|
12 |
+
'href' => [],
|
13 |
+
'target' => [],
|
14 |
+
'title' => [],
|
15 |
+
],
|
16 |
+
];
|
17 |
+
?>
|
18 |
+
|
19 |
+
<div class="ngt-block" v-show="onlySectionDisplayed === 'urlparams'">
|
20 |
+
<p>
|
21 |
+
<?php
|
22 |
+
printf(
|
23 |
+
// Translators: URL
|
24 |
+
wp_kses( __( 'This parameters will be added to the <code>iframe src</code> urls, you can control the video players behavior with them. Please read <a href="%s" target="_blank">the documentation</a> on.', 'advanced-responsive-video-embedder' ), $link_code_only ),
|
25 |
+
esc_url( 'https://nextgenthemes.com/arve/documentation' )
|
26 |
+
);
|
27 |
+
?>
|
28 |
+
</p>
|
29 |
+
<p>
|
30 |
+
See
|
31 |
+
<a target="_blank" href="https://developers.google.com/youtube/player_parameters#Parameters">Youtube Parameters</a>,
|
32 |
+
<a target="_blank" href="http://www.dailymotion.com/doc/api/player.html#parameters">Dailymotion Parameters</a>,
|
33 |
+
<a target="_blank" href="https://developer.vimeo.com/player/embedding">Vimeo Parameters</a>
|
34 |
+
</p>
|
35 |
+
</div>
|
36 |
+
<?php
|
37 |
+
}
|
38 |
+
|
39 |
function settings_sidebar() {
|
40 |
|
41 |
if ( ! is_plugin_active( 'arve-pro/arve-pro.php' ) ) {
|
php/Admin/partials/settings-sidebar-pro.html
CHANGED
@@ -22,6 +22,6 @@ Use simple links as triggers for opening Video Lightboxes</li>
|
|
22 |
<li><strong>Feel good about yourself</strong><br>
|
23 |
for supporting my 8+ years work on this plugin. Tons of hours, weekends … always worked on improving it</li>
|
24 |
<li>Show the latest video of a YouTube channel by using the channel URL (updated/cached hourly)</li>
|
25 |
-
<li><strong><a href="https://nextgenthemes.com/plugins/arve-pro/">Get
|
26 |
</ul>
|
27 |
|
22 |
<li><strong>Feel good about yourself</strong><br>
|
23 |
for supporting my 8+ years work on this plugin. Tons of hours, weekends … always worked on improving it</li>
|
24 |
<li>Show the latest video of a YouTube channel by using the channel URL (updated/cached hourly)</li>
|
25 |
+
<li><strong><a href="https://nextgenthemes.com/plugins/arve-pro/">Get ARVE Pro</a></strong></li>
|
26 |
</ul>
|
27 |
|
php/Common/Admin/NoticeFactory.php
CHANGED
@@ -34,16 +34,29 @@ class NoticeFactory {
|
|
34 |
$user_id = get_current_user_id();
|
35 |
$user_meta = get_user_meta( $user_id, $this->notice_id );
|
36 |
|
37 |
-
if ( $this->dismiss_forever && $user_meta
|
38 |
-
|
39 |
-
|
40 |
return;
|
41 |
}
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
printf(
|
44 |
'<div class="notice is-dismissible updated" data-nextgenthemes-notice-id="%s">%s</div>',
|
45 |
esc_attr( $this->notice_id ),
|
46 |
-
$this->notice
|
47 |
);
|
48 |
}
|
49 |
|
34 |
$user_id = get_current_user_id();
|
35 |
$user_meta = get_user_meta( $user_id, $this->notice_id );
|
36 |
|
37 |
+
if ( ($this->dismiss_forever && $user_meta) ||
|
38 |
+
get_transient($this->notice_id)
|
39 |
+
) {
|
40 |
return;
|
41 |
}
|
42 |
|
43 |
+
$allowed_notice_html = [
|
44 |
+
'a' => [
|
45 |
+
'href' => [],
|
46 |
+
'target' => [],
|
47 |
+
'title' => [],
|
48 |
+
],
|
49 |
+
'p' => [],
|
50 |
+
'br' => [],
|
51 |
+
'em' => [],
|
52 |
+
'strong' => [],
|
53 |
+
'code' => [],
|
54 |
+
];
|
55 |
+
|
56 |
printf(
|
57 |
'<div class="notice is-dismissible updated" data-nextgenthemes-notice-id="%s">%s</div>',
|
58 |
esc_attr( $this->notice_id ),
|
59 |
+
wp_kses( $this->notice, $allowed_notice_html )
|
60 |
);
|
61 |
}
|
62 |
|
php/Common/Admin/functions-debug.php
CHANGED
@@ -18,7 +18,7 @@ function plugin_ver_status( $folder_and_filename ) {
|
|
18 |
$out .= ' INACTIVE';
|
19 |
}
|
20 |
|
21 |
-
return $out;
|
22 |
}
|
23 |
|
24 |
function print_active_plugins() {
|
18 |
$out .= ' INACTIVE';
|
19 |
}
|
20 |
|
21 |
+
return $out;
|
22 |
}
|
23 |
|
24 |
function print_active_plugins() {
|
php/Common/Admin/functions-settings.php
CHANGED
@@ -76,7 +76,12 @@ function print_string_field( $key, $option ) {
|
|
76 |
<p>
|
77 |
<label>
|
78 |
<?php label_text( $option ); ?>
|
79 |
-
<input
|
|
|
|
|
|
|
|
|
|
|
80 |
</label>
|
81 |
</p>
|
82 |
<?php
|
76 |
<p>
|
77 |
<label>
|
78 |
<?php label_text( $option ); ?>
|
79 |
+
<input
|
80 |
+
v-model="<?= esc_attr( "vm.$key" ); ?>"
|
81 |
+
type="text"
|
82 |
+
class="large-text"
|
83 |
+
placeholder="<?= esc_attr( $option['placeholder'] ); ?>"
|
84 |
+
/>
|
85 |
</label>
|
86 |
</p>
|
87 |
<?php
|
php/Common/Admin/partials/debug-info.php
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
<?php
|
2 |
namespace Nextgenthemes\ARVE\Common\Admin;
|
3 |
|
|
|
4 |
?>
|
5 |
-
<textarea
|
6 |
ARVE: <?= esc_html( plugin_ver_status( 'advanced-responsive-video-embedder/advanced-responsive-video-embedder.php' ) . "\n" ); ?>
|
7 |
ARVE Pro: <?= esc_html( plugin_ver_status( 'arve-pro/arve-pro.php' ) . "\n" ); ?>
|
8 |
ARVE AMP: <?= esc_html( plugin_ver_status( 'arve-amp/arve-amp.php' ) . "\n" ); ?>
|
@@ -17,5 +18,5 @@ REST URL: <?= esc_html( get_rest_url( null, $this->rest_namespace ) .
|
|
17 |
<?php print_network_active_plugins(); ?>
|
18 |
|
19 |
ARVE OPTIONS:
|
20 |
-
|
21 |
</textarea>
|
1 |
<?php
|
2 |
namespace Nextgenthemes\ARVE\Common\Admin;
|
3 |
|
4 |
+
use function \Nextgenthemes\ARVE\Common\get_var_dump;
|
5 |
?>
|
6 |
+
<textarea class="ngt-debug-textarea">
|
7 |
ARVE: <?= esc_html( plugin_ver_status( 'advanced-responsive-video-embedder/advanced-responsive-video-embedder.php' ) . "\n" ); ?>
|
8 |
ARVE Pro: <?= esc_html( plugin_ver_status( 'arve-pro/arve-pro.php' ) . "\n" ); ?>
|
9 |
ARVE AMP: <?= esc_html( plugin_ver_status( 'arve-amp/arve-amp.php' ) . "\n" ); ?>
|
18 |
<?php print_network_active_plugins(); ?>
|
19 |
|
20 |
ARVE OPTIONS:
|
21 |
+
<?= wp_kses( get_var_dump( get_option( 'nextgenthemes_arve' ) ), [] ); ?>
|
22 |
</textarea>
|
php/Common/Settings.php
CHANGED
@@ -5,16 +5,17 @@ class Settings {
|
|
5 |
private static $no_reset_sections = [ 'debug', 'random-video', 'keys' ];
|
6 |
|
7 |
public $sections = [];
|
8 |
-
private $premium_sections = [];
|
9 |
private $menu_title = '';
|
10 |
private $option_key = '';
|
11 |
-
private $
|
12 |
-
private $
|
|
|
|
|
13 |
private $rest_namespace = '';
|
14 |
private $settings = [];
|
15 |
private $settings_page_title = '';
|
16 |
-
private $
|
17 |
-
private $
|
18 |
|
19 |
public function __construct( $args ) {
|
20 |
|
@@ -39,11 +40,7 @@ class Settings {
|
|
39 |
$this->menu_parent_slug = $args['menu_parent_slug'];
|
40 |
|
41 |
foreach ( $this->settings as $key => $value ) {
|
42 |
-
|
43 |
-
$this->options_tags[] = $value['tag'];
|
44 |
-
|
45 |
-
$this->options_defaults[ $key ] = $value['default'];
|
46 |
-
$this->options_by_tag[ $value['tag'] ] = $key;
|
47 |
}
|
48 |
|
49 |
$this->options = (array) get_option( $this->slugged_namespace, [] );
|
@@ -158,16 +155,33 @@ class Settings {
|
|
158 |
|
159 |
public function print_settings_blocks() {
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
|
162 |
foreach ( $this->settings as $key => $option ) {
|
163 |
|
164 |
$option['premium'] = in_array( $option['tag'], $this->premium_sections, true );
|
165 |
$option['tag_name'] = $this->sections[ $option['tag'] ];
|
166 |
$field_type = isset( $option['ui'] ) ? $option['ui'] : $option['type'];
|
|
|
167 |
|
168 |
if ( 'hidden' !== $field_type ) :
|
169 |
?>
|
170 |
-
<div
|
|
|
|
|
|
|
|
|
171 |
<?php
|
172 |
|
173 |
$function = __NAMESPACE__ . "\\Admin\\print_{$field_type}_field";
|
@@ -175,7 +189,10 @@ class Settings {
|
|
175 |
$function( $key, $option );
|
176 |
|
177 |
if ( ! empty( $option['description'] ) ) {
|
178 |
-
printf(
|
|
|
|
|
|
|
179 |
}
|
180 |
?>
|
181 |
<hr>
|
@@ -183,7 +200,6 @@ class Settings {
|
|
183 |
<?php
|
184 |
endif;
|
185 |
}
|
186 |
-
// phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped
|
187 |
}
|
188 |
|
189 |
private function print_settings_tabs() {
|
@@ -209,7 +225,7 @@ class Settings {
|
|
209 |
|
210 |
public function print_save_section() {
|
211 |
?>
|
212 |
-
<p>
|
213 |
<button
|
214 |
@click='saveOptions'
|
215 |
:disabled='isSaving'
|
@@ -239,13 +255,11 @@ class Settings {
|
|
239 |
}
|
240 |
|
241 |
$v_show = implode( ' || ', $d_sections );
|
242 |
-
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
|
243 |
?>
|
244 |
-
<div class="ngt-block" v-show="<?= $v_show
|
245 |
<p><?php esc_html_e( 'You may already set options for addons but they will only take effect if the associated addons are installed.', 'advanced-responsive-video-embedder' ); ?></p>
|
246 |
</div>
|
247 |
<?php
|
248 |
-
// phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped
|
249 |
}
|
250 |
|
251 |
private function print_debug_info_block() {
|
@@ -301,15 +315,22 @@ class Settings {
|
|
301 |
|
302 |
public function print_outdated_php_msg() {
|
303 |
|
304 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
|
|
|
306 |
?>
|
307 |
<div class="ngt-sidebar-box">
|
308 |
<p>
|
309 |
<?php
|
310 |
printf(
|
311 |
// translators: PHP version, URL, Contact URL
|
312 |
-
|
313 |
esc_html( PHP_VERSION ),
|
314 |
esc_url( 'https://www.php.net/supported-versions' ),
|
315 |
esc_url( 'https://nextgenthemes.com/contact/' )
|
@@ -318,14 +339,14 @@ class Settings {
|
|
318 |
</p>
|
319 |
</div>
|
320 |
<?php
|
321 |
-
} elseif ( \version_compare(PHP_VERSION, '7.3.
|
322 |
?>
|
323 |
<div class="ngt-sidebar-box">
|
324 |
<p>
|
325 |
<?php
|
326 |
printf(
|
327 |
// translators: URL
|
328 |
-
|
329 |
esc_html( PHP_VERSION ),
|
330 |
esc_url( 'https://www.php.net/supported-versions' )
|
331 |
);
|
@@ -344,6 +365,7 @@ class Settings {
|
|
344 |
<div class="ngt-settings-grid">
|
345 |
<div class="ngt-settings-grid__content" >
|
346 |
<?php
|
|
|
347 |
$this->print_paid_section_message();
|
348 |
$this->print_save_section();
|
349 |
$this->print_debug_info_block();
|
@@ -353,8 +375,10 @@ class Settings {
|
|
353 |
?>
|
354 |
</div>
|
355 |
<div class="ngt-settings-grid__sidebar">
|
356 |
-
<?php
|
357 |
-
|
|
|
|
|
358 |
</div>
|
359 |
</div>
|
360 |
</div>
|
5 |
private static $no_reset_sections = [ 'debug', 'random-video', 'keys' ];
|
6 |
|
7 |
public $sections = [];
|
|
|
8 |
private $menu_title = '';
|
9 |
private $option_key = '';
|
10 |
+
private $options = [];
|
11 |
+
private $options_by_tag = [];
|
12 |
+
private $options_defaults = [];
|
13 |
+
private $premium_sections = [];
|
14 |
private $rest_namespace = '';
|
15 |
private $settings = [];
|
16 |
private $settings_page_title = '';
|
17 |
+
private $slashed_namspace = '';
|
18 |
+
private $slugged_namspace = '';
|
19 |
|
20 |
public function __construct( $args ) {
|
21 |
|
40 |
$this->menu_parent_slug = $args['menu_parent_slug'];
|
41 |
|
42 |
foreach ( $this->settings as $key => $value ) {
|
43 |
+
$this->options_defaults[ $key ] = $value['default'];
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
|
46 |
$this->options = (array) get_option( $this->slugged_namespace, [] );
|
155 |
|
156 |
public function print_settings_blocks() {
|
157 |
|
158 |
+
$description_allowed_html = [
|
159 |
+
'a' => [
|
160 |
+
'href' => [],
|
161 |
+
'target' => [],
|
162 |
+
'title' => [],
|
163 |
+
],
|
164 |
+
'br' => [],
|
165 |
+
'em' => [],
|
166 |
+
'strong' => [],
|
167 |
+
'code' => [],
|
168 |
+
];
|
169 |
+
|
170 |
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
|
171 |
foreach ( $this->settings as $key => $option ) {
|
172 |
|
173 |
$option['premium'] = in_array( $option['tag'], $this->premium_sections, true );
|
174 |
$option['tag_name'] = $this->sections[ $option['tag'] ];
|
175 |
$field_type = isset( $option['ui'] ) ? $option['ui'] : $option['type'];
|
176 |
+
$block_class = "ngt-option-block ngt-option-block--$key ngt-option-block--{$option['tag']}";
|
177 |
|
178 |
if ( 'hidden' !== $field_type ) :
|
179 |
?>
|
180 |
+
<div
|
181 |
+
class="<?= esc_attr($block_class); ?>"
|
182 |
+
v-show="sectionsDisplayed['<?= esc_attr($option['tag']); ?>']"
|
183 |
+
>
|
184 |
+
<!-- <div <?php #echo Admin\block_attr( $key, $option ); ?>> -->
|
185 |
<?php
|
186 |
|
187 |
$function = __NAMESPACE__ . "\\Admin\\print_{$field_type}_field";
|
189 |
$function( $key, $option );
|
190 |
|
191 |
if ( ! empty( $option['description'] ) ) {
|
192 |
+
printf(
|
193 |
+
'<p>%s</p>',
|
194 |
+
wp_kses( $option['description'], $description_allowed_html )
|
195 |
+
);
|
196 |
}
|
197 |
?>
|
198 |
<hr>
|
200 |
<?php
|
201 |
endif;
|
202 |
}
|
|
|
203 |
}
|
204 |
|
205 |
private function print_settings_tabs() {
|
225 |
|
226 |
public function print_save_section() {
|
227 |
?>
|
228 |
+
<p v-show="onlySectionDisplayed !== 'debug'">
|
229 |
<button
|
230 |
@click='saveOptions'
|
231 |
:disabled='isSaving'
|
255 |
}
|
256 |
|
257 |
$v_show = implode( ' || ', $d_sections );
|
|
|
258 |
?>
|
259 |
+
<div class="ngt-block" v-show="<?= $v_show // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" >
|
260 |
<p><?php esc_html_e( 'You may already set options for addons but they will only take effect if the associated addons are installed.', 'advanced-responsive-video-embedder' ); ?></p>
|
261 |
</div>
|
262 |
<?php
|
|
|
263 |
}
|
264 |
|
265 |
private function print_debug_info_block() {
|
315 |
|
316 |
public function print_outdated_php_msg() {
|
317 |
|
318 |
+
$link_only = [
|
319 |
+
'a' => [
|
320 |
+
'href' => [],
|
321 |
+
'target' => [],
|
322 |
+
'title' => [],
|
323 |
+
],
|
324 |
+
];
|
325 |
|
326 |
+
if ( \version_compare(PHP_VERSION, '5.6.40', '<=') ) {
|
327 |
?>
|
328 |
<div class="ngt-sidebar-box">
|
329 |
<p>
|
330 |
<?php
|
331 |
printf(
|
332 |
// translators: PHP version, URL, Contact URL
|
333 |
+
wp_kses( __('Your PHP version %1$s is very <a href="%2$s">outdated, insecure and slow</a>. No pressure, this plugin will continue to work with PHP 5.6, but at some undecided point I like to use features from PHP 7. If you can not update for some reason please tell <a href="%3$s">tell me</a>. WordPress itself planned to require PHP 7 in a feature release but decided not to persue this for now because so many people still run on outdated versions. WordPress already has beta support for 8.0 but I would not go with 8.0 just yet.', 'advanced-responsive-video-embedder'), $link_only ),
|
334 |
esc_html( PHP_VERSION ),
|
335 |
esc_url( 'https://www.php.net/supported-versions' ),
|
336 |
esc_url( 'https://nextgenthemes.com/contact/' )
|
339 |
</p>
|
340 |
</div>
|
341 |
<?php
|
342 |
+
} elseif ( \version_compare(PHP_VERSION, '7.3.26', '<') ) {
|
343 |
?>
|
344 |
<div class="ngt-sidebar-box">
|
345 |
<p>
|
346 |
<?php
|
347 |
printf(
|
348 |
// translators: URL
|
349 |
+
wp_kses( __( 'Just a heads up, your PHP version %1$s is outdated and potentially insecure. See what versions are <a href="%2$s">good here</a>. WordPress already has beta support for 8.0 but I would not go with 8.0 just yet.', 'advanced-responsive-video-embedder' ), $link_only ),
|
350 |
esc_html( PHP_VERSION ),
|
351 |
esc_url( 'https://www.php.net/supported-versions' )
|
352 |
);
|
365 |
<div class="ngt-settings-grid">
|
366 |
<div class="ngt-settings-grid__content" >
|
367 |
<?php
|
368 |
+
do_action( $this->slashed_namespace . '/admin/settings/content', $this );
|
369 |
$this->print_paid_section_message();
|
370 |
$this->print_save_section();
|
371 |
$this->print_debug_info_block();
|
375 |
?>
|
376 |
</div>
|
377 |
<div class="ngt-settings-grid__sidebar">
|
378 |
+
<?php
|
379 |
+
do_action( $this->slashed_namespace . '/admin/settings/sidebar', $this );
|
380 |
+
$this->print_outdated_php_msg();
|
381 |
+
?>
|
382 |
</div>
|
383 |
</div>
|
384 |
</div>
|
php/Common/functions-array.php
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Nextgenthemes\ARVE\Common;
|
3 |
+
|
4 |
+
function array_whitelist_keys( array $arr, array $keys ) {
|
5 |
+
|
6 |
+
return array_intersect_key(
|
7 |
+
$arr,
|
8 |
+
array_flip( $keys )
|
9 |
+
);
|
10 |
+
}
|
11 |
+
|
12 |
+
function first_array_value( array $array ) {
|
13 |
+
reset( $array );
|
14 |
+
$key = key( $array );
|
15 |
+
return $array[ $key ];
|
16 |
+
}
|
17 |
+
|
18 |
+
function prefix_array_keys( $keyprefix, array $array ) {
|
19 |
+
|
20 |
+
foreach ( $array as $key => $value ) {
|
21 |
+
$array[ $keyprefix . $key ] = $value;
|
22 |
+
unset( $array[ $key ] );
|
23 |
+
}
|
24 |
+
|
25 |
+
return $array;
|
26 |
+
}
|
27 |
+
|
28 |
+
function get_array_key_by_value( $array, $field, $value ) {
|
29 |
+
|
30 |
+
foreach ( $array as $key => $array_value ) {
|
31 |
+
|
32 |
+
if ( $array_value[ $field ] === $value ) {
|
33 |
+
return $key;
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
return false;
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Inserts a new key/value before the key in the array.
|
42 |
+
*
|
43 |
+
* @param $key
|
44 |
+
* The key to insert before.
|
45 |
+
* @param $array
|
46 |
+
* An array to insert in to.
|
47 |
+
* @param $new_key
|
48 |
+
* The key to insert.
|
49 |
+
* @param $new_value
|
50 |
+
* An value to insert.
|
51 |
+
*
|
52 |
+
* @return
|
53 |
+
* The new array if the key exists, FALSE otherwise.
|
54 |
+
*
|
55 |
+
* @see array_insert_after()
|
56 |
+
*/
|
57 |
+
function array_insert_before($key, array &$array, $new_key, $new_value) {
|
58 |
+
if (array_key_exists($key, $array)) {
|
59 |
+
$new = array();
|
60 |
+
foreach ($array as $k => $value) {
|
61 |
+
if ($k === $key) {
|
62 |
+
$new[ $new_key ] = $new_value;
|
63 |
+
}
|
64 |
+
$new[ $k ] = $value;
|
65 |
+
}
|
66 |
+
return $new;
|
67 |
+
}
|
68 |
+
return false;
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Inserts a new key/value after the key in the array.
|
73 |
+
*
|
74 |
+
* @param $key
|
75 |
+
* The key to insert after.
|
76 |
+
* @param $array
|
77 |
+
* An array to insert in to.
|
78 |
+
* @param $new_key
|
79 |
+
* The key to insert.
|
80 |
+
* @param $new_value
|
81 |
+
* An value to insert.
|
82 |
+
*
|
83 |
+
* @return
|
84 |
+
* The new array if the key exists, FALSE otherwise.
|
85 |
+
*
|
86 |
+
* @see array_insert_before()
|
87 |
+
*/
|
88 |
+
function array_insert_after($key, array &$array, $new_key, $new_value) {
|
89 |
+
if (array_key_exists($key, $array)) {
|
90 |
+
$new = array();
|
91 |
+
foreach ($array as $k => $value) {
|
92 |
+
$new[ $k ] = $value;
|
93 |
+
if ($k === $key) {
|
94 |
+
$new[ $new_key ] = $new_value;
|
95 |
+
}
|
96 |
+
}
|
97 |
+
return $new;
|
98 |
+
}
|
99 |
+
return false;
|
100 |
+
}
|
php/Common/functions-attr.php
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace Nextgenthemes\ARVE\Common;
|
3 |
-
|
4 |
-
function attr( array $attr = [] ) {
|
5 |
-
|
6 |
-
$html = '';
|
7 |
-
|
8 |
-
foreach ( $attr as $key => $value ) {
|
9 |
-
|
10 |
-
if ( false === $value || null === $value ) {
|
11 |
-
|
12 |
-
continue;
|
13 |
-
|
14 |
-
} elseif ( '' === $value || true === $value ) {
|
15 |
-
|
16 |
-
$html .= sprintf( ' %s', esc_html( $key ) );
|
17 |
-
|
18 |
-
} elseif ( is_array( $value ) || is_object( $value ) ) {
|
19 |
-
|
20 |
-
$html .= sprintf( " %s='%s'", esc_html( $key ), wp_json_encode( $value ) );
|
21 |
-
|
22 |
-
} elseif ( in_array( $key, [ 'href', 'data-href', 'src', 'data-src' ], true ) ) {
|
23 |
-
|
24 |
-
$html .= sprintf( ' %s="%s"', esc_html( $key ), esc_url( $value ) );
|
25 |
-
|
26 |
-
} else {
|
27 |
-
|
28 |
-
$html .= sprintf( ' %s="%s"', esc_html( $key ), esc_attr( $value ) );
|
29 |
-
}
|
30 |
-
}
|
31 |
-
|
32 |
-
return $html;
|
33 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
php/Common/functions-license.php
CHANGED
@@ -12,7 +12,7 @@ function check_product_keys() {
|
|
12 |
if ( $value['active'] && ! $value['valid_key'] ) {
|
13 |
$msg = sprintf(
|
14 |
// Translators: URL, Product name
|
15 |
-
|
16 |
esc_url( 'https://nextgenthemes.com/plugins/arve/documentation/installing-and-license-management/' ),
|
17 |
$value['name']
|
18 |
);
|
@@ -49,6 +49,24 @@ function activate_product_key( $product, $key ) {
|
|
49 |
update_option( 'nextgenthemes', $options );
|
50 |
}
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
function api_action( $item_id, $key, $action = 'check' ) {
|
53 |
|
54 |
if ( ! in_array( $action, [ 'activate', 'deactivate', 'check' ], true ) ) {
|
@@ -138,13 +156,6 @@ function get_api_error_message( $license_data ) {
|
|
138 |
}//end switch
|
139 |
}
|
140 |
|
141 |
-
function dump( $var ) {
|
142 |
-
ob_start();
|
143 |
-
// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_dump
|
144 |
-
var_dump( $var );
|
145 |
-
return ob_get_clean();
|
146 |
-
}
|
147 |
-
|
148 |
function textarea_dump( $var ) {
|
149 |
-
return sprintf( '<textarea style="width: 100%; height: 70vh;">%s</textarea>', esc_textarea(
|
150 |
}
|
12 |
if ( $value['active'] && ! $value['valid_key'] ) {
|
13 |
$msg = sprintf(
|
14 |
// Translators: URL, Product name
|
15 |
+
__( '<a href="%1$s">%2$s</a> license not activated or valid', 'advanced-responsive-video-embedder' ),
|
16 |
esc_url( 'https://nextgenthemes.com/plugins/arve/documentation/installing-and-license-management/' ),
|
17 |
$value['name']
|
18 |
);
|
49 |
update_option( 'nextgenthemes', $options );
|
50 |
}
|
51 |
|
52 |
+
function activate_defined_key( $file, $theme_name = '' ) {
|
53 |
+
|
54 |
+
if ( 'functions.php' === $file ) {
|
55 |
+
return;
|
56 |
+
}
|
57 |
+
|
58 |
+
$path_parts = pathinfo($file);
|
59 |
+
$path_parts['filename'];
|
60 |
+
|
61 |
+
$product = str_replace('-', '_', $path_parts['filename'] );
|
62 |
+
$key_name = strtoupper($product . '_KEY');
|
63 |
+
$key = defined($key_name) ? constant($key_name) : false;
|
64 |
+
|
65 |
+
if ( $key ) {
|
66 |
+
activate_product_key( $product, $key );
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
function api_action( $item_id, $key, $action = 'check' ) {
|
71 |
|
72 |
if ( ! in_array( $action, [ 'activate', 'deactivate', 'check' ], true ) ) {
|
156 |
}//end switch
|
157 |
}
|
158 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
function textarea_dump( $var ) {
|
160 |
+
return sprintf( '<textarea style="width: 100%; height: 70vh;">%s</textarea>', esc_textarea( get_var_dump( $var ) ) );
|
161 |
}
|
php/Common/functions-misc.php
CHANGED
@@ -1,20 +1,35 @@
|
|
1 |
<?php
|
2 |
namespace Nextgenthemes\ARVE\Common;
|
3 |
|
4 |
-
function
|
5 |
-
|
6 |
-
$
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
-
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
16 |
|
17 |
-
return $
|
18 |
}
|
19 |
|
20 |
function get_url_arg( $url, $arg ) {
|
@@ -47,77 +62,3 @@ function get_constant( $const_name ) {
|
|
47 |
function is_wp_debug() {
|
48 |
return get_constant( 'WP_DEBUG' );
|
49 |
}
|
50 |
-
|
51 |
-
function get_array_key_by_value( $array, $field, $value ) {
|
52 |
-
|
53 |
-
foreach ( $array as $key => $array_value ) {
|
54 |
-
|
55 |
-
if ( $array_value[ $field ] === $value ) {
|
56 |
-
return $key;
|
57 |
-
}
|
58 |
-
}
|
59 |
-
|
60 |
-
return false;
|
61 |
-
}
|
62 |
-
|
63 |
-
/**
|
64 |
-
* Inserts a new key/value before the key in the array.
|
65 |
-
*
|
66 |
-
* @param $key
|
67 |
-
* The key to insert before.
|
68 |
-
* @param $array
|
69 |
-
* An array to insert in to.
|
70 |
-
* @param $new_key
|
71 |
-
* The key to insert.
|
72 |
-
* @param $new_value
|
73 |
-
* An value to insert.
|
74 |
-
*
|
75 |
-
* @return
|
76 |
-
* The new array if the key exists, FALSE otherwise.
|
77 |
-
*
|
78 |
-
* @see array_insert_after()
|
79 |
-
*/
|
80 |
-
function array_insert_before($key, array &$array, $new_key, $new_value) {
|
81 |
-
if (array_key_exists($key, $array)) {
|
82 |
-
$new = array();
|
83 |
-
foreach ($array as $k => $value) {
|
84 |
-
if ($k === $key) {
|
85 |
-
$new[ $new_key ] = $new_value;
|
86 |
-
}
|
87 |
-
$new[ $k ] = $value;
|
88 |
-
}
|
89 |
-
return $new;
|
90 |
-
}
|
91 |
-
return false;
|
92 |
-
}
|
93 |
-
|
94 |
-
/**
|
95 |
-
* Inserts a new key/value after the key in the array.
|
96 |
-
*
|
97 |
-
* @param $key
|
98 |
-
* The key to insert after.
|
99 |
-
* @param $array
|
100 |
-
* An array to insert in to.
|
101 |
-
* @param $new_key
|
102 |
-
* The key to insert.
|
103 |
-
* @param $new_value
|
104 |
-
* An value to insert.
|
105 |
-
*
|
106 |
-
* @return
|
107 |
-
* The new array if the key exists, FALSE otherwise.
|
108 |
-
*
|
109 |
-
* @see array_insert_before()
|
110 |
-
*/
|
111 |
-
function array_insert_after($key, array &$array, $new_key, $new_value) {
|
112 |
-
if (array_key_exists($key, $array)) {
|
113 |
-
$new = array();
|
114 |
-
foreach ($array as $k => $value) {
|
115 |
-
$new[ $k ] = $value;
|
116 |
-
if ($k === $key) {
|
117 |
-
$new[ $new_key ] = $new_value;
|
118 |
-
}
|
119 |
-
}
|
120 |
-
return $new;
|
121 |
-
}
|
122 |
-
return false;
|
123 |
-
}
|
1 |
<?php
|
2 |
namespace Nextgenthemes\ARVE\Common;
|
3 |
|
4 |
+
function attr( array $attr = [] ) {
|
5 |
+
|
6 |
+
$html = '';
|
7 |
+
|
8 |
+
foreach ( $attr as $key => $value ) {
|
9 |
+
|
10 |
+
if ( false === $value || null === $value ) {
|
11 |
+
|
12 |
+
continue;
|
13 |
+
|
14 |
+
} elseif ( '' === $value || true === $value ) {
|
15 |
+
|
16 |
+
$html .= sprintf( ' %s', esc_html( $key ) );
|
17 |
+
|
18 |
+
} elseif ( is_array( $value ) || is_object( $value ) ) {
|
19 |
|
20 |
+
$html .= sprintf( " %s='%s'", esc_html( $key ), wp_json_encode( $value ) );
|
21 |
|
22 |
+
} elseif ( in_array( $key, [ 'href', 'data-href', 'src', 'data-src' ], true ) ) {
|
23 |
+
|
24 |
+
$html .= sprintf( ' %s="%s"', esc_html( $key ), esc_url( $value ) );
|
25 |
+
|
26 |
+
} else {
|
27 |
+
|
28 |
+
$html .= sprintf( ' %s="%s"', esc_html( $key ), esc_attr( $value ) );
|
29 |
+
}
|
30 |
}
|
31 |
|
32 |
+
return $html;
|
33 |
}
|
34 |
|
35 |
function get_url_arg( $url, $arg ) {
|
62 |
function is_wp_debug() {
|
63 |
return get_constant( 'WP_DEBUG' );
|
64 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
php/Common/functions-settings.php
CHANGED
@@ -26,7 +26,7 @@ function nextgenthemes_settings_instance() {
|
|
26 |
}
|
27 |
|
28 |
function ngt_options() {
|
29 |
-
$o = nextgenthemes_settings_instance()->
|
30 |
return apply_filters( 'nextgenthemes/settings', $o );
|
31 |
}
|
32 |
|
@@ -149,7 +149,7 @@ function get_products() {
|
|
149 |
'arve_sticky_videos' => [
|
150 |
'namespace' => 'ARVE\StickyVideos',
|
151 |
'name' => 'ARVE Sticky Videos',
|
152 |
-
'id' =>
|
153 |
'type' => 'plugin',
|
154 |
'author' => 'Nicolas Jonas',
|
155 |
'url' => 'https://nextgenthemes.com/plugins/arve-sticky-videos/',
|
26 |
}
|
27 |
|
28 |
function ngt_options() {
|
29 |
+
$o = nextgenthemes_settings_instance()->get_options();
|
30 |
return apply_filters( 'nextgenthemes/settings', $o );
|
31 |
}
|
32 |
|
149 |
'arve_sticky_videos' => [
|
150 |
'namespace' => 'ARVE\StickyVideos',
|
151 |
'name' => 'ARVE Sticky Videos',
|
152 |
+
'id' => 42602,
|
153 |
'type' => 'plugin',
|
154 |
'author' => 'Nicolas Jonas',
|
155 |
'url' => 'https://nextgenthemes.com/plugins/arve-sticky-videos/',
|
php/Common/functions-string.php
CHANGED
@@ -43,20 +43,3 @@ function dashes_to_camel_case( $string, $capitalize_first_character = false ) {
|
|
43 |
|
44 |
return $str;
|
45 |
}
|
46 |
-
|
47 |
-
function kses_basic( $html_with_a ) {
|
48 |
-
return wp_kses(
|
49 |
-
$html_with_a,
|
50 |
-
[
|
51 |
-
'a' => [
|
52 |
-
'href' => [],
|
53 |
-
'target' => [],
|
54 |
-
'title' => [],
|
55 |
-
],
|
56 |
-
'br' => [],
|
57 |
-
'em' => [],
|
58 |
-
'strong' => [],
|
59 |
-
'code' => [],
|
60 |
-
]
|
61 |
-
);
|
62 |
-
}
|
43 |
|
44 |
return $str;
|
45 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
php/Common/init.php
CHANGED
@@ -7,13 +7,14 @@ const VERSION = '1.0.0';
|
|
7 |
require_once __DIR__ . '/functions-compat.php';
|
8 |
require_once __DIR__ . '/functions-deprecated.php';
|
9 |
// ------------------------------------------------
|
|
|
|
|
|
|
|
|
10 |
require_once __DIR__ . '/Settings.php';
|
11 |
require_once __DIR__ . '/functions-settings.php';
|
12 |
require_once __DIR__ . '/functions-license.php';
|
13 |
-
require_once __DIR__ . '/functions-misc.php';
|
14 |
require_once __DIR__ . '/functions-assets.php';
|
15 |
-
require_once __DIR__ . '/functions-attr.php';
|
16 |
-
require_once __DIR__ . '/functions-string.php';
|
17 |
require_once __DIR__ . '/functions-remote-get.php';
|
18 |
require_once __DIR__ . '/Admin/EDD/PluginUpdater.php';
|
19 |
require_once __DIR__ . '/Admin/EDD/ThemeUpdater.php';
|
7 |
require_once __DIR__ . '/functions-compat.php';
|
8 |
require_once __DIR__ . '/functions-deprecated.php';
|
9 |
// ------------------------------------------------
|
10 |
+
require_once __DIR__ . '/functions-array.php';
|
11 |
+
require_once __DIR__ . '/functions-string.php';
|
12 |
+
require_once __DIR__ . '/functions-misc.php';
|
13 |
+
// ------------------------------------------------
|
14 |
require_once __DIR__ . '/Settings.php';
|
15 |
require_once __DIR__ . '/functions-settings.php';
|
16 |
require_once __DIR__ . '/functions-license.php';
|
|
|
17 |
require_once __DIR__ . '/functions-assets.php';
|
|
|
|
|
18 |
require_once __DIR__ . '/functions-remote-get.php';
|
19 |
require_once __DIR__ . '/Admin/EDD/PluginUpdater.php';
|
20 |
require_once __DIR__ . '/Admin/EDD/ThemeUpdater.php';
|
php/ShortcodeArgs.php
CHANGED
@@ -5,7 +5,7 @@ class ShortcodeArgs {
|
|
5 |
|
6 |
private $errors;
|
7 |
|
8 |
-
public function __construct( $error_instance ) {
|
9 |
$this->errors = $error_instance;
|
10 |
}
|
11 |
|
5 |
|
6 |
private $errors;
|
7 |
|
8 |
+
public function __construct( \WP_Error $error_instance ) {
|
9 |
$this->errors = $error_instance;
|
10 |
}
|
11 |
|
php/functions-html-output.php
CHANGED
@@ -143,7 +143,7 @@ function build_tracks_html( array $a ) {
|
|
143 |
|
144 |
function html_id( $html_attr ) {
|
145 |
|
146 |
-
if (
|
147 |
$html_attr .= ' id="html"';
|
148 |
}
|
149 |
|
@@ -165,12 +165,12 @@ function get_debug_info( $input_html, array $a, array $input_atts ) {
|
|
165 |
$show_options_debug = false;
|
166 |
}
|
167 |
|
168 |
-
$pre_style =
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
|
175 |
if ( ! empty( $_GET['arve-debug-attr'] ) ) {
|
176 |
$debug_attr = sanitize_text_field( wp_unslash( $_GET['arve-debug-attr'] ) );
|
143 |
|
144 |
function html_id( $html_attr ) {
|
145 |
|
146 |
+
if ( ! str_contains( $html_attr, 'id=' ) ) {
|
147 |
$html_attr .= ' id="html"';
|
148 |
}
|
149 |
|
165 |
$show_options_debug = false;
|
166 |
}
|
167 |
|
168 |
+
$pre_style =
|
169 |
+
'background-color: #111;' .
|
170 |
+
'color: #eee;' .
|
171 |
+
'font-size: 15px;' .
|
172 |
+
'white-space: pre-wrap;' .
|
173 |
+
'word-wrap: break-word;';
|
174 |
|
175 |
if ( ! empty( $_GET['arve-debug-attr'] ) ) {
|
176 |
$debug_attr = sanitize_text_field( wp_unslash( $_GET['arve-debug-attr'] ) );
|
php/functions-settings.php
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
<?php
|
2 |
namespace Nextgenthemes\ARVE;
|
3 |
|
4 |
-
use function \Nextgenthemes\ARVE\Common\kses_basic;
|
5 |
-
|
6 |
function options() {
|
7 |
$i = settings_instance();
|
8 |
return $i->get_options();
|
@@ -279,10 +277,10 @@ function all_settings() {
|
|
279 |
'option' => false,
|
280 |
'label' => __( 'Video URL / iframe Embed Code', 'advanced-responsive-video-embedder' ),
|
281 |
'type' => 'string',
|
282 |
-
'placeholder' =>
|
283 |
'description' => sprintf(
|
284 |
// Translators: %1$s Providers
|
285 |
-
|
286 |
esc_html( $embed_code_only ),
|
287 |
esc_url( $provider_list_link )
|
288 |
),
|
@@ -296,7 +294,7 @@ function all_settings() {
|
|
296 |
'type' => 'string',
|
297 |
'description' => sprintf(
|
298 |
// Translators: Provider list
|
299 |
-
|
300 |
esc_url( $pro_addon_link ),
|
301 |
esc_html( $auto_title )
|
302 |
),
|
@@ -308,11 +306,10 @@ function all_settings() {
|
|
308 |
'option' => false,
|
309 |
'label' => __( 'Description', 'advanced-responsive-video-embedder' ),
|
310 |
'type' => 'string',
|
311 |
-
'placeholder' => __( '
|
312 |
-
|
313 |
'description' => sprintf(
|
314 |
// translators: URL
|
315 |
-
|
316 |
esc_url( $pro_addon_link )
|
317 |
),
|
318 |
'descriptionlink' => esc_url( $pro_addon_link ),
|
@@ -326,7 +323,7 @@ function all_settings() {
|
|
326 |
'placeholder' => __( '2019-09-29 (ARVE Pro fills this with post date)', 'advanced-responsive-video-embedder' ),
|
327 |
'description' => sprintf(
|
328 |
// translators: URL
|
329 |
-
|
330 |
esc_url( $pro_addon_link )
|
331 |
),
|
332 |
'descriptionlink' => esc_url( $pro_addon_link ),
|
@@ -342,11 +339,11 @@ function all_settings() {
|
|
342 |
'normal' => __( 'Normal', 'advanced-responsive-video-embedder' ),
|
343 |
'lazyload' => __( 'Lazyload', 'advanced-responsive-video-embedder' ),
|
344 |
'lightbox' => __( 'Lightbox', 'advanced-responsive-video-embedder' ),
|
345 |
-
'link-lightbox' => __( 'Link
|
346 |
],
|
347 |
'description' => sprintf(
|
348 |
// translators: URL
|
349 |
-
|
350 |
'https://nextgenthemes.com/plugins/arve-pro/'
|
351 |
),
|
352 |
'descriptionlink' => esc_url( $pro_addon_link ),
|
@@ -359,7 +356,6 @@ function all_settings() {
|
|
359 |
'shortcode' => false,
|
360 |
'label' => __( 'Thumbnail Fallback', 'advanced-responsive-video-embedder' ),
|
361 |
'type' => 'string',
|
362 |
-
'placeholder' => __( 'URL or media gallery image ID used for thumbnail', 'advanced-responsive-video-embedder' ),
|
363 |
'description' => __( 'URL or media gallery image ID used for thumbnail', 'advanced-responsive-video-embedder' ),
|
364 |
],
|
365 |
'thumbnail_post_image_fallback' => [
|
@@ -378,10 +374,10 @@ function all_settings() {
|
|
378 |
'libraryType' => [ 'image' ],
|
379 |
'addButton' => __( 'Select Image', 'advanced-responsive-video-embedder' ),
|
380 |
'frameTitle' => __( 'Select Image', 'advanced-responsive-video-embedder' ),
|
381 |
-
'placeholder' => __( '
|
382 |
'description' => sprintf(
|
383 |
// Translators: 1 Link, 2 Provider list
|
384 |
-
|
385 |
esc_url( $pro_addon_link ),
|
386 |
esc_html( $auto_thumbs )
|
387 |
),
|
@@ -524,7 +520,6 @@ function all_settings() {
|
|
524 |
'default' => 1174,
|
525 |
'label' => __( 'Lightbox Maximal Width', 'advanced-responsive-video-embedder' ),
|
526 |
'type' => 'integer',
|
527 |
-
'placeholder' => __( 'Leave empty for default from settings page', 'advanced-responsive-video-embedder' ),
|
528 |
'description' => __( 'default 1174', 'advanced-responsive-video-embedder' ),
|
529 |
],
|
530 |
'sticky_width' => [
|
@@ -533,15 +528,15 @@ function all_settings() {
|
|
533 |
'shortcode' => false,
|
534 |
'label' => __( 'Sticky Video Width', 'advanced-responsive-video-embedder' ),
|
535 |
'type' => 'string',
|
536 |
-
'description' =>
|
537 |
],
|
538 |
'sticky_gap' => [
|
539 |
'tag' => 'sticky-videos',
|
540 |
-
'default' => '
|
541 |
'shortcode' => false,
|
542 |
'label' => __( 'Sticky Video Corner Gap', 'advanced-responsive-video-embedder' ),
|
543 |
'type' => 'string',
|
544 |
-
'description' =>
|
545 |
],
|
546 |
'sticky_close_btn_pos_x' => [
|
547 |
'tag' => 'sticky-videos',
|
@@ -549,7 +544,7 @@ function all_settings() {
|
|
549 |
'shortcode' => false,
|
550 |
'label' => __( 'Close Button Position X', 'advanced-responsive-video-embedder' ),
|
551 |
'type' => 'string',
|
552 |
-
'description' =>
|
553 |
],
|
554 |
'sticky_close_btn_pos_y' => [
|
555 |
'tag' => 'sticky-videos',
|
@@ -557,7 +552,7 @@ function all_settings() {
|
|
557 |
'shortcode' => false,
|
558 |
'label' => __( 'Close Button Position X', 'advanced-responsive-video-embedder' ),
|
559 |
'type' => 'string',
|
560 |
-
'description' =>
|
561 |
],
|
562 |
'sticky_pos' => [
|
563 |
'tag' => 'sticky-videos',
|
@@ -570,21 +565,21 @@ function all_settings() {
|
|
570 |
'bottom-left' => __( 'Bottom left', 'advanced-responsive-video-embedder' ),
|
571 |
'bottom-right' => __( 'Bottom right', 'advanced-responsive-video-embedder' ),
|
572 |
],
|
573 |
-
'description' =>
|
574 |
],
|
575 |
'align_maxwidth' => [
|
576 |
'default' => 400,
|
577 |
'shortcode' => false,
|
578 |
'label' => __( 'Align Maximal Width', 'advanced-responsive-video-embedder' ),
|
579 |
'type' => 'integer',
|
580 |
-
'description' =>
|
581 |
],
|
582 |
'aspect_ratio' => [
|
583 |
'default' => null,
|
584 |
'option' => false,
|
585 |
'label' => __( 'Aspect Ratio', 'advanced-responsive-video-embedder' ),
|
586 |
'type' => 'string',
|
587 |
-
'description' => __( 'E.g. 4:3, 21:9.
|
588 |
'placeholder' => __( '4:3, 21:9 ...', 'advanced-responsive-video-embedder' ),
|
589 |
],
|
590 |
'parameters' => [
|
@@ -595,7 +590,8 @@ function all_settings() {
|
|
595 |
'type' => 'string',
|
596 |
'placeholder' => __( 'example=1&foo=bar', 'advanced-responsive-video-embedder' ),
|
597 |
'description' => sprintf(
|
598 |
-
|
|
|
599 |
esc_url( 'https://nextgenthemes.com/plugins/arve/documentation/#parematers' )
|
600 |
),
|
601 |
],
|
@@ -612,7 +608,6 @@ function all_settings() {
|
|
612 |
'default' => '',
|
613 |
'label' => __( 'Chrome HTML5 Player controls', 'advanced-responsive-video-embedder' ),
|
614 |
'type' => 'string',
|
615 |
-
'placeholder' => 'nodownload nofullscreen noremoteplayback',
|
616 |
'description' => __( 'controlsList attribute on <video> for example use <code>nodownload nofullscreen noremoteplayback</code> to hide the download and the fullscreen button on the chrome HTML5 video player and disable remote playback.', 'advanced-responsive-video-embedder' ),
|
617 |
],
|
618 |
'controls' => [
|
@@ -646,7 +641,6 @@ function all_settings() {
|
|
646 |
'default' => 100,
|
647 |
'shortcode' => true,
|
648 |
'label' => __( 'Volume?', 'advanced-responsive-video-embedder' ),
|
649 |
-
'placeholder' => '100',
|
650 |
'type' => 'integer',
|
651 |
'description' => __( 'Works with video files only.', 'advanced-responsive-video-embedder' ),
|
652 |
],
|
@@ -672,7 +666,7 @@ function all_settings() {
|
|
672 |
'type' => 'string',
|
673 |
'description' => sprintf(
|
674 |
// Translators: URL
|
675 |
-
|
676 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
677 |
),
|
678 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
@@ -686,7 +680,7 @@ function all_settings() {
|
|
686 |
'type' => 'string',
|
687 |
'description' => sprintf(
|
688 |
// Translators: URL
|
689 |
-
|
690 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
691 |
),
|
692 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
@@ -700,7 +694,7 @@ function all_settings() {
|
|
700 |
'type' => 'string',
|
701 |
'description' => sprintf(
|
702 |
// Translators: URL
|
703 |
-
|
704 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
705 |
),
|
706 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
@@ -715,7 +709,7 @@ function all_settings() {
|
|
715 |
'type' => 'string',
|
716 |
'description' => sprintf(
|
717 |
// Translators: URL
|
718 |
-
|
719 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
720 |
),
|
721 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
@@ -730,7 +724,7 @@ function all_settings() {
|
|
730 |
'type' => 'string',
|
731 |
'description' => sprintf(
|
732 |
// Translators: URL
|
733 |
-
|
734 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
735 |
),
|
736 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
@@ -845,6 +839,12 @@ function missing_settings_defaults( $settings ) {
|
|
845 |
$settings[ $key ]['tag'] = 'main';
|
846 |
}
|
847 |
|
|
|
|
|
|
|
|
|
|
|
|
|
848 |
if ( empty( $settings[ $key ]['sanitze_callback'] ) ) {
|
849 |
|
850 |
switch ( $value['type'] ) {
|
1 |
<?php
|
2 |
namespace Nextgenthemes\ARVE;
|
3 |
|
|
|
|
|
4 |
function options() {
|
5 |
$i = settings_instance();
|
6 |
return $i->get_options();
|
277 |
'option' => false,
|
278 |
'label' => __( 'Video URL / iframe Embed Code', 'advanced-responsive-video-embedder' ),
|
279 |
'type' => 'string',
|
280 |
+
'placeholder' => __( 'http://...', 'advanced-responsive-video-embedder' ),
|
281 |
'description' => sprintf(
|
282 |
// Translators: %1$s Providers
|
283 |
+
__( 'Post the URL of the video here. For %1$s and any <a href="%2$s">unlisted</a> video hosts paste their iframe embed codes.', 'advanced-responsive-video-embedder' ),
|
284 |
esc_html( $embed_code_only ),
|
285 |
esc_url( $provider_list_link )
|
286 |
),
|
294 |
'type' => 'string',
|
295 |
'description' => sprintf(
|
296 |
// Translators: Provider list
|
297 |
+
__( 'Used for SEO, is visible on top of thumbnails in Lazyload/Lightbox modes, is used as link text in link-lightbox mode. <a href="%1$s">ARVE Pro</a> is able to get them from %2$s automatically.', 'advanced-responsive-video-embedder' ),
|
298 |
esc_url( $pro_addon_link ),
|
299 |
esc_html( $auto_title )
|
300 |
),
|
306 |
'option' => false,
|
307 |
'label' => __( 'Description', 'advanced-responsive-video-embedder' ),
|
308 |
'type' => 'string',
|
309 |
+
'placeholder' => __( 'Description Text', 'advanced-responsive-video-embedder' ),
|
|
|
310 |
'description' => sprintf(
|
311 |
// translators: URL
|
312 |
+
__( 'Needed for SEO <a href="%s">ARVE Pro</a> fills this automatically', 'advanced-responsive-video-embedder' ),
|
313 |
esc_url( $pro_addon_link )
|
314 |
),
|
315 |
'descriptionlink' => esc_url( $pro_addon_link ),
|
323 |
'placeholder' => __( '2019-09-29 (ARVE Pro fills this with post date)', 'advanced-responsive-video-embedder' ),
|
324 |
'description' => sprintf(
|
325 |
// translators: URL
|
326 |
+
__( '<a href="%s">ARVE Pro</a> fills this automatically', 'advanced-responsive-video-embedder' ),
|
327 |
esc_url( $pro_addon_link )
|
328 |
),
|
329 |
'descriptionlink' => esc_url( $pro_addon_link ),
|
339 |
'normal' => __( 'Normal', 'advanced-responsive-video-embedder' ),
|
340 |
'lazyload' => __( 'Lazyload', 'advanced-responsive-video-embedder' ),
|
341 |
'lightbox' => __( 'Lightbox', 'advanced-responsive-video-embedder' ),
|
342 |
+
'link-lightbox' => __( 'Link opens Lightbox', 'advanced-responsive-video-embedder' ),
|
343 |
],
|
344 |
'description' => sprintf(
|
345 |
// translators: URL
|
346 |
+
__( 'For Lazyload, Lightbox and Link mode check out <a href="%s">ARVE Pro</a>. Only use normal when Pro is not installed!', 'advanced-responsive-video-embedder' ),
|
347 |
'https://nextgenthemes.com/plugins/arve-pro/'
|
348 |
),
|
349 |
'descriptionlink' => esc_url( $pro_addon_link ),
|
356 |
'shortcode' => false,
|
357 |
'label' => __( 'Thumbnail Fallback', 'advanced-responsive-video-embedder' ),
|
358 |
'type' => 'string',
|
|
|
359 |
'description' => __( 'URL or media gallery image ID used for thumbnail', 'advanced-responsive-video-embedder' ),
|
360 |
],
|
361 |
'thumbnail_post_image_fallback' => [
|
374 |
'libraryType' => [ 'image' ],
|
375 |
'addButton' => __( 'Select Image', 'advanced-responsive-video-embedder' ),
|
376 |
'frameTitle' => __( 'Select Image', 'advanced-responsive-video-embedder' ),
|
377 |
+
'placeholder' => __( 'Image URL or media library image ID', 'advanced-responsive-video-embedder' ),
|
378 |
'description' => sprintf(
|
379 |
// Translators: 1 Link, 2 Provider list
|
380 |
+
__( 'Media library image ID (Select above in Gutenberg) or image URL for preview image for Lazyload modes, always used for SEO. <a href="%1$s">ARVE Pro</a> is able to get them from %2$s automatically.', 'advanced-responsive-video-embedder' ),
|
381 |
esc_url( $pro_addon_link ),
|
382 |
esc_html( $auto_thumbs )
|
383 |
),
|
520 |
'default' => 1174,
|
521 |
'label' => __( 'Lightbox Maximal Width', 'advanced-responsive-video-embedder' ),
|
522 |
'type' => 'integer',
|
|
|
523 |
'description' => __( 'default 1174', 'advanced-responsive-video-embedder' ),
|
524 |
],
|
525 |
'sticky_width' => [
|
528 |
'shortcode' => false,
|
529 |
'label' => __( 'Sticky Video Width', 'advanced-responsive-video-embedder' ),
|
530 |
'type' => 'string',
|
531 |
+
'description' => __( 'CSS value (px, vw, ...) 350px is default.', 'advanced-responsive-video-embedder' ),
|
532 |
],
|
533 |
'sticky_gap' => [
|
534 |
'tag' => 'sticky-videos',
|
535 |
+
'default' => '0px',
|
536 |
'shortcode' => false,
|
537 |
'label' => __( 'Sticky Video Corner Gap', 'advanced-responsive-video-embedder' ),
|
538 |
'type' => 'string',
|
539 |
+
'description' => __( 'CSS value (px, vw, ...).', 'advanced-responsive-video-embedder' ),
|
540 |
],
|
541 |
'sticky_close_btn_pos_x' => [
|
542 |
'tag' => 'sticky-videos',
|
544 |
'shortcode' => false,
|
545 |
'label' => __( 'Close Button Position X', 'advanced-responsive-video-embedder' ),
|
546 |
'type' => 'string',
|
547 |
+
'description' => __( 'The base poition is always in the corner pointing to the middle of the screem, nagative values will position the button outside of video.', 'advanced-responsive-video-embedder' ),
|
548 |
],
|
549 |
'sticky_close_btn_pos_y' => [
|
550 |
'tag' => 'sticky-videos',
|
552 |
'shortcode' => false,
|
553 |
'label' => __( 'Close Button Position X', 'advanced-responsive-video-embedder' ),
|
554 |
'type' => 'string',
|
555 |
+
'description' => __( 'The base poition is always in the corner pointing to the middle of the screem, nagative values will position the button outside of video.', 'advanced-responsive-video-embedder' ),
|
556 |
],
|
557 |
'sticky_pos' => [
|
558 |
'tag' => 'sticky-videos',
|
565 |
'bottom-left' => __( 'Bottom left', 'advanced-responsive-video-embedder' ),
|
566 |
'bottom-right' => __( 'Bottom right', 'advanced-responsive-video-embedder' ),
|
567 |
],
|
568 |
+
'description' => __( 'Corner the video gets pinned to on bigger screens.', 'advanced-responsive-video-embedder' ),
|
569 |
],
|
570 |
'align_maxwidth' => [
|
571 |
'default' => 400,
|
572 |
'shortcode' => false,
|
573 |
'label' => __( 'Align Maximal Width', 'advanced-responsive-video-embedder' ),
|
574 |
'type' => 'integer',
|
575 |
+
'description' => __( 'In px, Needed! Must be 100+ to work.', 'advanced-responsive-video-embedder' ),
|
576 |
],
|
577 |
'aspect_ratio' => [
|
578 |
'default' => null,
|
579 |
'option' => false,
|
580 |
'label' => __( 'Aspect Ratio', 'advanced-responsive-video-embedder' ),
|
581 |
'type' => 'string',
|
582 |
+
'description' => __( 'E.g. 4:3, 21:9. ARVE is usually smart enough to figure this out on its own.', 'advanced-responsive-video-embedder' ),
|
583 |
'placeholder' => __( '4:3, 21:9 ...', 'advanced-responsive-video-embedder' ),
|
584 |
],
|
585 |
'parameters' => [
|
590 |
'type' => 'string',
|
591 |
'placeholder' => __( 'example=1&foo=bar', 'advanced-responsive-video-embedder' ),
|
592 |
'description' => sprintf(
|
593 |
+
// Translators: URL
|
594 |
+
__( 'Provider specific player settings on iframe src. See <a href="%s">documentation.</a>', 'advanced-responsive-video-embedder' ),
|
595 |
esc_url( 'https://nextgenthemes.com/plugins/arve/documentation/#parematers' )
|
596 |
),
|
597 |
],
|
608 |
'default' => '',
|
609 |
'label' => __( 'Chrome HTML5 Player controls', 'advanced-responsive-video-embedder' ),
|
610 |
'type' => 'string',
|
|
|
611 |
'description' => __( 'controlsList attribute on <video> for example use <code>nodownload nofullscreen noremoteplayback</code> to hide the download and the fullscreen button on the chrome HTML5 video player and disable remote playback.', 'advanced-responsive-video-embedder' ),
|
612 |
],
|
613 |
'controls' => [
|
641 |
'default' => 100,
|
642 |
'shortcode' => true,
|
643 |
'label' => __( 'Volume?', 'advanced-responsive-video-embedder' ),
|
|
|
644 |
'type' => 'integer',
|
645 |
'description' => __( 'Works with video files only.', 'advanced-responsive-video-embedder' ),
|
646 |
],
|
666 |
'type' => 'string',
|
667 |
'description' => sprintf(
|
668 |
// Translators: URL
|
669 |
+
__( 'Needed for <a href="%s">Random Video Addon</a>.', 'advanced-responsive-video-embedder' ),
|
670 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
671 |
),
|
672 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
680 |
'type' => 'string',
|
681 |
'description' => sprintf(
|
682 |
// Translators: URL
|
683 |
+
__( 'Needed for <a href="%s">Random Video Addon</a>.', 'advanced-responsive-video-embedder' ),
|
684 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
685 |
),
|
686 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
694 |
'type' => 'string',
|
695 |
'description' => sprintf(
|
696 |
// Translators: URL
|
697 |
+
__( 'Needed for <a href="%s">Random Video Addon</a>.', 'advanced-responsive-video-embedder' ),
|
698 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
699 |
),
|
700 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
709 |
'type' => 'string',
|
710 |
'description' => sprintf(
|
711 |
// Translators: URL
|
712 |
+
__( 'Youtube Playlist or Vimeo showcase URL<a href="%s">(Random Video Addon)</a>.', 'advanced-responsive-video-embedder' ),
|
713 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
714 |
),
|
715 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
724 |
'type' => 'string',
|
725 |
'description' => sprintf(
|
726 |
// Translators: URL
|
727 |
+
__( 'Video URLs seperated by commas. <a href="%s">(Random Video Addon)</a>.', 'advanced-responsive-video-embedder' ),
|
728 |
esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' )
|
729 |
),
|
730 |
'descriptionlink' => esc_url( 'https://nextgenthemes.com/plugins/arve-random-video/' ),
|
839 |
$settings[ $key ]['tag'] = 'main';
|
840 |
}
|
841 |
|
842 |
+
if ( 'string' === $value['type'] &&
|
843 |
+
! isset($settings[ $key ]['placeholder'])
|
844 |
+
) {
|
845 |
+
$settings[ $key ]['placeholder'] = $value['default'];
|
846 |
+
}
|
847 |
+
|
848 |
if ( empty( $settings[ $key ]['sanitze_callback'] ) ) {
|
849 |
|
850 |
switch ( $value['type'] ) {
|
php/functions-shortcode-data.php
CHANGED
@@ -14,7 +14,6 @@ function url_query_array( $url ) {
|
|
14 |
return $url_params;
|
15 |
}
|
16 |
|
17 |
-
// phpcs:ignore
|
18 |
function get_language_name_from_code( $lang_code ) {
|
19 |
// This list is based on languages available from localize.drupal.org. See
|
20 |
// http://localize.drupal.org/issues for information on how to add languages
|
@@ -123,4 +122,3 @@ function get_language_name_from_code( $lang_code ) {
|
|
123 |
|
124 |
return $lang[ $lang_code ][1];
|
125 |
}
|
126 |
-
// phpcs:enable
|
14 |
return $url_params;
|
15 |
}
|
16 |
|
|
|
17 |
function get_language_name_from_code( $lang_code ) {
|
18 |
// This list is based on languages available from localize.drupal.org. See
|
19 |
// http://localize.drupal.org/issues for information on how to add languages
|
122 |
|
123 |
return $lang[ $lang_code ][1];
|
124 |
}
|
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: YouTube, Vimeo, lazyload, thumbnail, video, responsive, embeds, video-embe
|
|
5 |
Requires at least: 4.4.24
|
6 |
Tested up to: 5.6
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 9.
|
9 |
License: GPL-3.0
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -78,7 +78,7 @@ I used a lot of high ranking plug-ins but they still broke my design. Downloaded
|
|
78 |
|
79 |
### [Pro Addon][20]
|
80 |
|
81 |
-
**<big>10% off</big>** first year with discount code `
|
82 |
|
83 |
This plugin is financed by purchases of the [Pro Addon][20]. The development and support of this plugins has become a job for me, so I hope you understand that I can not make all features gratis and that you [purchase it][20] to get extra features and support the development.
|
84 |
|
@@ -99,7 +99,7 @@ This plugin is financed by purchases of the [Pro Addon][20]. The development and
|
|
99 |
* **Feel good about yourself**<br>
|
100 |
for supporting my 8+ years work on this plugin. Tons of hours, weekends … always worked on improving it
|
101 |
* Show the latest video of a YouTube channel by using the channel URL (updated/cached hourly)
|
102 |
-
* **[Get
|
103 |
|
104 |
[20]: https://nextgenthemes.com/plugins/arve-pro/
|
105 |
|
@@ -111,10 +111,6 @@ Display random video from:
|
|
111 |
* Vimeo Showcase
|
112 |
* Comma separated list of video URLs
|
113 |
|
114 |
-
#### Supported Providers ####
|
115 |
-
|
116 |
-
[All providers with iframe embed codes](https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding)
|
117 |
-
Alugha, Archive.org, Bitchute, Break, Brightcove, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Funny or Die, IGN, Kickstarter, LiveLeak, Livestream.com, kla.tv, Metacafe, myspace, Snotr, Spike, TED Talks, Twitch, Ustream, RuTube.ru, Viddler, vidspot.net, Vimeo, VK, vzaar, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist, mp4 or webm video files, ARVE general iframe embed, Google Drive, ooyala, IMDB
|
118 |
### Thanks ###
|
119 |
|
120 |
* Of course all the customers who bought a addon.
|
@@ -184,6 +180,7 @@ This plugins embed is considered as 'custom player' by YouTube so you have to pa
|
|
184 |
|
185 |
* Fix: Compatibility with Astor Theme.
|
186 |
* Improved: Added notes that Shortcode UI is not maintained to the button and readme.
|
|
|
187 |
* Improved: Classic Tabs, new settings section for upcoming [ARVE sticky Videos](https://nextgenthemes.com/plugins/arve-sticky-videos/).
|
188 |
* Improved: Lots of code restructured and improved.
|
189 |
|
5 |
Requires at least: 4.4.24
|
6 |
Tested up to: 5.6
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 9.3.0
|
9 |
License: GPL-3.0
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
78 |
|
79 |
### [Pro Addon][20]
|
80 |
|
81 |
+
**<big>10% off</big>** first year with discount code `wporg`.
|
82 |
|
83 |
This plugin is financed by purchases of the [Pro Addon][20]. The development and support of this plugins has become a job for me, so I hope you understand that I can not make all features gratis and that you [purchase it][20] to get extra features and support the development.
|
84 |
|
99 |
* **Feel good about yourself**<br>
|
100 |
for supporting my 8+ years work on this plugin. Tons of hours, weekends … always worked on improving it
|
101 |
* Show the latest video of a YouTube channel by using the channel URL (updated/cached hourly)
|
102 |
+
* **[Get ARVE Pro][20]**
|
103 |
|
104 |
[20]: https://nextgenthemes.com/plugins/arve-pro/
|
105 |
|
111 |
* Vimeo Showcase
|
112 |
* Comma separated list of video URLs
|
113 |
|
|
|
|
|
|
|
|
|
114 |
### Thanks ###
|
115 |
|
116 |
* Of course all the customers who bought a addon.
|
180 |
|
181 |
* Fix: Compatibility with Astor Theme.
|
182 |
* Improved: Added notes that Shortcode UI is not maintained to the button and readme.
|
183 |
+
* Improved: Added notes about outdated PHP versions to settings page sidebar.
|
184 |
* Improved: Classic Tabs, new settings section for upcoming [ARVE sticky Videos](https://nextgenthemes.com/plugins/arve-sticky-videos/).
|
185 |
* Improved: Lots of code restructured and improved.
|
186 |
|