diff --git a/dist/lesspass.min.js b/dist/lesspass.min.js index 493d740..36d1e26 100644 --- a/dist/lesspass.min.js +++ b/dist/lesspass.min.js @@ -3,8 +3,8 @@ 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 Kt(t){var n={};n.get=function(){return xn},"production"!==e.env.NODE_ENV&&(n.set=function(){Bn("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(t,"config",n),t.util=Zn,t.set=R,t.delete=P,t.nextTick=Dn,t.options=Object.create(null),xn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,p(t.options.components,xr),Ht(t),Wt(t),zt(t),Yt(t)}function Jt(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=Zt(r.data,e));for(;n=n.parent;)n.data&&(e=Zt(e,n.data));return Xt(e)}function Zt(t,e){return{staticClass:Qt(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function Xt(t){var e=t.class,n=t.staticClass;return n||e?Qt(n,te(e)):""}function Qt(t,e){return t?e?t+" "+e:t:e||""}function te(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?Lr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Lr[t]=/HTMLUnknownElement/.test(e.toString())}function re(t){if("string"==typeof t){var n=t;if(t=document.querySelector(t),!t)return"production"!==e.env.NODE_ENV&&Bn("Cannot find element: "+n),document.createElement("div")}return t}function ie(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 oe(t,e){return document.createElementNS(jr[t],e)}function se(t){return document.createTextNode(t)}function ae(t){return document.createComment(t)}function ue(t,e,n){t.insertBefore(e,n)}function ce(t,e){t.removeChild(e)}function fe(t,e){t.appendChild(e)}function le(t){return t.parentNode}function pe(t){return t.nextSibling}function he(t){return t.tagName}function de(t,e){t.textContent=e}function ve(t){return t.childNodes}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 vr(T.tagName(t).toLowerCase(),{},[],void 0,t)}function i(t,e){function n(){0===--n.listeners&&o(t)}return n.listeners=e,n}function o(t){var e=T.parentNode(t);e&&T.removeChild(e,t)}function s(t,n,r,i,o){if(t.isRootInsert=!o,!a(t,n,r,i)){var s=t.data,u=t.children,c=t.tag;we(c)?("production"!==e.env.NODE_ENV&&(s&&s.pre&&R++,R||t.ns||xn.ignoredElements&&xn.ignoredElements.indexOf(c)>-1||!xn.isUnknownElement(c)||Bn("Unknown custom element: <"+c+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context)),t.elm=t.ns?T.createElementNS(t.ns,c):T.createElement(c,t),v(t),l(t,u,n),we(s)&&h(t,n),f(r,t.elm,i),"production"!==e.env.NODE_ENV&&s&&s.pre&&R--):t.isComment?(t.elm=T.createComment(t.text),f(r,t.elm,i)):(t.elm=T.createTextNode(t.text),f(r,t.elm,i))}}function a(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 d(t,e),o&&c(t,e,n,r),!0}}function c(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;ih?(f=ye(r[g+1])?null:r[g+1].elm,m(t,f,r,p,g,i)):p>g&&y(t,n,l,h)}function b(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&&p(e)){for(i=0;i, or missing . Bailing hydration and performing full client-side render.")}t=n(t)}if(c=t.elm,f=T.parentNode(c),s(r,h,f,T.nextSibling(c)),r.parent){for(var v=r.parent;v;)v.elm=r.elm,v=v.parent;if(p(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 Be(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 Ie(t){ui(function(){ui(t)})}function $e(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Le(t,e)}function Ue(t,e){t._transitionClasses&&s(t._transitionClasses,e),Be(t,e)}function qe(t,e,n){var r=Fe(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===ni?oi:ai,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=ni,f=s,l=o.length):e===ri?c>0&&(n=ri,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?ni:ri:null,l=n?n===ni?o.length:u.length:0);var p=n===ni&&ci.test(r[ii+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function Ve(t,e){for(;t.length1,O=e._enterCb=Ge(function(){C&&Ue(e,b),O.cancelled?(C&&Ue(e,_),k&&k(e)):S&&S(e),e._enterCb=null});t.data.show||ft(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),x&&x(e,O)},"transition-insert"),E&&E(e),C&&($e(e,_),$e(e,b),Ie(function(){Ue(e,_),O.cancelled||A||qe(e,i,O)})),t.data.show&&x&&x(e,O),C||A||O()}}}function ze(t,e){function n(){m.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),c&&c(r),d&&($e(r,a),$e(r,u),Ie(function(){Ue(r,a),m.cancelled||v||qe(r,s,m)})),f&&f(r,m),d||v||m())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Ye(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,h=i.delayLeave,d=o!==!1&&!Tn,v=f&&(f._length||f.length)>1,m=r._leaveCb=Ge(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),d&&Ue(r,u),m.cancelled?(d&&Ue(r,a),p&&p(r)):(e(),l&&l(r)),r._leaveCb=null});h?h(n):n()}}function Ye(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&p(e,fi(t.name||"v")),p(e,t),e}return"string"==typeof t?fi(t):void 0}}function Ge(t){var e=!1;return function(){e||(e=!0,t())}}function Ke(t,e){e.data.show||We(e)}function Je(t,n,r){var i=n.value,o=t.multiple;if(o&&!Array.isArray(i))return void("production"!==e.env.NODE_ENV&&Bn('