9 lines
20 KiB
JavaScript
9 lines
20 KiB
JavaScript
!function(t,e){var n=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=259)}({259:function(t,e,n){"use strict";n.r(e),n.d(e,"attachMaterialRipple",function(){return u}),n.d(e,"attachMaterialRippleOnLoad",function(){return c}),n.d(e,"detachMaterialRipple",function(){return l});var r=n(260),o=(n.n(r),n(37)),a=n.n(o);function i(t){var e=(t.className||"").split(" ");return-1!==e.indexOf("btn")||-1!==e.indexOf("page-link")||-1!==e.indexOf("dropdown-item")||t.tagName&&"A"===t.tagName.toUpperCase()&&"LI"===t.parentNode.tagName.toUpperCase()&&(-1!==t.parentNode.parentNode.className.indexOf("dropdown-menu")||-1!==t.parentNode.parentNode.className.indexOf("pagination"))}function s(t){if(2!==t.button){var e=function(t){if(!t)return null;if("function"!=typeof t.className.indexOf||-1!==t.className.indexOf("waves-effect"))return null;if(i(t))return t;for(var e=t.parentNode;e&&"BODY"!==e.tagName.toUpperCase()&&-1===e.className.indexOf("waves-effect");){if(i(e))return e;e=e.parentNode}return null}(t.target);e&&a.a.attach(e)}}function u(){"undefined"!=typeof window&&("number"==typeof document.documentMode&&document.documentMode<11||(document.body.addEventListener("mousedown",s,!1),"ontouchstart"in window&&document.body.addEventListener("touchstart",s,!1),a.a.init({duration:500})))}function c(){document.body?u():window.addEventListener("DOMContentLoaded",function t(){u(),window.removeEventListener("DOMContentLoaded",t)})}function l(){"undefined"!=typeof window&&document.body&&("number"==typeof document.documentMode&&document.documentMode<11||(document.body.removeEventListener("mousedown",s,!1),"ontouchstart"in window&&document.body.removeEventListener("touchstart",s,!1),a.a.calm(".waves-effect")))}},260:function(t,e,n){var r=n(261);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!1,transform:void 0,insertInto:void 0};n(40)(r,o),r.locals&&(t.exports=r.locals)},261:function(t,e,n){(t.exports=n(39)(!1)).push([t.i,"/*!\n * Waves v0.7.6\n * http://fian.my.id/Waves \n * \n * Copyright 2014-2018 Alfiana E. Sibuea and other contributors \n * Released under the MIT license \n * https://github.com/fians/Waves/blob/master/LICENSE */\n.waves-effect {\n position: relative;\n cursor: pointer;\n display: inline-block;\n overflow: hidden;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n}\n.waves-effect .waves-ripple {\n position: absolute;\n border-radius: 50%;\n width: 100px;\n height: 100px;\n margin-top: -50px;\n margin-left: -50px;\n opacity: 0;\n background: rgba(0, 0, 0, 0.2);\n background: -webkit-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: -o-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: -moz-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n -webkit-transition: all 0.5s ease-out;\n -moz-transition: all 0.5s ease-out;\n -o-transition: all 0.5s ease-out;\n transition: all 0.5s ease-out;\n -webkit-transition-property: -webkit-transform, opacity;\n -moz-transition-property: -moz-transform, opacity;\n -o-transition-property: -o-transform, opacity;\n transition-property: transform, opacity;\n -webkit-transform: scale(0) translate(0, 0);\n -moz-transform: scale(0) translate(0, 0);\n -ms-transform: scale(0) translate(0, 0);\n -o-transform: scale(0) translate(0, 0);\n transform: scale(0) translate(0, 0);\n pointer-events: none;\n}\n.waves-effect.waves-light .waves-ripple {\n background: rgba(255, 255, 255, 0.4);\n background: -webkit-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: -o-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: -moz-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.waves-effect.waves-classic .waves-ripple {\n background: rgba(0, 0, 0, 0.2);\n}\n.waves-effect.waves-classic.waves-light .waves-ripple {\n background: rgba(255, 255, 255, 0.4);\n}\n.waves-notransition {\n -webkit-transition: none !important;\n -moz-transition: none !important;\n -o-transition: none !important;\n transition: none !important;\n}\n.waves-button,\n.waves-circle {\n -webkit-transform: translateZ(0);\n -moz-transform: translateZ(0);\n -ms-transform: translateZ(0);\n -o-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);\n}\n.waves-button,\n.waves-button:hover,\n.waves-button:visited,\n.waves-button-input {\n white-space: nowrap;\n vertical-align: middle;\n cursor: pointer;\n border: none;\n outline: none;\n color: inherit;\n background-color: rgba(0, 0, 0, 0);\n font-size: 1em;\n line-height: 1em;\n text-align: center;\n text-decoration: none;\n z-index: 1;\n}\n.waves-button {\n padding: 0.85em 1.1em;\n border-radius: 0.2em;\n}\n.waves-button-input {\n margin: 0;\n padding: 0.85em 1.1em;\n}\n.waves-input-wrapper {\n border-radius: 0.2em;\n vertical-align: bottom;\n}\n.waves-input-wrapper.waves-button {\n padding: 0;\n}\n.waves-input-wrapper .waves-button-input {\n position: relative;\n top: 0;\n left: 0;\n z-index: 1;\n}\n.waves-circle {\n text-align: center;\n width: 2.5em;\n height: 2.5em;\n line-height: 2.5em;\n border-radius: 50%;\n}\n.waves-float {\n -webkit-mask-image: none;\n -webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);\n box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);\n -webkit-transition: all 300ms;\n -moz-transition: all 300ms;\n -o-transition: all 300ms;\n transition: all 300ms;\n}\n.waves-float:active {\n -webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);\n box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);\n}\n.waves-block {\n display: block;\n}\n",""])},3:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},37:function(t,e,n){(function(n){var r;
|
|
/*!
|
|
* Waves v0.7.6
|
|
* http://fian.my.id/Waves
|
|
*
|
|
* Copyright 2014-2018 Alfiana E. Sibuea and other contributors
|
|
* Released under the MIT license
|
|
* https://github.com/fians/Waves/blob/master/LICENSE
|
|
*/!function(n,o){"use strict";void 0===(r=function(){return n.Waves=o.call(n),n.Waves}.apply(e,[]))||(t.exports=r)}("object"==typeof n?n:this,function(){"use strict";var t=t||{},e=document.querySelectorAll.bind(document),n=Object.prototype.toString,r="ontouchstart"in window;function o(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function a(t){var r,a=n.call(t);return"[object String]"===a?e(t):o(t)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(a)&&t.hasOwnProperty("length")?t:o(r=t)&&r.nodeType>0?[t]:[]}function i(t){var e,n,r={top:0,left:0},o=t&&t.ownerDocument;return e=o.documentElement,void 0!==t.getBoundingClientRect&&(r=t.getBoundingClientRect()),n=function(t){return null!==(e=t)&&e===e.window?t:9===t.nodeType&&t.defaultView;var e}(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}}function s(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}var u={duration:750,delay:200,show:function(t,e,n){if(2===t.button)return!1;e=e||this;var r=document.createElement("div");r.className="waves-ripple waves-rippling",e.appendChild(r);var o=i(e),a=0,c=0;"touches"in t&&t.touches.length?(a=t.touches[0].pageY-o.top,c=t.touches[0].pageX-o.left):(a=t.pageY-o.top,c=t.pageX-o.left),c=c>=0?c:0,a=a>=0?a:0;var l="scale("+e.clientWidth/100*3+")",d="translate(0,0)";n&&(d="translate("+n.x+"px, "+n.y+"px)"),r.setAttribute("data-hold",Date.now()),r.setAttribute("data-x",c),r.setAttribute("data-y",a),r.setAttribute("data-scale",l),r.setAttribute("data-translate",d);var f={top:a+"px",left:c+"px"};r.classList.add("waves-notransition"),r.setAttribute("style",s(f)),r.classList.remove("waves-notransition"),f["-webkit-transform"]=l+" "+d,f["-moz-transform"]=l+" "+d,f["-ms-transform"]=l+" "+d,f["-o-transform"]=l+" "+d,f.transform=l+" "+d,f.opacity="1";var p="mousemove"===t.type?2500:u.duration;f["-webkit-transition-duration"]=p+"ms",f["-moz-transition-duration"]=p+"ms",f["-o-transition-duration"]=p+"ms",f["transition-duration"]=p+"ms",r.setAttribute("style",s(f))},hide:function(t,e){for(var n=(e=e||this).getElementsByClassName("waves-rippling"),o=0,a=n.length;o<a;o++)l(t,e,n[o]);r&&(e.removeEventListener("touchend",u.hide),e.removeEventListener("touchcancel",u.hide)),e.removeEventListener("mouseup",u.hide),e.removeEventListener("mouseleave",u.hide)}},c={input:function(t){var e=t.parentNode;if("i"!==e.tagName.toLowerCase()||!e.classList.contains("waves-effect")){var n=document.createElement("i");n.className=t.className+" waves-input-wrapper",t.className="waves-button-input",e.replaceChild(n,t),n.appendChild(t);var r=window.getComputedStyle(t,null),o=r.color,a=r.backgroundColor;n.setAttribute("style","color:"+o+";background:"+a),t.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(t){var e=t.parentNode;if("i"!==e.tagName.toLowerCase()||!e.classList.contains("waves-effect")){var n=document.createElement("i");e.replaceChild(n,t),n.appendChild(t)}}};function l(t,e,n){if(n){n.classList.remove("waves-rippling");var r=n.getAttribute("data-x"),o=n.getAttribute("data-y"),a=n.getAttribute("data-scale"),i=n.getAttribute("data-translate"),c=Date.now()-Number(n.getAttribute("data-hold")),l=350-c;l<0&&(l=0),"mousemove"===t.type&&(l=150);var d="mousemove"===t.type?2500:u.duration;setTimeout(function(){var t={top:o+"px",left:r+"px",opacity:"0","-webkit-transition-duration":d+"ms","-moz-transition-duration":d+"ms","-o-transition-duration":d+"ms","transition-duration":d+"ms","-webkit-transform":a+" "+i,"-moz-transform":a+" "+i,"-ms-transform":a+" "+i,"-o-transform":a+" "+i,transform:a+" "+i};n.setAttribute("style",s(t)),setTimeout(function(){try{e.removeChild(n)}catch(t){return!1}},d)},l)}}var d={touches:0,allowEvent:function(t){var e=!0;return/^(mousedown|mousemove)$/.test(t.type)&&d.touches&&(e=!1),e},registerEvent:function(t){var e=t.type;"touchstart"===e?d.touches+=1:/^(touchend|touchcancel)$/.test(e)&&setTimeout(function(){d.touches&&(d.touches-=1)},500)}};function f(t){var e=function(t){if(!1===d.allowEvent(t))return null;for(var e=null,n=t.target||t.srcElement;n.parentElement;){if(!(n instanceof SVGElement)&&n.classList.contains("waves-effect")){e=n;break}n=n.parentElement}return e}(t);if(null!==e){if(e.disabled||e.getAttribute("disabled")||e.classList.contains("disabled"))return;if(d.registerEvent(t),"touchstart"===t.type&&u.delay){var n=!1,o=setTimeout(function(){o=null,u.show(t,e)},u.delay),a=function(r){o&&(clearTimeout(o),o=null,u.show(t,e)),n||(n=!0,u.hide(r,e)),s()},i=function(t){o&&(clearTimeout(o),o=null),a(t),s()};e.addEventListener("touchmove",i,!1),e.addEventListener("touchend",a,!1),e.addEventListener("touchcancel",a,!1);var s=function(){e.removeEventListener("touchmove",i),e.removeEventListener("touchend",a),e.removeEventListener("touchcancel",a)}}else u.show(t,e),r&&(e.addEventListener("touchend",u.hide,!1),e.addEventListener("touchcancel",u.hide,!1)),e.addEventListener("mouseup",u.hide,!1),e.addEventListener("mouseleave",u.hide,!1)}}return t.init=function(t){var e=document.body;"duration"in(t=t||{})&&(u.duration=t.duration),"delay"in t&&(u.delay=t.delay),r&&(e.addEventListener("touchstart",f,!1),e.addEventListener("touchcancel",d.registerEvent,!1),e.addEventListener("touchend",d.registerEvent,!1)),e.addEventListener("mousedown",f,!1)},t.attach=function(t,e){var r,o;t=a(t),"[object Array]"===n.call(e)&&(e=e.join(" ")),e=e?" "+e:"";for(var i=0,s=t.length;i<s;i++)r=t[i],o=r.tagName.toLowerCase(),-1!==["input","img"].indexOf(o)&&(c[o](r),r=r.parentElement),-1===r.className.indexOf("waves-effect")&&(r.className+=" waves-effect"+e)},t.ripple=function(t,e){var n=(t=a(t)).length;if((e=e||{}).wait=e.wait||0,e.position=e.position||null,n)for(var r,o,s,c={},l=0,d={type:"mousedown",button:1},f=function(t,e){return function(){u.hide(t,e)}};l<n;l++)r=t[l],o=e.position||{x:r.clientWidth/2,y:r.clientHeight/2},s=i(r),c.x=s.left+o.x,c.y=s.top+o.y,d.pageX=c.x,d.pageY=c.y,u.show(d,r),e.wait>=0&&null!==e.wait&&setTimeout(f({type:"mouseup",button:1},r),e.wait)},t.calm=function(t){t=a(t);for(var e={type:"mouseup",button:1},n=0,r=t.length;n<r;n++)u.hide(e,t[n])},t.displayEffect=function(e){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"),t.init(e)},t})}).call(this,n(3))},39:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n,r=t[1]||"",o=t[3];if(!o)return r;if(e&&"function"==typeof btoa){var a=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),i=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[r].concat(i).concat([a]).join("\n")}return[r].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var a=this[o][0];null!=a&&(r[a]=!0)}for(o=0;o<t.length;o++){var i=t[o];null!=i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},40:function(t,e,n){var r,o,a={},i=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),u=null,c=0,l=[],d=n(41);function f(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=a[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(h(r.parts[i],e))}else{for(var s=[],i=0;i<r.parts.length;i++)s.push(h(r.parts[i],e));a[r.id]={id:r.id,refs:1,parts:s}}}}function p(t,e){for(var n=[],r={},o=0;o<t.length;o++){var a=t[o],i=e.base?a[0]+e.base:a[0],s=a[1],u=a[2],c=a[3],l={css:s,media:u,sourceMap:c};r[i]?r[i].parts.push(l):n.push(r[i]={id:i,parts:[l]})}return n}function m(t,e){var n=s(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=l[l.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),l.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(t.insertAt.before,n);n.insertBefore(e,o)}}function v(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=l.indexOf(t);e>=0&&l.splice(e,1)}function b(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=n.nc;r&&(t.attrs.nonce=r)}return g(e,t.attrs),m(t,e),e}function g(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function h(t,e){var n,r,o,a;if(e.transform&&t.css){if(!(a="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=a}if(e.singleton){var i=c++;n=u||(u=b(e)),r=x.bind(null,n,i,!1),o=x.bind(null,n,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),m(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,a=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||a)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var i=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(i),s&&URL.revokeObjectURL(s)}.bind(null,n,e),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(e),r=function(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){v(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=i()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return f(n,e),function(t){for(var r=[],o=0;o<n.length;o++){var i=n[o],s=a[i.id];s.refs--,r.push(s)}if(t){var u=p(t,e);f(u,e)}for(var o=0;o<r.length;o++){var s=r[o];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete a[s.id]}}}};var w,y=(w=[],function(t,e){return w[t]=e,w.filter(Boolean).join("\n")});function x(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}},41:function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/"),o=t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o,a=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?t:(o=0===a.indexOf("//")?a:0===a.indexOf("/")?n+a:r+a.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")});return o}}});if("object"==typeof n){var r=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var o in n)r[0]&&(r[0][o]=n[o]),r[1]&&"__esModule"!==o&&(r[1][o]=n[o]),r[2]&&(r[2][o]=n[o])}}(this); |