baseui/build/lib.js

13 lines
258 KiB
JavaScript
Raw Permalink Normal View History

2018-11-01 12:10:29 +01:00
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.baseUI=t():n.baseUI=t()}("undefined"!=typeof self?self:this,function(){return function(n){function t(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var e={};return t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="build/",t(t.s=413)}([function(n,t,e){var r=e(2),i=e(23),o=e(12),a=e(13),s=e(19),c=function(n,t,e){var u,l,f,p,A=n&c.F,h=n&c.G,d=n&c.S,g=n&c.P,v=n&c.B,b=h?r:d?r[t]||(r[t]={}):(r[t]||{}).prototype,m=h?i:i[t]||(i[t]={}),C=m.prototype||(m.prototype={});h&&(e=t);for(u in e)l=!A&&b&&void 0!==b[u],f=(l?b:e)[u],p=v&&l?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,b&&a(b,u,f,n&c.U),m[u]!=f&&o(m,u,p),g&&C[u]!=f&&(C[u]=f)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,n.exports=c},function(n,t,e){var r=e(4);n.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(n,t){var e=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(n,t){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,e){var r=e(53)("wks"),i=e(37),o=e(2).Symbol,a="function"==typeof o;(n.exports=function(n){return r[n]||(r[n]=a&&o[n]||(a?o:i)("Symbol."+n))}).store=r},function(n,t,e){n.exports=!e(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,e){var r=e(1),i=e(96),o=e(24),a=Object.defineProperty;t.f=e(6)?Object.defineProperty:function(n,t,e){if(r(n),t=o(t,!0),r(e),i)try{return a(n,t,e)}catch(n){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(n[t]=e.value),n}},function(n,t,e){var r=e(26),i=Math.min;n.exports=function(n){return n>0?i(r(n),9007199254740991):0}},function(n,t,e){var r=e(25);n.exports=function(n){return Object(r(n))}},function(n,t){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t){var e={}.hasOwnProperty;n.exports=function(n,t){return e.call(n,t)}},function(n,t,e){var r=e(7),i=e(36);n.exports=e(6)?function(n,t,e){return r.f(n,t,i(1,e))}:function(n,t,e){return n[t]=e,n}},function(n,t,e){var r=e(2),i=e(12),o=e(11),a=e(37)("src"),s=Function.toString,c=(""+s).split("toString");e(23).inspectSource=function(n){return s.call(n)},(n.exports=function(n,t,e,s){var u="function"==typeof e;u&&(o(e,"name")||i(e,"name",t)),n[t]!==e&&(u&&(o(e,a)||i(e,a,n[t]?""+n[t]:c.join(String(t)))),n===r?n[t]=e:s?n[t]?n[t]=e:i(n,t,e):(delete n[t],i(n,t,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(n,t,e){var r=e(50),i=e(25);n.exports=function(n){return r(i(n))}},function(n,t,e){var r=e(0),i=e(3),o=e(25),a=/"/g,s=function(n,t,e,r){var i=String(o(n)),s="<"+t;return""!==e&&(s+=" "+e+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+t+">"};n.exports=function(n,t){var e={};e[n]=t(s),r(r.P+r.F*i(function(){var t=""[n]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",e)}},function(n,t,e){var r=e(51),i=e(36),o=e(14),a=e(24),s=e(11),c=e(96),u=Object.getOwnPropertyDescriptor;t.f=e(6)?u:function(n,t){if(n=o(n),t=a(t,!0),c)try{return u(n,t)}catch(n){}if(s(n,t))return i(!r.f.call(n,t),n[t])}},function(n,t,e){var r=e(11),i=e(9),o=e(71)("IE_PROTO"),a=Object.prototype;n.exports=Object.getPrototypeOf||function(n){return n=i(n),r(n,o)?n[o]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?a:null}},function(n,t,e){"use strict";function r(n){r
* vuex v2.5.0
2017-10-04 17:33:40 +02:00
* (c) 2017 Evan You
* @license MIT
*/
2018-11-01 12:10:29 +01:00
var x=function(n){function t(){var n=this.$options;n.store?this.$store="function"==typeof n.store?n.store():n.store:n.parent&&n.parent.$store&&(this.$store=n.parent.$store)}if(Number(n.version.split(".")[0])>=2)n.mixin({beforeCreate:t});else{var e=n.prototype._init;n.prototype._init=function(n){void 0===n&&(n={}),n.init=n.init?[t].concat(n.init):t,e.call(this,n)}}},w="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,_=function(n,t){this.runtime=t,this._children=Object.create(null),this._rawModule=n;var e=n.state;this.state=("function"==typeof e?e():e)||{}},k={namespaced:{configurable:!0}};k.namespaced.get=function(){return!!this._rawModule.namespaced},_.prototype.addChild=function(n,t){this._children[n]=t},_.prototype.removeChild=function(n){delete this._children[n]},_.prototype.getChild=function(n){return this._children[n]},_.prototype.update=function(n){this._rawModule.namespaced=n.namespaced,n.actions&&(this._rawModule.actions=n.actions),n.mutations&&(this._rawModule.mutations=n.mutations),n.getters&&(this._rawModule.getters=n.getters)},_.prototype.forEachChild=function(n){i(this._children,n)},_.prototype.forEachGetter=function(n){this._rawModule.getters&&i(this._rawModule.getters,n)},_.prototype.forEachAction=function(n){this._rawModule.actions&&i(this._rawModule.actions,n)},_.prototype.forEachMutation=function(n){this._rawModule.mutations&&i(this._rawModule.mutations,n)},Object.defineProperties(_.prototype,k);var S=function(n){this.register([],n,!1)};S.prototype.get=function(n){return n.reduce(function(n,t){return n.getChild(t)},this.root)},S.prototype.getNamespace=function(n){var t=this.root;return n.reduce(function(n,e){return t=t.getChild(e),n+(t.namespaced?e+"/":"")},"")},S.prototype.update=function(n){s([],this.root,n)},S.prototype.register=function(n,t,e){var r=this;void 0===e&&(e=!0);var o=new _(t,e);if(0===n.length)this.root=o;else{this.get(n.slice(0,-1)).addChild(n[n.length-1],o)}t.modules&&i(t.modules,function(t,i){r.register(n.concat(i),t,e)})},S.prototype.unregister=function(n){var t=this.get(n.slice(0,-1)),e=n[n.length-1];t.getChild(e).runtime&&t.removeChild(e)};var D,I=function(n){var t=this;void 0===n&&(n={}),!D&&"undefined"!=typeof window&&window.Vue&&C(window.Vue);var e=n.plugins;void 0===e&&(e=[]);var i=n.strict;void 0===i&&(i=!1);var o=n.state;void 0===o&&(o={}),"function"==typeof o&&(o=o()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new S(n),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new D;var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(n,t){return c.call(a,n,t)},this.commit=function(n,t,e){return u.call(a,n,t,e)},this.strict=i,f(this,o,[],this._modules.root),l(this,o),e.forEach(function(n){return n(t)}),D.config.devtools&&r(this)},O={state:{configurable:!0}};O.state.get=function(){return this._vm._data.$$state},O.state.set=function(n){},I.prototype.commit=function(n,t,e){var r=this,i=m(n,t,e),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit(function(){c.forEach(function(n){n(a)})}),this._subscribers.forEach(function(n){return n(s,r.state)}))},I.prototype.dispatch=function(n,t){var e=this,r=m(n,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s)return this._actionSubscribers.forEach(function(n){return n(a,e.state)}),s.length>1?Promise.all(s.map(function(n){return n(o)})):s[0](o)},I.prototype.subscribe=function(n){return c(n,this._subscribers)},I.prototype.subscribeAction=function(n){return c(n,this._actionSubscribers)},I.prototype.watch=function(n,t,e){var r=this;return this._watcherVM.$watch(function(){return n(r.state,r.getters)},t,e)},I.prototype.replaceState=function(n){var t=this;this._withCommit(function(){t._vm._data.$$state=n})},I.prototype.registerModule=function(n,t,e){void 0===e&&(e={}),"string"==typeof n&&(n=[n]),this._modules.register(n,t),f(this,this.state,n,this._modules.get(n),e.preserveState),l(this,this.state)},I.
2017-10-04 17:33:40 +02:00
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
2018-11-01 12:10:29 +01:00
n.exports=function(n){return null!=n&&(e(n)||r(n)||!!n._isBuffer)}},function(n,t,e){"use strict";function r(n){this.defaults=n,this.interceptors={request:new a,response:new a}}var i=e(95),o=e(18),a=e(365),s=e(366),c=e(368),u=e(369);r.prototype.request=function(n){"string"==typeof n&&(n=o.merge({url:arguments[0]},arguments[1])),n=o.merge(i,this.defaults,{method:"get"},n),n.method=n.method.toLowerCase(),n.baseURL&&!c(n.url)&&(n.url=u(n.baseURL,n.url));var t=[s,void 0],e=Promise.resolve(n);for(this.interceptors.request.forEach(function(n){t.unshift(n.fulfilled,n.rejected)}),this.interceptors.response.forEach(function(n){t.push(n.fulfilled,n.rejected)});t.length;)e=e.then(t.shift(),t.shift());return e},o.forEach(["delete","get","head","options"],function(n){r.prototype[n]=function(t,e){return this.request(o.merge(e||{},{method:n,url:t}))}}),o.forEach(["post","put","patch"],function(n){r.prototype[n]=function(t,e,r){return this.request(o.merge(r||{},{method:n,url:t,data:e}))}}),n.exports=r},function(n,t,e){"use strict";var r=e(18);n.exports=function(n,t){r.forEach(n,function(e,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(n[t]=e,delete n[r])})}},function(n,t,e){"use strict";var r=e(131);n.exports=function(n,t,e){var i=e.config.validateStatus;e.status&&i&&!i(e.status)?t(r("Request failed with status code "+e.status,e.config,null,e.request,e)):n(e)}},function(n,t,e){"use strict";n.exports=function(n,t,e,r,i){return n.config=t,e&&(n.code=e),n.request=r,n.response=i,n}},function(n,t,e){"use strict";function r(n){return encodeURIComponent(n).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=e(18);n.exports=function(n,t,e){if(!t)return n;var o;if(e)o=e(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(n,t){null!==n&&void 0!==n&&(i.isArray(n)&&(t+="[]"),i.isArray(n)||(n=[n]),i.forEach(n,function(n){i.isDate(n)?n=n.toISOString():i.isObject(n)&&(n=JSON.stringify(n)),a.push(r(t)+"="+r(n))}))}),o=a.join("&")}return o&&(n+=(-1===n.indexOf("?")?"?":"&")+o),n}},function(n,t,e){"use strict";var r=e(18);n.exports=function(n){var t,e,i,o={};return n?(r.forEach(n.split("\n"),function(n){i=n.indexOf(":"),t=r.trim(n.substr(0,i)).toLowerCase(),e=r.trim(n.substr(i+1)),t&&(o[t]=o[t]?o[t]+", "+e:e)}),o):o}},function(n,t,e){"use strict";var r=e(18);n.exports=r.isStandardBrowserEnv()?function(){function n(n){var t=n;return e&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=n(window.location.href),function(e){var i=r.isString(e)?n(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},function(n,t,e){"use strict";function r(){this.message="String contains an invalid character"}function i(n){for(var t,e,i=String(n),a="",s=0,c=o;i.charAt(0|s)||(c="=",s%1);a+=c.charAt(63&t>>8-s%1*8)){if((e=i.charCodeAt(s+=.75))>255)throw new r;t=t<<8|e}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",n.exports=i},function(n,t,e){"use strict";var r=e(18);n.exports=r.isStandardBrowserEnv()?function(){return{write:function(n,t,e,i,o,a){var s=[];s.push(n+"="+encodeURIComponent(t)),r.isNumber(e)&&s.push("expires="+new Date(e).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(n){var t=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},fu
2017-10-04 17:33:40 +02:00
//# sourceMappingURL=lib.js.map