From 101a7794209e38246c78e899eae17c39e34fd350 Mon Sep 17 00:00:00 2001 From: gregpeden Date: Tue, 21 Nov 2017 02:07:59 -0700 Subject: [PATCH] Migrate click-confirm to Bootstrap-vue v1.0 branch, major redesign --- .babelrc => .babelrc-disabled | 0 dev/App.vue | 492 ++ dev/bundle.js | 10 - dev/bundle.js.map | 1 - dev/dist/client.4d8256c3.js | 2 + dev/dist/client.4d8256c3.js.map | 1 + dev/dist/index.html | 1 + dev/dist/manifest.2ac5ad61.js | 2 + dev/dist/manifest.2ac5ad61.js.map | 1 + dev/dist/vendor.0951defe.js | 2 + dev/dist/vendor.0951defe.js.map | 1 + dev/index.js | 13 - dev/main.js | 14 + dist/click-confirm.common.js | 153 + dist/click-confirm.common.min.js | 2 + dist/click-confirm.common.min.js.map | 1 + dist/click-confirm.es.js | 146 + dist/click-confirm.js | 8769 ++++++++++++++------------ dist/click-confirm.min.js | 5 +- dist/click-confirm.min.js.map | 2 +- docs/index.html | 32 + index.html | 501 -- package.json | 88 +- src/ClickConfirm.vue | 206 - src/components/ClickConfirm.vue | 174 + src/index.js | 13 + yarn.lock | 5149 +++++++++++---- 27 files changed, 9711 insertions(+), 6070 deletions(-) rename .babelrc => .babelrc-disabled (100%) create mode 100644 dev/App.vue delete mode 100644 dev/bundle.js delete mode 100644 dev/bundle.js.map create mode 100644 dev/dist/client.4d8256c3.js create mode 100644 dev/dist/client.4d8256c3.js.map create mode 100644 dev/dist/index.html create mode 100644 dev/dist/manifest.2ac5ad61.js create mode 100644 dev/dist/manifest.2ac5ad61.js.map create mode 100644 dev/dist/vendor.0951defe.js create mode 100644 dev/dist/vendor.0951defe.js.map delete mode 100644 dev/index.js create mode 100644 dev/main.js create mode 100644 dist/click-confirm.common.js create mode 100644 dist/click-confirm.common.min.js create mode 100644 dist/click-confirm.common.min.js.map create mode 100644 dist/click-confirm.es.js create mode 100644 docs/index.html delete mode 100644 index.html delete mode 100644 src/ClickConfirm.vue create mode 100644 src/components/ClickConfirm.vue create mode 100644 src/index.js diff --git a/.babelrc b/.babelrc-disabled similarity index 100% rename from .babelrc rename to .babelrc-disabled diff --git a/dev/App.vue b/dev/App.vue new file mode 100644 index 0000000..ad12ea6 --- /dev/null +++ b/dev/App.vue @@ -0,0 +1,492 @@ + + + diff --git a/dev/bundle.js b/dev/bundle.js deleted file mode 100644 index 5412e6b..0000000 --- a/dev/bundle.js +++ /dev/null @@ -1,10 +0,0 @@ -!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/dev/",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=n(85),i=r(o),a=n(82),s=r(a);i.default.component("clickConfirm",s.default),new i.default({el:"#app",methods:{successAlert:function(){alert("It worked!")}}})},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(34),o=n(17);t.exports=function(t){return r(o(t))}},function(t,e){var n=t.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(8),o=n(15);t.exports=n(5)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(11),o=n(33),i=n(27),a=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(38),o=n(18);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(24)("wks"),o=n(16),i=n(1).Symbol,a="function"==typeof i,s=t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))};s.store=r},function(t,e,n){var r=n(13);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(1),o=n(4),i=n(54),a=n(7),s="prototype",u=function(t,e,n){var c,f,l,p=t&u.F,d=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,y=d?o:o[e]||(o[e]={}),b=y[s],_=d?r:h?r[e]:(r[e]||{})[s];d&&(n=e);for(c in n)f=!p&&_&&void 0!==_[c],f&&c in y||(l=f?_[c]:n[c],y[c]=d&&"function"!=typeof _[c]?n[c]:m&&f?i(l,r):g&&_[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((y.virtual||(y.virtual={}))[c]=l,t&u.R&&b&&!b[c]&&a(b,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(8).f,o=n(2),i=n(10)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(24)("keys"),o=n(16);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(1),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(17);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(13);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(1),o=n(4),i=n(20),a=n(29),s=n(8).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(10)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(46),i=r(o),a=n(45),s=r(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};e.default="function"==typeof s.default&&"symbol"===u(i.default)?function(t){return"undefined"==typeof t?"undefined":u(t)}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":"undefined"==typeof t?"undefined":u(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(13),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){t.exports=!n(5)&&!n(6)(function(){return 7!=Object.defineProperty(n(32)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(31);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(20),o=n(12),i=n(39),a=n(7),s=n(2),u=n(19),c=n(58),f=n(22),l=n(66),p=n(10)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",v="keys",m="values",g=function(){return this};t.exports=function(t,e,n,y,b,_,w){c(n,e,y);var x,C,O,$=function(t){if(!d&&t in E)return E[t];switch(t){case v:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},A=e+" Iterator",S=b==m,k=!1,E=t.prototype,T=E[p]||E[h]||b&&E[b],j=T||$(b),P=b?S?$("entries"):j:void 0,L="Array"==e?E.entries||T:T;if(L&&(O=l(L.call(new t)),O!==Object.prototype&&O.next&&(f(O,A,!0),r||s(O,p)||a(O,p,g))),S&&T&&T.name!==m&&(k=!0,j=function(){return T.call(this)}),r&&!w||!d&&!k&&E[p]||a(E,p,j),u[e]=j,u[A]=g,b)if(x={values:S?j:$(m),keys:_?j:$(v),entries:P},w)for(C in x)C in E||i(E,C,x[C]);else o(o.P+o.F*(d||k),e,x);return x}},function(t,e,n){var r=n(11),o=n(63),i=n(18),a=n(23)("IE_PROTO"),s=function(){},u="prototype",c=function(){var t,e=n(32)("iframe"),r=i.length,o="<",a=">";for(e.style.display="none",n(56).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+a+"document.F=Object"+o+"/script"+a),t.close(),c=t.F;r--;)delete c[u][i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[u]=r(t),n=new s,s[u]=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(38),o=n(18).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(2),o=n(3),i=n(53)(!1),a=n(23)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){t.exports=n(7)},function(t,e){t.exports=function(t,e,n,r){var o,i=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(o=t,i=t.default);var s="function"==typeof i?i.options:i;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),r){var u=Object.create(s.computed||null);Object.keys(r).forEach(function(t){var e=r[t];u[t]=function(){return e}}),s.computed=u}return{esModule:o,exports:i,options:s}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(44),i=r(o),a=n(30),s=r(a),u=n(80),c=r(u),f={click:{click:"toggle"},hover:{mouseenter:"show",mouseleave:"hide"},focus:{focus:"show",blur:"hide"}},l={top:"bottom center",bottom:"top center",left:"middle right",right:"middle left"},p="bs-tether",d={element:!1,enabled:!1},h=150;e.default={props:{constraints:{type:Array,default:function(){return[]}},content:{type:String,default:""},debounce:{type:[Number],default:300,validator:function(t){return t>=0}},delay:{type:[Number,Object],default:0,validator:function(t){return"number"==typeof t?t>=0:null!==t&&"object"===("undefined"==typeof t?"undefined":(0,s.default)(t))&&("number"==typeof t.show&&"number"==typeof t.hide&&t.show>=0&&t.hide>=0)}},offset:{type:String,default:"0 0",validator:function(t){return/^((0\s?)|([+-]?[0-9]+(px|%)\s?)){2}$/.test(t)}},placement:{type:String,default:"top",validator:function(t){return(0,i.default)(l).indexOf(t)!==-1}},popoverStyle:{type:Object,default:null},show:{type:Boolean,default:null},targetOffset:{type:String,default:"0 0",validator:function(t){return/^((0\s?)|([+-]?[0-9]+(px|%)\s?)){2}$/.test(t)}},title:{type:String,default:""},triggers:{type:[Boolean,String,Array],default:function(){return["click","focus"]},validator:function(t){if(t===!1||""===t)return!0;if("string"==typeof t)return(0,i.default)(f).indexOf(t)!==-1;if(Array.isArray(t)){var e=(0,i.default)(f);return t.forEach(function(t){if(e.indexOf(t)===-1)return!1}),!0}return!1}}},data:function(){return{triggerState:this.show,classState:this.show,lastEvent:null}},computed:{normalizedTriggers:function(){return this.triggers===!1?[]:"string"==typeof this.triggers?[this.triggers]:this.triggers},popoverAlignment:function(){return this.placement&&"default"!==this.placement?"popover-"+this.placement:"popover-top"},showState:function(){return this.show!==!1&&(this.triggerState||this.show)}},watch:{constraints:function(){this.setOptions()},normalizedTriggers:function(t,e){this.updateListeners(t,e)},offset:function(){this.setOptions()},placement:function(){this.setOptions()},showState:function(t){var e=this,n=this.getDelay(t);clearTimeout(this._timeout),n?this._timeout=setTimeout(function(){return e.togglePopover(t)},n):this.togglePopover(t)}},methods:{addListener:function(t){var e=this;for(var n in f[t])this._trigger.addEventListener(n,function(t){return e.eventHandler(t)})},destroyTether:function(){if(this._tether&&!this.showState){this._tether.destroy(),this._tether=null;var t=new RegExp("(^|[^-]\\b)("+p+"\\S*)","g");this._trigger.className=this._trigger.className.replace(t,"")}},eventHandler:function(t){if(!(this.normalizedTriggers.length>1&&this.debounce>0&&null!==this.lastEvent&&t.timeStamp<=this.lastEvent+this.debounce))for(var e in f)for(var n in f[e])if(n===t.type){var r=f[e][n];return void(("toggle"===r||this.triggerState&&"hide"===r||!this.triggerState&&"show"===r)&&(this.triggerState=!this.triggerState,this.lastEvent=t.timeStamp))}},getDelay:function(t){return"object"===(0,s.default)(this.delay)?t?this.delay.show:this.delay.hide:this.delay},getTetherOptions:function(){return{attachment:l[this.placement],element:this._popover,target:this._trigger,classes:d,classPrefix:p,offset:this.offset,constraints:this.constraints,targetOffset:this.targetOffset}},hidePopover:function(){var t=this;this.classState=!1,clearTimeout(this._timeout),this._timeout=setTimeout(function(){t._popover.style.display="none",t.destroyTether()},h)},refreshPosition:function(){var t=this;this._tether&&this.$nextTick(function(){t._tether.position()})},removeListener:function(t){var e=this;for(var n in f[t])this._trigger.removeEventListener(n,function(t){return e.eventHandler(t)})},setOptions:function(){this._tether&&this._tether.setOptions(this.getTetherOptions())},showPopover:function(){var t=this;clearTimeout(this._timeout),this._tether||(this._tether=new c.default(this.getTetherOptions())),this._popover.style.display="block",this.refreshPosition(),this.$nextTick(function(){t.classState=!0})},togglePopover:function(t){this.$emit("showChange",t),t?(this.showPopover(),this.$root.$emit("shown::popover")):(this.hidePopover(),this.$root.$emit("hidden::popover"))},updateListeners:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],o=[];t.forEach(function(t){n.indexOf(t)===-1&&r.push(t)}),n.forEach(function(e){t.indexOf(e)===-1&&o.push(e)}),r.forEach(function(t){return e.addListener(t)}),o.forEach(function(t){return e.removeListener(t)})}},created:function(){var t=this;this.$root.$on("hide::popover",function(){t.triggerState=!1})},mounted:function(){this._trigger=this.$refs.trigger.children[0]||this.$refs.trigger,this._popover=this.$refs.popover,this._popover.style.display="none",this._timeout=0,this.updateListeners(this.normalizedTriggers),this.showState&&this.showPopover()},updated:function(){this.refreshPosition()},beforeDestroy:function(){var t=this;this.normalizedTriggers.forEach(function(e){return t.removeListener(e)}),clearTimeout(this._timeout),this.destroyTether()}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(30),i=r(o),a=n(43),s=r(a),u=n(81),c=r(u),f={title:"Are you sure?",yes:"Yes",no:"No"};e.default={components:{bPopover:c.default},data:function(){return{target:null,allow:!1,localFocus:!1,confirmationAttributes:{}}},props:{buttonSize:{type:String,default:"",validator:function(t){return["lg","","sm"].includes(t)}},copyAttributes:{type:[String,Array],default:function(){return["href","target"]}},disabled:{type:Boolean,default:!1},messages:{type:Object,default:function(){return f}},noClass:{type:[String,Array,Object],default:"btn btn-secondary"},noIcon:{type:[String,Array,Object],default:"fa fa-times"},placement:{type:String,default:"top"},yesClass:{type:[String,Array,Object],default:"btn btn-primary"},yesIcon:{type:[String,Array,Object],default:"fa fa-check"}},computed:{buttonSizeClass:function(){return this.buttonSize?"btn-"+this.buttonSize:""},groupFocus:function(){return Boolean(this.localFocus)!==!1},messagesMerged:function(){return(0,s.default)({},f,this.messages)}},watch:{copyAttributes:function(t){this.updateConfirmAttributes(t)},groupFocus:function(t,e){var n=this;e&&!t&&(clearTimeout(this._groupFocusTimer),this._groupFocusTimer=setTimeout(function(){n.groupFocus||(n.target=null)},20))}},methods:{cancelEvent:function(){this.target=null},clearFocus:function(t){this.localFocus=!1},confirmEvent:function(){if(null!==this.target){this.allow=!0;var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.target.dispatchEvent(t)||console.error("Confirmed event failed to dispatch"),this.allow=!1}this.cancelEvent()},interceptEvent:function(t){this.disabled||(null===this.target&&(this.target=t.target),this.setFocusOnButtonYes(),this.allow||(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()))},setFocus:function(t,e){this.localFocus=t},setFocusOnButtonYes:function(){var t=this;this.$nextTick(function(){t.$refs.buttonYes.focus()})},updateConfirmAttributes:function(t){var e=this;if("object"!==(0,i.default)(this._trigger))return{};var n="string"==typeof t?t.split(" "):t,r={};n.forEach(function(t){e._trigger.hasAttribute(t)&&(r[t]=e._trigger.getAttribute(t))}),this.confirmationAttributes=r}},mounted:function(){this._trigger=this.$refs.trigger.children[0],this.updateConfirmAttributes(this.copyAttributes)},beforeDestroy:function(){clearTimeout(this._groupFocusTimer),this._groupFocusTimer=null}}},function(t,e,n){t.exports={default:n(47),__esModule:!0}},function(t,e,n){t.exports={default:n(48),__esModule:!0}},function(t,e,n){t.exports={default:n(49),__esModule:!0}},function(t,e,n){t.exports={default:n(50),__esModule:!0}},function(t,e,n){n(72),t.exports=n(4).Object.assign},function(t,e,n){n(73),t.exports=n(4).Object.keys},function(t,e,n){n(76),n(74),n(77),n(78),t.exports=n(4).Symbol},function(t,e,n){n(75),n(79),t.exports=n(29).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(3),o=n(70),i=n(69);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),f=i(a,c);if(t&&n!=n){for(;c>f;)if(s=u[f++],s!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(51);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(9),o=n(21),i=n(14);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),u=i.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(31);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(36),o=n(15),i=n(22),a={};n(7)(a,n(10)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(9),o=n(3);t.exports=function(t,e){for(var n,i=o(t),a=r(i),s=a.length,u=0;s>u;)if(i[n=a[u++]]===e)return n}},function(t,e,n){var r=n(16)("meta"),o=n(13),i=n(2),a=n(8).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(6)(function(){return u(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},d=function(t){return c&&h.NEED&&u(t)&&!i(t,r)&&f(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},function(t,e,n){"use strict";var r=n(9),o=n(21),i=n(14),a=n(26),s=n(34),u=Object.assign;t.exports=!u||n(6)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,c=1,f=o.f,l=i.f;u>c;)for(var p,d=s(arguments[c++]),h=f?r(d).concat(f(d)):r(d),v=h.length,m=0;v>m;)l.call(d,p=h[m++])&&(n[p]=d[p]);return n}:u},function(t,e,n){var r=n(8),o=n(11),i=n(9);t.exports=n(5)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(14),o=n(15),i=n(3),a=n(27),s=n(2),u=n(33),c=Object.getOwnPropertyDescriptor;e.f=n(5)?c:function(t,e){if(t=i(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(3),o=n(37).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(r(t))}},function(t,e,n){var r=n(2),o=n(26),i=n(23)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(12),o=n(4),i=n(6);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(25),o=n(17);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):(i-55296<<10)+(a-56320)+65536)}}},function(t,e,n){var r=n(25),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(25),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(52),o=n(59),i=n(19),a=n(3);t.exports=n(35)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(12);r(r.S+r.F,"Object",{assign:n(62)})},function(t,e,n){var r=n(26),o=n(9);n(67)("keys",function(){return function(t){return o(r(t))}})},function(t,e){},function(t,e,n){"use strict";var r=n(68)(!0);n(35)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(5),a=n(12),s=n(39),u=n(61).KEY,c=n(6),f=n(24),l=n(22),p=n(16),d=n(10),h=n(29),v=n(28),m=n(60),g=n(55),y=n(57),b=n(11),_=n(3),w=n(27),x=n(15),C=n(36),O=n(65),$=n(64),A=n(8),S=n(9),k=$.f,E=A.f,T=O.f,j=r.Symbol,P=r.JSON,L=P&&P.stringify,M="prototype",N=d("_hidden"),F=d("toPrimitive"),D={}.propertyIsEnumerable,I=f("symbol-registry"),R=f("symbols"),B=f("op-symbols"),H=Object[M],z="function"==typeof j,W=r.QObject,U=!W||!W[M]||!W[M].findChild,V=i&&c(function(){return 7!=C(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=k(H,e);r&&delete H[e],E(t,e,n),r&&t!==H&&E(H,e,r)}:E,Y=function(t){var e=R[t]=C(j[M]);return e._k=t,e},K=z&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},q=function(t,e,n){return t===H&&q(B,e,n),b(t),e=w(e,!0),b(n),o(R,e)?(n.enumerable?(o(t,N)&&t[N][e]&&(t[N][e]=!1),n=C(n,{enumerable:x(0,!1)})):(o(t,N)||E(t,N,x(1,{})),t[N][e]=!0),V(t,e,n)):E(t,e,n)},J=function(t,e){b(t);for(var n,r=g(e=_(e)),o=0,i=r.length;i>o;)q(t,n=r[o++],e[n]);return t},G=function(t,e){return void 0===e?C(t):J(C(t),e)},X=function(t){var e=D.call(this,t=w(t,!0));return!(this===H&&o(R,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,N)&&this[N][t])||e)},Z=function(t,e){if(t=_(t),e=w(e,!0),t!==H||!o(R,e)||o(B,e)){var n=k(t,e);return!n||!o(R,e)||o(t,N)&&t[N][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=T(_(t)),r=[],i=0;n.length>i;)o(R,e=n[i++])||e==N||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===H,r=T(n?B:_(t)),i=[],a=0;r.length>a;)!o(R,e=r[a++])||n&&!o(H,e)||i.push(R[e]);return i};z||(j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(B,n),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),V(this,t,x(1,n))};return i&&U&&V(H,t,{configurable:!0,set:e}),Y(t)},s(j[M],"toString",function(){return this._k}),$.f=Z,A.f=q,n(37).f=O.f=Q,n(14).f=X,n(21).f=tt,i&&!n(20)&&s(H,"propertyIsEnumerable",X,!0),h.f=function(t){return Y(d(t))}),a(a.G+a.W+a.F*!z,{Symbol:j});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=S(d.store),ot=0;rt.length>ot;)v(rt[ot++]);a(a.S+a.F*!z,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=j(t)},keyFor:function(t){if(K(t))return m(I,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!z,"Object",{create:G,defineProperty:q,defineProperties:J,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),P&&a(a.S+a.F*(!z||c(function(){var t=j();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!K(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return e=r[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,L.apply(P,r)}}}),j[M][F]||n(7)(j[M],F,j[M].valueOf),l(j,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){n(28)("asyncIterator")},function(t,e,n){n(28)("observable")},function(t,e,n){n(71);for(var r=n(1),o=n(7),i=n(19),a=n(10)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=0)&&r.push(o)}return r.push(t.ownerDocument.body),t.ownerDocument!==document&&r.push(t.ownerDocument.defaultView),r}function a(){$&&document.body.removeChild($),$=null}function s(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var n=e.documentElement,r=o(t),i=k();return r.top-=i.top,r.left-=i.left,"undefined"==typeof r.width&&(r.width=document.body.scrollWidth-r.left-r.right),"undefined"==typeof r.height&&(r.height=document.body.scrollHeight-r.top-r.bottom),r.top=r.top-n.clientTop,r.left=r.left-n.clientLeft,r.right=e.body.clientWidth-r.width-r.left,r.bottom=e.body.clientHeight-r.height-r.top,r}function u(t){return t.offsetParent||document.documentElement}function c(){if(E)return E;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");f(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var r=t.offsetWidth;n===r&&(r=e.clientWidth),document.body.removeChild(e);var o=n-r;return E={width:o,height:o}}function f(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function l(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),r=h(t).replace(n," ");v(t,r)}}function p(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{l(t,e);var n=h(t)+(" "+e);v(t,n)}}function d(t,e){if("undefined"!=typeof t.classList)return t.classList.contains(e);var n=h(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function h(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function v(t,e){t.setAttribute("class",e)}function m(t,e,n){n.forEach(function(n){e.indexOf(n)===-1&&d(t,n)&&l(t,n)}),e.forEach(function(e){d(t,e)||p(t,e)})}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function y(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}function b(){return"undefined"!=typeof performance&&"undefined"!=typeof performance.now?performance.now():+new Date}function _(){for(var t={top:0,left:0},e=arguments.length,n=Array(e),r=0;r1?n-1:0),o=1;o16?(e=Math.min(e-16,250),void(n=setTimeout(r,250))):void("undefined"!=typeof t&&b()-t<10||(null!=n&&(clearTimeout(n),n=null),t=b(),R(),e=b()-t))};"undefined"!=typeof window&&"undefined"!=typeof window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,r)})}();var B={center:"center",left:"right",right:"left"},H={middle:"middle",top:"bottom",bottom:"top"},z={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},W=function(t,e){var n=t.left,r=t.top;return"auto"===n&&(n=B[e.left]),"auto"===r&&(r=H[e.top]),{left:n,top:r}},U=function(t){var e=t.left,n=t.top;return"undefined"!=typeof z[t.left]&&(e=z[t.left]),"undefined"!=typeof z[t.top]&&(n=z[t.top]),{left:e,top:n}},V=function(t){var e=t.split(" "),n=M(e,2),r=n[0],o=n[1];return{top:r,left:o}},Y=V,K=function(t){function e(t){var n=this;r(this,e),N(Object.getPrototypeOf(e.prototype),"constructor",this).call(this),this.position=this.position.bind(this),I.push(this),this.history=[],this.setOptions(t,!1),O.modules.forEach(function(t){"undefined"!=typeof t.initialize&&t.initialize.call(n)}),this.position()}return g(e,t),C(e,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return"undefined"!=typeof e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=f(r,t);var o=this.options,a=o.element,s=o.target,u=o.targetModifier;if(this.element=a,this.target=s,this.targetModifier=u,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if("undefined"==typeof e[t])throw new Error("Tether Error: Both element and target must be defined");"undefined"!=typeof e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),p(this.element,this.getClass("element")),this.options.addTargetClasses!==!1&&p(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=Y(this.options.targetAttachment),this.attachment=Y(this.options.attachment),this.offset=V(this.options.offset),this.targetOffset=V(this.options.targetOffset),"undefined"!=typeof this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=i(this.target),this.options.enabled!==!1&&this.enable(n)}},{key:"getTargetBounds",value:function(){if("undefined"==typeof this.targetModifier)return s(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var t=s(this.target),e={height:t.height,width:t.width,top:t.top,left:t.left};return e.height=Math.min(e.height,t.height-(pageYOffset-t.top)),e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),e.height=Math.min(innerHeight,e.height),e.height-=2,e.width=Math.min(e.width,t.width-(pageXOffset-t.left)),e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),e.width=Math.min(innerWidth,e.width),e.width-=2,e.topn.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body,i=0;o&&(i=15);var a=t.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-i,e={width:15,height:.975*a*(a/n.scrollHeight),left:t.left+t.width-parseFloat(r.borderLeftWidth)-15},u=0;a<408&&this.target===document.body&&(u=-11e-5*Math.pow(a,2)-.00727*a+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24));var c=this.target.scrollTop/(n.scrollHeight-a);return e.top=c*(a-e.height-u)+t.top+parseFloat(r.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return"undefined"==typeof this._cache&&(this._cache={}),"undefined"==typeof this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];this.options.addTargetClasses!==!1&&p(this.target,this.getClass("enabled")),p(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;l(this.target,this.getClass("enabled")),l(this.element,this.getClass("enabled")),this.enabled=!1,"undefined"!=typeof this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),I.forEach(function(e,n){e===t&&I.splice(n,1)}),0===I.length&&a()}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment,e=e||this.targetAttachment;var r=["left","top","bottom","right","middle","center"];"undefined"!=typeof this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),"undefined"==typeof this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;t.top&&o.push(this.getClass("element-attached")+"-"+t.top),t.left&&o.push(this.getClass("element-attached")+"-"+t.left),e.top&&o.push(this.getClass("target-attached")+"-"+e.top),e.left&&o.push(this.getClass("target-attached")+"-"+e.left);var i=[];r.forEach(function(t){i.push(n.getClass("element-attached")+"-"+t),i.push(n.getClass("target-attached")+"-"+t)}),j(function(){"undefined"!=typeof n._addAttachClasses&&(m(n.element,n._addAttachClasses,i),n.options.addTargetClasses!==!1&&m(n.target,n._addAttachClasses,i),delete n._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=W(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var r=this.cache("element-bounds",function(){return s(t.element)}),o=r.width,i=r.height;if(0===o&&0===i&&"undefined"!=typeof this.lastSize){var a=this.lastSize;o=a.width,i=a.height}else this.lastSize={width:o,height:i};var f=this.cache("target-bounds",function(){return t.getTargetBounds()}),l=f,p=w(U(this.attachment),{width:o,height:i}),d=w(U(n),l),h=w(this.offset,{width:o,height:i}),v=w(this.targetOffset,l);p=_(p,h),d=_(d,v);for(var m=f.left+d.left-p.left,g=f.top+d.top-p.top,y=0;y$.documentElement.clientHeight&&(S=this.cache("scrollbar-size",c),C.viewport.bottom-=S.height),A.innerWidth>$.documentElement.clientWidth&&(S=this.cache("scrollbar-size",c),C.viewport.right-=S.width),["","static"].indexOf($.body.style.position)!==-1&&["","static"].indexOf($.body.parentElement.style.position)!==-1||(C.page.bottom=$.body.scrollHeight-g-i,C.page.right=$.body.scrollWidth-m-o),"undefined"!=typeof this.options.optimizations&&this.options.optimizations.moveElement!==!1&&"undefined"==typeof this.targetModifier&&!function(){var e=t.cache("target-offsetparent",function(){return u(t.target)}),n=t.cache("target-offsetparent-bounds",function(){return s(e)}),r=getComputedStyle(e),o=n,i={};if(["Top","Left","Bottom","Right"].forEach(function(t){i[t.toLowerCase()]=parseFloat(r["border"+t+"Width"])}),n.right=$.body.scrollWidth-n.left-o.width+i.right,n.bottom=$.body.scrollHeight-n.top-o.height+i.bottom,C.page.top>=n.top+i.top&&C.page.bottom>=n.bottom&&C.page.left>=n.left+i.left&&C.page.right>=n.right){var a=e.scrollTop,c=e.scrollLeft;C.offset={top:C.page.top-n.top+a-i.top,left:C.page.left-n.left+c-i.left}}}(),this.move(C),this.history.unshift(C),this.history.length>3&&this.history.pop(),e&&P(),!0}}},{key:"move",value:function(t){var e=this;if("undefined"!=typeof this.element.parentNode){var n={};for(var r in t){n[r]={};for(var o in t[r]){for(var i=!1,a=0;a=0){var h=s.split(" "),m=M(h,2);l=m[0],f=m[1]}else f=l=s;var b=x(e,i);"target"!==l&&"both"!==l||(nb[3]&&"bottom"===g.top&&(n-=p,g.top="top")),"together"===l&&("top"===g.top&&("bottom"===y.top&&nb[3]&&n-(a-p)>=b[1]&&(n-=a-p,g.top="bottom",y.top="bottom")),"bottom"===g.top&&("top"===y.top&&n+a>b[3]?(n-=p,g.top="top",n-=a,y.top="bottom"):"bottom"===y.top&&nb[3]&&"top"===y.top?(n-=a,y.top="bottom"):nb[2]&&"right"===g.left&&(r-=d,g.left="left")),"together"===f&&(rb[2]&&"right"===g.left?"left"===y.left?(r-=d,g.left="left",r-=u,y.left="right"):"right"===y.left&&(r-=d,g.left="left",r+=u,y.left="left"):"center"===g.left&&(r+u>b[2]&&"left"===y.left?(r-=u,y.left="right"):rb[3]&&"top"===y.top&&(n-=a,y.top="bottom")),"element"!==f&&"both"!==f||(rb[2]&&("left"===y.left?(r-=u,y.left="right"):"center"===y.left&&(r-=u/2,y.left="right"))),"string"==typeof c?c=c.split(",").map(function(t){return t.trim()}):c===!0&&(c=["top","left","right","bottom"]),c=c||[];var _=[],w=[];n=0?(n=b[1],_.push("top")):w.push("top")),n+a>b[3]&&(c.indexOf("bottom")>=0?(n=b[3]-a,_.push("bottom")):w.push("bottom")),r=0?(r=b[0],_.push("left")):w.push("left")),r+u>b[2]&&(c.indexOf("right")>=0?(r=b[2]-u,_.push("right")):w.push("right")),_.length&&!function(){var t=void 0;t="undefined"!=typeof e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),v.push(t),_.forEach(function(e){v.push(t+"-"+e)})}(),w.length&&!function(){var t=void 0;t="undefined"!=typeof e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),v.push(t),w.forEach(function(e){v.push(t+"-"+e)})}(),(_.indexOf("left")>=0||_.indexOf("right")>=0)&&(y.left=g.left=!1),(_.indexOf("top")>=0||_.indexOf("bottom")>=0)&&(y.top=g.top=!1),g.top===o.top&&g.left===o.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,g),e.trigger("update",{attachment:y,targetAttachment:g}))}),j(function(){e.options.addTargetClasses!==!1&&m(e.target,v,h),m(e.element,v,h)}),{top:n,left:r}}});var F=O.Utils,s=F.getBounds,m=F.updateClasses,j=F.defer;O.modules.push({position:function(t){var e=this,n=t.top,r=t.left,o=this.cache("element-bounds",function(){return s(e.element)}),i=o.height,a=o.width,u=this.getTargetBounds(),c=n+i,f=r+a,l=[];n<=u.bottom&&c>=u.top&&["left","right"].forEach(function(t){var e=u[t];e!==r&&e!==f||l.push(t)}),r<=u.right&&f>=u.left&&["top","bottom"].forEach(function(t){var e=u[t];e!==n&&e!==c||l.push(t)});var p=[],d=[],h=["left","top","right","bottom"];return p.push(this.getClass("abutted")),h.forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),l.length&&d.push(this.getClass("abutted")),l.forEach(function(t){d.push(e.getClass("abutted")+"-"+t)}),j(function(){e.options.addTargetClasses!==!1&&m(e.target,d,p),m(e.element,d,p)}),!0}});var M=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return O.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var r=this.options.shift;"function"==typeof this.options.shift&&(r=this.options.shift.call(this,{top:e,left:n}));var o=void 0,i=void 0;if("string"==typeof r){r=r.split(" "),r[1]=r[1]||r[0];var a=r,s=M(a,2);o=s[0],i=s[1],o=parseFloat(o,10),i=parseFloat(i,10)}else o=r.top,i=r.left;return e+=o,n+=i,{top:e,left:n}}}}),q})},function(t,e,n){var r=n(40)(n(41),n(83),null,null);t.exports=r.exports},function(t,e,n){var r=n(40)(n(42),n(84),null,null);t.exports=r.exports},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("span",{ref:"trigger"},[t._t("default")],2),t._v(" "),n("div",{ref:"popover",staticClass:"popover fade",class:[t.classState?"show":"",t.popoverAlignment],style:t.popoverStyle,attrs:{tabindex:"-1"},on:{focus:function(e){t.$emit("focus")},blur:function(e){t.$emit("blur")}}},[n("div",{staticClass:"popover-arrow"}),t._v(" "),t.title?n("h3",{staticClass:"popover-title",domProps:{innerHTML:t._s(t.title)}}):t._e(),t._v(" "),n("div",{staticClass:"popover-content"},[n("div",{staticClass:"popover-content-wrapper"},[t._t("content",[n("span",{domProps:{innerHTML:t._s(t.content)}})])],2)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-popover",{staticClass:"click-confirm",attrs:{triggers:!1,placement:t.placement,title:t.messages.title,show:null!==t.target},on:{focus:function(e){t.setFocus("popover")},blur:t.clearFocus}},[n("span",{ref:"trigger",attrs:{tabindex:"-1"},on:{"!click":function(e){t.interceptEvent(e)},"!focus":function(e){t.setFocus("target")},blur:t.clearFocus}},[t._t("default")],2),t._v(" "),n("div",{staticClass:"text-center",slot:"content"},[n("a",t._b({ref:"buttonYes",class:[t.yesClass,t.buttonSizeClass],attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.confirmEvent(e)},focus:function(e){t.setFocus("buttonYes")},blur:t.clearFocus}},"a",t.confirmationAttributes,!1),[t.yesIcon?n("span",{class:t.yesIcon}):t._e(),t._v(" "+t._s(t.messages.yes)+"\n ")]),t._v(" "),n("a",{ref:"buttonNo",class:[t.noClass,t.buttonSizeClass],attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.cancelEvent(e)},focus:function(e){t.setFocus("buttonNo")},blur:t.clearFocus}},[t.noIcon?n("span",{class:t.noIcon}):t._e(),t._v(" "+t._s(t.messages.no)+"\n ")])])])},staticRenderFns:[]}},function(t,e,n){(function(e){/*! - * Vue.js v2.4.2 - * (c) 2014-2017 Evan You - * Released under the MIT License. - */ -"use strict";function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return t===!0}function i(t){return t===!1}function a(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===qo.call(t)}function c(t){return"[object RegExp]"===qo.call(t)}function f(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}function v(t,e){return Xo.call(t,e)}function m(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function g(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function y(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function b(t,e){for(var n in e)t[n]=e[n];return t}function _(t){for(var e={},n=0;n1?y(n):n;for(var r=y(arguments,1),o=0,i=n.length;oXi&&Yi[n].id>t.id;)n--;Yi.splice(n+1,0,t)}else Yi.push(t);Ji||(Ji=!0,Ei(Pt))}}function Dt(t){ta.clear(),It(t,ta)}function It(t,e){var n,r,o=Array.isArray(t);if((o||s(t))&&Object.isExtensible(t)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)It(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)It(t[r[n]],e)}}function Rt(t,e,n){ea.get=function(){return this[e][n]},ea.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ea)}function Bt(t){t._watchers=[];var e=t.$options;e.props&&Ht(t,e.props),e.methods&&Kt(t,e.methods),e.data?zt(t):N(t._data={},!0),e.computed&&Ut(t,e.computed),e.watch&&e.watch!==wi&&qt(t,e.watch)}function Ht(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;Fi.shouldConvert=i;var a=function(i){o.push(i);var a=J(i,e,n,t);F(r,i,a),i in t||Rt(t,"_props",i)};for(var s in e)a(s);Fi.shouldConvert=!0}function zt(t){var e=t.$options.data;e=t._data="function"==typeof e?Wt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);o--;){var i=n[o];r&&v(r,i)||A(i)||Rt(t,"_data",i)}N(e,!0)}function Wt(t,e){try{return t.call(e)}catch(t){return E(t,e,"data()"),{}}}function Ut(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var o=e[r],i="function"==typeof o?o:o.get;n[r]=new Qi(t,i||w,w,na),r in t||Vt(t,r,o)}}function Vt(t,e,n){"function"==typeof n?(ea.get=Yt(e),ea.set=w):(ea.get=n.get?n.cache!==!1?Yt(e):n.get:w,ea.set=n.set?n.set:w),Object.defineProperty(t,e,ea)}function Yt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ji.target&&e.depend(),e.value}}function Kt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?w:g(e[n],t)}function qt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function Se(t){this._init(t)}function ke(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=y(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ee(t){t.mixin=function(t){return this.options=K(this.options,t),this}}function Te(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=K(n.options,t),a.super=n,a.options.props&&je(a),a.options.computed&&Pe(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,ai.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=b({},a.options),o[r]=a,a}}function je(t){var e=t.options.props;for(var n in e)Rt(t.prototype,"_props",n)}function Pe(t){var e=t.options.computed;for(var n in e)Vt(t.prototype,n,e[n])}function Le(t){ai.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Me(t){return t&&(t.Ctor.options.name||t.tag)}function Ne(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!c(t)&&t.test(e)}function Fe(t,e,n){for(var r in t){var o=t[r];if(o){var i=Me(o.componentOptions);i&&!n(i)&&(o!==e&&De(o),t[r]=null)}}}function De(t){t&&t.componentInstance.$destroy()}function Ie(t){var e={};e.get=function(){return ui},Object.defineProperty(t,"config",e),t.util={warn:li,extend:b,mergeOptions:K,defineReactive:F},t.set=D,t.delete=I,t.nextTick=Ei,t.options=Object.create(null),ai.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,b(t.options.components,fa),ke(t),Ee(t),Te(t),Le(t)}function Re(t){for(var e=t.data,n=t,o=t;r(o.componentInstance);)o=o.componentInstance._vnode,o.data&&(e=Be(o.data,e));for(;r(n=n.parent);)n.data&&(e=Be(e,n.data));return He(e.staticClass,e.class)}function Be(t,e){return{staticClass:ze(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function He(t,e){return r(t)||r(e)?ze(t,We(e)):""}function ze(t,e){return t?e?t+" "+e:t:e||""}function We(t){return Array.isArray(t)?Ue(t):s(t)?Ve(t):"string"==typeof t?t:""}function Ue(t){for(var e,n="",o=0,i=t.length;o-1?Ma[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ma[t]=/HTMLUnknownElement/.test(e.toString())}function qe(t){if("string"==typeof t){var e=document.querySelector(t);return e?e:document.createElement("div")}return t}function Je(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Ge(t,e){return document.createElementNS(Ea[t],e)}function Xe(t){return document.createTextNode(t)}function Ze(t){return document.createComment(t)}function Qe(t,e,n){t.insertBefore(e,n)}function tn(t,e){t.removeChild(e)}function en(t,e){t.appendChild(e)}function nn(t){return t.parentNode}function rn(t){return t.nextSibling}function on(t){return t.tagName}function an(t,e){t.textContent=e}function sn(t,e,n){t.setAttribute(e,n)}function un(t,e){var n=t.data.ref;if(n){var r=t.context,o=t.componentInstance||t.elm,i=r.$refs;e?Array.isArray(i[n])?h(i[n],o):i[n]===o&&(i[n]=void 0):t.data.refInFor?Array.isArray(i[n])?i[n].indexOf(o)<0&&i[n].push(o):i[n]=[o]:i[n]=o}}function cn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&fn(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function fn(t,e){if("input"!==t.tag)return!0;var n,o=r(n=t.data)&&r(n=n.attrs)&&n.type,i=r(n=e.data)&&r(n=n.attrs)&&n.type;return o===i}function ln(t,e,n){var o,i,a={};for(o=e;o<=n;++o)i=t[o].key,r(i)&&(a[i]=o);return a}function pn(t){function e(t){return new Bi(T.tagName(t).toLowerCase(),{},[],void 0,t)}function i(t,e){function n(){0===--n.listeners&&s(t)}return n.listeners=e,n}function s(t){var e=T.parentNode(t);r(e)&&T.removeChild(e,t)}function u(t,e,n,i,a){if(t.isRootInsert=!a,!c(t,e,n,i)){var s=t.data,u=t.children,f=t.tag;r(f)?(t.elm=t.ns?T.createElementNS(t.ns,f):T.createElement(f,t),g(t),h(t,u,e),r(s)&&m(t,e),p(n,t.elm,i)):o(t.isComment)?(t.elm=T.createComment(t.text),p(n,t.elm,i)):(t.elm=T.createTextNode(t.text),p(n,t.elm,i))}}function c(t,e,n,i){var a=t.data;if(r(a)){var s=r(t.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(t,!1,n,i),r(t.componentInstance))return f(t,e),o(s)&&l(t,e,n,i),!0}}function f(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(m(t,e),g(t)):(un(t),e.push(t))}function l(t,e,n,o){for(var i,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,r(i=a.data)&&r(i=i.transition)){for(i=0;ih?(l=n(o[g+1])?null:o[g+1].elm,y(t,l,o,d,g,i)):d>g&&_(t,e,p,h)}function C(t,e,i,a){if(t!==e){var s=e.elm=t.elm;if(o(t.isAsyncPlaceholder))return void(r(e.asyncFactory.resolved)?$(t.elm,e,i):e.isAsyncPlaceholder=!0);if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))return void(e.componentInstance=t.componentInstance);var u,c=e.data;r(c)&&r(u=c.hook)&&r(u=u.prepatch)&&u(t,e);var f=t.children,l=e.children;if(r(c)&&v(e)){for(u=0;u=0&&(m=t.charAt(v)," "===m);v--);m&&Ua.test(m)||(f=!0)}}else void 0===i?(h=o+1,i=t.slice(0,o).trim()):e();if(void 0===i?i=t.slice(0,o).trim():0!==h&&e(),a)for(o=0;o=la}function Fn(t){return 34===t||39===t}function Dn(t){var e=1;for(va=ha;!Nn();)if(t=Mn(),Fn(t))In(t);else if(91===t&&e++,93===t&&e--,0===e){ma=ha;break}}function In(t){for(var e=t;!Nn()&&(t=Mn(),t!==e););}function Rn(t,e,n){ga=n;var r=e.value,o=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return jn(t,r,o),!1;if("select"===i)zn(t,r,o);else if("input"===i&&"checkbox"===a)Bn(t,r,o);else if("input"===i&&"radio"===a)Hn(t,r,o);else if("input"===i||"textarea"===i)Wn(t,r,o);else if(!ui.isReservedTag(i))return jn(t,r,o),!1;return!0}function Bn(t,e,n){var r=n&&n.number,o=En(t,"value")||"null",i=En(t,"true-value")||"true",a=En(t,"false-value")||"false";$n(t,"checked","Array.isArray("+e+")?_i("+e+","+o+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),kn(t,Ya,"var $$a="+e+",$$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&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+Pn(e,"$$c")+"}",null,!0)}function Hn(t,e,n){var r=n&&n.number,o=En(t,"value")||"null";o=r?"_n("+o+")":o,$n(t,"checked","_q("+e+","+o+")"),kn(t,Ya,Pn(e,o),null,!0)}function zn(t,e,n){var r=n&&n.number,o='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",i="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = "+o+";";a=a+" "+Pn(e,i),kn(t,"change",a,null,!0)}function Wn(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,u=!i&&"range"!==r,c=i?"change":"range"===r?Va:"input",f="$event.target.value";s&&(f="$event.target.value.trim()"),a&&(f="_n("+f+")");var l=Pn(e,f);u&&(l="if($event.target.composing)return;"+l),$n(t,"value","("+e+")"),kn(t,c,l,null,!0),(s||a)&&kn(t,"blur","$forceUpdate()")}function Un(t){var e;r(t[Va])&&(e=vi?"change":"input",t[e]=[].concat(t[Va],t[e]||[]),delete t[Va]),r(t[Ya])&&(e=_i?"click":"change",t[e]=[].concat(t[Ya],t[e]||[]),delete t[Ya])}function Vn(t,e,n,r,o){if(n){var i=e,a=ya;e=function(n){var o=1===arguments.length?i(n):i.apply(null,arguments);null!==o&&Yn(t,e,r,a)}}ya.addEventListener(t,e,xi?{capture:r,passive:o}:r)}function Yn(t,e,n,r){(r||ya).removeEventListener(t,e,n)}function Kn(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},o=t.data.on||{};ya=e.elm,Un(r),rt(r,o,Vn,Yn,e.context)}}function qn(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var o,i,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};r(u.__ob__)&&(u=e.data.domProps=b({},u));for(o in s)n(u[o])&&(a[o]="");for(o in u)if(i=u[o],"textContent"!==o&&"innerHTML"!==o||(e.children&&(e.children.length=0),i!==s[o]))if("value"===o){a._value=i;var c=n(i)?"":String(i);Jn(a,e,c)&&(a.value=c)}else a[o]=i}}function Jn(t,e,n){return!t.composing&&("option"===e.tag||Gn(t,n)||Xn(t,n))}function Gn(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function Xn(t,e){var n=t.value,o=t._vModifiers;return r(o)&&o.number?p(n)!==p(e):r(o)&&o.trim?n.trim()!==e.trim():n!==e}function Zn(t){var e=Qn(t.style);return t.staticStyle?b(t.staticStyle,e):e}function Qn(t){return Array.isArray(t)?_(t):"string"==typeof t?Ja(t):t}function tr(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)o=o.componentInstance._vnode,o.data&&(n=Zn(o.data))&&b(r,n);(n=Zn(t.data))&&b(r,n);for(var i=t;i=i.parent;)i.data&&(n=Zn(i.data))&&b(r,n);return r}function er(t,e){var o=e.data,i=t.data;if(!(n(o.staticStyle)&&n(o.style)&&n(i.staticStyle)&&n(i.style))){var a,s,u=e.elm,c=i.staticStyle,f=i.normalizedStyle||i.style||{},l=c||f,p=Qn(e.data.style)||{};e.data.normalizedStyle=r(p.__ob__)?b({},p):p;var d=tr(e,!0);for(s in l)n(d[s])&&Za(u,s,"");for(s in d)a=d[s],a!==l[s]&&Za(u,s,null==a?"":a)}}function nr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function rr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function or(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&b(e,ns(t.name||"v")),b(e,t),e}return"string"==typeof t?ns(t):void 0}}function ir(t){fs(function(){fs(t)})}function ar(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),nr(t,e))}function sr(t,e){t._transitionClasses&&h(t._transitionClasses,e),rr(t,e)}function ur(t,e,n){var r=cr(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===os?ss:cs,u=0,c=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u0&&(n=os,f=a,l=i.length):e===is?c>0&&(n=is,f=c,l=u.length):(f=Math.max(a,c),n=f>0?a>c?os:is:null,l=n?n===os?i.length:u.length:0);var p=n===os&&ls.test(r[as+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function fr(t,e){for(;t.length1}function mr(t,e){e.data.show!==!0&&pr(e)}function gr(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,u=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(C(yr(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function yr(t){return"_value"in t?t._value:t.value}function br(t){t.target.composing=!0}function _r(t){t.target.composing&&(t.target.composing=!1,wr(t.target,"input"))}function wr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function xr(t){return!t.componentInstance||t.data&&t.data.transition?t:xr(t.componentInstance._vnode)}function Cr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Cr(ht(e.children)):t}function Or(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[Qo(i)]=o[i];return e}function $r(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ar(t){for(;t=t.parent;)if(t.data.transition)return!0}function Sr(t,e){return e.key===t.key&&e.tag===t.tag}function kr(t){return t.isComment&&t.asyncFactory}function Er(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Tr(t){t.data.newPos=t.elm.getBoundingClientRect()}function jr(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}function Pr(t,e){var n=document.createElement("div");return n.innerHTML='
',n.innerHTML.indexOf(e)>0}function Lr(t,e){var n=e?Es(e):Ss;if(n.test(t)){for(var r,o,i=[],a=n.lastIndex=0;r=n.exec(t);){o=r.index,o>a&&i.push(JSON.stringify(t.slice(a,o)));var s=wn(r[1].trim());i.push("_s("+s+")"),a=o+r[0].length}return a=0&&u[o].lowerCasedTag!==i;o--);else o=0;if(o>=0){for(var a=u.length-1;a>=o;a--)e.end&&e.end(u[a].tag,n,r);u.length=o,s=o&&u[o-1].tag}else"br"===i?e.start&&e.start(t,[],!0,n,r):"p"===i&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var a,s,u=[],c=e.expectHTML,f=e.isUnaryTag||ri,l=e.canBeLeftOpenTag||ri,p=0;t;){if(a=t,s&&uu(s)){var d=0,h=s.toLowerCase(),v=cu[h]||(cu[h]=new RegExp("([\\s\\S]*?)(]*>)","i")),m=t.replace(v,function(t,n,r){return d=r.length,uu(h)||"noscript"===h||(n=n.replace(//g,"$1").replace(//g,"$1")),hu(h,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});p+=t.length-m.length,t=m,i(h,p-d,p)}else{var g=t.indexOf("<");if(0===g){if(Js.test(t)){var y=t.indexOf("-->");if(y>=0){e.shouldKeepComment&&e.comment(t.substring(4,y)),n(y+3);continue}}if(Gs.test(t)){var b=t.indexOf("]>");if(b>=0){n(b+2);continue}}var _=t.match(qs);if(_){n(_[0].length);continue}var w=t.match(Ks);if(w){var x=p;n(w[0].length),i(w[1],x,p);continue}var C=r();if(C){o(C),hu(s,t)&&n(1);continue}}var O=void 0,$=void 0,A=void 0;if(g>=0){for($=t.slice(g);!(Ks.test($)||Vs.test($)||Js.test($)||Gs.test($)||(A=$.indexOf("<",1),A<0));)g+=A,$=t.slice(g);O=t.substring(0,g),n(g)}g<0&&(O=t,t=""),e.chars&&O&&e.chars(O)}if(t===a){e.chars&&e.chars(t);break}}i()}function zr(t,e){function n(t){t.pre&&(s=!1),ru(t.tag)&&(u=!1)}Zs=e.warn||Cn,ru=e.isPreTag||ri,ou=e.mustUseProp||ri,iu=e.getTagNamespace||ri,tu=On(e.modules,"transformNode"),eu=On(e.modules,"preTransformNode"),nu=On(e.modules,"postTransformNode"),Qs=e.delimiters;var r,o,i=[],a=e.preserveWhitespace!==!1,s=!1,u=!1;return Hr(t,{warn:Zs,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldKeepComment:e.comments,start:function(t,a,c){function f(t){}var l=o&&o.ns||iu(t);vi&&"svg"===l&&(a=so(a));var p={type:1,tag:t,attrsList:a,attrsMap:oo(a),parent:o,children:[]};l&&(p.ns=l),ao(p)&&!Ai()&&(p.forbidden=!0);for(var d=0;d0,gi=hi&&hi.indexOf("edge/")>0,yi=hi&&hi.indexOf("android")>0,bi=hi&&/iphone|ipad|ipod|ios/.test(hi),_i=hi&&/chrome\/\d+/.test(hi)&&!gi,wi={}.watch,xi=!1;if(di)try{var Ci={};Object.defineProperty(Ci,"passive",{get:function(){xi=!0}}),window.addEventListener("test-passive",null,Ci)}catch(t){}var Oi,$i,Ai=function(){return void 0===Oi&&(Oi=!di&&"undefined"!=typeof e&&"server"===e.process.env.VUE_ENV),Oi},Si=di&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,ki="undefined"!=typeof Symbol&&T(Symbol)&&"undefined"!=typeof Reflect&&T(Reflect.ownKeys),Ei=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1&&(e[n[0].trim()]=n[1].trim())}}),e}),Ga=/^--/,Xa=/\s*!important$/,Za=function(t,e,n){if(Ga.test(e))t.style.setProperty(e,n);else if(Xa.test(n))t.style.setProperty(e,n.replace(Xa,""),"important");else{var r=ts(e);if(Array.isArray(n))for(var o=0,i=n.length;o\/=]+)/,Bs=/(?:=)/,Hs=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],zs=new RegExp("^\\s*"+Rs.source+"(?:\\s*("+Bs.source+")\\s*(?:"+Hs.join("|")+"))?"),Ws="[a-zA-Z_][\\w\\-\\.]*",Us="((?:"+Ws+"\\:)?"+Ws+")",Vs=new RegExp("^<"+Us),Ys=/^\s*(\/?)>/,Ks=new RegExp("^<\\/"+Us+"[^>]*>"),qs=/^]+>/i,Js=/^ ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n\t ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n\t : formatComponentName(vm))); })\n\t .join('\\n')\n\t } else {\n\t return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n\t }\n\t };\n\t}\n\t\n\t/* */\n\t\n\tfunction handleError (err, vm, info) {\n\t if (config.errorHandler) {\n\t config.errorHandler.call(null, err, vm, info);\n\t } else {\n\t if (false) {\n\t warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n\t }\n\t /* istanbul ignore else */\n\t if (inBrowser && typeof console !== 'undefined') {\n\t console.error(err);\n\t } else {\n\t throw err\n\t }\n\t }\n\t}\n\t\n\t/* */\n\t/* globals MutationObserver */\n\t\n\t// can we use __proto__?\n\tvar hasProto = '__proto__' in {};\n\t\n\t// Browser environment sniffing\n\tvar inBrowser = typeof window !== 'undefined';\n\tvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\n\tvar isIE = UA && /msie|trident/.test(UA);\n\tvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\n\tvar isEdge = UA && UA.indexOf('edge/') > 0;\n\tvar isAndroid = UA && UA.indexOf('android') > 0;\n\tvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\n\tvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\n\t\n\t// Firefix has a \"watch\" function on Object.prototype...\n\tvar nativeWatch = ({}).watch;\n\t\n\tvar supportsPassive = false;\n\tif (inBrowser) {\n\t try {\n\t var opts = {};\n\t Object.defineProperty(opts, 'passive', ({\n\t get: function get () {\n\t /* istanbul ignore next */\n\t supportsPassive = true;\n\t }\n\t })); // https://github.com/facebook/flow/issues/285\n\t window.addEventListener('test-passive', null, opts);\n\t } catch (e) {}\n\t}\n\t\n\t// this needs to be lazy-evaled because vue may be required before\n\t// vue-server-renderer can set VUE_ENV\n\tvar _isServer;\n\tvar isServerRendering = function () {\n\t if (_isServer === undefined) {\n\t /* istanbul ignore if */\n\t if (!inBrowser && typeof global !== 'undefined') {\n\t // detect presence of vue-server-renderer and avoid\n\t // Webpack shimming the process\n\t _isServer = global['process'].env.VUE_ENV === 'server';\n\t } else {\n\t _isServer = false;\n\t }\n\t }\n\t return _isServer\n\t};\n\t\n\t// detect devtools\n\tvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\t\n\t/* istanbul ignore next */\n\tfunction isNative (Ctor) {\n\t return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n\t}\n\t\n\tvar hasSymbol =\n\t typeof Symbol !== 'undefined' && isNative(Symbol) &&\n\t typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\t\n\t/**\n\t * Defer a task to execute it asynchronously.\n\t */\n\tvar nextTick = (function () {\n\t var callbacks = [];\n\t var pending = false;\n\t var timerFunc;\n\t\n\t function nextTickHandler () {\n\t pending = false;\n\t var copies = callbacks.slice(0);\n\t callbacks.length = 0;\n\t for (var i = 0; i < copies.length; i++) {\n\t copies[i]();\n\t }\n\t }\n\t\n\t // the nextTick behavior leverages the microtask queue, which can be accessed\n\t // via either native Promise.then or MutationObserver.\n\t // MutationObserver has wider support, however it is seriously bugged in\n\t // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n\t // completely stops working after triggering a few times... so, if native\n\t // Promise is available, we will use it:\n\t /* istanbul ignore if */\n\t if (typeof Promise !== 'undefined' && isNative(Promise)) {\n\t var p = Promise.resolve();\n\t var logError = function (err) { console.error(err); };\n\t timerFunc = function () {\n\t p.then(nextTickHandler).catch(logError);\n\t // in problematic UIWebViews, Promise.then doesn't completely break, but\n\t // it can get stuck in a weird state where callbacks are pushed into the\n\t // microtask queue but the queue isn't being flushed, until the browser\n\t // needs to do some other work, e.g. handle a timer. Therefore we can\n\t // \"force\" the microtask queue to be flushed by adding an empty timer.\n\t if (isIOS) { setTimeout(noop); }\n\t };\n\t } else if (typeof MutationObserver !== 'undefined' && (\n\t isNative(MutationObserver) ||\n\t // PhantomJS and iOS 7.x\n\t MutationObserver.toString() === '[object MutationObserverConstructor]'\n\t )) {\n\t // use MutationObserver where native Promise is not available,\n\t // e.g. PhantomJS IE11, iOS7, Android 4.4\n\t var counter = 1;\n\t var observer = new MutationObserver(nextTickHandler);\n\t var textNode = document.createTextNode(String(counter));\n\t observer.observe(textNode, {\n\t characterData: true\n\t });\n\t timerFunc = function () {\n\t counter = (counter + 1) % 2;\n\t textNode.data = String(counter);\n\t };\n\t } else {\n\t // fallback to setTimeout\n\t /* istanbul ignore next */\n\t timerFunc = function () {\n\t setTimeout(nextTickHandler, 0);\n\t };\n\t }\n\t\n\t return function queueNextTick (cb, ctx) {\n\t var _resolve;\n\t callbacks.push(function () {\n\t if (cb) {\n\t try {\n\t cb.call(ctx);\n\t } catch (e) {\n\t handleError(e, ctx, 'nextTick');\n\t }\n\t } else if (_resolve) {\n\t _resolve(ctx);\n\t }\n\t });\n\t if (!pending) {\n\t pending = true;\n\t timerFunc();\n\t }\n\t if (!cb && typeof Promise !== 'undefined') {\n\t return new Promise(function (resolve, reject) {\n\t _resolve = resolve;\n\t })\n\t }\n\t }\n\t})();\n\t\n\tvar _Set;\n\t/* istanbul ignore if */\n\tif (typeof Set !== 'undefined' && isNative(Set)) {\n\t // use native Set when available.\n\t _Set = Set;\n\t} else {\n\t // a non-standard Set polyfill that only works with primitive keys.\n\t _Set = (function () {\n\t function Set () {\n\t this.set = Object.create(null);\n\t }\n\t Set.prototype.has = function has (key) {\n\t return this.set[key] === true\n\t };\n\t Set.prototype.add = function add (key) {\n\t this.set[key] = true;\n\t };\n\t Set.prototype.clear = function clear () {\n\t this.set = Object.create(null);\n\t };\n\t\n\t return Set;\n\t }());\n\t}\n\t\n\t/* */\n\t\n\t\n\tvar uid = 0;\n\t\n\t/**\n\t * A dep is an observable that can have multiple\n\t * directives subscribing to it.\n\t */\n\tvar Dep = function Dep () {\n\t this.id = uid++;\n\t this.subs = [];\n\t};\n\t\n\tDep.prototype.addSub = function addSub (sub) {\n\t this.subs.push(sub);\n\t};\n\t\n\tDep.prototype.removeSub = function removeSub (sub) {\n\t remove(this.subs, sub);\n\t};\n\t\n\tDep.prototype.depend = function depend () {\n\t if (Dep.target) {\n\t Dep.target.addDep(this);\n\t }\n\t};\n\t\n\tDep.prototype.notify = function notify () {\n\t // stabilize the subscriber list first\n\t var subs = this.subs.slice();\n\t for (var i = 0, l = subs.length; i < l; i++) {\n\t subs[i].update();\n\t }\n\t};\n\t\n\t// the current target watcher being evaluated.\n\t// this is globally unique because there could be only one\n\t// watcher being evaluated at any time.\n\tDep.target = null;\n\tvar targetStack = [];\n\t\n\tfunction pushTarget (_target) {\n\t if (Dep.target) { targetStack.push(Dep.target); }\n\t Dep.target = _target;\n\t}\n\t\n\tfunction popTarget () {\n\t Dep.target = targetStack.pop();\n\t}\n\t\n\t/*\n\t * not type checking this file because flow doesn't play well with\n\t * dynamically accessing methods on Array prototype\n\t */\n\t\n\tvar arrayProto = Array.prototype;\n\tvar arrayMethods = Object.create(arrayProto);[\n\t 'push',\n\t 'pop',\n\t 'shift',\n\t 'unshift',\n\t 'splice',\n\t 'sort',\n\t 'reverse'\n\t]\n\t.forEach(function (method) {\n\t // cache original method\n\t var original = arrayProto[method];\n\t def(arrayMethods, method, function mutator () {\n\t var args = [], len = arguments.length;\n\t while ( len-- ) args[ len ] = arguments[ len ];\n\t\n\t var result = original.apply(this, args);\n\t var ob = this.__ob__;\n\t var inserted;\n\t switch (method) {\n\t case 'push':\n\t case 'unshift':\n\t inserted = args;\n\t break\n\t case 'splice':\n\t inserted = args.slice(2);\n\t break\n\t }\n\t if (inserted) { ob.observeArray(inserted); }\n\t // notify change\n\t ob.dep.notify();\n\t return result\n\t });\n\t});\n\t\n\t/* */\n\t\n\tvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\t\n\t/**\n\t * By default, when a reactive property is set, the new value is\n\t * also converted to become reactive. However when passing down props,\n\t * we don't want to force conversion because the value may be a nested value\n\t * under a frozen data structure. Converting it would defeat the optimization.\n\t */\n\tvar observerState = {\n\t shouldConvert: true\n\t};\n\t\n\t/**\n\t * Observer class that are attached to each observed\n\t * object. Once attached, the observer converts target\n\t * object's property keys into getter/setters that\n\t * collect dependencies and dispatches updates.\n\t */\n\tvar Observer = function Observer (value) {\n\t this.value = value;\n\t this.dep = new Dep();\n\t this.vmCount = 0;\n\t def(value, '__ob__', this);\n\t if (Array.isArray(value)) {\n\t var augment = hasProto\n\t ? protoAugment\n\t : copyAugment;\n\t augment(value, arrayMethods, arrayKeys);\n\t this.observeArray(value);\n\t } else {\n\t this.walk(value);\n\t }\n\t};\n\t\n\t/**\n\t * Walk through each property and convert them into\n\t * getter/setters. This method should only be called when\n\t * value type is Object.\n\t */\n\tObserver.prototype.walk = function walk (obj) {\n\t var keys = Object.keys(obj);\n\t for (var i = 0; i < keys.length; i++) {\n\t defineReactive$$1(obj, keys[i], obj[keys[i]]);\n\t }\n\t};\n\t\n\t/**\n\t * Observe a list of Array items.\n\t */\n\tObserver.prototype.observeArray = function observeArray (items) {\n\t for (var i = 0, l = items.length; i < l; i++) {\n\t observe(items[i]);\n\t }\n\t};\n\t\n\t// helpers\n\t\n\t/**\n\t * Augment an target Object or Array by intercepting\n\t * the prototype chain using __proto__\n\t */\n\tfunction protoAugment (target, src, keys) {\n\t /* eslint-disable no-proto */\n\t target.__proto__ = src;\n\t /* eslint-enable no-proto */\n\t}\n\t\n\t/**\n\t * Augment an target Object or Array by defining\n\t * hidden properties.\n\t */\n\t/* istanbul ignore next */\n\tfunction copyAugment (target, src, keys) {\n\t for (var i = 0, l = keys.length; i < l; i++) {\n\t var key = keys[i];\n\t def(target, key, src[key]);\n\t }\n\t}\n\t\n\t/**\n\t * Attempt to create an observer instance for a value,\n\t * returns the new observer if successfully observed,\n\t * or the existing observer if the value already has one.\n\t */\n\tfunction observe (value, asRootData) {\n\t if (!isObject(value)) {\n\t return\n\t }\n\t var ob;\n\t if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n\t ob = value.__ob__;\n\t } else if (\n\t observerState.shouldConvert &&\n\t !isServerRendering() &&\n\t (Array.isArray(value) || isPlainObject(value)) &&\n\t Object.isExtensible(value) &&\n\t !value._isVue\n\t ) {\n\t ob = new Observer(value);\n\t }\n\t if (asRootData && ob) {\n\t ob.vmCount++;\n\t }\n\t return ob\n\t}\n\t\n\t/**\n\t * Define a reactive property on an Object.\n\t */\n\tfunction defineReactive$$1 (\n\t obj,\n\t key,\n\t val,\n\t customSetter,\n\t shallow\n\t) {\n\t var dep = new Dep();\n\t\n\t var property = Object.getOwnPropertyDescriptor(obj, key);\n\t if (property && property.configurable === false) {\n\t return\n\t }\n\t\n\t // cater for pre-defined getter/setters\n\t var getter = property && property.get;\n\t var setter = property && property.set;\n\t\n\t var childOb = !shallow && observe(val);\n\t Object.defineProperty(obj, key, {\n\t enumerable: true,\n\t configurable: true,\n\t get: function reactiveGetter () {\n\t var value = getter ? getter.call(obj) : val;\n\t if (Dep.target) {\n\t dep.depend();\n\t if (childOb) {\n\t childOb.dep.depend();\n\t }\n\t if (Array.isArray(value)) {\n\t dependArray(value);\n\t }\n\t }\n\t return value\n\t },\n\t set: function reactiveSetter (newVal) {\n\t var value = getter ? getter.call(obj) : val;\n\t /* eslint-disable no-self-compare */\n\t if (newVal === value || (newVal !== newVal && value !== value)) {\n\t return\n\t }\n\t /* eslint-enable no-self-compare */\n\t if (false) {\n\t customSetter();\n\t }\n\t if (setter) {\n\t setter.call(obj, newVal);\n\t } else {\n\t val = newVal;\n\t }\n\t childOb = !shallow && observe(newVal);\n\t dep.notify();\n\t }\n\t });\n\t}\n\t\n\t/**\n\t * Set a property on an object. Adds the new property and\n\t * triggers change notification if the property doesn't\n\t * already exist.\n\t */\n\tfunction set (target, key, val) {\n\t if (Array.isArray(target) && isValidArrayIndex(key)) {\n\t target.length = Math.max(target.length, key);\n\t target.splice(key, 1, val);\n\t return val\n\t }\n\t if (hasOwn(target, key)) {\n\t target[key] = val;\n\t return val\n\t }\n\t var ob = (target).__ob__;\n\t if (target._isVue || (ob && ob.vmCount)) {\n\t (\"production\") !== 'production' && warn(\n\t 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n\t 'at runtime - declare it upfront in the data option.'\n\t );\n\t return val\n\t }\n\t if (!ob) {\n\t target[key] = val;\n\t return val\n\t }\n\t defineReactive$$1(ob.value, key, val);\n\t ob.dep.notify();\n\t return val\n\t}\n\t\n\t/**\n\t * Delete a property and trigger change if necessary.\n\t */\n\tfunction del (target, key) {\n\t if (Array.isArray(target) && isValidArrayIndex(key)) {\n\t target.splice(key, 1);\n\t return\n\t }\n\t var ob = (target).__ob__;\n\t if (target._isVue || (ob && ob.vmCount)) {\n\t (\"production\") !== 'production' && warn(\n\t 'Avoid deleting properties on a Vue instance or its root $data ' +\n\t '- just set it to null.'\n\t );\n\t return\n\t }\n\t if (!hasOwn(target, key)) {\n\t return\n\t }\n\t delete target[key];\n\t if (!ob) {\n\t return\n\t }\n\t ob.dep.notify();\n\t}\n\t\n\t/**\n\t * Collect dependencies on array elements when the array is touched, since\n\t * we cannot intercept array element access like property getters.\n\t */\n\tfunction dependArray (value) {\n\t for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n\t e = value[i];\n\t e && e.__ob__ && e.__ob__.dep.depend();\n\t if (Array.isArray(e)) {\n\t dependArray(e);\n\t }\n\t }\n\t}\n\t\n\t/* */\n\t\n\t/**\n\t * Option overwriting strategies are functions that handle\n\t * how to merge a parent option value and a child option\n\t * value into the final value.\n\t */\n\tvar strats = config.optionMergeStrategies;\n\t\n\t/**\n\t * Options with restrictions\n\t */\n\tif (false) {\n\t strats.el = strats.propsData = function (parent, child, vm, key) {\n\t if (!vm) {\n\t warn(\n\t \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n\t 'creation with the `new` keyword.'\n\t );\n\t }\n\t return defaultStrat(parent, child)\n\t };\n\t}\n\t\n\t/**\n\t * Helper that recursively merges two data objects together.\n\t */\n\tfunction mergeData (to, from) {\n\t if (!from) { return to }\n\t var key, toVal, fromVal;\n\t var keys = Object.keys(from);\n\t for (var i = 0; i < keys.length; i++) {\n\t key = keys[i];\n\t toVal = to[key];\n\t fromVal = from[key];\n\t if (!hasOwn(to, key)) {\n\t set(to, key, fromVal);\n\t } else if (isPlainObject(toVal) && isPlainObject(fromVal)) {\n\t mergeData(toVal, fromVal);\n\t }\n\t }\n\t return to\n\t}\n\t\n\t/**\n\t * Data\n\t */\n\tfunction mergeDataOrFn (\n\t parentVal,\n\t childVal,\n\t vm\n\t) {\n\t if (!vm) {\n\t // in a Vue.extend merge, both should be functions\n\t if (!childVal) {\n\t return parentVal\n\t }\n\t if (!parentVal) {\n\t return childVal\n\t }\n\t // when parentVal & childVal are both present,\n\t // we need to return a function that returns the\n\t // merged result of both functions... no need to\n\t // check if parentVal is a function here because\n\t // it has to be a function to pass previous merges.\n\t return function mergedDataFn () {\n\t return mergeData(\n\t typeof childVal === 'function' ? childVal.call(this) : childVal,\n\t typeof parentVal === 'function' ? parentVal.call(this) : parentVal\n\t )\n\t }\n\t } else if (parentVal || childVal) {\n\t return function mergedInstanceDataFn () {\n\t // instance merge\n\t var instanceData = typeof childVal === 'function'\n\t ? childVal.call(vm)\n\t : childVal;\n\t var defaultData = typeof parentVal === 'function'\n\t ? parentVal.call(vm)\n\t : undefined;\n\t if (instanceData) {\n\t return mergeData(instanceData, defaultData)\n\t } else {\n\t return defaultData\n\t }\n\t }\n\t }\n\t}\n\t\n\tstrats.data = function (\n\t parentVal,\n\t childVal,\n\t vm\n\t) {\n\t if (!vm) {\n\t if (childVal && typeof childVal !== 'function') {\n\t (\"production\") !== 'production' && warn(\n\t 'The \"data\" option should be a function ' +\n\t 'that returns a per-instance value in component ' +\n\t 'definitions.',\n\t vm\n\t );\n\t\n\t return parentVal\n\t }\n\t return mergeDataOrFn.call(this, parentVal, childVal)\n\t }\n\t\n\t return mergeDataOrFn(parentVal, childVal, vm)\n\t};\n\t\n\t/**\n\t * Hooks and props are merged as arrays.\n\t */\n\tfunction mergeHook (\n\t parentVal,\n\t childVal\n\t) {\n\t return childVal\n\t ? parentVal\n\t ? parentVal.concat(childVal)\n\t : Array.isArray(childVal)\n\t ? childVal\n\t : [childVal]\n\t : parentVal\n\t}\n\t\n\tLIFECYCLE_HOOKS.forEach(function (hook) {\n\t strats[hook] = mergeHook;\n\t});\n\t\n\t/**\n\t * Assets\n\t *\n\t * When a vm is present (instance creation), we need to do\n\t * a three-way merge between constructor options, instance\n\t * options and parent options.\n\t */\n\tfunction mergeAssets (parentVal, childVal) {\n\t var res = Object.create(parentVal || null);\n\t return childVal\n\t ? extend(res, childVal)\n\t : res\n\t}\n\t\n\tASSET_TYPES.forEach(function (type) {\n\t strats[type + 's'] = mergeAssets;\n\t});\n\t\n\t/**\n\t * Watchers.\n\t *\n\t * Watchers hashes should not overwrite one\n\t * another, so we merge them as arrays.\n\t */\n\tstrats.watch = function (parentVal, childVal) {\n\t // work around Firefox's Object.prototype.watch...\n\t if (parentVal === nativeWatch) { parentVal = undefined; }\n\t if (childVal === nativeWatch) { childVal = undefined; }\n\t /* istanbul ignore if */\n\t if (!childVal) { return Object.create(parentVal || null) }\n\t if (!parentVal) { return childVal }\n\t var ret = {};\n\t extend(ret, parentVal);\n\t for (var key in childVal) {\n\t var parent = ret[key];\n\t var child = childVal[key];\n\t if (parent && !Array.isArray(parent)) {\n\t parent = [parent];\n\t }\n\t ret[key] = parent\n\t ? parent.concat(child)\n\t : Array.isArray(child) ? child : [child];\n\t }\n\t return ret\n\t};\n\t\n\t/**\n\t * Other object hashes.\n\t */\n\tstrats.props =\n\tstrats.methods =\n\tstrats.inject =\n\tstrats.computed = function (parentVal, childVal) {\n\t if (!parentVal) { return childVal }\n\t var ret = Object.create(null);\n\t extend(ret, parentVal);\n\t if (childVal) { extend(ret, childVal); }\n\t return ret\n\t};\n\tstrats.provide = mergeDataOrFn;\n\t\n\t/**\n\t * Default strategy.\n\t */\n\tvar defaultStrat = function (parentVal, childVal) {\n\t return childVal === undefined\n\t ? parentVal\n\t : childVal\n\t};\n\t\n\t/**\n\t * Validate component names\n\t */\n\tfunction checkComponents (options) {\n\t for (var key in options.components) {\n\t var lower = key.toLowerCase();\n\t if (isBuiltInTag(lower) || config.isReservedTag(lower)) {\n\t warn(\n\t 'Do not use built-in or reserved HTML elements as component ' +\n\t 'id: ' + key\n\t );\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Ensure all props option syntax are normalized into the\n\t * Object-based format.\n\t */\n\tfunction normalizeProps (options) {\n\t var props = options.props;\n\t if (!props) { return }\n\t var res = {};\n\t var i, val, name;\n\t if (Array.isArray(props)) {\n\t i = props.length;\n\t while (i--) {\n\t val = props[i];\n\t if (typeof val === 'string') {\n\t name = camelize(val);\n\t res[name] = { type: null };\n\t } else if (false) {\n\t warn('props must be strings when using array syntax.');\n\t }\n\t }\n\t } else if (isPlainObject(props)) {\n\t for (var key in props) {\n\t val = props[key];\n\t name = camelize(key);\n\t res[name] = isPlainObject(val)\n\t ? val\n\t : { type: val };\n\t }\n\t }\n\t options.props = res;\n\t}\n\t\n\t/**\n\t * Normalize all injections into Object-based format\n\t */\n\tfunction normalizeInject (options) {\n\t var inject = options.inject;\n\t if (Array.isArray(inject)) {\n\t var normalized = options.inject = {};\n\t for (var i = 0; i < inject.length; i++) {\n\t normalized[inject[i]] = inject[i];\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Normalize raw function directives into object format.\n\t */\n\tfunction normalizeDirectives (options) {\n\t var dirs = options.directives;\n\t if (dirs) {\n\t for (var key in dirs) {\n\t var def = dirs[key];\n\t if (typeof def === 'function') {\n\t dirs[key] = { bind: def, update: def };\n\t }\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Merge two option objects into a new one.\n\t * Core utility used in both instantiation and inheritance.\n\t */\n\tfunction mergeOptions (\n\t parent,\n\t child,\n\t vm\n\t) {\n\t if (false) {\n\t checkComponents(child);\n\t }\n\t\n\t if (typeof child === 'function') {\n\t child = child.options;\n\t }\n\t\n\t normalizeProps(child);\n\t normalizeInject(child);\n\t normalizeDirectives(child);\n\t var extendsFrom = child.extends;\n\t if (extendsFrom) {\n\t parent = mergeOptions(parent, extendsFrom, vm);\n\t }\n\t if (child.mixins) {\n\t for (var i = 0, l = child.mixins.length; i < l; i++) {\n\t parent = mergeOptions(parent, child.mixins[i], vm);\n\t }\n\t }\n\t var options = {};\n\t var key;\n\t for (key in parent) {\n\t mergeField(key);\n\t }\n\t for (key in child) {\n\t if (!hasOwn(parent, key)) {\n\t mergeField(key);\n\t }\n\t }\n\t function mergeField (key) {\n\t var strat = strats[key] || defaultStrat;\n\t options[key] = strat(parent[key], child[key], vm, key);\n\t }\n\t return options\n\t}\n\t\n\t/**\n\t * Resolve an asset.\n\t * This function is used because child instances need access\n\t * to assets defined in its ancestor chain.\n\t */\n\tfunction resolveAsset (\n\t options,\n\t type,\n\t id,\n\t warnMissing\n\t) {\n\t /* istanbul ignore if */\n\t if (typeof id !== 'string') {\n\t return\n\t }\n\t var assets = options[type];\n\t // check local registration variations first\n\t if (hasOwn(assets, id)) { return assets[id] }\n\t var camelizedId = camelize(id);\n\t if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n\t var PascalCaseId = capitalize(camelizedId);\n\t if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n\t // fallback to prototype chain\n\t var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n\t if (false) {\n\t warn(\n\t 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n\t options\n\t );\n\t }\n\t return res\n\t}\n\t\n\t/* */\n\t\n\tfunction validateProp (\n\t key,\n\t propOptions,\n\t propsData,\n\t vm\n\t) {\n\t var prop = propOptions[key];\n\t var absent = !hasOwn(propsData, key);\n\t var value = propsData[key];\n\t // handle boolean props\n\t if (isType(Boolean, prop.type)) {\n\t if (absent && !hasOwn(prop, 'default')) {\n\t value = false;\n\t } else if (!isType(String, prop.type) && (value === '' || value === hyphenate(key))) {\n\t value = true;\n\t }\n\t }\n\t // check default value\n\t if (value === undefined) {\n\t value = getPropDefaultValue(vm, prop, key);\n\t // since the default value is a fresh copy,\n\t // make sure to observe it.\n\t var prevShouldConvert = observerState.shouldConvert;\n\t observerState.shouldConvert = true;\n\t observe(value);\n\t observerState.shouldConvert = prevShouldConvert;\n\t }\n\t if (false) {\n\t assertProp(prop, key, value, vm, absent);\n\t }\n\t return value\n\t}\n\t\n\t/**\n\t * Get the default value of a prop.\n\t */\n\tfunction getPropDefaultValue (vm, prop, key) {\n\t // no default, return undefined\n\t if (!hasOwn(prop, 'default')) {\n\t return undefined\n\t }\n\t var def = prop.default;\n\t // warn against non-factory defaults for Object & Array\n\t if (false) {\n\t warn(\n\t 'Invalid default value for prop \"' + key + '\": ' +\n\t 'Props with type Object/Array must use a factory function ' +\n\t 'to return the default value.',\n\t vm\n\t );\n\t }\n\t // the raw prop value was also undefined from previous render,\n\t // return previous default value to avoid unnecessary watcher trigger\n\t if (vm && vm.$options.propsData &&\n\t vm.$options.propsData[key] === undefined &&\n\t vm._props[key] !== undefined\n\t ) {\n\t return vm._props[key]\n\t }\n\t // call factory function for non-Function types\n\t // a value is Function if its prototype is function even across different execution context\n\t return typeof def === 'function' && getType(prop.type) !== 'Function'\n\t ? def.call(vm)\n\t : def\n\t}\n\t\n\t/**\n\t * Assert whether a prop is valid.\n\t */\n\tfunction assertProp (\n\t prop,\n\t name,\n\t value,\n\t vm,\n\t absent\n\t) {\n\t if (prop.required && absent) {\n\t warn(\n\t 'Missing required prop: \"' + name + '\"',\n\t vm\n\t );\n\t return\n\t }\n\t if (value == null && !prop.required) {\n\t return\n\t }\n\t var type = prop.type;\n\t var valid = !type || type === true;\n\t var expectedTypes = [];\n\t if (type) {\n\t if (!Array.isArray(type)) {\n\t type = [type];\n\t }\n\t for (var i = 0; i < type.length && !valid; i++) {\n\t var assertedType = assertType(value, type[i]);\n\t expectedTypes.push(assertedType.expectedType || '');\n\t valid = assertedType.valid;\n\t }\n\t }\n\t if (!valid) {\n\t warn(\n\t 'Invalid prop: type check failed for prop \"' + name + '\".' +\n\t ' Expected ' + expectedTypes.map(capitalize).join(', ') +\n\t ', got ' + Object.prototype.toString.call(value).slice(8, -1) + '.',\n\t vm\n\t );\n\t return\n\t }\n\t var validator = prop.validator;\n\t if (validator) {\n\t if (!validator(value)) {\n\t warn(\n\t 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n\t vm\n\t );\n\t }\n\t }\n\t}\n\t\n\tvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;\n\t\n\tfunction assertType (value, type) {\n\t var valid;\n\t var expectedType = getType(type);\n\t if (simpleCheckRE.test(expectedType)) {\n\t valid = typeof value === expectedType.toLowerCase();\n\t } else if (expectedType === 'Object') {\n\t valid = isPlainObject(value);\n\t } else if (expectedType === 'Array') {\n\t valid = Array.isArray(value);\n\t } else {\n\t valid = value instanceof type;\n\t }\n\t return {\n\t valid: valid,\n\t expectedType: expectedType\n\t }\n\t}\n\t\n\t/**\n\t * Use function string name to check built-in types,\n\t * because a simple equality check will fail when running\n\t * across different vms / iframes.\n\t */\n\tfunction getType (fn) {\n\t var match = fn && fn.toString().match(/^\\s*function (\\w+)/);\n\t return match ? match[1] : ''\n\t}\n\t\n\tfunction isType (type, fn) {\n\t if (!Array.isArray(fn)) {\n\t return getType(fn) === getType(type)\n\t }\n\t for (var i = 0, len = fn.length; i < len; i++) {\n\t if (getType(fn[i]) === getType(type)) {\n\t return true\n\t }\n\t }\n\t /* istanbul ignore next */\n\t return false\n\t}\n\t\n\t/* */\n\t\n\tvar mark;\n\tvar measure;\n\t\n\tif (false) {\n\t var perf = inBrowser && window.performance;\n\t /* istanbul ignore if */\n\t if (\n\t perf &&\n\t perf.mark &&\n\t perf.measure &&\n\t perf.clearMarks &&\n\t perf.clearMeasures\n\t ) {\n\t mark = function (tag) { return perf.mark(tag); };\n\t measure = function (name, startTag, endTag) {\n\t perf.measure(name, startTag, endTag);\n\t perf.clearMarks(startTag);\n\t perf.clearMarks(endTag);\n\t perf.clearMeasures(name);\n\t };\n\t }\n\t}\n\t\n\t/* not type checking this file because flow doesn't play well with Proxy */\n\t\n\tvar initProxy;\n\t\n\tif (false) {\n\t var allowedGlobals = makeMap(\n\t 'Infinity,undefined,NaN,isFinite,isNaN,' +\n\t 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n\t 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +\n\t 'require' // for Webpack/Browserify\n\t );\n\t\n\t var warnNonPresent = function (target, key) {\n\t warn(\n\t \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n\t \"referenced during render. Make sure to declare reactive data \" +\n\t \"properties in the data option.\",\n\t target\n\t );\n\t };\n\t\n\t var hasProxy =\n\t typeof Proxy !== 'undefined' &&\n\t Proxy.toString().match(/native code/);\n\t\n\t if (hasProxy) {\n\t var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta');\n\t config.keyCodes = new Proxy(config.keyCodes, {\n\t set: function set (target, key, value) {\n\t if (isBuiltInModifier(key)) {\n\t warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n\t return false\n\t } else {\n\t target[key] = value;\n\t return true\n\t }\n\t }\n\t });\n\t }\n\t\n\t var hasHandler = {\n\t has: function has (target, key) {\n\t var has = key in target;\n\t var isAllowed = allowedGlobals(key) || key.charAt(0) === '_';\n\t if (!has && !isAllowed) {\n\t warnNonPresent(target, key);\n\t }\n\t return has || !isAllowed\n\t }\n\t };\n\t\n\t var getHandler = {\n\t get: function get (target, key) {\n\t if (typeof key === 'string' && !(key in target)) {\n\t warnNonPresent(target, key);\n\t }\n\t return target[key]\n\t }\n\t };\n\t\n\t initProxy = function initProxy (vm) {\n\t if (hasProxy) {\n\t // determine which proxy handler to use\n\t var options = vm.$options;\n\t var handlers = options.render && options.render._withStripped\n\t ? getHandler\n\t : hasHandler;\n\t vm._renderProxy = new Proxy(vm, handlers);\n\t } else {\n\t vm._renderProxy = vm;\n\t }\n\t };\n\t}\n\t\n\t/* */\n\t\n\tvar VNode = function VNode (\n\t tag,\n\t data,\n\t children,\n\t text,\n\t elm,\n\t context,\n\t componentOptions,\n\t asyncFactory\n\t) {\n\t this.tag = tag;\n\t this.data = data;\n\t this.children = children;\n\t this.text = text;\n\t this.elm = elm;\n\t this.ns = undefined;\n\t this.context = context;\n\t this.functionalContext = undefined;\n\t this.key = data && data.key;\n\t this.componentOptions = componentOptions;\n\t this.componentInstance = undefined;\n\t this.parent = undefined;\n\t this.raw = false;\n\t this.isStatic = false;\n\t this.isRootInsert = true;\n\t this.isComment = false;\n\t this.isCloned = false;\n\t this.isOnce = false;\n\t this.asyncFactory = asyncFactory;\n\t this.asyncMeta = undefined;\n\t this.isAsyncPlaceholder = false;\n\t};\n\t\n\tvar prototypeAccessors = { child: {} };\n\t\n\t// DEPRECATED: alias for componentInstance for backwards compat.\n\t/* istanbul ignore next */\n\tprototypeAccessors.child.get = function () {\n\t return this.componentInstance\n\t};\n\t\n\tObject.defineProperties( VNode.prototype, prototypeAccessors );\n\t\n\tvar createEmptyVNode = function (text) {\n\t if ( text === void 0 ) text = '';\n\t\n\t var node = new VNode();\n\t node.text = text;\n\t node.isComment = true;\n\t return node\n\t};\n\t\n\tfunction createTextVNode (val) {\n\t return new VNode(undefined, undefined, undefined, String(val))\n\t}\n\t\n\t// optimized shallow clone\n\t// used for static nodes and slot nodes because they may be reused across\n\t// multiple renders, cloning them avoids errors when DOM manipulations rely\n\t// on their elm reference.\n\tfunction cloneVNode (vnode) {\n\t var cloned = new VNode(\n\t vnode.tag,\n\t vnode.data,\n\t vnode.children,\n\t vnode.text,\n\t vnode.elm,\n\t vnode.context,\n\t vnode.componentOptions,\n\t vnode.asyncFactory\n\t );\n\t cloned.ns = vnode.ns;\n\t cloned.isStatic = vnode.isStatic;\n\t cloned.key = vnode.key;\n\t cloned.isComment = vnode.isComment;\n\t cloned.isCloned = true;\n\t return cloned\n\t}\n\t\n\tfunction cloneVNodes (vnodes) {\n\t var len = vnodes.length;\n\t var res = new Array(len);\n\t for (var i = 0; i < len; i++) {\n\t res[i] = cloneVNode(vnodes[i]);\n\t }\n\t return res\n\t}\n\t\n\t/* */\n\t\n\tvar normalizeEvent = cached(function (name) {\n\t var passive = name.charAt(0) === '&';\n\t name = passive ? name.slice(1) : name;\n\t var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n\t name = once$$1 ? name.slice(1) : name;\n\t var capture = name.charAt(0) === '!';\n\t name = capture ? name.slice(1) : name;\n\t return {\n\t name: name,\n\t once: once$$1,\n\t capture: capture,\n\t passive: passive\n\t }\n\t});\n\t\n\tfunction createFnInvoker (fns) {\n\t function invoker () {\n\t var arguments$1 = arguments;\n\t\n\t var fns = invoker.fns;\n\t if (Array.isArray(fns)) {\n\t var cloned = fns.slice();\n\t for (var i = 0; i < cloned.length; i++) {\n\t cloned[i].apply(null, arguments$1);\n\t }\n\t } else {\n\t // return handler return value for single handlers\n\t return fns.apply(null, arguments)\n\t }\n\t }\n\t invoker.fns = fns;\n\t return invoker\n\t}\n\t\n\tfunction updateListeners (\n\t on,\n\t oldOn,\n\t add,\n\t remove$$1,\n\t vm\n\t) {\n\t var name, cur, old, event;\n\t for (name in on) {\n\t cur = on[name];\n\t old = oldOn[name];\n\t event = normalizeEvent(name);\n\t if (isUndef(cur)) {\n\t (\"production\") !== 'production' && warn(\n\t \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n\t vm\n\t );\n\t } else if (isUndef(old)) {\n\t if (isUndef(cur.fns)) {\n\t cur = on[name] = createFnInvoker(cur);\n\t }\n\t add(event.name, cur, event.once, event.capture, event.passive);\n\t } else if (cur !== old) {\n\t old.fns = cur;\n\t on[name] = old;\n\t }\n\t }\n\t for (name in oldOn) {\n\t if (isUndef(on[name])) {\n\t event = normalizeEvent(name);\n\t remove$$1(event.name, oldOn[name], event.capture);\n\t }\n\t }\n\t}\n\t\n\t/* */\n\t\n\tfunction mergeVNodeHook (def, hookKey, hook) {\n\t var invoker;\n\t var oldHook = def[hookKey];\n\t\n\t function wrappedHook () {\n\t hook.apply(this, arguments);\n\t // important: remove merged hook to ensure it's called only once\n\t // and prevent memory leak\n\t remove(invoker.fns, wrappedHook);\n\t }\n\t\n\t if (isUndef(oldHook)) {\n\t // no existing hook\n\t invoker = createFnInvoker([wrappedHook]);\n\t } else {\n\t /* istanbul ignore if */\n\t if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n\t // already a merged invoker\n\t invoker = oldHook;\n\t invoker.fns.push(wrappedHook);\n\t } else {\n\t // existing plain hook\n\t invoker = createFnInvoker([oldHook, wrappedHook]);\n\t }\n\t }\n\t\n\t invoker.merged = true;\n\t def[hookKey] = invoker;\n\t}\n\t\n\t/* */\n\t\n\tfunction extractPropsFromVNodeData (\n\t data,\n\t Ctor,\n\t tag\n\t) {\n\t // we are only extracting raw values here.\n\t // validation and default values are handled in the child\n\t // component itself.\n\t var propOptions = Ctor.options.props;\n\t if (isUndef(propOptions)) {\n\t return\n\t }\n\t var res = {};\n\t var attrs = data.attrs;\n\t var props = data.props;\n\t if (isDef(attrs) || isDef(props)) {\n\t for (var key in propOptions) {\n\t var altKey = hyphenate(key);\n\t if (false) {\n\t var keyInLowerCase = key.toLowerCase();\n\t if (\n\t key !== keyInLowerCase &&\n\t attrs && hasOwn(attrs, keyInLowerCase)\n\t ) {\n\t tip(\n\t \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n\t (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n\t \" \\\"\" + key + \"\\\". \" +\n\t \"Note that HTML attributes are case-insensitive and camelCased \" +\n\t \"props need to use their kebab-case equivalents when using in-DOM \" +\n\t \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n\t );\n\t }\n\t }\n\t checkProp(res, props, key, altKey, true) ||\n\t checkProp(res, attrs, key, altKey, false);\n\t }\n\t }\n\t return res\n\t}\n\t\n\tfunction checkProp (\n\t res,\n\t hash,\n\t key,\n\t altKey,\n\t preserve\n\t) {\n\t if (isDef(hash)) {\n\t if (hasOwn(hash, key)) {\n\t res[key] = hash[key];\n\t if (!preserve) {\n\t delete hash[key];\n\t }\n\t return true\n\t } else if (hasOwn(hash, altKey)) {\n\t res[key] = hash[altKey];\n\t if (!preserve) {\n\t delete hash[altKey];\n\t }\n\t return true\n\t }\n\t }\n\t return false\n\t}\n\t\n\t/* */\n\t\n\t// The template compiler attempts to minimize the need for normalization by\n\t// statically analyzing the template at compile time.\n\t//\n\t// For plain HTML markup, normalization can be completely skipped because the\n\t// generated render function is guaranteed to return Array. There are\n\t// two cases where extra normalization is needed:\n\t\n\t// 1. When the children contains components - because a functional component\n\t// may return an Array instead of a single root. In this case, just a simple\n\t// normalization is needed - if any child is an Array, we flatten the whole\n\t// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n\t// because functional components already normalize their own children.\n\tfunction simpleNormalizeChildren (children) {\n\t for (var i = 0; i < children.length; i++) {\n\t if (Array.isArray(children[i])) {\n\t return Array.prototype.concat.apply([], children)\n\t }\n\t }\n\t return children\n\t}\n\t\n\t// 2. When the children contains constructs that always generated nested Arrays,\n\t// e.g.