diff --git a/dist/lesspass.min.js b/dist/lesspass.min.js index d684109..1e7f7b6 100644 --- a/dist/lesspass.min.js +++ b/dist/lesspass.min.js @@ -3,7 +3,7 @@ u.inherits(r,c);for(var l=s(f.prototype),p=0;p1?l(n):n;for(var r=l(arguments,1),i=0,o=n.length;i-1:t.test(e)}function Jt(t){var n={};n.get=function(){return On},"production"!==e.env.NODE_ENV&&(n.set=function(){Fn("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(t,"config",n),t.util=nr,t.set=P,t.delete=R,t.nextTick=Un,t.options=Object.create(null),On._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,p(t.options.components,Or),zt(t),Yt(t),Wt(t),Gt(t)}function Zt(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=Xt(r.data,e));for(;n=n.parent;)n.data&&(e=Xt(e,n.data));return Qt(e)}function Xt(t,e){return{staticClass:te(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function Qt(t){var e=t.class,n=t.staticClass;return n||e?te(n,ee(e)):""}function te(t,e){return t?e?t+" "+e:t:e||""}function ee(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,i=t.length;r-1?Vr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Vr[t]=/HTMLUnknownElement/.test(e.toString())}function ie(t){if("string"==typeof t){var n=t;if(t=document.querySelector(t),!t)return"production"!==e.env.NODE_ENV&&Fn("Cannot find element: "+n),document.createElement("div")}return t}function oe(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function se(t,e){return document.createElementNS($r[t],e)}function ae(t){return document.createTextNode(t)}function ue(t){return document.createComment(t)}function ce(t,e,n){t.insertBefore(e,n)}function fe(t,e){t.removeChild(e)}function le(t,e){t.appendChild(e)}function pe(t){return t.parentNode}function de(t){return t.nextSibling}function he(t){return t.tagName}function ve(t,e){t.textContent=e}function me(t,e,n){t.setAttribute(e,n)}function ge(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.child||t.elm,o=r.$refs;e?Array.isArray(o[n])?s(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])&&o[n].indexOf(i)<0?o[n].push(i):o[n]=[i]:o[n]=i}}function ye(t){return null==t}function we(t){return null!=t}function _e(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function be(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,we(i)&&(o[i]=r);return o}function Ee(t){function n(t){return new _r(P.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=P.parentNode(t);e&&P.removeChild(e,t)}function a(t,n,r,i,o){if(t.isRootInsert=!o,!c(t,n,r,i)){var s=t.data,a=t.children,u=t.tag;we(u)?("production"!==e.env.NODE_ENV&&(s&&s.pre&&R++,R||t.ns||On.ignoredElements&&On.ignoredElements.indexOf(u)>-1||!On.isUnknownElement(u)||Fn("Unknown custom element: <"+u+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context)),t.elm=t.ns?P.createElementNS(t.ns,u):P.createElement(u,t),m(t),p(t,a,n),we(s)&&h(t,n),l(r,t.elm,i),"production"!==e.env.NODE_ENV&&s&&s.pre&&R--):t.isComment?(t.elm=P.createComment(t.text),l(r,t.elm,i)):(t.elm=P.createTextNode(t.text),l(r,t.elm,i))}}function c(t,e,n,r){var i=t.data;if(we(i)){var o=we(t.child)&&i.keepAlive;if(we(i=i.hook)&&we(i=i.init)&&i(t,!1,n,r),we(t.child))return v(t,e),o&&f(t,e,n,r),!0}}function f(t,e,n,r){for(var i,o=t;o.child;)if(o=o.child._vnode,we(i=o.data)&&we(i=i.transition)){for(i=0;id?(f=ye(r[m+1])?null:r[m+1].elm,g(t,f,r,p,m,i)):p>m&&w(t,n,l,d)}function E(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.child=t.child);var i,o=e.data,s=we(o);s&&we(i=o.hook)&&we(i=i.prepatch)&&i(t,e);var a=e.elm=t.elm,u=t.children,c=e.children;if(s&&d(e)){for(i=0;i, or missing . Bailing hydration and performing full client-side render.")}t=n(t)}if(c=t.elm,f=P.parentNode(c),a(r,p,f,P.nextSibling(c)),r.parent){for(var v=r.parent;v;)v.elm=r.elm,v=v.parent;if(d(r))for(var m=0;m-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 qe(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function Fe(t){vi(function(){vi(t)})}function Ve(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Ue(t,e)}function He(t,e){t._transitionClasses&&s(t._transitionClasses,e),qe(t,e)}function ze(t,e,n){var r=Ye(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===ci?pi:hi,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=ci,f=s,l=o.length):e===fi?c>0&&(n=fi,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?ci:fi:null,l=n?n===ci?o.length:u.length:0);var p=n===ci&&mi.test(r[li+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function We(t,e){for(;t.length1,T=n._enterCb=Xe(function(){A&&He(n,E),T.cancelled?(A&&He(n,b),C&&C(n)):S&&S(n),n._enterCb=null});t.data.show||Ct(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),k&&k(n,T)},"transition-insert"),x&&x(n),A&&(Ve(n,b),Ve(n,E),Fe(function(){He(n,b),T.cancelled||O||ze(n,o,T)})),t.data.show&&(e&&e(),k&&k(n,T)),A||O||T()}}}function Je(t,e){function n(){m.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),c&&c(r),h&&(Ve(r,a),Ve(r,u),Fe(function(){He(r,a),m.cancelled||v||ze(r,s,m)})),f&&f(r,m),h||v||m())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Ze(t.data.transition);if(!i)return e();if(!r._leaveCb&&1===r.nodeType){var o=i.css,s=i.type,a=i.leaveClass,u=i.leaveActiveClass,c=i.beforeLeave,f=i.leave,l=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,h=o!==!1&&!Nn,v=f&&(f._length||f.length)>1,m=r._leaveCb=Xe(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),h&&He(r,u),m.cancelled?(h&&He(r,a),p&&p(r)):(e(),l&&l(r)),r._leaveCb=null});d?d(n):n()}}function Ze(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&p(e,gi(t.name||"v")),p(e,t),e}return"string"==typeof t?gi(t):void 0}}function Xe(t){var e=!1;return function(){e||(e=!0,t())}}function Qe(t,e){e.data.show||Ke(e)}function tn(t,n,r){var i=n.value,o=t.multiple;if(o&&!Array.isArray(i))return void("production"!==e.env.NODE_ENV&&Fn('