-!function(){return function e(t,o,n){function r(s,c){if(!o[s]){if(!t[s]){var a="function"==typeof require&&require;if(!c&&a)return a(s,!0);if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var h=o[s]={exports:{}};t[s][0].call(h.exports,function(e){return r(t[s][1][e]||e)},h,h.exports,e,t,o,n)}return o[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}}()({1:[function(e,t,o){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],2:[function(e,t,o){var n=e("./_wks")("unscopables"),r=Array.prototype;null==r[n]&&e("./_hide")(r,n,{}),t.exports=function(e){r[n][e]=!0}},{"./_hide":17,"./_wks":45}],3:[function(e,t,o){var n=e("./_is-object");t.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":21}],4:[function(e,t,o){var n=e("./_to-iobject"),r=e("./_to-length"),i=e("./_to-absolute-index");t.exports=function(e){return function(t,o,s){var c,a=n(t),l=r(a.length),h=i(s,l);if(e&&o!=o){for(;l>h;)if((c=a[h++])!=c)return!0}else for(;l>h;h++)if((e||h in a)&&a[h]===o)return e||h||0;return!e&&-1}}},{"./_to-absolute-index":38,"./_to-iobject":40,"./_to-length":41}],5:[function(e,t,o){var n={}.toString;t.exports=function(e){return n.call(e).slice(8,-1)}},{}],6:[function(e,t,o){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},{}],7:[function(e,t,o){var n=e("./_a-function");t.exports=function(e,t,o){if(n(e),void 0===t)return e;switch(o){case 1:return function(o){return e.call(t,o)};case 2:return function(o,n){return e.call(t,o,n)};case 3:return function(o,n,r){return e.call(t,o,n,r)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":1}],8:[function(e,t,o){t.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},{}],9:[function(e,t,o){t.exports=!e("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":13}],10:[function(e,t,o){var n=e("./_is-object"),r=e("./_global").document,i=n(r)&&n(r.createElement);t.exports=function(e){return i?r.createElement(e):{}}},{"./_global":15,"./_is-object":21}],11:[function(e,t,o){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],12:[function(e,t,o){var n=e("./_global"),r=e("./_core"),i=e("./_hide"),s=e("./_redefine"),c=e("./_ctx"),a=function(e,t,o){var l,h,u,d,f=e&a.F,p=e&a.G,_=e&a.S,m=e&a.P,g=e&a.B,y=p?n:_?n[t]||(n[t]={}):(n[t]||{}).prototype,v=p?r:r[t]||(r[t]={}),w=v.prototype||(v.prototype={});for(l in p&&(o=t),o)u=((h=!f&&y&&void 0!==y[l])?y:o)[l],d=g&&h?c(u,n):m&&"function"==typeof u?c(Function.call,u):u,y&&s(y,l,u,e&a.U),v[l]!=u&&i(v,l,d),m&&w[l]!=u&&(w[l]=u)};n.core=r,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},{"./_core":6,"./_ctx":7,"./_global":15,"./_hide":17,"./_redefine":34}],13:[function(e,t,o){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],14:[function(e,t,o){t.exports=e("./_shared")("native-function-to-string",Function.toString)},{"./_shared":37}],15:[function(e,t,o){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)},{}],16:[function(e,t,o){var n={}.hasOwnProperty;t.exports=function(e,t){return n.call(e,t)}},{}],17:[function(e,t,o){var n=e("./_object-dp"),r=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,o){return n.f(e,t,r(1,o))}:function(e,t,o){return e[t]=o,e}},{"./_descriptors":9,"./_object-dp":28,"./_property-desc":33}],18:[function(e,t,o){var n=e("./_global").document;t.exports=n&&n.documentElement},{"./_global":15}],19:[function(e,t,o){t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":9,"./_dom-create":10,"./_fails":13}],20:[function(e,t,o){var n=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},{"./_cof":5}],21:[function(e,t,o){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],22:[function(e,t,o){"use strict";var n=e("./_object-create"),r=e("./_property-desc"),i=e("./_set-to-string-tag"),s={};e("./_hide")(s,e("./_wks")("iterator"),function(){return this}),t.exports=function(e,t,o){e.prototype=n(s,{next:r(1,o)}),i(e,t+" Iterator")}},{"./_hide":17,"./_object-create":27,"./_property-desc":33,"./_set-to-string-tag":35,"./_wks":45}],23:[function(e,t,o){"use strict";var n=e("./_library"),r=e("./_export"),i=e("./_redefine"),s=e("./_hide"),c=e("./_iterators"),a=e("./_iter-create"),l=e("./_set-to-string-tag"),h=e("./_object-gpo"),u=e("./_wks")("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(e,t,o,p,_,m,g){a(o,t,p);var y,v,w,b=function(e){if(!d&&e in L)return L[e];switch(e){case"keys":case"values":return function(){return new o(this,e)}}return function(){return new o(this,e)}},S=t+" Iterator",R="values"==_,k=!1,L=e.prototype,x=L[u]||L["@@iterator"]||_&&L[_],j=x||b(_),C=_?R?b("entries"):j:void 0,O="Array"==t&&L.entries||x;if(O&&(w=h(O.call(new e)))!==Object.prototype&&w.next&&(l(w,S,!0),n||"function"==typeof w[u]||s(w,u,f)),R&&x&&"values"!==x.name&&(k=!0,j=function(){return x.call(this)}),n&&!g||!d&&!k&&L[u]||s(L,u,j),c[t]=j,c[S]=f,_)if(y={values:R?j:b("values"),keys:m?j:b("keys"),entries:C},g)for(v in y)v in L||i(L,v,y[v]);else r(r.P+r.F*(d||k),t,y);return y}},{"./_export":12,"./_hide":17,"./_iter-create":22,"./_iterators":25,"./_library":26,"./_object-gpo":30,"./_redefine":34,"./_set-to-string-tag":35,"./_wks":45}],24:[function(e,t,o){t.exports=function(e,t){return{value:t,done:!!e}}},{}],25:[function(e,t,o){t.exports={}},{}],26:[function(e,t,o){t.exports=!1},{}],27:[function(e,t,o){var n=e("./_an-object"),r=e("./_object-dps"),i=e("./_enum-bug-keys"),s=e("./_shared-key")("IE_PROTO"),c=function(){},a=function(){var t,o=e("./_dom-create")("iframe"),n=i.length;for(o.style.display="none",e("./_html").appendChild(o),o.src="javascript:",(t=o.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;n--;)delete a.prototype[i[n]];return a()};t.exports=Object.create||function(e,t){var o;return null!==e?(c.prototype=n(e),o=new c,c.prototype=null,o[s]=e):o=a(),void 0===t?o:r(o,t)}},{"./_an-object":3,"./_dom-create":10,"./_enum-bug-keys":11,"./_html":18,"./_object-dps":29,"./_shared-key":36}],28:[function(e,t,o){var n=e("./_an-object"),r=e("./_ie8-dom-define"),i=e("./_to-primitive"),s=Object.defineProperty;o.f=e("./_descriptors")?Object.defineProperty:function(e,t,o){if(n(e),t=i(t,!0),n(o),r)try{return s(e,t,o)}catch(e){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(e[t]=o.value),e}},{"./_an-object":3,"./_descriptors":9,"./_ie8-dom-define":19,"./_to-primitive":43}],29:[function(e,t,o){var n=e("./_object-dp"),r=e("./_an-object"),i=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){r(e);for(var o,s=i(t),c=s.length,a=0;c>a;)n.f(e,o=s[a++],t[o]);return e}},{"./_an-object":3,"./_descriptors":9,"./_object-dp":28,"./_object-keys":32}],30:[function(e,t,o){var n=e("./_has"),r=e("./_to-object"),i=e("./_shared-key")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(e){return e=r(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},{"./_has":16,"./_shared-key":36,"./_to-object":42}],31:[function(e,t,o){var n=e("./_has"),r=e("./_to-iobject"),i=e("./_array-includes")(!1),s=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var o,c=r(e),a=0,l=[];for(o in c)o!=s&&n(c,o)&&l.push(o);for(;t.length>a;)n(c,o=t[a++])&&(~i(l,o)||l.push(o));return l}},{"./_array-includes":4,"./_has":16,"./_shared-key":36,"./_to-iobject":40}],32:[function(e,t,o){var n=e("./_object-keys-internal"),r=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return n(e,r)}},{"./_enum-bug-keys":11,"./_object-keys-internal":31}],33:[function(e,t,o){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],34:[function(e,t,o){var n=e("./_global"),r=e("./_hide"),i=e("./_has"),s=e("./_uid")("src"),c=e("./_function-to-string"),a=(""+c).split("toString");e("./_core").inspectSource=function(e){return c.call(e)},(t.exports=function(e,t,o,c){var l="function"==typeof o;l&&(i(o,"name")||r(o,"name",t)),e[t]!==o&&(l&&(i(o,s)||r(o,s,e[t]?""+e[t]:a.join(String(t)))),e===n?e[t]=o:c?e[t]?e[t]=o:r(e,t,o):(delete e[t],r(e,t,o)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||c.call(this)})},{"./_core":6,"./_function-to-string":14,"./_global":15,"./_has":16,"./_hide":17,"./_uid":44}],35:[function(e,t,o){var n=e("./_object-dp").f,r=e("./_has"),i=e("./_wks")("toStringTag");t.exports=function(e,t,o){e&&!r(e=o?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},{"./_has":16,"./_object-dp":28,"./_wks":45}],36:[function(e,t,o){var n=e("./_shared")("keys"),r=e("./_uid");t.exports=function(e){return n[e]||(n[e]=r(e))}},{"./_shared":37,"./_uid":44}],37:[function(e,t,o){var n=e("./_core"),r=e("./_global"),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:e("./_library")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":6,"./_global":15,"./_library":26}],38:[function(e,t,o){var n=e("./_to-integer"),r=Math.max,i=Math.min;t.exports=function(e,t){return(e=n(e))<0?r(e+t,0):i(e,t)}},{"./_to-integer":39}],39:[function(e,t,o){var n=Math.ceil,r=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},{}],40:[function(e,t,o){var n=e("./_iobject"),r=e("./_defined");t.exports=function(e){return n(r(e))}},{"./_defined":8,"./_iobject":20}],41:[function(e,t,o){var n=e("./_to-integer"),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}},{"./_to-integer":39}],42:[function(e,t,o){var n=e("./_defined");t.exports=function(e){return Object(n(e))}},{"./_defined":8}],43:[function(e,t,o){var n=e("./_is-object");t.exports=function(e,t){if(!n(e))return e;var o,r;if(t&&"function"==typeof(o=e.toString)&&!n(r=o.call(e)))return r;if("function"==typeof(o=e.valueOf)&&!n(r=o.call(e)))return r;if(!t&&"function"==typeof(o=e.toString)&&!n(r=o.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":21}],44:[function(e,t,o){var n=0,r=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},{}],45:[function(e,t,o){var n=e("./_shared")("wks"),r=e("./_uid"),i=e("./_global").Symbol,s="function"==typeof i;(t.exports=function(e){return n[e]||(n[e]=s&&i[e]||(s?i:r)("Symbol."+e))}).store=n},{"./_global":15,"./_shared":37,"./_uid":44}],46:[function(e,t,o){"use strict";var n=e("./_add-to-unscopables"),r=e("./_iter-step"),i=e("./_iterators"),s=e("./_to-iobject");t.exports=e("./_iter-define")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,o=this._i++;return!e||o>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?o:"values"==t?e[o]:[o,e[o]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":2,"./_iter-define":23,"./_iter-step":24,"./_iterators":25,"./_to-iobject":40}],47:[function(e,t,o){for(var n=e("./es6.array.iterator"),r=e("./_object-keys"),i=e("./_redefine"),s=e("./_global"),c=e("./_hide"),a=e("./_iterators"),l=e("./_wks"),h=l("iterator"),u=l("toStringTag"),d=a.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),_=0;_<p.length;_++){var m,g=p[_],y=f[g],v=s[g],w=v&&v.prototype;if(w&&(w[h]||c(w,h,d),w[u]||c(w,u,g),a[g]=d,y))for(m in n)w[m]||i(w,m,n[m],!0)}},{"./_global":15,"./_hide":17,"./_iterators":25,"./_object-keys":32,"./_redefine":34,"./_wks":45,"./es6.array.iterator":46}],48:[function(e,t,o){"use strict";const{Parser:n,PROTOCOL_6:r,PROTOCOL_7:i}=e("./protocol"),s="3.0.0";o.Connector=class{constructor(e,t,o,r){this.options=e,this.WebSocket=t,this.Timer=o,this.handlers=r;const i=this.options.path?"".concat(this.options.path):"livereload";this._uri="ws".concat(this.options.https?"s":"","://").concat(this.options.host,":").concat(this.options.port,"/").concat(i),this._nextDelay=this.options.mindelay,this._connectionDesired=!1,this.protocol=0,this.protocolParser=new n({connected:e=>(this.protocol=e,this._handshakeTimeout.stop(),this._nextDelay=this.options.mindelay,this._disconnectionReason="broken",this.handlers.connected(this.protocol)),error:e=>(this.handlers.error(e),this._closeOnError()),message:e=>this.handlers.message(e)}),this._handshakeTimeout=new this.Timer(()=>{if(this._isSocketConnected())return this._disconnectionReason="handshake-timeout",this.socket.close()}),this._reconnectTimer=new this.Timer(()=>{if(this._connectionDesired)return this.connect()}),this.connect()}_isSocketConnected(){return this.socket&&this.socket.readyState===this.WebSocket.OPEN}connect(){this._connectionDesired=!0,this._isSocketConnected()||(this._reconnectTimer.stop(),this._disconnectionReason="cannot-connect",this.protocolParser.reset(),this.handlers.connecting(),this.socket=new this.WebSocket(this._uri),this.socket.onopen=(e=>this._onopen(e)),this.socket.onclose=(e=>this._onclose(e)),this.socket.onmessage=(e=>this._onmessage(e)),this.socket.onerror=(e=>this._onerror(e)))}disconnect(){if(this._connectionDesired=!1,this._reconnectTimer.stop(),this._isSocketConnected())return this._disconnectionReason="manual",this.socket.close()}_scheduleReconnection(){this._connectionDesired&&(this._reconnectTimer.running||(this._reconnectTimer.start(this._nextDelay),this._nextDelay=Math.min(this.options.maxdelay,2*this._nextDelay)))}sendCommand(e){if(this.protocol)return this._sendCommand(e)}_sendCommand(e){return this.socket.send(JSON.stringify(e))}_closeOnError(){return this._handshakeTimeout.stop(),this._disconnectionReason="error",this.socket.close()}_onopen(e){this.handlers.socketConnected(),this._disconnectionReason="handshake-failed";const t={command:"hello",protocols:[r,i]};return t.ver=s,this.options.ext&&(t.ext=this.options.ext),this.options.extver&&(t.extver=this.options.extver),this.options.snipver&&(t.snipver=this.options.snipver),this._sendCommand(t),this._handshakeTimeout.start(this.options.handshake_timeout)}_onclose(e){return this.protocol=0,this.handlers.disconnected(this._disconnectionReason,this._nextDelay),this._scheduleReconnection()}_onerror(e){}_onmessage(e){return this.protocolParser.process(e.data)}}},{"./protocol":53}],49:[function(e,t,o){"use strict";const n={bind(e,t,o){if(e.addEventListener)return e.addEventListener(t,o,!1);if(e.attachEvent)return e[t]=1,e.attachEvent("onpropertychange",function(e){if(e.propertyName===t)return o()});throw new Error("Attempt to attach custom event ".concat(t," to something which isn't a DOMElement"))},fire(e,t){if(e.addEventListener){const e=document.createEvent("HTMLEvents");return e.initEvent(t,!0,!0),document.dispatchEvent(e)}if(!e.attachEvent)throw new Error("Attempt to fire custom event ".concat(t," on something which isn't a DOMElement"));if(e[t])return e[t]++}};o.bind=n.bind,o.fire=n.fire},{}],50:[function(e,t,o){"use strict";class n{constructor(e,t){this.window=e,this.host=t}reload(e,t){if(this.window.less&&this.window.less.refresh){if(e.match(/\.less$/i))return this.reloadLess(e);if(t.originalPath.match(/\.less$/i))return this.reloadLess(t.originalPath)}return!1}reloadLess(e){let t;const o=(()=>{const e=[];for(t of Array.from(document.getElementsByTagName("link")))(t.href&&t.rel.match(/^stylesheet\/less$/i)||t.rel.match(/stylesheet/i)&&t.type.match(/^text\/(x-)?less$/i))&&e.push(t);return e})();if(0===o.length)return!1;for(t of Array.from(o))t.href=this.host.generateCacheBustUrl(t.href);return this.host.console.log("LiveReload is asking LESS to recompile all stylesheets"),this.window.less.refresh(!0),!0}analyze(){return{disable:!(!this.window.less||!this.window.less.refresh)}}}n.identifier="less",n.version="1.0",t.exports=n},{}],51:[function(e,t,o){"use strict";e("core-js/modules/web.dom.iterable");const{Connector:n}=e("./connector"),{Timer:r}=e("./timer"),{Options:i}=e("./options"),{Reloader:s}=e("./reloader"),{ProtocolError:c}=e("./protocol");o.LiveReload=class{constructor(e){if(this.window=e,this.listeners={},this.plugins=[],this.pluginIdentifiers={},this.console=this.window.console&&this.window.console.log&&this.window.console.error?this.window.location.href.match(/LR-verbose/)?this.window.console:{log(){},error:this.window.console.error.bind(this.window.console)}:{log(){},error(){}},this.WebSocket=this.window.WebSocket||this.window.MozWebSocket){if("LiveReloadOptions"in e){this.options=new i;for(let t of Object.keys(e.LiveReloadOptions||{})){const o=e.LiveReloadOptions[t];this.options.set(t,o)}}else if(this.options=i.extract(this.window.document),!this.options)return void this.console.error("LiveReload disabled because it could not find its own <SCRIPT> tag");this.reloader=new s(this.window,this.console,r),this.connector=new n(this.options,this.WebSocket,r,{connecting:()=>{},socketConnected:()=>{},connected:e=>("function"==typeof this.listeners.connect&&this.listeners.connect(),this.log("LiveReload is connected to ".concat(this.options.host,":").concat(this.options.port," (protocol v").concat(e,").")),this.analyze()),error:e=>{if(e instanceof c){if("undefined"!=typeof console&&null!==console)return console.log("".concat(e.message,"."))}else if("undefined"!=typeof console&&null!==console)return console.log("LiveReload internal error: ".concat(e.message))},disconnected:(e,t)=>{switch("function"==typeof this.listeners.disconnect&&this.listeners.disconnect(),e){case"cannot-connect":return this.log("LiveReload cannot connect to ".concat(this.options.host,":").concat(this.options.port,", will retry in ").concat(t," sec."));case"broken":return this.log("LiveReload disconnected from ".concat(this.options.host,":").concat(this.options.port,", reconnecting in ").concat(t," sec."));case"handshake-timeout":return this.log("LiveReload cannot connect to ".concat(this.options.host,":").concat(this.options.port," (handshake timeout), will retry in ").concat(t," sec."));case"handshake-failed":return this.log("LiveReload cannot connect to ".concat(this.options.host,":").concat(this.options.port," (handshake failed), will retry in ").concat(t," sec."));case"manual":case"error":default:return this.log("LiveReload disconnected from ".concat(this.options.host,":").concat(this.options.port," (").concat(e,"), reconnecting in ").concat(t," sec."))}},message:e=>{switch(e.command){case"reload":return this.performReload(e);case"alert":return this.performAlert(e)}}}),this.initialized=!0}else this.console.error("LiveReload disabled because the browser does not seem to support web sockets")}on(e,t){this.listeners[e]=t}log(e){return this.console.log("".concat(e))}performReload(e){return this.log("LiveReload received reload request: ".concat(JSON.stringify(e,null,2))),this.reloader.reload(e.path,{liveCSS:null==e.liveCSS||e.liveCSS,liveImg:null==e.liveImg||e.liveImg,reloadMissingCSS:null==e.reloadMissingCSS||e.reloadMissingCSS,originalPath:e.originalPath||"",overrideURL:e.overrideURL||"",serverURL:"http://".concat(this.options.host,":").concat(this.options.port)})}performAlert(e){return alert(e.message)}shutDown(){if(this.initialized)return this.connector.disconnect(),this.log("LiveReload disconnected."),"function"==typeof this.listeners.shutdown?this.listeners.shutdown():void 0}hasPlugin(e){return!!this.pluginIdentifiers[e]}addPlugin(e){if(!this.initialized)return;if(this.hasPlugin(e.identifier))return;this.pluginIdentifiers[e.identifier]=!0;const t=new e(this.window,{_livereload:this,_reloader:this.reloader,_connector:this.connector,console:this.console,Timer:r,generateCacheBustUrl:e=>this.reloader.generateCacheBustUrl(e)});this.plugins.push(t),this.reloader.addPlugin(t)}analyze(){if(!this.initialized)return;if(!(this.connector.protocol>=7))return;const e={};for(let o of this.plugins){var t=("function"==typeof o.analyze?o.analyze():void 0)||{};e[o.constructor.identifier]=t,t.version=o.constructor.version}this.connector.sendCommand({command:"info",plugins:e,url:this.window.location.href})}}},{"./connector":48,"./options":52,"./protocol":53,"./reloader":54,"./timer":56,"core-js/modules/web.dom.iterable":47}],52:[function(e,t,o){"use strict";class n{constructor(){this.https=!1,this.host=null,this.port=35729,this.snipver=null,this.ext=null,this.extver=null,this.mindelay=1e3,this.maxdelay=6e4,this.handshake_timeout=5e3}set(e,t){void 0!==t&&(isNaN(+t)||(t=+t),this[e]=t)}}n.extract=function(e){for(let s of Array.from(e.getElementsByTagName("script"))){var t,o;if((o=s.src)&&(t=o.match(new RegExp("^[^:]+://(.*)/z?livereload\\.js(?:\\?(.*))?$")))){var r;const e=new n;if(e.https=0===o.indexOf("https"),(r=t[1].match(new RegExp("^([^/:]+)(?::(\\d+))?(\\/+.*)?$")))&&(e.host=r[1],r[2]&&(e.port=parseInt(r[2],10))),t[2])for(let o of t[2].split("&")){var i;(i=o.split("=")).length>1&&e.set(i[0].replace(/-/g,"_"),i.slice(1).join("="))}return e}}return null},o.Options=n},{}],53:[function(e,t,o){"use strict";let n,r;o.PROTOCOL_6=n="http://livereload.com/protocols/official-6",o.PROTOCOL_7=r="http://livereload.com/protocols/official-7";class i{constructor(e,t){this.message="LiveReload protocol error (".concat(e,') after receiving data: "').concat(t,'".')}}o.ProtocolError=i,o.Parser=class{constructor(e){this.handlers=e,this.reset()}reset(){this.protocol=null}process(e){try{let t;if(this.protocol){if(6===this.protocol){if(!(t=JSON.parse(e)).length)throw new i("protocol 6 messages must be arrays");const[o,n]=Array.from(t);if("refresh"!==o)throw new i("unknown protocol 6 command");return this.handlers.message({command:"reload",path:n.path,liveCSS:null==n.apply_css_live||n.apply_css_live})}return t=this._parseMessage(e,["reload","alert"]),this.handlers.message(t)}if(e.match(new RegExp("^!!ver:([\\d.]+)$")))this.protocol=6;else if(t=this._parseMessage(e,["hello"])){if(!t.protocols.length)throw new i("no protocols specified in handshake message");if(Array.from(t.protocols).includes(r))this.protocol=7;else{if(!Array.from(t.protocols).includes(n))throw new i("no supported protocols found");this.protocol=6}}return this.handlers.connected(this.protocol)}catch(e){if(e instanceof i)return this.handlers.error(e);throw e}}_parseMessage(e,t){let o;try{o=JSON.parse(e)}catch(t){throw new i("unparsable JSON",e)}if(!o.command)throw new i('missing "command" key',e);if(!t.includes(o.command))throw new i("invalid command '".concat(o.command,"', only valid commands are: ").concat(t.join(", "),")"),e);return o}}},{}],54:[function(e,t,o){"use strict";const n=function(e){let t,o,n;(o=e.indexOf("#"))>=0?(t=e.slice(o),e=e.slice(0,o)):t="";const r=e.indexOf("??");return r>=0?r+1!==e.lastIndexOf("?")&&(o=e.lastIndexOf("?")):o=e.indexOf("?"),o>=0?(n=e.slice(o),e=e.slice(0,o)):n="",{url:e,params:n,hash:t}},r=function(e){if(!e)return"";let t;return({url:e}=n(e)),t=0===e.indexOf("file://")?e.replace(new RegExp("^file://(localhost)?"),""):e.replace(new RegExp("^([^:]+:)?//([^:/]+)(:\\d*)?/"),"/"),decodeURIComponent(t)},i=function(e,t,o){let n,r={score:0};for(let i of t)(n=s(e,o(i)))>r.score&&(r={object:i,score:n});return 0===r.score?null:r};var s=function(e,t){if((e=e.replace(/^\/+/,"").toLowerCase())===(t=t.replace(/^\/+/,"").toLowerCase()))return 1e4;const o=e.split("/").reverse(),n=t.split("/").reverse(),r=Math.min(o.length,n.length);let i=0;for(;i<r&&o[i]===n[i];)++i;return i};const c=(e,t)=>s(e,t)>0,a=[{selector:"background",styleNames:["backgroundImage"]},{selector:"border",styleNames:["borderImage","webkitBorderImage","MozBorderImage"]}];o.Reloader=class{constructor(e,t,o){this.window=e,this.console=t,this.Timer=o,this.document=this.window.document,this.importCacheWaitPeriod=200,this.plugins=[]}addPlugin(e){return this.plugins.push(e)}analyze(e){}reload(e,t){this.options=t,this.options.stylesheetReloadTimeout||(this.options.stylesheetReloadTimeout=15e3);for(let o of Array.from(this.plugins))if(o.reload&&o.reload(e,t))return;if(!(t.liveCSS&&e.match(/\.css(?:\.map)?$/i)&&this.reloadStylesheet(e)))if(t.liveImg&&e.match(/\.(jpe?g|png|gif)$/i))this.reloadImages(e);else{if(!t.isChromeExtension)return this.reloadPage();this.reloadChromeExtension()}}reloadPage(){return this.window.document.location.reload()}reloadChromeExtension(){return this.window.chrome.runtime.reload()}reloadImages(e){let t;const o=this.generateUniqueString();for(t of Array.from(this.document.images))c(e,r(t.src))&&(t.src=this.generateCacheBustUrl(t.src,o));if(this.document.querySelectorAll)for(let{selector:n,styleNames:r}of a)for(t of Array.from(this.document.querySelectorAll("[style*=".concat(n,"]"))))this.reloadStyleImages(t.style,r,e,o);if(this.document.styleSheets)return Array.from(this.document.styleSheets).map(t=>this.reloadStylesheetImages(t,e,o))}reloadStylesheetImages(e,t,o){let n;try{n=(e||{}).cssRules}catch(e){}if(n)for(let e of Array.from(n))switch(e.type){case CSSRule.IMPORT_RULE:this.reloadStylesheetImages(e.styleSheet,t,o);break;case CSSRule.STYLE_RULE:for(let{styleNames:n}of a)this.reloadStyleImages(e.style,n,t,o);break;case CSSRule.MEDIA_RULE:this.reloadStylesheetImages(e,t,o)}}reloadStyleImages(e,t,o,n){for(let i of t){const t=e[i];if("string"==typeof t){const s=t.replace(new RegExp("\\burl\\s*\\(([^)]*)\\)"),(e,t)=>c(o,r(t))?"url(".concat(this.generateCacheBustUrl(t,n),")"):e);s!==t&&(e[i]=s)}}}reloadStylesheet(e){let t,o;const n=(()=>{const e=[];for(o of Array.from(this.document.getElementsByTagName("link")))o.rel.match(/^stylesheet$/i)&&!o.__LiveReload_pendingRemoval&&e.push(o);return e})(),s=[];for(t of Array.from(this.document.getElementsByTagName("style")))t.sheet&&this.collectImportedStylesheets(t,t.sheet,s);for(o of Array.from(n))this.collectImportedStylesheets(o,o.sheet,s);if(this.window.StyleFix&&this.document.querySelectorAll)for(t of Array.from(this.document.querySelectorAll("style[data-href]")))n.push(t);this.console.log("LiveReload found ".concat(n.length," LINKed stylesheets, ").concat(s.length," @imported stylesheets"));const c=i(e,n.concat(s),e=>r(this.linkHref(e)));if(c)c.object.rule?(this.console.log("LiveReload is reloading imported stylesheet: ".concat(c.object.href)),this.reattachImportedRule(c.object)):(this.console.log("LiveReload is reloading stylesheet: ".concat(this.linkHref(c.object))),this.reattachStylesheetLink(c.object));else if(this.options.reloadMissingCSS)for(o of(this.console.log("LiveReload will reload all stylesheets because path '".concat(e,"' did not match any specific one. To disable this behavior, set 'options.reloadMissingCSS' to 'false'.")),Array.from(n)))this.reattachStylesheetLink(o);else this.console.log("LiveReload will not reload path '".concat(e,"' because the stylesheet was not found on the page and 'options.reloadMissingCSS' was set to 'false'."));return!0}collectImportedStylesheets(e,t,o){let n;try{n=(t||{}).cssRules}catch(e){}if(n&&n.length)for(let t=0;t<n.length;t++){const r=n[t];switch(r.type){case CSSRule.CHARSET_RULE:continue;case CSSRule.IMPORT_RULE:o.push({link:e,rule:r,index:t,href:r.href}),this.collectImportedStylesheets(e,r.styleSheet,o)}}}waitUntilCssLoads(e,t){let o=!1;const n=()=>{if(!o)return o=!0,t()};if(e.onload=(()=>(this.console.log("LiveReload: the new stylesheet has finished loading"),this.knownToSupportCssOnLoad=!0,n())),!this.knownToSupportCssOnLoad){let t;(t=(()=>e.sheet?(this.console.log("LiveReload is polling until the new CSS finishes loading..."),n()):this.Timer.start(50,t)))()}return this.Timer.start(this.options.stylesheetReloadTimeout,n)}linkHref(e){return e.href||e.getAttribute&&e.getAttribute("data-href")}reattachStylesheetLink(e){let t;if(e.__LiveReload_pendingRemoval)return;e.__LiveReload_pendingRemoval=!0,"STYLE"===e.tagName?((t=this.document.createElement("link")).rel="stylesheet",t.media=e.media,t.disabled=e.disabled):t=e.cloneNode(!1),t.href=this.generateCacheBustUrl(this.linkHref(e));const o=e.parentNode;return o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling),this.waitUntilCssLoads(t,()=>{let o;return o=/AppleWebKit/.test(navigator.userAgent)?5:200,this.Timer.start(o,()=>{if(e.parentNode)return e.parentNode.removeChild(e),t.onreadystatechange=null,this.window.StyleFix?this.window.StyleFix.link(t):void 0})})}reattachImportedRule({rule:e,index:t,link:o}){const n=e.parentStyleSheet,r=this.generateCacheBustUrl(e.href),i=e.media.length?[].join.call(e.media,", "):"",s='@import url("'.concat(r,'") ').concat(i,";");e.__LiveReload_newHref=r;const c=this.document.createElement("link");return c.rel="stylesheet",c.href=r,c.__LiveReload_pendingRemoval=!0,o.parentNode&&o.parentNode.insertBefore(c,o),this.Timer.start(this.importCacheWaitPeriod,()=>{if(c.parentNode&&c.parentNode.removeChild(c),e.__LiveReload_newHref===r)return n.insertRule(s,t),n.deleteRule(t+1),(e=n.cssRules[t]).__LiveReload_newHref=r,this.Timer.start(this.importCacheWaitPeriod,()=>{if(e.__LiveReload_newHref===r)return n.insertRule(s,t),n.deleteRule(t+1)})})}generateUniqueString(){return"livereload=".concat(Date.now())}generateCacheBustUrl(e,t){let o,r;if(t||(t=this.generateUniqueString()),({url:e,hash:o,params:r}=n(e)),this.options.overrideURL&&e.indexOf(this.options.serverURL)<0){const t=e;e=this.options.serverURL+this.options.overrideURL+"?url="+encodeURIComponent(e),this.console.log("LiveReload is overriding source URL ".concat(t," with ").concat(e))}let i=r.replace(/(\?|&)livereload=(\d+)/,(e,o)=>"".concat(o).concat(t));return i===r&&(i=0===r.length?"?".concat(t):"".concat(r,"&").concat(t)),e+i+o}}},{}],55:[function(e,t,o){"use strict";const n=e("./customevents"),r=window.LiveReload=new(e("./livereload").LiveReload)(window);for(let e in window)e.match(/^LiveReloadPlugin/)&&r.addPlugin(window[e]);r.addPlugin(e("./less")),r.on("shutdown",()=>delete window.LiveReload),r.on("connect",()=>n.fire(document,"LiveReloadConnect")),r.on("disconnect",()=>n.fire(document,"LiveReloadDisconnect")),n.bind(document,"LiveReloadShutDown",()=>r.shutDown())},{"./customevents":49,"./less":50,"./livereload":51}],56:[function(e,t,o){"use strict";class n{constructor(e){this.func=e,this.running=!1,this.id=null,this._handler=(()=>(this.running=!1,this.id=null,this.func()))}start(e){this.running&&clearTimeout(this.id),this.id=setTimeout(this._handler,e),this.running=!0}stop(){this.running&&(clearTimeout(this.id),this.running=!1,this.id=null)}}n.start=((e,t)=>setTimeout(t,e)),o.Timer=n},{}]},{},[55]);
\ No newline at end of file
+(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
+module.exports = function (it) {
+ if (typeof it != 'function') throw TypeError(it + ' is not a function!');
+ return it;
+};
+
+},{}],2:[function(require,module,exports){
+// 22.1.3.31 Array.prototype[@@unscopables]
+var UNSCOPABLES = require('./_wks')('unscopables');
+var ArrayProto = Array.prototype;
+if (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});
+module.exports = function (key) {
+ ArrayProto[UNSCOPABLES][key] = true;
+};
+
+},{"./_hide":27,"./_wks":81}],3:[function(require,module,exports){
+'use strict';
+var at = require('./_string-at')(true);
+
+ // `AdvanceStringIndex` abstract operation
+// https://tc39.github.io/ecma262/#sec-advancestringindex
+module.exports = function (S, index, unicode) {
+ return index + (unicode ? at(S, index).length : 1);
+};
+
+},{"./_string-at":68}],4:[function(require,module,exports){
+var isObject = require('./_is-object');
+module.exports = function (it) {
+ if (!isObject(it)) throw TypeError(it + ' is not an object!');
+ return it;
+};
+
+},{"./_is-object":34}],5:[function(require,module,exports){
+// false -> Array#indexOf
+// true -> Array#includes
+var toIObject = require('./_to-iobject');
+var toLength = require('./_to-length');
+var toAbsoluteIndex = require('./_to-absolute-index');
+module.exports = function (IS_INCLUDES) {
+ return function ($this, el, fromIndex) {
+ var O = toIObject($this);
+ var length = toLength(O.length);
+ var index = toAbsoluteIndex(fromIndex, length);
+ var value;
+ // Array#includes uses SameValueZero equality algorithm
+ // eslint-disable-next-line no-self-compare
+ if (IS_INCLUDES && el != el) while (length > index) {
+ value = O[index++];
+ // eslint-disable-next-line no-self-compare
+ if (value != value) return true;
+ // Array#indexOf ignores holes, Array#includes - not
+ } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
+ if (O[index] === el) return IS_INCLUDES || index || 0;
+ } return !IS_INCLUDES && -1;
+ };
+};
+
+},{"./_to-absolute-index":72,"./_to-iobject":74,"./_to-length":75}],6:[function(require,module,exports){
+// 0 -> Array#forEach
+// 1 -> Array#map
+// 2 -> Array#filter
+// 3 -> Array#some
+// 4 -> Array#every
+// 5 -> Array#find
+// 6 -> Array#findIndex
+var ctx = require('./_ctx');
+var IObject = require('./_iobject');
+var toObject = require('./_to-object');
+var toLength = require('./_to-length');
+var asc = require('./_array-species-create');
+module.exports = function (TYPE, $create) {
+ var IS_MAP = TYPE == 1;
+ var IS_FILTER = TYPE == 2;
+ var IS_SOME = TYPE == 3;
+ var IS_EVERY = TYPE == 4;
+ var IS_FIND_INDEX = TYPE == 6;
+ var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
+ var create = $create || asc;
+ return function ($this, callbackfn, that) {
+ var O = toObject($this);
+ var self = IObject(O);
+ var f = ctx(callbackfn, that, 3);
+ var length = toLength(self.length);
+ var index = 0;
+ var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
+ var val, res;
+ for (;length > index; index++) if (NO_HOLES || index in self) {
+ val = self[index];
+ res = f(val, index, O);
+ if (TYPE) {
+ if (IS_MAP) result[index] = res; // map
+ else if (res) switch (TYPE) {
+ case 3: return true; // some
+ case 5: return val; // find
+ case 6: return index; // findIndex
+ case 2: result.push(val); // filter
+ } else if (IS_EVERY) return false; // every
+ }
+ }
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
+ };
+};
+
+},{"./_array-species-create":8,"./_ctx":13,"./_iobject":31,"./_to-length":75,"./_to-object":76}],7:[function(require,module,exports){
+var isObject = require('./_is-object');
+var isArray = require('./_is-array');
+var SPECIES = require('./_wks')('species');
+
+module.exports = function (original) {
+ var C;
+ if (isArray(original)) {
+ C = original.constructor;
+ // cross-realm fallback
+ if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
+ if (isObject(C)) {
+ C = C[SPECIES];
+ if (C === null) C = undefined;
+ }
+ } return C === undefined ? Array : C;
+};
+
+},{"./_is-array":33,"./_is-object":34,"./_wks":81}],8:[function(require,module,exports){
+// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
+var speciesConstructor = require('./_array-species-constructor');
+
+module.exports = function (original, length) {
+ return new (speciesConstructor(original))(length);
+};
+
+},{"./_array-species-constructor":7}],9:[function(require,module,exports){
+// getting tag from 19.1.3.6 Object.prototype.toString()
+var cof = require('./_cof');
+var TAG = require('./_wks')('toStringTag');
+// ES3 wrong here
+var ARG = cof(function () { return arguments; }()) == 'Arguments';
+
+// fallback for IE11 Script Access Denied error
+var tryGet = function (it, key) {
+ try {
+ return it[key];
+ } catch (e) { /* empty */ }
+};
+
+module.exports = function (it) {
+ var O, T, B;
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
+ // @@toStringTag case
+ : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
+ // builtinTag case
+ : ARG ? cof(O)
+ // ES3 arguments fallback
+ : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
+};
+
+},{"./_cof":10,"./_wks":81}],10:[function(require,module,exports){
+var toString = {}.toString;
+
+module.exports = function (it) {
+ return toString.call(it).slice(8, -1);
+};
+
+},{}],11:[function(require,module,exports){
+var core = module.exports = { version: '2.6.12' };
+if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
+
+},{}],12:[function(require,module,exports){
+'use strict';
+var $defineProperty = require('./_object-dp');
+var createDesc = require('./_property-desc');
+
+module.exports = function (object, index, value) {
+ if (index in object) $defineProperty.f(object, index, createDesc(0, value));
+ else object[index] = value;
+};
+
+},{"./_object-dp":45,"./_property-desc":57}],13:[function(require,module,exports){
+// optional / simple context binding
+var aFunction = require('./_a-function');
+module.exports = function (fn, that, length) {
+ aFunction(fn);
+ if (that === undefined) return fn;
+ switch (length) {
+ case 1: return function (a) {
+ return fn.call(that, a);
+ };
+ case 2: return function (a, b) {
+ return fn.call(that, a, b);
+ };
+ case 3: return function (a, b, c) {
+ return fn.call(that, a, b, c);
+ };
+ }
+ return function (/* ...args */) {
+ return fn.apply(that, arguments);
+ };
+};
+
+},{"./_a-function":1}],14:[function(require,module,exports){
+// 7.2.1 RequireObjectCoercible(argument)
+module.exports = function (it) {
+ if (it == undefined) throw TypeError("Can't call method on " + it);
+ return it;
+};
+
+},{}],15:[function(require,module,exports){
+// Thank's IE8 for his funny defineProperty
+module.exports = !require('./_fails')(function () {
+ return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
+});
+
+},{"./_fails":21}],16:[function(require,module,exports){
+var isObject = require('./_is-object');
+var document = require('./_global').document;
+// typeof document.createElement is 'object' in old IE
+var is = isObject(document) && isObject(document.createElement);
+module.exports = function (it) {
+ return is ? document.createElement(it) : {};
+};
+
+},{"./_global":25,"./_is-object":34}],17:[function(require,module,exports){
+// IE 8- don't enum bug keys
+module.exports = (
+ 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
+).split(',');
+
+},{}],18:[function(require,module,exports){
+// all enumerable object keys, includes symbols
+var getKeys = require('./_object-keys');
+var gOPS = require('./_object-gops');
+var pIE = require('./_object-pie');
+module.exports = function (it) {
+ var result = getKeys(it);
+ var getSymbols = gOPS.f;
+ if (getSymbols) {
+ var symbols = getSymbols(it);
+ var isEnum = pIE.f;
+ var i = 0;
+ var key;
+ while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
+ } return result;
+};
+
+},{"./_object-gops":50,"./_object-keys":53,"./_object-pie":54}],19:[function(require,module,exports){
+var global = require('./_global');
+var core = require('./_core');
+var hide = require('./_hide');
+var redefine = require('./_redefine');
+var ctx = require('./_ctx');
+var PROTOTYPE = 'prototype';
+
+var $export = function (type, name, source) {
+ var IS_FORCED = type & $export.F;
+ var IS_GLOBAL = type & $export.G;
+ var IS_STATIC = type & $export.S;
+ var IS_PROTO = type & $export.P;
+ var IS_BIND = type & $export.B;
+ var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
+ var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
+ var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
+ var key, own, out, exp;
+ if (IS_GLOBAL) source = name;
+ for (key in source) {
+ // contains in native
+ own = !IS_FORCED && target && target[key] !== undefined;
+ // export native or passed
+ out = (own ? target : source)[key];
+ // bind timers to global for call from export context
+ exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
+ // extend global
+ if (target) redefine(target, key, out, type & $export.U);
+ // export
+ if (exports[key] != out) hide(exports, key, exp);
+ if (IS_PROTO && expProto[key] != out) expProto[key] = out;
+ }
+};
+global.core = core;
+// type bitmap
+$export.F = 1; // forced
+$export.G = 2; // global
+$export.S = 4; // static
+$export.P = 8; // proto
+$export.B = 16; // bind
+$export.W = 32; // wrap
+$export.U = 64; // safe
+$export.R = 128; // real proto method for `library`
+module.exports = $export;
+
+},{"./_core":11,"./_ctx":13,"./_global":25,"./_hide":27,"./_redefine":58}],20:[function(require,module,exports){
+var MATCH = require('./_wks')('match');
+module.exports = function (KEY) {
+ var re = /./;
+ try {
+ '/./'[KEY](re);
+ } catch (e) {
+ try {
+ re[MATCH] = false;
+ return !'/./'[KEY](re);
+ } catch (f) { /* empty */ }
+ } return true;
+};
+
+},{"./_wks":81}],21:[function(require,module,exports){
+module.exports = function (exec) {
+ try {
+ return !!exec();
+ } catch (e) {
+ return true;
+ }
+};
+
+},{}],22:[function(require,module,exports){
+'use strict';
+require('./es6.regexp.exec');
+var redefine = require('./_redefine');
+var hide = require('./_hide');
+var fails = require('./_fails');
+var defined = require('./_defined');
+var wks = require('./_wks');
+var regexpExec = require('./_regexp-exec');
+
+var SPECIES = wks('species');
+
+var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
+ // #replace needs built-in support for named groups.
+ // #match works fine because it just return the exec results, even if it has
+ // a "grops" property.
+ var re = /./;
+ re.exec = function () {
+ var result = [];
+ result.groups = { a: '7' };
+ return result;
+ };
+ return ''.replace(re, '$<a>') !== '7';
+});
+
+var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
+ // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
+ var re = /(?:)/;
+ var originalExec = re.exec;
+ re.exec = function () { return originalExec.apply(this, arguments); };
+ var result = 'ab'.split(re);
+ return result.length === 2 && result[0] === 'a' && result[1] === 'b';
+})();
+
+module.exports = function (KEY, length, exec) {
+ var SYMBOL = wks(KEY);
+
+ var DELEGATES_TO_SYMBOL = !fails(function () {
+ // String methods call symbol-named RegEp methods
+ var O = {};
+ O[SYMBOL] = function () { return 7; };
+ return ''[KEY](O) != 7;
+ });
+
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
+ // Symbol-named RegExp methods call .exec
+ var execCalled = false;
+ var re = /a/;
+ re.exec = function () { execCalled = true; return null; };
+ if (KEY === 'split') {
+ // RegExp[@@split] doesn't call the regex's exec method, but first creates
+ // a new one. We need to return the patched regex when creating the new one.
+ re.constructor = {};
+ re.constructor[SPECIES] = function () { return re; };
+ }
+ re[SYMBOL]('');
+ return !execCalled;
+ }) : undefined;
+
+ if (
+ !DELEGATES_TO_SYMBOL ||
+ !DELEGATES_TO_EXEC ||
+ (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
+ (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
+ ) {
+ var nativeRegExpMethod = /./[SYMBOL];
+ var fns = exec(
+ defined,
+ SYMBOL,
+ ''[KEY],
+ function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
+ if (regexp.exec === regexpExec) {
+ if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
+ // The native String method already delegates to @@method (this
+ // polyfilled function), leasing to infinite recursion.
+ // We avoid it by directly calling the native @@method method.
+ return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
+ }
+ return { done: true, value: nativeMethod.call(str, regexp, arg2) };
+ }
+ return { done: false };
+ }
+ );
+ var strfn = fns[0];
+ var rxfn = fns[1];
+
+ redefine(String.prototype, KEY, strfn);
+ hide(RegExp.prototype, SYMBOL, length == 2
+ // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
+ // 21.2.5.11 RegExp.prototype[@@split](string, limit)
+ ? function (string, arg) { return rxfn.call(string, this, arg); }
+ // 21.2.5.6 RegExp.prototype[@@match](string)
+ // 21.2.5.9 RegExp.prototype[@@search](string)
+ : function (string) { return rxfn.call(string, this); }
+ );
+ }
+};
+
+},{"./_defined":14,"./_fails":21,"./_hide":27,"./_redefine":58,"./_regexp-exec":60,"./_wks":81,"./es6.regexp.exec":93}],23:[function(require,module,exports){
+'use strict';
+// 21.2.5.3 get RegExp.prototype.flags
+var anObject = require('./_an-object');
+module.exports = function () {
+ var that = anObject(this);
+ var result = '';
+ if (that.global) result += 'g';
+ if (that.ignoreCase) result += 'i';
+ if (that.multiline) result += 'm';
+ if (that.unicode) result += 'u';
+ if (that.sticky) result += 'y';
+ return result;
+};
+
+},{"./_an-object":4}],24:[function(require,module,exports){
+module.exports = require('./_shared')('native-function-to-string', Function.toString);
+
+},{"./_shared":65}],25:[function(require,module,exports){
+// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
+var global = module.exports = typeof window != 'undefined' && window.Math == Math
+ ? window : typeof self != 'undefined' && self.Math == Math ? self
+ // eslint-disable-next-line no-new-func
+ : Function('return this')();
+if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
+
+},{}],26:[function(require,module,exports){
+var hasOwnProperty = {}.hasOwnProperty;
+module.exports = function (it, key) {
+ return hasOwnProperty.call(it, key);
+};
+
+},{}],27:[function(require,module,exports){
+var dP = require('./_object-dp');
+var createDesc = require('./_property-desc');
+module.exports = require('./_descriptors') ? function (object, key, value) {
+ return dP.f(object, key, createDesc(1, value));
+} : function (object, key, value) {
+ object[key] = value;
+ return object;
+};
+
+},{"./_descriptors":15,"./_object-dp":45,"./_property-desc":57}],28:[function(require,module,exports){
+var document = require('./_global').document;
+module.exports = document && document.documentElement;
+
+},{"./_global":25}],29:[function(require,module,exports){
+module.exports = !require('./_descriptors') && !require('./_fails')(function () {
+ return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;
+});
+
+},{"./_descriptors":15,"./_dom-create":16,"./_fails":21}],30:[function(require,module,exports){
+var isObject = require('./_is-object');
+var setPrototypeOf = require('./_set-proto').set;
+module.exports = function (that, target, C) {
+ var S = target.constructor;
+ var P;
+ if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
+ setPrototypeOf(that, P);
+ } return that;
+};
+
+},{"./_is-object":34,"./_set-proto":61}],31:[function(require,module,exports){
+// fallback for non-array-like ES3 and non-enumerable old V8 strings
+var cof = require('./_cof');
+// eslint-disable-next-line no-prototype-builtins
+module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
+ return cof(it) == 'String' ? it.split('') : Object(it);
+};
+
+},{"./_cof":10}],32:[function(require,module,exports){
+// check on default Array iterator
+var Iterators = require('./_iterators');
+var ITERATOR = require('./_wks')('iterator');
+var ArrayProto = Array.prototype;
+
+module.exports = function (it) {
+ return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
+};
+
+},{"./_iterators":41,"./_wks":81}],33:[function(require,module,exports){
+// 7.2.2 IsArray(argument)
+var cof = require('./_cof');
+module.exports = Array.isArray || function isArray(arg) {
+ return cof(arg) == 'Array';
+};
+
+},{"./_cof":10}],34:[function(require,module,exports){
+module.exports = function (it) {
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
+};
+
+},{}],35:[function(require,module,exports){
+// 7.2.8 IsRegExp(argument)
+var isObject = require('./_is-object');
+var cof = require('./_cof');
+var MATCH = require('./_wks')('match');
+module.exports = function (it) {
+ var isRegExp;
+ return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
+};
+
+},{"./_cof":10,"./_is-object":34,"./_wks":81}],36:[function(require,module,exports){
+// call something on iterator step with safe closing on error
+var anObject = require('./_an-object');
+module.exports = function (iterator, fn, value, entries) {
+ try {
+ return entries ? fn(anObject(value)[0], value[1]) : fn(value);
+ // 7.4.6 IteratorClose(iterator, completion)
+ } catch (e) {
+ var ret = iterator['return'];
+ if (ret !== undefined) anObject(ret.call(iterator));
+ throw e;
+ }
+};
+
+},{"./_an-object":4}],37:[function(require,module,exports){
+'use strict';
+var create = require('./_object-create');
+var descriptor = require('./_property-desc');
+var setToStringTag = require('./_set-to-string-tag');
+var IteratorPrototype = {};
+
+// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
+require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });
+
+module.exports = function (Constructor, NAME, next) {
+ Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
+ setToStringTag(Constructor, NAME + ' Iterator');
+};
+
+},{"./_hide":27,"./_object-create":44,"./_property-desc":57,"./_set-to-string-tag":63,"./_wks":81}],38:[function(require,module,exports){
+'use strict';
+var LIBRARY = require('./_library');
+var $export = require('./_export');
+var redefine = require('./_redefine');
+var hide = require('./_hide');
+var Iterators = require('./_iterators');
+var $iterCreate = require('./_iter-create');
+var setToStringTag = require('./_set-to-string-tag');
+var getPrototypeOf = require('./_object-gpo');
+var ITERATOR = require('./_wks')('iterator');
+var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
+var FF_ITERATOR = '@@iterator';
+var KEYS = 'keys';
+var VALUES = 'values';
+
+var returnThis = function () { return this; };
+
+module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
+ $iterCreate(Constructor, NAME, next);
+ var getMethod = function (kind) {
+ if (!BUGGY && kind in proto) return proto[kind];
+ switch (kind) {
+ case KEYS: return function keys() { return new Constructor(this, kind); };
+ case VALUES: return function values() { return new Constructor(this, kind); };
+ } return function entries() { return new Constructor(this, kind); };
+ };
+ var TAG = NAME + ' Iterator';
+ var DEF_VALUES = DEFAULT == VALUES;
+ var VALUES_BUG = false;
+ var proto = Base.prototype;
+ var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
+ var $default = $native || getMethod(DEFAULT);
+ var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
+ var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
+ var methods, key, IteratorPrototype;
+ // Fix native
+ if ($anyNative) {
+ IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
+ if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
+ // Set @@toStringTag to native iterators
+ setToStringTag(IteratorPrototype, TAG, true);
+ // fix for some old engines
+ if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
+ }
+ }
+ // fix Array#{values, @@iterator}.name in V8 / FF
+ if (DEF_VALUES && $native && $native.name !== VALUES) {
+ VALUES_BUG = true;
+ $default = function values() { return $native.call(this); };
+ }
+ // Define iterator
+ if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
+ hide(proto, ITERATOR, $default);
+ }
+ // Plug for library
+ Iterators[NAME] = $default;
+ Iterators[TAG] = returnThis;
+ if (DEFAULT) {
+ methods = {
+ values: DEF_VALUES ? $default : getMethod(VALUES),
+ keys: IS_SET ? $default : getMethod(KEYS),
+ entries: $entries
+ };
+ if (FORCED) for (key in methods) {
+ if (!(key in proto)) redefine(proto, key, methods[key]);
+ } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
+ }
+ return methods;
+};
+
+},{"./_export":19,"./_hide":27,"./_iter-create":37,"./_iterators":41,"./_library":42,"./_object-gpo":51,"./_redefine":58,"./_set-to-string-tag":63,"./_wks":81}],39:[function(require,module,exports){
+var ITERATOR = require('./_wks')('iterator');
+var SAFE_CLOSING = false;
+
+try {
+ var riter = [7][ITERATOR]();
+ riter['return'] = function () { SAFE_CLOSING = true; };
+ // eslint-disable-next-line no-throw-literal
+ Array.from(riter, function () { throw 2; });
+} catch (e) { /* empty */ }
+
+module.exports = function (exec, skipClosing) {
+ if (!skipClosing && !SAFE_CLOSING) return false;
+ var safe = false;
+ try {
+ var arr = [7];
+ var iter = arr[ITERATOR]();
+ iter.next = function () { return { done: safe = true }; };
+ arr[ITERATOR] = function () { return iter; };
+ exec(arr);
+ } catch (e) { /* empty */ }
+ return safe;
+};
+
+},{"./_wks":81}],40:[function(require,module,exports){
+module.exports = function (done, value) {
+ return { value: value, done: !!done };
+};
+
+},{}],41:[function(require,module,exports){
+module.exports = {};
+
+},{}],42:[function(require,module,exports){
+module.exports = false;
+
+},{}],43:[function(require,module,exports){
+var META = require('./_uid')('meta');
+var isObject = require('./_is-object');
+var has = require('./_has');
+var setDesc = require('./_object-dp').f;
+var id = 0;
+var isExtensible = Object.isExtensible || function () {
+ return true;
+};
+var FREEZE = !require('./_fails')(function () {
+ return isExtensible(Object.preventExtensions({}));
+});
+var setMeta = function (it) {
+ setDesc(it, META, { value: {
+ i: 'O' + ++id, // object ID
+ w: {} // weak collections IDs
+ } });
+};
+var fastKey = function (it, create) {
+ // return primitive with prefix
+ if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
+ if (!has(it, META)) {
+ // can't set metadata to uncaught frozen object
+ if (!isExtensible(it)) return 'F';
+ // not necessary to add metadata
+ if (!create) return 'E';
+ // add missing metadata
+ setMeta(it);
+ // return object ID
+ } return it[META].i;
+};
+var getWeak = function (it, create) {
+ if (!has(it, META)) {
+ // can't set metadata to uncaught frozen object
+ if (!isExtensible(it)) return true;
+ // not necessary to add metadata
+ if (!create) return false;
+ // add missing metadata
+ setMeta(it);
+ // return hash weak collections IDs
+ } return it[META].w;
+};
+// add metadata on freeze-family methods calling
+var onFreeze = function (it) {
+ if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
+ return it;
+};
+var meta = module.exports = {
+ KEY: META,
+ NEED: false,
+ fastKey: fastKey,
+ getWeak: getWeak,
+ onFreeze: onFreeze
+};
+
+},{"./_fails":21,"./_has":26,"./_is-object":34,"./_object-dp":45,"./_uid":78}],44:[function(require,module,exports){
+// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
+var anObject = require('./_an-object');
+var dPs = require('./_object-dps');
+var enumBugKeys = require('./_enum-bug-keys');
+var IE_PROTO = require('./_shared-key')('IE_PROTO');
+var Empty = function () { /* empty */ };
+var PROTOTYPE = 'prototype';
+
+// Create object with fake `null` prototype: use iframe Object with cleared prototype
+var createDict = function () {
+ // Thrash, waste and sodomy: IE GC bug
+ var iframe = require('./_dom-create')('iframe');
+ var i = enumBugKeys.length;
+ var lt = '<';
+ var gt = '>';
+ var iframeDocument;
+ iframe.style.display = 'none';
+ require('./_html').appendChild(iframe);
+ iframe.src = 'javascript:'; // eslint-disable-line no-script-url
+ // createDict = iframe.contentWindow.Object;
+ // html.removeChild(iframe);
+ iframeDocument = iframe.contentWindow.document;
+ iframeDocument.open();
+ iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
+ iframeDocument.close();
+ createDict = iframeDocument.F;
+ while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
+ return createDict();
+};
+
+module.exports = Object.create || function create(O, Properties) {
+ var result;
+ if (O !== null) {
+ Empty[PROTOTYPE] = anObject(O);
+ result = new Empty();
+ Empty[PROTOTYPE] = null;
+ // add "__proto__" for Object.getPrototypeOf polyfill
+ result[IE_PROTO] = O;
+ } else result = createDict();
+ return Properties === undefined ? result : dPs(result, Properties);
+};
+
+},{"./_an-object":4,"./_dom-create":16,"./_enum-bug-keys":17,"./_html":28,"./_object-dps":46,"./_shared-key":64}],45:[function(require,module,exports){
+var anObject = require('./_an-object');
+var IE8_DOM_DEFINE = require('./_ie8-dom-define');
+var toPrimitive = require('./_to-primitive');
+var dP = Object.defineProperty;
+
+exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {
+ anObject(O);
+ P = toPrimitive(P, true);
+ anObject(Attributes);
+ if (IE8_DOM_DEFINE) try {
+ return dP(O, P, Attributes);
+ } catch (e) { /* empty */ }
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
+ if ('value' in Attributes) O[P] = Attributes.value;
+ return O;
+};
+
+},{"./_an-object":4,"./_descriptors":15,"./_ie8-dom-define":29,"./_to-primitive":77}],46:[function(require,module,exports){
+var dP = require('./_object-dp');
+var anObject = require('./_an-object');
+var getKeys = require('./_object-keys');
+
+module.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {
+ anObject(O);
+ var keys = getKeys(Properties);
+ var length = keys.length;
+ var i = 0;
+ var P;
+ while (length > i) dP.f(O, P = keys[i++], Properties[P]);
+ return O;
+};
+
+},{"./_an-object":4,"./_descriptors":15,"./_object-dp":45,"./_object-keys":53}],47:[function(require,module,exports){
+var pIE = require('./_object-pie');
+var createDesc = require('./_property-desc');
+var toIObject = require('./_to-iobject');
+var toPrimitive = require('./_to-primitive');
+var has = require('./_has');
+var IE8_DOM_DEFINE = require('./_ie8-dom-define');
+var gOPD = Object.getOwnPropertyDescriptor;
+
+exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {
+ O = toIObject(O);
+ P = toPrimitive(P, true);
+ if (IE8_DOM_DEFINE) try {
+ return gOPD(O, P);
+ } catch (e) { /* empty */ }
+ if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
+};
+
+},{"./_descriptors":15,"./_has":26,"./_ie8-dom-define":29,"./_object-pie":54,"./_property-desc":57,"./_to-iobject":74,"./_to-primitive":77}],48:[function(require,module,exports){
+// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
+var toIObject = require('./_to-iobject');
+var gOPN = require('./_object-gopn').f;
+var toString = {}.toString;
+
+var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
+ ? Object.getOwnPropertyNames(window) : [];
+
+var getWindowNames = function (it) {
+ try {
+ return gOPN(it);
+ } catch (e) {
+ return windowNames.slice();
+ }
+};
+
+module.exports.f = function getOwnPropertyNames(it) {
+ return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
+};
+
+},{"./_object-gopn":49,"./_to-iobject":74}],49:[function(require,module,exports){
+// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
+var $keys = require('./_object-keys-internal');
+var hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');
+
+exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
+ return $keys(O, hiddenKeys);
+};
+
+},{"./_enum-bug-keys":17,"./_object-keys-internal":52}],50:[function(require,module,exports){
+exports.f = Object.getOwnPropertySymbols;
+
+},{}],51:[function(require,module,exports){
+// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
+var has = require('./_has');
+var toObject = require('./_to-object');
+var IE_PROTO = require('./_shared-key')('IE_PROTO');
+var ObjectProto = Object.prototype;
+
+module.exports = Object.getPrototypeOf || function (O) {
+ O = toObject(O);
+ if (has(O, IE_PROTO)) return O[IE_PROTO];
+ if (typeof O.constructor == 'function' && O instanceof O.constructor) {
+ return O.constructor.prototype;
+ } return O instanceof Object ? ObjectProto : null;
+};
+
+},{"./_has":26,"./_shared-key":64,"./_to-object":76}],52:[function(require,module,exports){
+var has = require('./_has');
+var toIObject = require('./_to-iobject');
+var arrayIndexOf = require('./_array-includes')(false);
+var IE_PROTO = require('./_shared-key')('IE_PROTO');
+
+module.exports = function (object, names) {
+ var O = toIObject(object);
+ var i = 0;
+ var result = [];
+ var key;
+ for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
+ // Don't enum bug & hidden keys
+ while (names.length > i) if (has(O, key = names[i++])) {
+ ~arrayIndexOf(result, key) || result.push(key);
+ }
+ return result;
+};
+
+},{"./_array-includes":5,"./_has":26,"./_shared-key":64,"./_to-iobject":74}],53:[function(require,module,exports){
+// 19.1.2.14 / 15.2.3.14 Object.keys(O)
+var $keys = require('./_object-keys-internal');
+var enumBugKeys = require('./_enum-bug-keys');
+
+module.exports = Object.keys || function keys(O) {
+ return $keys(O, enumBugKeys);
+};
+
+},{"./_enum-bug-keys":17,"./_object-keys-internal":52}],54:[function(require,module,exports){
+exports.f = {}.propertyIsEnumerable;
+
+},{}],55:[function(require,module,exports){
+// most Object methods by ES6 should accept primitives
+var $export = require('./_export');
+var core = require('./_core');
+var fails = require('./_fails');
+module.exports = function (KEY, exec) {
+ var fn = (core.Object || {})[KEY] || Object[KEY];
+ var exp = {};
+ exp[KEY] = exec(fn);
+ $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
+};
+
+},{"./_core":11,"./_export":19,"./_fails":21}],56:[function(require,module,exports){
+// all object keys, includes non-enumerable and symbols
+var gOPN = require('./_object-gopn');
+var gOPS = require('./_object-gops');
+var anObject = require('./_an-object');
+var Reflect = require('./_global').Reflect;
+module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {
+ var keys = gOPN.f(anObject(it));
+ var getSymbols = gOPS.f;
+ return getSymbols ? keys.concat(getSymbols(it)) : keys;
+};
+
+},{"./_an-object":4,"./_global":25,"./_object-gopn":49,"./_object-gops":50}],57:[function(require,module,exports){
+module.exports = function (bitmap, value) {
+ return {
+ enumerable: !(bitmap & 1),
+ configurable: !(bitmap & 2),
+ writable: !(bitmap & 4),
+ value: value
+ };
+};
+
+},{}],58:[function(require,module,exports){
+var global = require('./_global');
+var hide = require('./_hide');
+var has = require('./_has');
+var SRC = require('./_uid')('src');
+var $toString = require('./_function-to-string');
+var TO_STRING = 'toString';
+var TPL = ('' + $toString).split(TO_STRING);
+
+require('./_core').inspectSource = function (it) {
+ return $toString.call(it);
+};
+
+(module.exports = function (O, key, val, safe) {
+ var isFunction = typeof val == 'function';
+ if (isFunction) has(val, 'name') || hide(val, 'name', key);
+ if (O[key] === val) return;
+ if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
+ if (O === global) {
+ O[key] = val;
+ } else if (!safe) {
+ delete O[key];
+ hide(O, key, val);
+ } else if (O[key]) {
+ O[key] = val;
+ } else {
+ hide(O, key, val);
+ }
+// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
+})(Function.prototype, TO_STRING, function toString() {
+ return typeof this == 'function' && this[SRC] || $toString.call(this);
+});
+
+},{"./_core":11,"./_function-to-string":24,"./_global":25,"./_has":26,"./_hide":27,"./_uid":78}],59:[function(require,module,exports){
+'use strict';
+
+var classof = require('./_classof');
+var builtinExec = RegExp.prototype.exec;
+
+ // `RegExpExec` abstract operation
+// https://tc39.github.io/ecma262/#sec-regexpexec
+module.exports = function (R, S) {
+ var exec = R.exec;
+ if (typeof exec === 'function') {
+ var result = exec.call(R, S);
+ if (typeof result !== 'object') {
+ throw new TypeError('RegExp exec method returned something other than an Object or null');
+ }
+ return result;
+ }
+ if (classof(R) !== 'RegExp') {
+ throw new TypeError('RegExp#exec called on incompatible receiver');
+ }
+ return builtinExec.call(R, S);
+};
+
+},{"./_classof":9}],60:[function(require,module,exports){
+'use strict';
+
+var regexpFlags = require('./_flags');
+
+var nativeExec = RegExp.prototype.exec;
+// This always refers to the native implementation, because the
+// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
+// which loads this file before patching the method.
+var nativeReplace = String.prototype.replace;
+
+var patchedExec = nativeExec;
+
+var LAST_INDEX = 'lastIndex';
+
+var UPDATES_LAST_INDEX_WRONG = (function () {
+ var re1 = /a/,
+ re2 = /b*/g;
+ nativeExec.call(re1, 'a');
+ nativeExec.call(re2, 'a');
+ return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
+})();
+
+// nonparticipating capturing group, copied from es5-shim's String#split patch.
+var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
+
+var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
+
+if (PATCH) {
+ patchedExec = function exec(str) {
+ var re = this;
+ var lastIndex, reCopy, match, i;
+
+ if (NPCG_INCLUDED) {
+ reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
+ }
+ if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
+
+ match = nativeExec.call(re, str);
+
+ if (UPDATES_LAST_INDEX_WRONG && match) {
+ re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
+ }
+ if (NPCG_INCLUDED && match && match.length > 1) {
+ // Fix browsers whose `exec` methods don't consistently return `undefined`
+ // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
+ // eslint-disable-next-line no-loop-func
+ nativeReplace.call(match[0], reCopy, function () {
+ for (i = 1; i < arguments.length - 2; i++) {
+ if (arguments[i] === undefined) match[i] = undefined;
+ }
+ });
+ }
+
+ return match;
+ };
+}
+
+module.exports = patchedExec;
+
+},{"./_flags":23}],61:[function(require,module,exports){
+// Works with __proto__ only. Old v8 can't work with null proto objects.
+/* eslint-disable no-proto */
+var isObject = require('./_is-object');
+var anObject = require('./_an-object');
+var check = function (O, proto) {
+ anObject(O);
+ if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
+};
+module.exports = {
+ set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
+ function (test, buggy, set) {
+ try {
+ set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);
+ set(test, []);
+ buggy = !(test instanceof Array);
+ } catch (e) { buggy = true; }
+ return function setPrototypeOf(O, proto) {
+ check(O, proto);
+ if (buggy) O.__proto__ = proto;
+ else set(O, proto);
+ return O;
+ };
+ }({}, false) : undefined),
+ check: check
+};
+
+},{"./_an-object":4,"./_ctx":13,"./_is-object":34,"./_object-gopd":47}],62:[function(require,module,exports){
+'use strict';
+var global = require('./_global');
+var dP = require('./_object-dp');
+var DESCRIPTORS = require('./_descriptors');
+var SPECIES = require('./_wks')('species');
+
+module.exports = function (KEY) {
+ var C = global[KEY];
+ if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
+ configurable: true,
+ get: function () { return this; }
+ });
+};
+
+},{"./_descriptors":15,"./_global":25,"./_object-dp":45,"./_wks":81}],63:[function(require,module,exports){
+var def = require('./_object-dp').f;
+var has = require('./_has');
+var TAG = require('./_wks')('toStringTag');
+
+module.exports = function (it, tag, stat) {
+ if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
+};
+
+},{"./_has":26,"./_object-dp":45,"./_wks":81}],64:[function(require,module,exports){
+var shared = require('./_shared')('keys');
+var uid = require('./_uid');
+module.exports = function (key) {
+ return shared[key] || (shared[key] = uid(key));
+};
+
+},{"./_shared":65,"./_uid":78}],65:[function(require,module,exports){
+var core = require('./_core');
+var global = require('./_global');
+var SHARED = '__core-js_shared__';
+var store = global[SHARED] || (global[SHARED] = {});
+
+(module.exports = function (key, value) {
+ return store[key] || (store[key] = value !== undefined ? value : {});
+})('versions', []).push({
+ version: core.version,
+ mode: require('./_library') ? 'pure' : 'global',
+ copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
+});
+
+},{"./_core":11,"./_global":25,"./_library":42}],66:[function(require,module,exports){
+// 7.3.20 SpeciesConstructor(O, defaultConstructor)
+var anObject = require('./_an-object');
+var aFunction = require('./_a-function');
+var SPECIES = require('./_wks')('species');
+module.exports = function (O, D) {
+ var C = anObject(O).constructor;
+ var S;
+ return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
+};
+
+},{"./_a-function":1,"./_an-object":4,"./_wks":81}],67:[function(require,module,exports){
+'use strict';
+var fails = require('./_fails');
+
+module.exports = function (method, arg) {
+ return !!method && fails(function () {
+ // eslint-disable-next-line no-useless-call
+ arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);
+ });
+};
+
+},{"./_fails":21}],68:[function(require,module,exports){
+var toInteger = require('./_to-integer');
+var defined = require('./_defined');
+// true -> String#at
+// false -> String#codePointAt
+module.exports = function (TO_STRING) {
+ return function (that, pos) {
+ var s = String(defined(that));
+ var i = toInteger(pos);
+ var l = s.length;
+ var a, b;
+ if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
+ a = s.charCodeAt(i);
+ return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
+ ? TO_STRING ? s.charAt(i) : a
+ : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
+ };
+};
+
+},{"./_defined":14,"./_to-integer":73}],69:[function(require,module,exports){
+// helper for String#{startsWith, endsWith, includes}
+var isRegExp = require('./_is-regexp');
+var defined = require('./_defined');
+
+module.exports = function (that, searchString, NAME) {
+ if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
+ return String(defined(that));
+};
+
+},{"./_defined":14,"./_is-regexp":35}],70:[function(require,module,exports){
+var $export = require('./_export');
+var defined = require('./_defined');
+var fails = require('./_fails');
+var spaces = require('./_string-ws');
+var space = '[' + spaces + ']';
+var non = '\u200b\u0085';
+var ltrim = RegExp('^' + space + space + '*');
+var rtrim = RegExp(space + space + '*$');
+
+var exporter = function (KEY, exec, ALIAS) {
+ var exp = {};
+ var FORCE = fails(function () {
+ return !!spaces[KEY]() || non[KEY]() != non;
+ });
+ var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
+ if (ALIAS) exp[ALIAS] = fn;
+ $export($export.P + $export.F * FORCE, 'String', exp);
+};
+
+// 1 -> String#trimLeft
+// 2 -> String#trimRight
+// 3 -> String#trim
+var trim = exporter.trim = function (string, TYPE) {
+ string = String(defined(string));
+ if (TYPE & 1) string = string.replace(ltrim, '');
+ if (TYPE & 2) string = string.replace(rtrim, '');
+ return string;
+};
+
+module.exports = exporter;
+
+},{"./_defined":14,"./_export":19,"./_fails":21,"./_string-ws":71}],71:[function(require,module,exports){
+module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
+ '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
+
+},{}],72:[function(require,module,exports){
+var toInteger = require('./_to-integer');
+var max = Math.max;
+var min = Math.min;
+module.exports = function (index, length) {
+ index = toInteger(index);
+ return index < 0 ? max(index + length, 0) : min(index, length);
+};
+
+},{"./_to-integer":73}],73:[function(require,module,exports){
+// 7.1.4 ToInteger
+var ceil = Math.ceil;
+var floor = Math.floor;
+module.exports = function (it) {
+ return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
+};
+
+},{}],74:[function(require,module,exports){
+// to indexed object, toObject with fallback for non-array-like ES3 strings
+var IObject = require('./_iobject');
+var defined = require('./_defined');
+module.exports = function (it) {
+ return IObject(defined(it));
+};
+
+},{"./_defined":14,"./_iobject":31}],75:[function(require,module,exports){
+// 7.1.15 ToLength
+var toInteger = require('./_to-integer');
+var min = Math.min;
+module.exports = function (it) {
+ return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
+};
+
+},{"./_to-integer":73}],76:[function(require,module,exports){
+// 7.1.13 ToObject(argument)
+var defined = require('./_defined');
+module.exports = function (it) {
+ return Object(defined(it));
+};
+
+},{"./_defined":14}],77:[function(require,module,exports){
+// 7.1.1 ToPrimitive(input [, PreferredType])
+var isObject = require('./_is-object');
+// instead of the ES6 spec version, we didn't implement @@toPrimitive case
+// and the second argument - flag - preferred type is a string
+module.exports = function (it, S) {
+ if (!isObject(it)) return it;
+ var fn, val;
+ if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
+ if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
+ if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
+ throw TypeError("Can't convert object to primitive value");
+};
+
+},{"./_is-object":34}],78:[function(require,module,exports){
+var id = 0;
+var px = Math.random();
+module.exports = function (key) {
+ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
+};
+
+},{}],79:[function(require,module,exports){
+var global = require('./_global');
+var core = require('./_core');
+var LIBRARY = require('./_library');
+var wksExt = require('./_wks-ext');
+var defineProperty = require('./_object-dp').f;
+module.exports = function (name) {
+ var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
+ if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
+};
+
+},{"./_core":11,"./_global":25,"./_library":42,"./_object-dp":45,"./_wks-ext":80}],80:[function(require,module,exports){
+exports.f = require('./_wks');
+
+},{"./_wks":81}],81:[function(require,module,exports){
+var store = require('./_shared')('wks');
+var uid = require('./_uid');
+var Symbol = require('./_global').Symbol;
+var USE_SYMBOL = typeof Symbol == 'function';
+
+var $exports = module.exports = function (name) {
+ return store[name] || (store[name] =
+ USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
+};
+
+$exports.store = store;
+
+},{"./_global":25,"./_shared":65,"./_uid":78}],82:[function(require,module,exports){
+var classof = require('./_classof');
+var ITERATOR = require('./_wks')('iterator');
+var Iterators = require('./_iterators');
+module.exports = require('./_core').getIteratorMethod = function (it) {
+ if (it != undefined) return it[ITERATOR]
+ || it['@@iterator']
+ || Iterators[classof(it)];
+};
+
+},{"./_classof":9,"./_core":11,"./_iterators":41,"./_wks":81}],83:[function(require,module,exports){
+'use strict';
+var $export = require('./_export');
+var $filter = require('./_array-methods')(2);
+
+$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {
+ // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
+ filter: function filter(callbackfn /* , thisArg */) {
+ return $filter(this, callbackfn, arguments[1]);
+ }
+});
+
+},{"./_array-methods":6,"./_export":19,"./_strict-method":67}],84:[function(require,module,exports){
+'use strict';
+var ctx = require('./_ctx');
+var $export = require('./_export');
+var toObject = require('./_to-object');
+var call = require('./_iter-call');
+var isArrayIter = require('./_is-array-iter');
+var toLength = require('./_to-length');
+var createProperty = require('./_create-property');
+var getIterFn = require('./core.get-iterator-method');
+
+$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {
+ // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
+ from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
+ var O = toObject(arrayLike);
+ var C = typeof this == 'function' ? this : Array;
+ var aLen = arguments.length;
+ var mapfn = aLen > 1 ? arguments[1] : undefined;
+ var mapping = mapfn !== undefined;
+ var index = 0;
+ var iterFn = getIterFn(O);
+ var length, result, step, iterator;
+ if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
+ // if object isn't iterable or it's array with default iterator - use simple case
+ if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
+ for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
+ createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
+ }
+ } else {
+ length = toLength(O.length);
+ for (result = new C(length); length > index; index++) {
+ createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
+ }
+ }
+ result.length = index;
+ return result;
+ }
+});
+
+},{"./_create-property":12,"./_ctx":13,"./_export":19,"./_is-array-iter":32,"./_iter-call":36,"./_iter-detect":39,"./_to-length":75,"./_to-object":76,"./core.get-iterator-method":82}],85:[function(require,module,exports){
+'use strict';
+var addToUnscopables = require('./_add-to-unscopables');
+var step = require('./_iter-step');
+var Iterators = require('./_iterators');
+var toIObject = require('./_to-iobject');
+
+// 22.1.3.4 Array.prototype.entries()
+// 22.1.3.13 Array.prototype.keys()
+// 22.1.3.29 Array.prototype.values()
+// 22.1.3.30 Array.prototype[@@iterator]()
+module.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {
+ this._t = toIObject(iterated); // target
+ this._i = 0; // next index
+ this._k = kind; // kind
+// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
+}, function () {
+ var O = this._t;
+ var kind = this._k;
+ var index = this._i++;
+ if (!O || index >= O.length) {
+ this._t = undefined;
+ return step(1);
+ }
+ if (kind == 'keys') return step(0, index);
+ if (kind == 'values') return step(0, O[index]);
+ return step(0, [index, O[index]]);
+}, 'values');
+
+// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
+Iterators.Arguments = Iterators.Array;
+
+addToUnscopables('keys');
+addToUnscopables('values');
+addToUnscopables('entries');
+
+},{"./_add-to-unscopables":2,"./_iter-define":38,"./_iter-step":40,"./_iterators":41,"./_to-iobject":74}],86:[function(require,module,exports){
+'use strict';
+var $export = require('./_export');
+var $map = require('./_array-methods')(1);
+
+$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {
+ // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
+ map: function map(callbackfn /* , thisArg */) {
+ return $map(this, callbackfn, arguments[1]);
+ }
+});
+
+},{"./_array-methods":6,"./_export":19,"./_strict-method":67}],87:[function(require,module,exports){
+'use strict';
+var $export = require('./_export');
+var html = require('./_html');
+var cof = require('./_cof');
+var toAbsoluteIndex = require('./_to-absolute-index');
+var toLength = require('./_to-length');
+var arraySlice = [].slice;
+
+// fallback for not array-like ES3 strings and DOM objects
+$export($export.P + $export.F * require('./_fails')(function () {
+ if (html) arraySlice.call(html);
+}), 'Array', {
+ slice: function slice(begin, end) {
+ var len = toLength(this.length);
+ var klass = cof(this);
+ end = end === undefined ? len : end;
+ if (klass == 'Array') return arraySlice.call(this, begin, end);
+ var start = toAbsoluteIndex(begin, len);
+ var upTo = toAbsoluteIndex(end, len);
+ var size = toLength(upTo - start);
+ var cloned = new Array(size);
+ var i = 0;
+ for (; i < size; i++) cloned[i] = klass == 'String'
+ ? this.charAt(start + i)
+ : this[start + i];
+ return cloned;
+ }
+});
+
+},{"./_cof":10,"./_export":19,"./_fails":21,"./_html":28,"./_to-absolute-index":72,"./_to-length":75}],88:[function(require,module,exports){
+'use strict';
+var global = require('./_global');
+var has = require('./_has');
+var cof = require('./_cof');
+var inheritIfRequired = require('./_inherit-if-required');
+var toPrimitive = require('./_to-primitive');
+var fails = require('./_fails');
+var gOPN = require('./_object-gopn').f;
+var gOPD = require('./_object-gopd').f;
+var dP = require('./_object-dp').f;
+var $trim = require('./_string-trim').trim;
+var NUMBER = 'Number';
+var $Number = global[NUMBER];
+var Base = $Number;
+var proto = $Number.prototype;
+// Opera ~12 has broken Object#toString
+var BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;
+var TRIM = 'trim' in String.prototype;
+
+// 7.1.3 ToNumber(argument)
+var toNumber = function (argument) {
+ var it = toPrimitive(argument, false);
+ if (typeof it == 'string' && it.length > 2) {
+ it = TRIM ? it.trim() : $trim(it, 3);
+ var first = it.charCodeAt(0);
+ var third, radix, maxCode;
+ if (first === 43 || first === 45) {
+ third = it.charCodeAt(2);
+ if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
+ } else if (first === 48) {
+ switch (it.charCodeAt(1)) {
+ case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
+ case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
+ default: return +it;
+ }
+ for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
+ code = digits.charCodeAt(i);
+ // parseInt parses a string to a first unavailable symbol
+ // but ToNumber should return NaN if a string contains unavailable symbols
+ if (code < 48 || code > maxCode) return NaN;
+ } return parseInt(digits, radix);
+ }
+ } return +it;
+};
+
+if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
+ $Number = function Number(value) {
+ var it = arguments.length < 1 ? 0 : value;
+ var that = this;
+ return that instanceof $Number
+ // check on 1..constructor(foo) case
+ && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
+ ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
+ };
+ for (var keys = require('./_descriptors') ? gOPN(Base) : (
+ // ES3:
+ 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
+ // ES6 (in case, if modules with ES6 Number statics required before):
+ 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
+ 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
+ ).split(','), j = 0, key; keys.length > j; j++) {
+ if (has(Base, key = keys[j]) && !has($Number, key)) {
+ dP($Number, key, gOPD(Base, key));
+ }
+ }
+ $Number.prototype = proto;
+ proto.constructor = $Number;
+ require('./_redefine')(global, NUMBER, $Number);
+}
+
+},{"./_cof":10,"./_descriptors":15,"./_fails":21,"./_global":25,"./_has":26,"./_inherit-if-required":30,"./_object-create":44,"./_object-dp":45,"./_object-gopd":47,"./_object-gopn":49,"./_redefine":58,"./_string-trim":70,"./_to-primitive":77}],89:[function(require,module,exports){
+// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
+var toIObject = require('./_to-iobject');
+var $getOwnPropertyDescriptor = require('./_object-gopd').f;
+
+require('./_object-sap')('getOwnPropertyDescriptor', function () {
+ return function getOwnPropertyDescriptor(it, key) {
+ return $getOwnPropertyDescriptor(toIObject(it), key);
+ };
+});
+
+},{"./_object-gopd":47,"./_object-sap":55,"./_to-iobject":74}],90:[function(require,module,exports){
+// 19.1.2.14 Object.keys(O)
+var toObject = require('./_to-object');
+var $keys = require('./_object-keys');
+
+require('./_object-sap')('keys', function () {
+ return function keys(it) {
+ return $keys(toObject(it));
+ };
+});
+
+},{"./_object-keys":53,"./_object-sap":55,"./_to-object":76}],91:[function(require,module,exports){
+'use strict';
+// 19.1.3.6 Object.prototype.toString()
+var classof = require('./_classof');
+var test = {};
+test[require('./_wks')('toStringTag')] = 'z';
+if (test + '' != '[object z]') {
+ require('./_redefine')(Object.prototype, 'toString', function toString() {
+ return '[object ' + classof(this) + ']';
+ }, true);
+}
+
+},{"./_classof":9,"./_redefine":58,"./_wks":81}],92:[function(require,module,exports){
+var global = require('./_global');
+var inheritIfRequired = require('./_inherit-if-required');
+var dP = require('./_object-dp').f;
+var gOPN = require('./_object-gopn').f;
+var isRegExp = require('./_is-regexp');
+var $flags = require('./_flags');
+var $RegExp = global.RegExp;
+var Base = $RegExp;
+var proto = $RegExp.prototype;
+var re1 = /a/g;
+var re2 = /a/g;
+// "new" creates a new object, old webkit buggy here
+var CORRECT_NEW = new $RegExp(re1) !== re1;
+
+if (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {
+ re2[require('./_wks')('match')] = false;
+ // RegExp constructor can alter flags and IsRegExp works correct with @@match
+ return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
+}))) {
+ $RegExp = function RegExp(p, f) {
+ var tiRE = this instanceof $RegExp;
+ var piRE = isRegExp(p);
+ var fiU = f === undefined;
+ return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
+ : inheritIfRequired(CORRECT_NEW
+ ? new Base(piRE && !fiU ? p.source : p, f)
+ : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
+ , tiRE ? this : proto, $RegExp);
+ };
+ var proxy = function (key) {
+ key in $RegExp || dP($RegExp, key, {
+ configurable: true,
+ get: function () { return Base[key]; },
+ set: function (it) { Base[key] = it; }
+ });
+ };
+ for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);
+ proto.constructor = $RegExp;
+ $RegExp.prototype = proto;
+ require('./_redefine')(global, 'RegExp', $RegExp);
+}
+
+require('./_set-species')('RegExp');
+
+},{"./_descriptors":15,"./_fails":21,"./_flags":23,"./_global":25,"./_inherit-if-required":30,"./_is-regexp":35,"./_object-dp":45,"./_object-gopn":49,"./_redefine":58,"./_set-species":62,"./_wks":81}],93:[function(require,module,exports){
+'use strict';
+var regexpExec = require('./_regexp-exec');
+require('./_export')({
+ target: 'RegExp',
+ proto: true,
+ forced: regexpExec !== /./.exec
+}, {
+ exec: regexpExec
+});
+
+},{"./_export":19,"./_regexp-exec":60}],94:[function(require,module,exports){
+'use strict';
+
+var anObject = require('./_an-object');
+var toLength = require('./_to-length');
+var advanceStringIndex = require('./_advance-string-index');
+var regExpExec = require('./_regexp-exec-abstract');
+
+// @@match logic
+require('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCallNative) {
+ return [
+ // `String.prototype.match` method
+ // https://tc39.github.io/ecma262/#sec-string.prototype.match
+ function match(regexp) {
+ var O = defined(this);
+ var fn = regexp == undefined ? undefined : regexp[MATCH];
+ return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
+ },
+ // `RegExp.prototype[@@match]` method
+ // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
+ function (regexp) {
+ var res = maybeCallNative($match, regexp, this);
+ if (res.done) return res.value;
+ var rx = anObject(regexp);
+ var S = String(this);
+ if (!rx.global) return regExpExec(rx, S);
+ var fullUnicode = rx.unicode;
+ rx.lastIndex = 0;
+ var A = [];
+ var n = 0;
+ var result;
+ while ((result = regExpExec(rx, S)) !== null) {
+ var matchStr = String(result[0]);
+ A[n] = matchStr;
+ if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
+ n++;
+ }
+ return n === 0 ? null : A;
+ }
+ ];
+});
+
+},{"./_advance-string-index":3,"./_an-object":4,"./_fix-re-wks":22,"./_regexp-exec-abstract":59,"./_to-length":75}],95:[function(require,module,exports){
+'use strict';
+
+var anObject = require('./_an-object');
+var toObject = require('./_to-object');
+var toLength = require('./_to-length');
+var toInteger = require('./_to-integer');
+var advanceStringIndex = require('./_advance-string-index');
+var regExpExec = require('./_regexp-exec-abstract');
+var max = Math.max;
+var min = Math.min;
+var floor = Math.floor;
+var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
+var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
+
+var maybeToString = function (it) {
+ return it === undefined ? it : String(it);
+};
+
+// @@replace logic
+require('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
+ return [
+ // `String.prototype.replace` method
+ // https://tc39.github.io/ecma262/#sec-string.prototype.replace
+ function replace(searchValue, replaceValue) {
+ var O = defined(this);
+ var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
+ return fn !== undefined
+ ? fn.call(searchValue, O, replaceValue)
+ : $replace.call(String(O), searchValue, replaceValue);
+ },
+ // `RegExp.prototype[@@replace]` method
+ // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
+ function (regexp, replaceValue) {
+ var res = maybeCallNative($replace, regexp, this, replaceValue);
+ if (res.done) return res.value;
+
+ var rx = anObject(regexp);
+ var S = String(this);
+ var functionalReplace = typeof replaceValue === 'function';
+ if (!functionalReplace) replaceValue = String(replaceValue);
+ var global = rx.global;
+ if (global) {
+ var fullUnicode = rx.unicode;
+ rx.lastIndex = 0;
+ }
+ var results = [];
+ while (true) {
+ var result = regExpExec(rx, S);
+ if (result === null) break;
+ results.push(result);
+ if (!global) break;
+ var matchStr = String(result[0]);
+ if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
+ }
+ var accumulatedResult = '';
+ var nextSourcePosition = 0;
+ for (var i = 0; i < results.length; i++) {
+ result = results[i];
+ var matched = String(result[0]);
+ var position = max(min(toInteger(result.index), S.length), 0);
+ var captures = [];
+ // NOTE: This is equivalent to
+ // captures = result.slice(1).map(maybeToString)
+ // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
+ // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
+ // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
+ for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
+ var namedCaptures = result.groups;
+ if (functionalReplace) {
+ var replacerArgs = [matched].concat(captures, position, S);
+ if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
+ var replacement = String(replaceValue.apply(undefined, replacerArgs));
+ } else {
+ replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
+ }
+ if (position >= nextSourcePosition) {
+ accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
+ nextSourcePosition = position + matched.length;
+ }
+ }
+ return accumulatedResult + S.slice(nextSourcePosition);
+ }
+ ];
+
+ // https://tc39.github.io/ecma262/#sec-getsubstitution
+ function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
+ var tailPos = position + matched.length;
+ var m = captures.length;
+ var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
+ if (namedCaptures !== undefined) {
+ namedCaptures = toObject(namedCaptures);
+ symbols = SUBSTITUTION_SYMBOLS;
+ }
+ return $replace.call(replacement, symbols, function (match, ch) {
+ var capture;
+ switch (ch.charAt(0)) {
+ case '$': return '$';
+ case '&': return matched;
+ case '`': return str.slice(0, position);
+ case "'": return str.slice(tailPos);
+ case '<':
+ capture = namedCaptures[ch.slice(1, -1)];
+ break;
+ default: // \d\d?
+ var n = +ch;
+ if (n === 0) return match;
+ if (n > m) {
+ var f = floor(n / 10);
+ if (f === 0) return match;
+ if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
+ return match;
+ }
+ capture = captures[n - 1];
+ }
+ return capture === undefined ? '' : capture;
+ });
+ }
+});
+
+},{"./_advance-string-index":3,"./_an-object":4,"./_fix-re-wks":22,"./_regexp-exec-abstract":59,"./_to-integer":73,"./_to-length":75,"./_to-object":76}],96:[function(require,module,exports){
+'use strict';
+
+var isRegExp = require('./_is-regexp');
+var anObject = require('./_an-object');
+var speciesConstructor = require('./_species-constructor');
+var advanceStringIndex = require('./_advance-string-index');
+var toLength = require('./_to-length');
+var callRegExpExec = require('./_regexp-exec-abstract');
+var regexpExec = require('./_regexp-exec');
+var fails = require('./_fails');
+var $min = Math.min;
+var $push = [].push;
+var $SPLIT = 'split';
+var LENGTH = 'length';
+var LAST_INDEX = 'lastIndex';
+var MAX_UINT32 = 0xffffffff;
+
+// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
+var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
+
+// @@split logic
+require('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
+ var internalSplit;
+ if (
+ 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
+ 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
+ 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
+ '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
+ '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
+ ''[$SPLIT](/.?/)[LENGTH]
+ ) {
+ // based on es5-shim implementation, need to rework it
+ internalSplit = function (separator, limit) {
+ var string = String(this);
+ if (separator === undefined && limit === 0) return [];
+ // If `separator` is not a regex, use native split
+ if (!isRegExp(separator)) return $split.call(string, separator, limit);
+ var output = [];
+ var flags = (separator.ignoreCase ? 'i' : '') +
+ (separator.multiline ? 'm' : '') +
+ (separator.unicode ? 'u' : '') +
+ (separator.sticky ? 'y' : '');
+ var lastLastIndex = 0;
+ var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
+ // Make `global` and avoid `lastIndex` issues by working with a copy
+ var separatorCopy = new RegExp(separator.source, flags + 'g');
+ var match, lastIndex, lastLength;
+ while (match = regexpExec.call(separatorCopy, string)) {
+ lastIndex = separatorCopy[LAST_INDEX];
+ if (lastIndex > lastLastIndex) {
+ output.push(string.slice(lastLastIndex, match.index));
+ if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
+ lastLength = match[0][LENGTH];
+ lastLastIndex = lastIndex;
+ if (output[LENGTH] >= splitLimit) break;
+ }
+ if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
+ }
+ if (lastLastIndex === string[LENGTH]) {
+ if (lastLength || !separatorCopy.test('')) output.push('');
+ } else output.push(string.slice(lastLastIndex));
+ return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
+ };
+ // Chakra, V8
+ } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
+ internalSplit = function (separator, limit) {
+ return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
+ };
+ } else {
+ internalSplit = $split;
+ }
+
+ return [
+ // `String.prototype.split` method
+ // https://tc39.github.io/ecma262/#sec-string.prototype.split
+ function split(separator, limit) {
+ var O = defined(this);
+ var splitter = separator == undefined ? undefined : separator[SPLIT];
+ return splitter !== undefined
+ ? splitter.call(separator, O, limit)
+ : internalSplit.call(String(O), separator, limit);
+ },
+ // `RegExp.prototype[@@split]` method
+ // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
+ //
+ // NOTE: This cannot be properly polyfilled in engines that don't support
+ // the 'y' flag.
+ function (regexp, limit) {
+ var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
+ if (res.done) return res.value;
+
+ var rx = anObject(regexp);
+ var S = String(this);
+ var C = speciesConstructor(rx, RegExp);
+
+ var unicodeMatching = rx.unicode;
+ var flags = (rx.ignoreCase ? 'i' : '') +
+ (rx.multiline ? 'm' : '') +
+ (rx.unicode ? 'u' : '') +
+ (SUPPORTS_Y ? 'y' : 'g');
+
+ // ^(? + rx + ) is needed, in combination with some S slicing, to
+ // simulate the 'y' flag.
+ var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
+ var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
+ if (lim === 0) return [];
+ if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
+ var p = 0;
+ var q = 0;
+ var A = [];
+ while (q < S.length) {
+ splitter.lastIndex = SUPPORTS_Y ? q : 0;
+ var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
+ var e;
+ if (
+ z === null ||
+ (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
+ ) {
+ q = advanceStringIndex(S, q, unicodeMatching);
+ } else {
+ A.push(S.slice(p, q));
+ if (A.length === lim) return A;
+ for (var i = 1; i <= z.length - 1; i++) {
+ A.push(z[i]);
+ if (A.length === lim) return A;
+ }
+ q = p = e;
+ }
+ }
+ A.push(S.slice(p));
+ return A;
+ }
+ ];
+});
+
+},{"./_advance-string-index":3,"./_an-object":4,"./_fails":21,"./_fix-re-wks":22,"./_is-regexp":35,"./_regexp-exec":60,"./_regexp-exec-abstract":59,"./_species-constructor":66,"./_to-length":75}],97:[function(require,module,exports){
+// 21.1.3.7 String.prototype.includes(searchString, position = 0)
+'use strict';
+var $export = require('./_export');
+var context = require('./_string-context');
+var INCLUDES = 'includes';
+
+$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {
+ includes: function includes(searchString /* , position = 0 */) {
+ return !!~context(this, searchString, INCLUDES)
+ .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
+ }
+});
+
+},{"./_export":19,"./_fails-is-regexp":20,"./_string-context":69}],98:[function(require,module,exports){
+'use strict';
+var $at = require('./_string-at')(true);
+
+// 21.1.3.27 String.prototype[@@iterator]()
+require('./_iter-define')(String, 'String', function (iterated) {
+ this._t = String(iterated); // target
+ this._i = 0; // next index
+// 21.1.5.2.1 %StringIteratorPrototype%.next()
+}, function () {
+ var O = this._t;
+ var index = this._i;
+ var point;
+ if (index >= O.length) return { value: undefined, done: true };
+ point = $at(O, index);
+ this._i += point.length;
+ return { value: point, done: false };
+});
+
+},{"./_iter-define":38,"./_string-at":68}],99:[function(require,module,exports){
+'use strict';
+// ECMAScript 6 symbols shim
+var global = require('./_global');
+var has = require('./_has');
+var DESCRIPTORS = require('./_descriptors');
+var $export = require('./_export');
+var redefine = require('./_redefine');
+var META = require('./_meta').KEY;
+var $fails = require('./_fails');
+var shared = require('./_shared');
+var setToStringTag = require('./_set-to-string-tag');
+var uid = require('./_uid');
+var wks = require('./_wks');
+var wksExt = require('./_wks-ext');
+var wksDefine = require('./_wks-define');
+var enumKeys = require('./_enum-keys');
+var isArray = require('./_is-array');
+var anObject = require('./_an-object');
+var isObject = require('./_is-object');
+var toObject = require('./_to-object');
+var toIObject = require('./_to-iobject');
+var toPrimitive = require('./_to-primitive');
+var createDesc = require('./_property-desc');
+var _create = require('./_object-create');
+var gOPNExt = require('./_object-gopn-ext');
+var $GOPD = require('./_object-gopd');
+var $GOPS = require('./_object-gops');
+var $DP = require('./_object-dp');
+var $keys = require('./_object-keys');
+var gOPD = $GOPD.f;
+var dP = $DP.f;
+var gOPN = gOPNExt.f;
+var $Symbol = global.Symbol;
+var $JSON = global.JSON;
+var _stringify = $JSON && $JSON.stringify;
+var PROTOTYPE = 'prototype';
+var HIDDEN = wks('_hidden');
+var TO_PRIMITIVE = wks('toPrimitive');
+var isEnum = {}.propertyIsEnumerable;
+var SymbolRegistry = shared('symbol-registry');
+var AllSymbols = shared('symbols');
+var OPSymbols = shared('op-symbols');
+var ObjectProto = Object[PROTOTYPE];
+var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
+var QObject = global.QObject;
+// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
+var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
+
+// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
+var setSymbolDesc = DESCRIPTORS && $fails(function () {
+ return _create(dP({}, 'a', {
+ get: function () { return dP(this, 'a', { value: 7 }).a; }
+ })).a != 7;
+}) ? function (it, key, D) {
+ var protoDesc = gOPD(ObjectProto, key);
+ if (protoDesc) delete ObjectProto[key];
+ dP(it, key, D);
+ if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
+} : dP;
+
+var wrap = function (tag) {
+ var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
+ sym._k = tag;
+ return sym;
+};
+
+var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
+ return typeof it == 'symbol';
+} : function (it) {
+ return it instanceof $Symbol;
+};
+
+var $defineProperty = function defineProperty(it, key, D) {
+ if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
+ anObject(it);
+ key = toPrimitive(key, true);
+ anObject(D);
+ if (has(AllSymbols, key)) {
+ if (!D.enumerable) {
+ if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
+ it[HIDDEN][key] = true;
+ } else {
+ if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
+ D = _create(D, { enumerable: createDesc(0, false) });
+ } return setSymbolDesc(it, key, D);
+ } return dP(it, key, D);
+};
+var $defineProperties = function defineProperties(it, P) {
+ anObject(it);
+ var keys = enumKeys(P = toIObject(P));
+ var i = 0;
+ var l = keys.length;
+ var key;
+ while (l > i) $defineProperty(it, key = keys[i++], P[key]);
+ return it;
+};
+var $create = function create(it, P) {
+ return P === undefined ? _create(it) : $defineProperties(_create(it), P);
+};
+var $propertyIsEnumerable = function propertyIsEnumerable(key) {
+ var E = isEnum.call(this, key = toPrimitive(key, true));
+ if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
+ return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
+};
+var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
+ it = toIObject(it);
+ key = toPrimitive(key, true);
+ if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
+ var D = gOPD(it, key);
+ if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
+ return D;
+};
+var $getOwnPropertyNames = function getOwnPropertyNames(it) {
+ var names = gOPN(toIObject(it));
+ var result = [];
+ var i = 0;
+ var key;
+ while (names.length > i) {
+ if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
+ } return result;
+};
+var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
+ var IS_OP = it === ObjectProto;
+ var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
+ var result = [];
+ var i = 0;
+ var key;
+ while (names.length > i) {
+ if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
+ } return result;
+};
+
+// 19.4.1.1 Symbol([description])
+if (!USE_NATIVE) {
+ $Symbol = function Symbol() {
+ if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
+ var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
+ var $set = function (value) {
+ if (this === ObjectProto) $set.call(OPSymbols, value);
+ if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
+ setSymbolDesc(this, tag, createDesc(1, value));
+ };
+ if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
+ return wrap(tag);
+ };
+ redefine($Symbol[PROTOTYPE], 'toString', function toString() {
+ return this._k;
+ });
+
+ $GOPD.f = $getOwnPropertyDescriptor;
+ $DP.f = $defineProperty;
+ require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;
+ require('./_object-pie').f = $propertyIsEnumerable;
+ $GOPS.f = $getOwnPropertySymbols;
+
+ if (DESCRIPTORS && !require('./_library')) {
+ redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
+ }
+
+ wksExt.f = function (name) {
+ return wrap(wks(name));
+ };
+}
+
+$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
+
+for (var es6Symbols = (
+ // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
+ 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
+).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
+
+for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
+
+$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
+ // 19.4.2.1 Symbol.for(key)
+ 'for': function (key) {
+ return has(SymbolRegistry, key += '')
+ ? SymbolRegistry[key]
+ : SymbolRegistry[key] = $Symbol(key);
+ },
+ // 19.4.2.5 Symbol.keyFor(sym)
+ keyFor: function keyFor(sym) {
+ if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
+ for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
+ },
+ useSetter: function () { setter = true; },
+ useSimple: function () { setter = false; }
+});
+
+$export($export.S + $export.F * !USE_NATIVE, 'Object', {
+ // 19.1.2.2 Object.create(O [, Properties])
+ create: $create,
+ // 19.1.2.4 Object.defineProperty(O, P, Attributes)
+ defineProperty: $defineProperty,
+ // 19.1.2.3 Object.defineProperties(O, Properties)
+ defineProperties: $defineProperties,
+ // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
+ getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
+ // 19.1.2.7 Object.getOwnPropertyNames(O)
+ getOwnPropertyNames: $getOwnPropertyNames,
+ // 19.1.2.8 Object.getOwnPropertySymbols(O)
+ getOwnPropertySymbols: $getOwnPropertySymbols
+});
+
+// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
+// https://bugs.chromium.org/p/v8/issues/detail?id=3443
+var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
+
+$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
+ getOwnPropertySymbols: function getOwnPropertySymbols(it) {
+ return $GOPS.f(toObject(it));
+ }
+});
+
+// 24.3.2 JSON.stringify(value [, replacer [, space]])
+$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
+ var S = $Symbol();
+ // MS Edge converts symbol values to JSON as {}
+ // WebKit converts symbol values to JSON as null
+ // V8 throws on boxed symbols
+ return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
+})), 'JSON', {
+ stringify: function stringify(it) {
+ var args = [it];
+ var i = 1;
+ var replacer, $replacer;
+ while (arguments.length > i) args.push(arguments[i++]);
+ $replacer = replacer = args[1];
+ if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
+ if (!isArray(replacer)) replacer = function (key, value) {
+ if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
+ if (!isSymbol(value)) return value;
+ };
+ args[1] = replacer;
+ return _stringify.apply($JSON, args);
+ }
+});
+
+// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
+$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
+// 19.4.3.5 Symbol.prototype[@@toStringTag]
+setToStringTag($Symbol, 'Symbol');
+// 20.2.1.9 Math[@@toStringTag]
+setToStringTag(Math, 'Math', true);
+// 24.3.3 JSON[@@toStringTag]
+setToStringTag(global.JSON, 'JSON', true);
+
+},{"./_an-object":4,"./_descriptors":15,"./_enum-keys":18,"./_export":19,"./_fails":21,"./_global":25,"./_has":26,"./_hide":27,"./_is-array":33,"./_is-object":34,"./_library":42,"./_meta":43,"./_object-create":44,"./_object-dp":45,"./_object-gopd":47,"./_object-gopn":49,"./_object-gopn-ext":48,"./_object-gops":50,"./_object-keys":53,"./_object-pie":54,"./_property-desc":57,"./_redefine":58,"./_set-to-string-tag":63,"./_shared":65,"./_to-iobject":74,"./_to-object":76,"./_to-primitive":77,"./_uid":78,"./_wks":81,"./_wks-define":79,"./_wks-ext":80}],100:[function(require,module,exports){
+'use strict';
+// https://github.com/tc39/Array.prototype.includes
+var $export = require('./_export');
+var $includes = require('./_array-includes')(true);
+
+$export($export.P, 'Array', {
+ includes: function includes(el /* , fromIndex = 0 */) {
+ return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
+ }
+});
+
+require('./_add-to-unscopables')('includes');
+
+},{"./_add-to-unscopables":2,"./_array-includes":5,"./_export":19}],101:[function(require,module,exports){
+// https://github.com/tc39/proposal-object-getownpropertydescriptors
+var $export = require('./_export');
+var ownKeys = require('./_own-keys');
+var toIObject = require('./_to-iobject');
+var gOPD = require('./_object-gopd');
+var createProperty = require('./_create-property');
+
+$export($export.S, 'Object', {
+ getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
+ var O = toIObject(object);
+ var getDesc = gOPD.f;
+ var keys = ownKeys(O);
+ var result = {};
+ var i = 0;
+ var key, desc;
+ while (keys.length > i) {
+ desc = getDesc(O, key = keys[i++]);
+ if (desc !== undefined) createProperty(result, key, desc);
+ }
+ return result;
+ }
+});
+
+},{"./_create-property":12,"./_export":19,"./_object-gopd":47,"./_own-keys":56,"./_to-iobject":74}],102:[function(require,module,exports){
+var $iterators = require('./es6.array.iterator');
+var getKeys = require('./_object-keys');
+var redefine = require('./_redefine');
+var global = require('./_global');
+var hide = require('./_hide');
+var Iterators = require('./_iterators');
+var wks = require('./_wks');
+var ITERATOR = wks('iterator');
+var TO_STRING_TAG = wks('toStringTag');
+var ArrayValues = Iterators.Array;
+
+var DOMIterables = {
+ CSSRuleList: true, // TODO: Not spec compliant, should be false.
+ CSSStyleDeclaration: false,
+ CSSValueList: false,
+ ClientRectList: false,
+ DOMRectList: false,
+ DOMStringList: false,
+ DOMTokenList: true,
+ DataTransferItemList: false,
+ FileList: false,
+ HTMLAllCollection: false,
+ HTMLCollection: false,
+ HTMLFormElement: false,
+ HTMLSelectElement: false,
+ MediaList: true, // TODO: Not spec compliant, should be false.
+ MimeTypeArray: false,
+ NamedNodeMap: false,
+ NodeList: true,
+ PaintRequestList: false,
+ Plugin: false,
+ PluginArray: false,
+ SVGLengthList: false,
+ SVGNumberList: false,
+ SVGPathSegList: false,
+ SVGPointList: false,
+ SVGStringList: false,
+ SVGTransformList: false,
+ SourceBufferList: false,
+ StyleSheetList: true, // TODO: Not spec compliant, should be false.
+ TextTrackCueList: false,
+ TextTrackList: false,
+ TouchList: false
+};
+
+for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
+ var NAME = collections[i];
+ var explicit = DOMIterables[NAME];
+ var Collection = global[NAME];
+ var proto = Collection && Collection.prototype;
+ var key;
+ if (proto) {
+ if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
+ if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
+ Iterators[NAME] = ArrayValues;
+ if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
+ }
+}
+
+},{"./_global":25,"./_hide":27,"./_iterators":41,"./_object-keys":53,"./_redefine":58,"./_wks":81,"./es6.array.iterator":85}],103:[function(require,module,exports){
+"use strict";
+
+require("core-js/modules/es6.symbol.js");
+require("core-js/modules/es6.number.constructor.js");
+require("core-js/modules/es6.string.iterator.js");
+require("core-js/modules/es6.object.to-string.js");
+require("core-js/modules/es6.array.iterator.js");
+require("core-js/modules/web.dom.iterable.js");
+function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+var _require = require('./protocol'),
+ Parser = _require.Parser,
+ PROTOCOL_6 = _require.PROTOCOL_6,
+ PROTOCOL_7 = _require.PROTOCOL_7;
+var VERSION = "4.0.2";
+var Connector = /*#__PURE__*/function () {
+ function Connector(options, WebSocket, Timer, handlers) {
+ var _this = this;
+ _classCallCheck(this, Connector);
+ this.options = options;
+ this.WebSocket = WebSocket;
+ this.Timer = Timer;
+ this.handlers = handlers;
+ var path = this.options.path ? "".concat(this.options.path) : 'livereload';
+ var port = this.options.port ? ":".concat(this.options.port) : '';
+ this._uri = "ws".concat(this.options.https ? 's' : '', "://").concat(this.options.host).concat(port, "/").concat(path);
+ this._nextDelay = this.options.mindelay;
+ this._connectionDesired = false;
+ this.protocol = 0;
+ this.protocolParser = new Parser({
+ connected: function connected(protocol) {
+ _this.protocol = protocol;
+ _this._handshakeTimeout.stop();
+ _this._nextDelay = _this.options.mindelay;
+ _this._disconnectionReason = 'broken';
+ return _this.handlers.connected(_this.protocol);
+ },
+ error: function error(e) {
+ _this.handlers.error(e);
+ return _this._closeOnError();
+ },
+ message: function message(_message) {
+ return _this.handlers.message(_message);
+ }
+ });
+ this._handshakeTimeout = new this.Timer(function () {
+ if (!_this._isSocketConnected()) {
+ return;
+ }
+ _this._disconnectionReason = 'handshake-timeout';
+ return _this.socket.close();
+ });
+ this._reconnectTimer = new this.Timer(function () {
+ if (!_this._connectionDesired) {
+ // shouldn't hit this, but just in case
+ return;
+ }
+ return _this.connect();
+ });
+ this.connect();
+ }
+ _createClass(Connector, [{
+ key: "_isSocketConnected",
+ value: function _isSocketConnected() {
+ return this.socket && this.socket.readyState === this.WebSocket.OPEN;
+ }
+ }, {
+ key: "connect",
+ value: function connect() {
+ var _this2 = this;
+ this._connectionDesired = true;
+ if (this._isSocketConnected()) {
+ return;
+ }
+
+ // prepare for a new connection
+ this._reconnectTimer.stop();
+ this._disconnectionReason = 'cannot-connect';
+ this.protocolParser.reset();
+ this.handlers.connecting();
+ this.socket = new this.WebSocket(this._uri);
+ this.socket.onopen = function (e) {
+ return _this2._onopen(e);
+ };
+ this.socket.onclose = function (e) {
+ return _this2._onclose(e);
+ };
+ this.socket.onmessage = function (e) {
+ return _this2._onmessage(e);
+ };
+ this.socket.onerror = function (e) {
+ return _this2._onerror(e);
+ };
+ }
+ }, {
+ key: "disconnect",
+ value: function disconnect() {
+ this._connectionDesired = false;
+ this._reconnectTimer.stop(); // in case it was running
+
+ if (!this._isSocketConnected()) {
+ return;
+ }
+ this._disconnectionReason = 'manual';
+ return this.socket.close();
+ }
+ }, {
+ key: "_scheduleReconnection",
+ value: function _scheduleReconnection() {
+ if (!this._connectionDesired) {
+ // don't reconnect after manual disconnection
+ return;
+ }
+ if (!this._reconnectTimer.running) {
+ this._reconnectTimer.start(this._nextDelay);
+ this._nextDelay = Math.min(this.options.maxdelay, this._nextDelay * 2);
+ }
+ }
+ }, {
+ key: "sendCommand",
+ value: function sendCommand(command) {
+ if (!this.protocol) {
+ return;
+ }
+ return this._sendCommand(command);
+ }
+ }, {
+ key: "_sendCommand",
+ value: function _sendCommand(command) {
+ return this.socket.send(JSON.stringify(command));
+ }
+ }, {
+ key: "_closeOnError",
+ value: function _closeOnError() {
+ this._handshakeTimeout.stop();
+ this._disconnectionReason = 'error';
+ return this.socket.close();
+ }
+ }, {
+ key: "_onopen",
+ value: function _onopen(e) {
+ this.handlers.socketConnected();
+ this._disconnectionReason = 'handshake-failed';
+
+ // start handshake
+ var hello = {
+ command: 'hello',
+ protocols: [PROTOCOL_6, PROTOCOL_7]
+ };
+ hello.ver = VERSION;
+ if (this.options.ext) {
+ hello.ext = this.options.ext;
+ }
+ if (this.options.extver) {
+ hello.extver = this.options.extver;
+ }
+ if (this.options.snipver) {
+ hello.snipver = this.options.snipver;
+ }
+ this._sendCommand(hello);
+ return this._handshakeTimeout.start(this.options.handshake_timeout);
+ }
+ }, {
+ key: "_onclose",
+ value: function _onclose(e) {
+ this.protocol = 0;
+ this.handlers.disconnected(this._disconnectionReason, this._nextDelay);
+ return this._scheduleReconnection();
+ }
+ }, {
+ key: "_onerror",
+ value: function _onerror(e) {}
+ }, {
+ key: "_onmessage",
+ value: function _onmessage(e) {
+ return this.protocolParser.process(e.data);
+ }
+ }]);
+ return Connector;
+}();
+;
+exports.Connector = Connector;
+
+},{"./protocol":108,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],104:[function(require,module,exports){
+"use strict";
+
+var CustomEvents = {
+ bind: function bind(element, eventName, handler) {
+ if (element.addEventListener) {
+ return element.addEventListener(eventName, handler, false);
+ }
+ if (element.attachEvent) {
+ element[eventName] = 1;
+ return element.attachEvent('onpropertychange', function (event) {
+ if (event.propertyName === eventName) {
+ return handler();
+ }
+ });
+ }
+ throw new Error("Attempt to attach custom event ".concat(eventName, " to something which isn't a DOMElement"));
+ },
+ fire: function fire(element, eventName) {
+ if (element.addEventListener) {
+ var event = document.createEvent('HTMLEvents');
+ event.initEvent(eventName, true, true);
+ return document.dispatchEvent(event);
+ } else if (element.attachEvent) {
+ if (element[eventName]) {
+ return element[eventName]++;
+ }
+ } else {
+ throw new Error("Attempt to fire custom event ".concat(eventName, " on something which isn't a DOMElement"));
+ }
+ }
+};
+exports.bind = CustomEvents.bind;
+exports.fire = CustomEvents.fire;
+
+},{}],105:[function(require,module,exports){
+"use strict";
+
+require("core-js/modules/es6.regexp.match.js");
+require("core-js/modules/es6.symbol.js");
+require("core-js/modules/es6.array.from.js");
+require("core-js/modules/es6.string.iterator.js");
+require("core-js/modules/es6.object.to-string.js");
+require("core-js/modules/es6.array.iterator.js");
+require("core-js/modules/web.dom.iterable.js");
+require("core-js/modules/es6.number.constructor.js");
+function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+var LessPlugin = /*#__PURE__*/function () {
+ function LessPlugin(window, host) {
+ _classCallCheck(this, LessPlugin);
+ this.window = window;
+ this.host = host;
+ }
+ _createClass(LessPlugin, [{
+ key: "reload",
+ value: function reload(path, options) {
+ if (this.window.less && this.window.less.refresh) {
+ if (path.match(/\.less$/i)) {
+ return this.reloadLess(path);
+ }
+ if (options.originalPath.match(/\.less$/i)) {
+ return this.reloadLess(options.originalPath);
+ }
+ }
+ return false;
+ }
+ }, {
+ key: "reloadLess",
+ value: function reloadLess(path) {
+ var link;
+ var links = function () {
+ var result = [];
+ for (var _i = 0, _Array$from = Array.from(document.getElementsByTagName('link')); _i < _Array$from.length; _i++) {
+ link = _Array$from[_i];
+ if (link.href && link.rel.match(/^stylesheet\/less$/i) || link.rel.match(/stylesheet/i) && link.type.match(/^text\/(x-)?less$/i)) {
+ result.push(link);
+ }
+ }
+ return result;
+ }();
+ if (links.length === 0) {
+ return false;
+ }
+ for (var _i2 = 0, _Array$from2 = Array.from(links); _i2 < _Array$from2.length; _i2++) {
+ link = _Array$from2[_i2];
+ link.href = this.host.generateCacheBustUrl(link.href);
+ }
+ this.host.console.log('LiveReload is asking LESS to recompile all stylesheets');
+ this.window.less.refresh(true);
+ return true;
+ }
+ }, {
+ key: "analyze",
+ value: function analyze() {
+ return {
+ disable: !!(this.window.less && this.window.less.refresh)
+ };
+ }
+ }]);
+ return LessPlugin;
+}();
+;
+LessPlugin.identifier = 'less';
+LessPlugin.version = '1.0';
+module.exports = LessPlugin;
+
+},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],106:[function(require,module,exports){
+"use strict";
+
+require("core-js/modules/es6.symbol.js");
+require("core-js/modules/es6.number.constructor.js");
+require("core-js/modules/es6.array.slice.js");
+require("core-js/modules/es6.object.to-string.js");
+require("core-js/modules/es6.array.from.js");
+require("core-js/modules/es6.string.iterator.js");
+require("core-js/modules/es6.array.iterator.js");
+require("core-js/modules/web.dom.iterable.js");
+function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
+require("core-js/modules/es6.regexp.match.js");
+require("core-js/modules/es6.object.keys.js");
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/* global alert */
+var _require = require('./connector'),
+ Connector = _require.Connector;
+var _require2 = require('./timer'),
+ Timer = _require2.Timer;
+var _require3 = require('./options'),
+ Options = _require3.Options;
+var _require4 = require('./reloader'),
+ Reloader = _require4.Reloader;
+var _require5 = require('./protocol'),
+ ProtocolError = _require5.ProtocolError;
+var LiveReload = /*#__PURE__*/function () {
+ function LiveReload(window) {
+ var _this = this;
+ _classCallCheck(this, LiveReload);
+ this.window = window;
+ this.listeners = {};
+ this.plugins = [];
+ this.pluginIdentifiers = {};
+
+ // i can haz console?
+ this.console = this.window.console && this.window.console.log && this.window.console.error ? this.window.location.href.match(/LR-verbose/) ? this.window.console : {
+ log: function log() {},
+ error: this.window.console.error.bind(this.window.console)
+ } : {
+ log: function log() {},
+ error: function error() {}
+ };
+
+ // i can haz sockets?
+ if (!(this.WebSocket = this.window.WebSocket || this.window.MozWebSocket)) {
+ this.console.error('LiveReload disabled because the browser does not seem to support web sockets');
+ return;
+ }
+
+ // i can haz options?
+ if ('LiveReloadOptions' in window) {
+ this.options = new Options();
+ for (var _i = 0, _Object$keys = Object.keys(window.LiveReloadOptions || {}); _i < _Object$keys.length; _i++) {
+ var k = _Object$keys[_i];
+ var v = window.LiveReloadOptions[k];
+ this.options.set(k, v);
+ }
+ } else {
+ this.options = Options.extract(this.window.document);
+ if (!this.options) {
+ this.console.error('LiveReload disabled because it could not find its own <SCRIPT> tag');
+ return;
+ }
+ }
+
+ // i can haz reloader?
+ this.reloader = new Reloader(this.window, this.console, Timer);
+
+ // i can haz connection?
+ this.connector = new Connector(this.options, this.WebSocket, Timer, {
+ connecting: function connecting() {},
+ socketConnected: function socketConnected() {},
+ connected: function connected(protocol) {
+ if (typeof _this.listeners.connect === 'function') {
+ _this.listeners.connect();
+ }
+ var host = _this.options.host;
+ var port = _this.options.port ? ":".concat(_this.options.port) : '';
+ _this.log("LiveReload is connected to ".concat(host).concat(port, " (protocol v").concat(protocol, ")."));
+ return _this.analyze();
+ },
+ error: function error(e) {
+ if (e instanceof ProtocolError) {
+ if (typeof console !== 'undefined' && console !== null) {
+ return console.log("".concat(e.message, "."));
+ }
+ } else {
+ if (typeof console !== 'undefined' && console !== null) {
+ return console.log("LiveReload internal error: ".concat(e.message));
+ }
+ }
+ },
+ disconnected: function disconnected(reason, nextDelay) {
+ if (typeof _this.listeners.disconnect === 'function') {
+ _this.listeners.disconnect();
+ }
+ var host = _this.options.host;
+ var port = _this.options.port ? ":".concat(_this.options.port) : '';
+ switch (reason) {
+ case 'cannot-connect':
+ return _this.log("LiveReload cannot connect to ".concat(host).concat(port, ", will retry in ").concat(nextDelay, " sec."));
+ case 'broken':
+ return _this.log("LiveReload disconnected from ".concat(host).concat(port, ", reconnecting in ").concat(nextDelay, " sec."));
+ case 'handshake-timeout':
+ return _this.log("LiveReload cannot connect to ".concat(host).concat(port, " (handshake timeout), will retry in ").concat(nextDelay, " sec."));
+ case 'handshake-failed':
+ return _this.log("LiveReload cannot connect to ".concat(host).concat(port, " (handshake failed), will retry in ").concat(nextDelay, " sec."));
+ case 'manual': // nop
+ case 'error': // nop
+ default:
+ return _this.log("LiveReload disconnected from ".concat(host).concat(port, " (").concat(reason, "), reconnecting in ").concat(nextDelay, " sec."));
+ }
+ },
+ message: function message(_message) {
+ switch (_message.command) {
+ case 'reload':
+ return _this.performReload(_message);
+ case 'alert':
+ return _this.performAlert(_message);
+ }
+ }
+ });
+ this.initialized = true;
+ }
+ _createClass(LiveReload, [{
+ key: "on",
+ value: function on(eventName, handler) {
+ this.listeners[eventName] = handler;
+ }
+ }, {
+ key: "log",
+ value: function log(message) {
+ return this.console.log("".concat(message));
+ }
+ }, {
+ key: "performReload",
+ value: function performReload(message) {
+ this.log("LiveReload received reload request: ".concat(JSON.stringify(message, null, 2)));
+ var _this$options = this.options,
+ host = _this$options.host,
+ port = _this$options.port,
+ pluginOrder = _this$options.pluginOrder;
+ return this.reloader.reload(message.path, {
+ liveCSS: message.liveCSS != null ? message.liveCSS : true,
+ liveImg: message.liveImg != null ? message.liveImg : true,
+ reloadMissingCSS: message.reloadMissingCSS != null ? message.reloadMissingCSS : true,
+ originalPath: message.originalPath || '',
+ overrideURL: message.overrideURL || '',
+ serverURL: "http://".concat(host).concat(port && ":".concat(port)),
+ pluginOrder: pluginOrder
+ });
+ }
+ }, {
+ key: "performAlert",
+ value: function performAlert(message) {
+ return alert(message.message);
+ }
+ }, {
+ key: "shutDown",
+ value: function shutDown() {
+ if (!this.initialized) {
+ return;
+ }
+ this.connector.disconnect();
+ this.log('LiveReload disconnected.');
+ return typeof this.listeners.shutdown === 'function' ? this.listeners.shutdown() : undefined;
+ }
+ }, {
+ key: "hasPlugin",
+ value: function hasPlugin(identifier) {
+ return !!this.pluginIdentifiers[identifier];
+ }
+ }, {
+ key: "addPlugin",
+ value: function addPlugin(PluginClass) {
+ var _this2 = this;
+ if (!this.initialized) {
+ return;
+ }
+ if (this.hasPlugin(PluginClass.identifier)) {
+ return;
+ }
+ this.pluginIdentifiers[PluginClass.identifier] = true;
+ var plugin = new PluginClass(this.window, {
+ // expose internal objects for those who know what they're doing
+ // (note that these are private APIs and subject to change at any time!)
+ _livereload: this,
+ _reloader: this.reloader,
+ _connector: this.connector,
+ // official API
+ console: this.console,
+ Timer: Timer,
+ generateCacheBustUrl: function generateCacheBustUrl(url) {
+ return _this2.reloader.generateCacheBustUrl(url);
+ }
+ });
+
+ // API that PluginClass can/must provide:
+ //
+ // string PluginClass.identifier
+ // -- required, globally-unique name of this plugin
+ //
+ // string PluginClass.version
+ // -- required, plugin version number (format %d.%d or %d.%d.%d)
+ //
+ // plugin = new PluginClass(window, officialLiveReloadAPI)
+ // -- required, plugin constructor
+ //
+ // bool plugin.reload(string path, { bool liveCSS, bool liveImg })
+ // -- optional, attemp to reload the given path, return true if handled
+ //
+ // object plugin.analyze()
+ // -- optional, returns plugin-specific information about the current document (to send to the connected server)
+ // (LiveReload 2 server currently only defines 'disable' key in this object; return {disable:true} to disable server-side
+ // compilation of a matching plugin's files)
+
+ this.plugins.push(plugin);
+ this.reloader.addPlugin(plugin);
+ }
+ }, {
+ key: "analyze",
+ value: function analyze() {
+ if (!this.initialized) {
+ return;
+ }
+ if (!(this.connector.protocol >= 7)) {
+ return;
+ }
+ var pluginsData = {};
+ var _iterator = _createForOfIteratorHelper(this.plugins),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var plugin = _step.value;
+ var pluginData = (typeof plugin.analyze === 'function' ? plugin.analyze() : undefined) || {};
+ pluginsData[plugin.constructor.identifier] = pluginData;
+ pluginData.version = plugin.constructor.version;
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ this.connector.sendCommand({
+ command: 'info',
+ plugins: pluginsData,
+ url: this.window.location.href
+ });
+ }
+ }]);
+ return LiveReload;
+}();
+;
+exports.LiveReload = LiveReload;
+
+},{"./connector":103,"./options":107,"./protocol":108,"./reloader":109,"./timer":111,"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.keys.js":90,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],107:[function(require,module,exports){
+"use strict";
+
+require("core-js/modules/es6.regexp.split.js");
+require("core-js/modules/es6.symbol.js");
+require("core-js/modules/es6.number.constructor.js");
+require("core-js/modules/es6.array.from.js");
+require("core-js/modules/es6.string.iterator.js");
+require("core-js/modules/es6.object.to-string.js");
+require("core-js/modules/es6.array.iterator.js");
+require("core-js/modules/web.dom.iterable.js");
+require("core-js/modules/es6.regexp.match.js");
+require("core-js/modules/es6.regexp.replace.js");
+require("core-js/modules/es6.array.slice.js");
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
+function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
+function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
+function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
+function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+var Options = /*#__PURE__*/function () {
+ function Options() {
+ _classCallCheck(this, Options);
+ this.https = false;
+ this.host = null;
+ var port = 35729; // backing variable for port property closure
+
+ // we allow port to be overridden with a falsy value to indicate
+ // that we should not add a port specification to the backend url;
+ // port is now either a number, or a non-numeric string
+ Object.defineProperty(this, 'port', {
+ get: function get() {
+ return port;
+ },
+ set: function set(v) {
+ port = v ? isNaN(v) ? v : +v : '';
+ }
+ });
+ this.snipver = null;
+ this.ext = null;
+ this.extver = null;
+ this.mindelay = 1000;
+ this.maxdelay = 60000;
+ this.handshake_timeout = 5000;
+ var pluginOrder = [];
+ Object.defineProperty(this, 'pluginOrder', {
+ get: function get() {
+ return pluginOrder;
+ },
+ set: function set(v) {
+ pluginOrder.push.apply(pluginOrder, v.split(/[,;]/));
+ }
+ });
+ }
+ _createClass(Options, [{
+ key: "set",
+ value: function set(name, value) {
+ if (typeof value === 'undefined') {
+ return;
+ }
+ if (!isNaN(+value)) {
+ value = +value;
+ }
+ this[name] = value;
+ }
+ }]);
+ return Options;
+}();
+Options.extract = function (document) {
+ for (var _i = 0, _Array$from = Array.from(document.getElementsByTagName('script')); _i < _Array$from.length; _i++) {
+ var element = _Array$from[_i];
+ // eslint-disable-next-line no-var
+ var m;
+ // eslint-disable-next-line no-var
+ var mm;
+ var src = element.src;
+ var srcAttr = element.getAttribute('src');
+ var lrUrlRegexp = /^([^:]+:\/\/([^/:]+|\[[0-9a-f:]+\])(?::(\d+))?\/|\/\/|\/)?([^/].*\/)?z?livereload\.js(?:\?(.*))?$/;
+ // ^proto:// ^host ^port ^// ^/ ^folder
+ var lrUrlRegexpAttr = /^(?:(?:([^:/]+)?:?)\/{0,2})([^:]+|\[[0-9a-f:]+\])(?::(\d+))?/;
+ // ^proto ^host/folder ^port
+
+ if ((m = src.match(lrUrlRegexp)) && (mm = srcAttr.match(lrUrlRegexpAttr))) {
+ var _m = m,
+ _m2 = _slicedToArray(_m, 6),
+ host = _m2[2],
+ port = _m2[3],
+ params = _m2[5];
+ var _mm = mm,
+ _mm2 = _slicedToArray(_mm, 4),
+ portFromAttr = _mm2[3];
+ var options = new Options();
+ options.https = element.src.indexOf('https') === 0;
+ options.host = host;
+
+ // use port number that the script is loaded from as default
+ // for explicitly blank value; enables livereload through proxy
+ var ourPort = parseInt(port || portFromAttr, 10) || '';
+
+ // if port is specified in script use that as default instead
+ options.port = ourPort || options.port;
+ if (params) {
+ var _iterator = _createForOfIteratorHelper(params.split('&')),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var pair = _step.value;
+ // eslint-disable-next-line no-var
+ var keyAndValue;
+ if ((keyAndValue = pair.split('=')).length > 1) {
+ options.set(keyAndValue[0].replace(/-/g, '_'), keyAndValue.slice(1).join('='));
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ }
+
+ // if port was overwritten by empty value, then revert to using the same
+ // port as the script is running from again (note that it shouldn't be
+ // coerced to a numeric value, since that will be 0 for the empty string)
+ options.port = options.port || ourPort;
+ return options;
+ }
+ }
+ return null;
+};
+exports.Options = Options;
+
+},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.regexp.replace.js":95,"core-js/modules/es6.regexp.split.js":96,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],108:[function(require,module,exports){
+"use strict";
+
+require("core-js/modules/es6.number.constructor.js");
+require("core-js/modules/es6.array.slice.js");
+function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
+require("core-js/modules/es6.regexp.match.js");
+require("core-js/modules/es6.regexp.constructor.js");
+require("core-js/modules/es6.string.includes.js");
+require("core-js/modules/es7.array.includes.js");
+require("core-js/modules/es6.symbol.js");
+require("core-js/modules/es6.array.from.js");
+require("core-js/modules/es6.string.iterator.js");
+require("core-js/modules/es6.object.to-string.js");
+require("core-js/modules/es6.array.iterator.js");
+require("core-js/modules/web.dom.iterable.js");
+function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
+function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
+function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+var PROTOCOL_6, PROTOCOL_7;
+exports.PROTOCOL_6 = PROTOCOL_6 = 'http://livereload.com/protocols/official-6';
+exports.PROTOCOL_7 = PROTOCOL_7 = 'http://livereload.com/protocols/official-7';
+var ProtocolError = /*#__PURE__*/_createClass(function ProtocolError(reason, data) {
+ _classCallCheck(this, ProtocolError);
+ this.message = "LiveReload protocol error (".concat(reason, ") after receiving data: \"").concat(data, "\".");
+});
+;
+var Parser = /*#__PURE__*/function () {
+ function Parser(handlers) {
+ _classCallCheck(this, Parser);
+ this.handlers = handlers;
+ this.reset();
+ }
+ _createClass(Parser, [{
+ key: "reset",
+ value: function reset() {
+ this.protocol = null;
+ }
+ }, {
+ key: "process",
+ value: function process(data) {
+ try {
+ var message;
+ if (!this.protocol) {
+ // eslint-disable-next-line prefer-regex-literals
+ if (data.match(new RegExp('^!!ver:([\\d.]+)$'))) {
+ this.protocol = 6;
+ } else if (message = this._parseMessage(data, ['hello'])) {
+ if (!message.protocols.length) {
+ throw new ProtocolError('no protocols specified in handshake message');
+ } else if (Array.from(message.protocols).includes(PROTOCOL_7)) {
+ this.protocol = 7;
+ } else if (Array.from(message.protocols).includes(PROTOCOL_6)) {
+ this.protocol = 6;
+ } else {
+ throw new ProtocolError('no supported protocols found');
+ }
+ }
+ return this.handlers.connected(this.protocol);
+ }
+ if (this.protocol === 6) {
+ message = JSON.parse(data);
+ if (!message.length) {
+ throw new ProtocolError('protocol 6 messages must be arrays');
+ }
+ var _Array$from = Array.from(message),
+ _Array$from2 = _slicedToArray(_Array$from, 2),
+ command = _Array$from2[0],
+ options = _Array$from2[1];
+ if (command !== 'refresh') {
+ throw new ProtocolError('unknown protocol 6 command');
+ }
+ return this.handlers.message({
+ command: 'reload',
+ path: options.path,
+ liveCSS: options.apply_css_live != null ? options.apply_css_live : true
+ });
+ }
+ message = this._parseMessage(data, ['reload', 'alert']);
+ return this.handlers.message(message);
+ } catch (e) {
+ if (e instanceof ProtocolError) {
+ return this.handlers.error(e);
+ }
+ throw e;
+ }
+ }
+ }, {
+ key: "_parseMessage",
+ value: function _parseMessage(data, validCommands) {
+ var message;
+ try {
+ message = JSON.parse(data);
+ } catch (e) {
+ throw new ProtocolError('unparsable JSON', data);
+ }
+ if (!message.command) {
+ throw new ProtocolError('missing "command" key', data);
+ }
+ if (!validCommands.includes(message.command)) {
+ throw new ProtocolError("invalid command '".concat(message.command, "', only valid commands are: ").concat(validCommands.join(', '), ")"), data);
+ }
+ return message;
+ }
+ }]);
+ return Parser;
+}();
+;
+exports.ProtocolError = ProtocolError;
+exports.Parser = Parser;
+
+},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.constructor.js":92,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.includes.js":97,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/es7.array.includes.js":100,"core-js/modules/web.dom.iterable.js":102}],109:[function(require,module,exports){
+"use strict";
+
+require("core-js/modules/es6.number.constructor.js");
+require("core-js/modules/es6.object.keys.js");
+require("core-js/modules/es6.object.get-own-property-descriptor.js");
+require("core-js/modules/es7.object.get-own-property-descriptors.js");
+function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
+require("core-js/modules/es6.array.slice.js");
+require("core-js/modules/es6.regexp.replace.js");
+require("core-js/modules/es6.regexp.constructor.js");
+require("core-js/modules/es6.regexp.split.js");
+require("core-js/modules/es6.symbol.js");
+require("core-js/modules/es6.array.from.js");
+require("core-js/modules/es6.string.iterator.js");
+require("core-js/modules/es6.object.to-string.js");
+require("core-js/modules/es6.array.iterator.js");
+require("core-js/modules/web.dom.iterable.js");
+require("core-js/modules/es6.regexp.match.js");
+require("core-js/modules/es6.array.filter.js");
+require("core-js/modules/es6.array.map.js");
+function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
+function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+/* global CSSRule */
+
+/**
+ * Split URL
+ * @param {string} url
+ * @return {object}
+ */
+function splitUrl(url) {
+ var hash = '';
+ var params = '';
+ var index = url.indexOf('#');
+ if (index >= 0) {
+ hash = url.slice(index);
+ url = url.slice(0, index);
+ }
+
+ // http://your.domain.com/path/to/combo/??file1.css,file2,css
+ var comboSign = url.indexOf('??');
+ if (comboSign >= 0) {
+ if (comboSign + 1 !== url.lastIndexOf('?')) {
+ index = url.lastIndexOf('?');
+ }
+ } else {
+ index = url.indexOf('?');
+ }
+ if (index >= 0) {
+ params = url.slice(index);
+ url = url.slice(0, index);
+ }
+ return {
+ url: url,
+ params: params,
+ hash: hash
+ };
+}
+;
+
+/**
+ * Get path from URL (remove protocol, host, port)
+ * @param {string} url
+ * @return {string}
+ */
+function pathFromUrl(url) {
+ if (!url) {
+ return '';
+ }
+ var path;
+ var _splitUrl = splitUrl(url);
+ url = _splitUrl.url;
+ if (url.indexOf('file://') === 0) {
+ // eslint-disable-next-line prefer-regex-literals
+ path = url.replace(new RegExp('^file://(localhost)?'), '');
+ } else {
+ // http : // hostname :8080 /
+ // eslint-disable-next-line prefer-regex-literals
+ path = url.replace(new RegExp('^([^:]+:)?//([^:/]+)(:\\d*)?/'), '/');
+ }
+
+ // decodeURI has special handling of stuff like semicolons, so use decodeURIComponent
+ return decodeURIComponent(path);
+}
+
+/**
+ * Get number of matching path segments
+ * @param {string} left
+ * @param {string} right
+ * @return {int}
+ */
+function numberOfMatchingSegments(left, right) {
+ // get rid of leading slashes and normalize to lower case
+ left = left.replace(/^\/+/, '').toLowerCase();
+ right = right.replace(/^\/+/, '').toLowerCase();
+ if (left === right) {
+ return 10000;
+ }
+ var comps1 = left.split(/\/|\\/).reverse();
+ var comps2 = right.split(/\/|\\/).reverse();
+ var len = Math.min(comps1.length, comps2.length);
+ var eqCount = 0;
+ while (eqCount < len && comps1[eqCount] === comps2[eqCount]) {
+ ++eqCount;
+ }
+ return eqCount;
+}
+
+/**
+ * Pick best matching path from a collection
+ * @param {string} path Path to match
+ * @param {array} objects Collection of paths
+ * @param {function} [pathFunc] Transform applied to each item in collection
+ * @return {object}
+ */
+function pickBestMatch(path, objects) {
+ var pathFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (s) {
+ return s;
+ };
+ var score;
+ var bestMatch = {
+ score: 0
+ };
+ var _iterator = _createForOfIteratorHelper(objects),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var object = _step.value;
+ score = numberOfMatchingSegments(path, pathFunc(object));
+ if (score > bestMatch.score) {
+ bestMatch = {
+ object: object,
+ score: score
+ };
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (bestMatch.score === 0) {
+ return null;
+ }
+ return bestMatch;
+}
+
+/**
+ * Test if paths match
+ * @param {string} left
+ * @param {string} right
+ * @return {bool}
+ */
+function pathsMatch(left, right) {
+ return numberOfMatchingSegments(left, right) > 0;
+}
+var IMAGE_STYLES = [{
+ selector: 'background',
+ styleNames: ['backgroundImage']
+}, {
+ selector: 'border',
+ styleNames: ['borderImage', 'webkitBorderImage', 'MozBorderImage']
+}];
+var DEFAULT_OPTIONS = {
+ stylesheetReloadTimeout: 15000
+};
+var IMAGES_REGEX = /\.(jpe?g|png|gif|svg)$/i;
+var Reloader = /*#__PURE__*/function () {
+ function Reloader(window, console, Timer) {
+ _classCallCheck(this, Reloader);
+ this.window = window;
+ this.console = console;
+ this.Timer = Timer;
+ this.document = this.window.document;
+ this.importCacheWaitPeriod = 200;
+ this.plugins = [];
+ }
+ _createClass(Reloader, [{
+ key: "addPlugin",
+ value: function addPlugin(plugin) {
+ return this.plugins.push(plugin);
+ }
+ }, {
+ key: "analyze",
+ value: function analyze(callback) {}
+ }, {
+ key: "reload",
+ value: function reload(path) {
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+ this.options = _objectSpread(_objectSpread({}, DEFAULT_OPTIONS), options); // avoid passing it through all the funcs
+
+ if (this.options.pluginOrder && this.options.pluginOrder.length) {
+ this.runPluginsByOrder(path, options);
+ return;
+ }
+ for (var _i = 0, _Array$from = Array.from(this.plugins); _i < _Array$from.length; _i++) {
+ var plugin = _Array$from[_i];
+ if (plugin.reload && plugin.reload(path, options)) {
+ return;
+ }
+ }
+ if (options.liveCSS && path.match(/\.css(?:\.map)?$/i)) {
+ if (this.reloadStylesheet(path)) {
+ return;
+ }
+ }
+ if (options.liveImg && path.match(IMAGES_REGEX)) {
+ this.reloadImages(path);
+ return;
+ }
+ if (options.isChromeExtension) {
+ this.reloadChromeExtension();
+ return;
+ }
+ return this.reloadPage();
+ }
+ }, {
+ key: "runPluginsByOrder",
+ value: function runPluginsByOrder(path, options) {
+ var _this = this;
+ options.pluginOrder.some(function (pluginId) {
+ if (pluginId === 'css') {
+ if (options.liveCSS && path.match(/\.css(?:\.map)?$/i)) {
+ if (_this.reloadStylesheet(path)) {
+ return true;
+ }
+ }
+ }
+ if (pluginId === 'img') {
+ if (options.liveImg && path.match(IMAGES_REGEX)) {
+ _this.reloadImages(path);
+ return true;
+ }
+ }
+ if (pluginId === 'extension') {
+ if (options.isChromeExtension) {
+ _this.reloadChromeExtension();
+ return true;
+ }
+ }
+ if (pluginId === 'others') {
+ _this.reloadPage();
+ return true;
+ }
+ if (pluginId === 'external') {
+ return _this.plugins.some(function (plugin) {
+ return plugin.reload && plugin.reload(path, options);
+ });
+ }
+ return _this.plugins.filter(function (plugin) {
+ return plugin.constructor.identifier === pluginId;
+ }).some(function (plugin) {
+ return plugin.reload && plugin.reload(path, options);
+ });
+ });
+ }
+ }, {
+ key: "reloadPage",
+ value: function reloadPage() {
+ return this.window.document.location.reload();
+ }
+ }, {
+ key: "reloadChromeExtension",
+ value: function reloadChromeExtension() {
+ return this.window.chrome.runtime.reload();
+ }
+ }, {
+ key: "reloadImages",
+ value: function reloadImages(path) {
+ var _this2 = this;
+ var img;
+ var expando = this.generateUniqueString();
+ for (var _i2 = 0, _Array$from2 = Array.from(this.document.images); _i2 < _Array$from2.length; _i2++) {
+ img = _Array$from2[_i2];
+ if (pathsMatch(path, pathFromUrl(img.src))) {
+ img.src = this.generateCacheBustUrl(img.src, expando);
+ }
+ }
+ if (this.document.querySelectorAll) {
+ for (var _i3 = 0, _IMAGE_STYLES = IMAGE_STYLES; _i3 < _IMAGE_STYLES.length; _i3++) {
+ var _IMAGE_STYLES$_i = _IMAGE_STYLES[_i3],
+ selector = _IMAGE_STYLES$_i.selector,
+ styleNames = _IMAGE_STYLES$_i.styleNames;
+ for (var _i4 = 0, _Array$from3 = Array.from(this.document.querySelectorAll("[style*=".concat(selector, "]"))); _i4 < _Array$from3.length; _i4++) {
+ img = _Array$from3[_i4];
+ this.reloadStyleImages(img.style, styleNames, path, expando);
+ }
+ }
+ }
+ if (this.document.styleSheets) {
+ return Array.from(this.document.styleSheets).map(function (styleSheet) {
+ return _this2.reloadStylesheetImages(styleSheet, path, expando);
+ });
+ }
+ }
+ }, {
+ key: "reloadStylesheetImages",
+ value: function reloadStylesheetImages(styleSheet, path, expando) {
+ var rules;
+ try {
+ rules = (styleSheet || {}).cssRules;
+ } catch (e) {}
+ if (!rules) {
+ return;
+ }
+ for (var _i5 = 0, _Array$from4 = Array.from(rules); _i5 < _Array$from4.length; _i5++) {
+ var rule = _Array$from4[_i5];
+ switch (rule.type) {
+ case CSSRule.IMPORT_RULE:
+ this.reloadStylesheetImages(rule.styleSheet, path, expando);
+ break;
+ case CSSRule.STYLE_RULE:
+ for (var _i6 = 0, _IMAGE_STYLES2 = IMAGE_STYLES; _i6 < _IMAGE_STYLES2.length; _i6++) {
+ var styleNames = _IMAGE_STYLES2[_i6].styleNames;
+ this.reloadStyleImages(rule.style, styleNames, path, expando);
+ }
+ break;
+ case CSSRule.MEDIA_RULE:
+ this.reloadStylesheetImages(rule, path, expando);
+ break;
+ }
+ }
+ }
+ }, {
+ key: "reloadStyleImages",
+ value: function reloadStyleImages(style, styleNames, path, expando) {
+ var _this3 = this;
+ var _iterator2 = _createForOfIteratorHelper(styleNames),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var styleName = _step2.value;
+ var value = style[styleName];
+ if (typeof value === 'string') {
+ // eslint-disable-next-line prefer-regex-literals
+ var newValue = value.replace(new RegExp('\\burl\\s*\\(([^)]*)\\)'), function (match, src) {
+ if (pathsMatch(path, pathFromUrl(src))) {
+ return "url(".concat(_this3.generateCacheBustUrl(src, expando), ")");
+ }
+ return match;
+ });
+ if (newValue !== value) {
+ style[styleName] = newValue;
+ }
+ }
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ }
+ }, {
+ key: "reloadStylesheet",
+ value: function reloadStylesheet(path) {
+ var _this4 = this;
+ var options = this.options || DEFAULT_OPTIONS;
+
+ // has to be a real array, because DOMNodeList will be modified
+ var style;
+ var link;
+ var links = function () {
+ var result = [];
+ for (var _i7 = 0, _Array$from5 = Array.from(_this4.document.getElementsByTagName('link')); _i7 < _Array$from5.length; _i7++) {
+ link = _Array$from5[_i7];
+ if (link.rel.match(/^stylesheet$/i) && !link.__LiveReload_pendingRemoval) {
+ result.push(link);
+ }
+ }
+ return result;
+ }();
+
+ // find all imported stylesheets
+ var imported = [];
+ for (var _i8 = 0, _Array$from6 = Array.from(this.document.getElementsByTagName('style')); _i8 < _Array$from6.length; _i8++) {
+ style = _Array$from6[_i8];
+ if (style.sheet) {
+ this.collectImportedStylesheets(style, style.sheet, imported);
+ }
+ }
+ for (var _i9 = 0, _Array$from7 = Array.from(links); _i9 < _Array$from7.length; _i9++) {
+ link = _Array$from7[_i9];
+ this.collectImportedStylesheets(link, link.sheet, imported);
+ }
+
+ // handle prefixfree
+ if (this.window.StyleFix && this.document.querySelectorAll) {
+ for (var _i10 = 0, _Array$from8 = Array.from(this.document.querySelectorAll('style[data-href]')); _i10 < _Array$from8.length; _i10++) {
+ style = _Array$from8[_i10];
+ links.push(style);
+ }
+ }
+ this.console.log("LiveReload found ".concat(links.length, " LINKed stylesheets, ").concat(imported.length, " @imported stylesheets"));
+ var match = pickBestMatch(path, links.concat(imported), function (link) {
+ return pathFromUrl(_this4.linkHref(link));
+ });
+ if (match) {
+ if (match.object.rule) {
+ this.console.log("LiveReload is reloading imported stylesheet: ".concat(match.object.href));
+ this.reattachImportedRule(match.object);
+ } else {
+ this.console.log("LiveReload is reloading stylesheet: ".concat(this.linkHref(match.object)));
+ this.reattachStylesheetLink(match.object);
+ }
+ } else {
+ if (options.reloadMissingCSS) {
+ this.console.log("LiveReload will reload all stylesheets because path '".concat(path, "' did not match any specific one. To disable this behavior, set 'options.reloadMissingCSS' to 'false'."));
+ for (var _i11 = 0, _Array$from9 = Array.from(links); _i11 < _Array$from9.length; _i11++) {
+ link = _Array$from9[_i11];
+ this.reattachStylesheetLink(link);
+ }
+ } else {
+ this.console.log("LiveReload will not reload path '".concat(path, "' because the stylesheet was not found on the page and 'options.reloadMissingCSS' was set to 'false'."));
+ }
+ }
+ return true;
+ }
+ }, {
+ key: "collectImportedStylesheets",
+ value: function collectImportedStylesheets(link, styleSheet, result) {
+ // in WebKit, styleSheet.cssRules is null for inaccessible stylesheets;
+ // Firefox/Opera may throw exceptions
+ var rules;
+ try {
+ rules = (styleSheet || {}).cssRules;
+ } catch (e) {}
+ if (rules && rules.length) {
+ for (var index = 0; index < rules.length; index++) {
+ var rule = rules[index];
+ switch (rule.type) {
+ case CSSRule.CHARSET_RULE:
+ continue;
+ // do nothing
+ case CSSRule.IMPORT_RULE:
+ result.push({
+ link: link,
+ rule: rule,
+ index: index,
+ href: rule.href
+ });
+ this.collectImportedStylesheets(link, rule.styleSheet, result);
+ break;
+ default:
+ break;
+ // import rules can only be preceded by charset rules
+ }
+ }
+ }
+ }
+ }, {
+ key: "waitUntilCssLoads",
+ value: function waitUntilCssLoads(clone, func) {
+ var _this5 = this;
+ var options = this.options || DEFAULT_OPTIONS;
+ var callbackExecuted = false;
+ var executeCallback = function executeCallback() {
+ if (callbackExecuted) {
+ return;
+ }
+ callbackExecuted = true;
+ return func();
+ };
+
+ // supported by Chrome 19+, Safari 5.2+, Firefox 9+, Opera 9+, IE6+
+ // http://www.zachleat.com/web/load-css-dynamically/
+ // http://pieisgood.org/test/script-link-events/
+ clone.onload = function () {
+ _this5.console.log('LiveReload: the new stylesheet has finished loading');
+ _this5.knownToSupportCssOnLoad = true;
+ return executeCallback();
+ };
+ if (!this.knownToSupportCssOnLoad) {
+ // polling
+ var _poll;
+ (_poll = function poll() {
+ if (clone.sheet) {
+ _this5.console.log('LiveReload is polling until the new CSS finishes loading...');
+ return executeCallback();
+ }
+ return _this5.Timer.start(50, _poll);
+ })();
+ }
+
+ // fail safe
+ return this.Timer.start(options.stylesheetReloadTimeout, executeCallback);
+ }
+ }, {
+ key: "linkHref",
+ value: function linkHref(link) {
+ // prefixfree uses data-href when it turns LINK into STYLE
+ return link.href || link.getAttribute && link.getAttribute('data-href');
+ }
+ }, {
+ key: "reattachStylesheetLink",
+ value: function reattachStylesheetLink(link) {
+ var _this6 = this;
+ // ignore LINKs that will be removed by LR soon
+ var clone;
+ if (link.__LiveReload_pendingRemoval) {
+ return;
+ }
+ link.__LiveReload_pendingRemoval = true;
+ if (link.tagName === 'STYLE') {
+ // prefixfree
+ clone = this.document.createElement('link');
+ clone.rel = 'stylesheet';
+ clone.media = link.media;
+ clone.disabled = link.disabled;
+ } else {
+ clone = link.cloneNode(false);
+ }
+ clone.href = this.generateCacheBustUrl(this.linkHref(link));
+
+ // insert the new LINK before the old one
+ var parent = link.parentNode;
+ if (parent.lastChild === link) {
+ parent.appendChild(clone);
+ } else {
+ parent.insertBefore(clone, link.nextSibling);
+ }
+ return this.waitUntilCssLoads(clone, function () {
+ var additionalWaitingTime;
+ if (/AppleWebKit/.test(_this6.window.navigator.userAgent)) {
+ additionalWaitingTime = 5;
+ } else {
+ additionalWaitingTime = 200;
+ }
+ return _this6.Timer.start(additionalWaitingTime, function () {
+ if (!link.parentNode) {
+ return;
+ }
+ link.parentNode.removeChild(link);
+ clone.onreadystatechange = null;
+ return _this6.window.StyleFix ? _this6.window.StyleFix.link(clone) : undefined;
+ });
+ }); // prefixfree
+ }
+ }, {
+ key: "reattachImportedRule",
+ value: function reattachImportedRule(_ref) {
+ var _this7 = this;
+ var rule = _ref.rule,
+ index = _ref.index,
+ link = _ref.link;
+ var parent = rule.parentStyleSheet;
+ var href = this.generateCacheBustUrl(rule.href);
+ var media = rule.media.length ? [].join.call(rule.media, ', ') : '';
+ var newRule = "@import url(\"".concat(href, "\") ").concat(media, ";");
+
+ // used to detect if reattachImportedRule has been called again on the same rule
+ rule.__LiveReload_newHref = href;
+
+ // WORKAROUND FOR WEBKIT BUG: WebKit resets all styles if we add @import'ed
+ // stylesheet that hasn't been cached yet. Workaround is to pre-cache the
+ // stylesheet by temporarily adding it as a LINK tag.
+ var tempLink = this.document.createElement('link');
+ tempLink.rel = 'stylesheet';
+ tempLink.href = href;
+ tempLink.__LiveReload_pendingRemoval = true; // exclude from path matching
+
+ if (link.parentNode) {
+ link.parentNode.insertBefore(tempLink, link);
+ }
+
+ // wait for it to load
+ return this.Timer.start(this.importCacheWaitPeriod, function () {
+ if (tempLink.parentNode) {
+ tempLink.parentNode.removeChild(tempLink);
+ }
+
+ // if another reattachImportedRule call is in progress, abandon this one
+ if (rule.__LiveReload_newHref !== href) {
+ return;
+ }
+ parent.insertRule(newRule, index);
+ parent.deleteRule(index + 1);
+
+ // save the new rule, so that we can detect another reattachImportedRule call
+ rule = parent.cssRules[index];
+ rule.__LiveReload_newHref = href;
+
+ // repeat again for good measure
+ return _this7.Timer.start(_this7.importCacheWaitPeriod, function () {
+ // if another reattachImportedRule call is in progress, abandon this one
+ if (rule.__LiveReload_newHref !== href) {
+ return;
+ }
+ parent.insertRule(newRule, index);
+ return parent.deleteRule(index + 1);
+ });
+ });
+ }
+ }, {
+ key: "generateUniqueString",
+ value: function generateUniqueString() {
+ return "livereload=".concat(Date.now());
+ }
+ }, {
+ key: "generateCacheBustUrl",
+ value: function generateCacheBustUrl(url, expando) {
+ var options = this.options || DEFAULT_OPTIONS;
+ var hash, oldParams;
+ if (!expando) {
+ expando = this.generateUniqueString();
+ }
+ var _splitUrl2 = splitUrl(url);
+ url = _splitUrl2.url;
+ hash = _splitUrl2.hash;
+ oldParams = _splitUrl2.params;
+ if (options.overrideURL) {
+ if (url.indexOf(options.serverURL) < 0) {
+ var originalUrl = url;
+ url = options.serverURL + options.overrideURL + '?url=' + encodeURIComponent(url);
+ this.console.log("LiveReload is overriding source URL ".concat(originalUrl, " with ").concat(url));
+ }
+ }
+ var params = oldParams.replace(/(\?|&)livereload=(\d+)/, function (match, sep) {
+ return "".concat(sep).concat(expando);
+ });
+ if (params === oldParams) {
+ if (oldParams.length === 0) {
+ params = "?".concat(expando);
+ } else {
+ params = "".concat(oldParams, "&").concat(expando);
+ }
+ }
+ return url + params + hash;
+ }
+ }]);
+ return Reloader;
+}();
+;
+exports.splitUrl = splitUrl;
+exports.pathFromUrl = pathFromUrl;
+exports.numberOfMatchingSegments = numberOfMatchingSegments;
+exports.pickBestMatch = pickBestMatch;
+exports.pathsMatch = pathsMatch;
+exports.Reloader = Reloader;
+
+},{"core-js/modules/es6.array.filter.js":83,"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.map.js":86,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.get-own-property-descriptor.js":89,"core-js/modules/es6.object.keys.js":90,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.constructor.js":92,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.regexp.replace.js":95,"core-js/modules/es6.regexp.split.js":96,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/es7.object.get-own-property-descriptors.js":101,"core-js/modules/web.dom.iterable.js":102}],110:[function(require,module,exports){
+"use strict";
+
+require("core-js/modules/es6.regexp.match.js");
+var CustomEvents = require('./customevents');
+var LiveReload = window.LiveReload = new (require('./livereload').LiveReload)(window);
+for (var k in window) {
+ if (k.match(/^LiveReloadPlugin/)) {
+ LiveReload.addPlugin(window[k]);
+ }
+}
+LiveReload.addPlugin(require('./less'));
+LiveReload.on('shutdown', function () {
+ return delete window.LiveReload;
+});
+LiveReload.on('connect', function () {
+ return CustomEvents.fire(document, 'LiveReloadConnect');
+});
+LiveReload.on('disconnect', function () {
+ return CustomEvents.fire(document, 'LiveReloadDisconnect');
+});
+CustomEvents.bind(document, 'LiveReloadShutDown', function () {
+ return LiveReload.shutDown();
+});
+
+},{"./customevents":104,"./less":105,"./livereload":106,"core-js/modules/es6.regexp.match.js":94}],111:[function(require,module,exports){
+"use strict";
+
+require("core-js/modules/es6.string.iterator.js");
+require("core-js/modules/es6.object.to-string.js");
+require("core-js/modules/es6.array.iterator.js");
+require("core-js/modules/web.dom.iterable.js");
+require("core-js/modules/es6.symbol.js");
+require("core-js/modules/es6.number.constructor.js");
+function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+var Timer = /*#__PURE__*/function () {
+ function Timer(func) {
+ var _this = this;
+ _classCallCheck(this, Timer);
+ this.func = func;
+ this.running = false;
+ this.id = null;
+ this._handler = function () {
+ _this.running = false;
+ _this.id = null;
+ return _this.func();
+ };
+ }
+ _createClass(Timer, [{
+ key: "start",
+ value: function start(timeout) {
+ if (this.running) {
+ clearTimeout(this.id);
+ }
+ this.id = setTimeout(this._handler, timeout);
+ this.running = true;
+ }
+ }, {
+ key: "stop",
+ value: function stop() {
+ if (this.running) {
+ clearTimeout(this.id);
+ this.running = false;
+ this.id = null;
+ }
+ }
+ }]);
+ return Timer;
+}();
+;
+Timer.start = function (timeout, func) {
+ return setTimeout(func, timeout);
+};
+exports.Timer = Timer;
+
+},{"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}]},{},[110]);
--- /dev/null
+(()=>{var Y=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(l,b)=>(typeof require!="undefined"?require:l)[b]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});(function(){function e(l,b,t){function r(c,d){if(!b[c]){if(!l[c]){var v=typeof Y=="function"&&Y;if(!d&&v)return v(c,!0);if(n)return n(c,!0);var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var u=b[c]={exports:{}};l[c][0].call(u.exports,function(p){var y=l[c][1][p];return r(y||p)},u,u.exports,e,l,b,t)}return b[c].exports}for(var n=typeof Y=="function"&&Y,s=0;s<t.length;s++)r(t[s]);return r}return e})()({1:[function(e,l,b){l.exports=function(t){if(typeof t!="function")throw TypeError(t+" is not a function!");return t}},{}],2:[function(e,l,b){var t=e("./_wks")("unscopables"),r=Array.prototype;r[t]==null&&e("./_hide")(r,t,{}),l.exports=function(n){r[t][n]=!0}},{"./_hide":27,"./_wks":81}],3:[function(e,l,b){"use strict";var t=e("./_string-at")(!0);l.exports=function(r,n,s){return n+(s?t(r,n).length:1)}},{"./_string-at":68}],4:[function(e,l,b){var t=e("./_is-object");l.exports=function(r){if(!t(r))throw TypeError(r+" is not an object!");return r}},{"./_is-object":34}],5:[function(e,l,b){var t=e("./_to-iobject"),r=e("./_to-length"),n=e("./_to-absolute-index");l.exports=function(s){return function(c,d,v){var f=t(c),u=r(f.length),p=n(v,u),y;if(s&&d!=d){for(;u>p;)if(y=f[p++],y!=y)return!0}else for(;u>p;p++)if((s||p in f)&&f[p]===d)return s||p||0;return!s&&-1}}},{"./_to-absolute-index":72,"./_to-iobject":74,"./_to-length":75}],6:[function(e,l,b){var t=e("./_ctx"),r=e("./_iobject"),n=e("./_to-object"),s=e("./_to-length"),c=e("./_array-species-create");l.exports=function(d,v){var f=d==1,u=d==2,p=d==3,y=d==4,R=d==6,P=d==5||R,O=v||c;return function(_,j,h){for(var x=n(_),S=r(x),I=t(j,h,3),g=s(S.length),o=0,i=f?O(_,g):u?O(_,0):void 0,a,m;g>o;o++)if((P||o in S)&&(a=S[o],m=I(a,o,x),d)){if(f)i[o]=m;else if(m)switch(d){case 3:return!0;case 5:return a;case 6:return o;case 2:i.push(a)}else if(y)return!1}return R?-1:p||y?y:i}}},{"./_array-species-create":8,"./_ctx":13,"./_iobject":31,"./_to-length":75,"./_to-object":76}],7:[function(e,l,b){var t=e("./_is-object"),r=e("./_is-array"),n=e("./_wks")("species");l.exports=function(s){var c;return r(s)&&(c=s.constructor,typeof c=="function"&&(c===Array||r(c.prototype))&&(c=void 0),t(c)&&(c=c[n],c===null&&(c=void 0))),c===void 0?Array:c}},{"./_is-array":33,"./_is-object":34,"./_wks":81}],8:[function(e,l,b){var t=e("./_array-species-constructor");l.exports=function(r,n){return new(t(r))(n)}},{"./_array-species-constructor":7}],9:[function(e,l,b){var t=e("./_cof"),r=e("./_wks")("toStringTag"),n=t(function(){return arguments}())=="Arguments",s=function(c,d){try{return c[d]}catch(v){}};l.exports=function(c){var d,v,f;return c===void 0?"Undefined":c===null?"Null":typeof(v=s(d=Object(c),r))=="string"?v:n?t(d):(f=t(d))=="Object"&&typeof d.callee=="function"?"Arguments":f}},{"./_cof":10,"./_wks":81}],10:[function(e,l,b){var t={}.toString;l.exports=function(r){return t.call(r).slice(8,-1)}},{}],11:[function(e,l,b){var t=l.exports={version:"2.6.12"};typeof __e=="number"&&(__e=t)},{}],12:[function(e,l,b){"use strict";var t=e("./_object-dp"),r=e("./_property-desc");l.exports=function(n,s,c){s in n?t.f(n,s,r(0,c)):n[s]=c}},{"./_object-dp":45,"./_property-desc":57}],13:[function(e,l,b){var t=e("./_a-function");l.exports=function(r,n,s){if(t(r),n===void 0)return r;switch(s){case 1:return function(c){return r.call(n,c)};case 2:return function(c,d){return r.call(n,c,d)};case 3:return function(c,d,v){return r.call(n,c,d,v)}}return function(){return r.apply(n,arguments)}}},{"./_a-function":1}],14:[function(e,l,b){l.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},{}],15:[function(e,l,b){l.exports=!e("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":21}],16:[function(e,l,b){var t=e("./_is-object"),r=e("./_global").document,n=t(r)&&t(r.createElement);l.exports=function(s){return n?r.createElement(s):{}}},{"./_global":25,"./_is-object":34}],17:[function(e,l,b){l.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],18:[function(e,l,b){var t=e("./_object-keys"),r=e("./_object-gops"),n=e("./_object-pie");l.exports=function(s){var c=t(s),d=r.f;if(d)for(var v=d(s),f=n.f,u=0,p;v.length>u;)f.call(s,p=v[u++])&&c.push(p);return c}},{"./_object-gops":50,"./_object-keys":53,"./_object-pie":54}],19:[function(e,l,b){var t=e("./_global"),r=e("./_core"),n=e("./_hide"),s=e("./_redefine"),c=e("./_ctx"),d="prototype",v=function(f,u,p){var y=f&v.F,R=f&v.G,P=f&v.S,O=f&v.P,_=f&v.B,j=R?t:P?t[u]||(t[u]={}):(t[u]||{})[d],h=R?r:r[u]||(r[u]={}),x=h[d]||(h[d]={}),S,I,g,o;R&&(p=u);for(S in p)I=!y&&j&&j[S]!==void 0,g=(I?j:p)[S],o=_&&I?c(g,t):O&&typeof g=="function"?c(Function.call,g):g,j&&s(j,S,g,f&v.U),h[S]!=g&&n(h,S,o),O&&x[S]!=g&&(x[S]=g)};t.core=r,v.F=1,v.G=2,v.S=4,v.P=8,v.B=16,v.W=32,v.U=64,v.R=128,l.exports=v},{"./_core":11,"./_ctx":13,"./_global":25,"./_hide":27,"./_redefine":58}],20:[function(e,l,b){var t=e("./_wks")("match");l.exports=function(r){var n=/./;try{"/./"[r](n)}catch(s){try{return n[t]=!1,!"/./"[r](n)}catch(c){}}return!0}},{"./_wks":81}],21:[function(e,l,b){l.exports=function(t){try{return!!t()}catch(r){return!0}}},{}],22:[function(e,l,b){"use strict";e("./es6.regexp.exec");var t=e("./_redefine"),r=e("./_hide"),n=e("./_fails"),s=e("./_defined"),c=e("./_wks"),d=e("./_regexp-exec"),v=c("species"),f=!n(function(){var p=/./;return p.exec=function(){var y=[];return y.groups={a:"7"},y},"".replace(p,"$<a>")!=="7"}),u=function(){var p=/(?:)/,y=p.exec;p.exec=function(){return y.apply(this,arguments)};var R="ab".split(p);return R.length===2&&R[0]==="a"&&R[1]==="b"}();l.exports=function(p,y,R){var P=c(p),O=!n(function(){var I={};return I[P]=function(){return 7},""[p](I)!=7}),_=O?!n(function(){var I=!1,g=/a/;return g.exec=function(){return I=!0,null},p==="split"&&(g.constructor={},g.constructor[v]=function(){return g}),g[P](""),!I}):void 0;if(!O||!_||p==="replace"&&!f||p==="split"&&!u){var j=/./[P],h=R(s,P,""[p],function(g,o,i,a,m){return o.exec===d?O&&!m?{done:!0,value:j.call(o,i,a)}:{done:!0,value:g.call(i,o,a)}:{done:!1}}),x=h[0],S=h[1];t(String.prototype,p,x),r(RegExp.prototype,P,y==2?function(I,g){return S.call(I,this,g)}:function(I){return S.call(I,this)})}}},{"./_defined":14,"./_fails":21,"./_hide":27,"./_redefine":58,"./_regexp-exec":60,"./_wks":81,"./es6.regexp.exec":93}],23:[function(e,l,b){"use strict";var t=e("./_an-object");l.exports=function(){var r=t(this),n="";return r.global&&(n+="g"),r.ignoreCase&&(n+="i"),r.multiline&&(n+="m"),r.unicode&&(n+="u"),r.sticky&&(n+="y"),n}},{"./_an-object":4}],24:[function(e,l,b){l.exports=e("./_shared")("native-function-to-string",Function.toString)},{"./_shared":65}],25:[function(e,l,b){var t=l.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=t)},{}],26:[function(e,l,b){var t={}.hasOwnProperty;l.exports=function(r,n){return t.call(r,n)}},{}],27:[function(e,l,b){var t=e("./_object-dp"),r=e("./_property-desc");l.exports=e("./_descriptors")?function(n,s,c){return t.f(n,s,r(1,c))}:function(n,s,c){return n[s]=c,n}},{"./_descriptors":15,"./_object-dp":45,"./_property-desc":57}],28:[function(e,l,b){var t=e("./_global").document;l.exports=t&&t.documentElement},{"./_global":25}],29:[function(e,l,b){l.exports=!e("./_descriptors")&&!e("./_fails")(function(){return Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":15,"./_dom-create":16,"./_fails":21}],30:[function(e,l,b){var t=e("./_is-object"),r=e("./_set-proto").set;l.exports=function(n,s,c){var d=s.constructor,v;return d!==c&&typeof d=="function"&&(v=d.prototype)!==c.prototype&&t(v)&&r&&r(n,v),n}},{"./_is-object":34,"./_set-proto":61}],31:[function(e,l,b){var t=e("./_cof");l.exports=Object("z").propertyIsEnumerable(0)?Object:function(r){return t(r)=="String"?r.split(""):Object(r)}},{"./_cof":10}],32:[function(e,l,b){var t=e("./_iterators"),r=e("./_wks")("iterator"),n=Array.prototype;l.exports=function(s){return s!==void 0&&(t.Array===s||n[r]===s)}},{"./_iterators":41,"./_wks":81}],33:[function(e,l,b){var t=e("./_cof");l.exports=Array.isArray||function(n){return t(n)=="Array"}},{"./_cof":10}],34:[function(e,l,b){l.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},{}],35:[function(e,l,b){var t=e("./_is-object"),r=e("./_cof"),n=e("./_wks")("match");l.exports=function(s){var c;return t(s)&&((c=s[n])!==void 0?!!c:r(s)=="RegExp")}},{"./_cof":10,"./_is-object":34,"./_wks":81}],36:[function(e,l,b){var t=e("./_an-object");l.exports=function(r,n,s,c){try{return c?n(t(s)[0],s[1]):n(s)}catch(v){var d=r.return;throw d!==void 0&&t(d.call(r)),v}}},{"./_an-object":4}],37:[function(e,l,b){"use strict";var t=e("./_object-create"),r=e("./_property-desc"),n=e("./_set-to-string-tag"),s={};e("./_hide")(s,e("./_wks")("iterator"),function(){return this}),l.exports=function(c,d,v){c.prototype=t(s,{next:r(1,v)}),n(c,d+" Iterator")}},{"./_hide":27,"./_object-create":44,"./_property-desc":57,"./_set-to-string-tag":63,"./_wks":81}],38:[function(e,l,b){"use strict";var t=e("./_library"),r=e("./_export"),n=e("./_redefine"),s=e("./_hide"),c=e("./_iterators"),d=e("./_iter-create"),v=e("./_set-to-string-tag"),f=e("./_object-gpo"),u=e("./_wks")("iterator"),p=!([].keys&&"next"in[].keys()),y="@@iterator",R="keys",P="values",O=function(){return this};l.exports=function(_,j,h,x,S,I,g){d(h,j,x);var o=function(F){if(!p&&F in w)return w[F];switch(F){case R:return function(){return new h(this,F)};case P:return function(){return new h(this,F)}}return function(){return new h(this,F)}},i=j+" Iterator",a=S==P,m=!1,w=_.prototype,E=w[u]||w[y]||S&&w[S],k=E||o(S),T=S?a?o("entries"):k:void 0,L=j=="Array"&&w.entries||E,A,M,N;if(L&&(N=f(L.call(new _)),N!==Object.prototype&&N.next&&(v(N,i,!0),!t&&typeof N[u]!="function"&&s(N,u,O))),a&&E&&E.name!==P&&(m=!0,k=function(){return E.call(this)}),(!t||g)&&(p||m||!w[u])&&s(w,u,k),c[j]=k,c[i]=O,S)if(A={values:a?k:o(P),keys:I?k:o(R),entries:T},g)for(M in A)M in w||n(w,M,A[M]);else r(r.P+r.F*(p||m),j,A);return A}},{"./_export":19,"./_hide":27,"./_iter-create":37,"./_iterators":41,"./_library":42,"./_object-gpo":51,"./_redefine":58,"./_set-to-string-tag":63,"./_wks":81}],39:[function(e,l,b){var t=e("./_wks")("iterator"),r=!1;try{var n=[7][t]();n.return=function(){r=!0},Array.from(n,function(){throw 2})}catch(s){}l.exports=function(s,c){if(!c&&!r)return!1;var d=!1;try{var v=[7],f=v[t]();f.next=function(){return{done:d=!0}},v[t]=function(){return f},s(v)}catch(u){}return d}},{"./_wks":81}],40:[function(e,l,b){l.exports=function(t,r){return{value:r,done:!!t}}},{}],41:[function(e,l,b){l.exports={}},{}],42:[function(e,l,b){l.exports=!1},{}],43:[function(e,l,b){var t=e("./_uid")("meta"),r=e("./_is-object"),n=e("./_has"),s=e("./_object-dp").f,c=0,d=Object.isExtensible||function(){return!0},v=!e("./_fails")(function(){return d(Object.preventExtensions({}))}),f=function(P){s(P,t,{value:{i:"O"+ ++c,w:{}}})},u=function(P,O){if(!r(P))return typeof P=="symbol"?P:(typeof P=="string"?"S":"P")+P;if(!n(P,t)){if(!d(P))return"F";if(!O)return"E";f(P)}return P[t].i},p=function(P,O){if(!n(P,t)){if(!d(P))return!0;if(!O)return!1;f(P)}return P[t].w},y=function(P){return v&&R.NEED&&d(P)&&!n(P,t)&&f(P),P},R=l.exports={KEY:t,NEED:!1,fastKey:u,getWeak:p,onFreeze:y}},{"./_fails":21,"./_has":26,"./_is-object":34,"./_object-dp":45,"./_uid":78}],44:[function(e,l,b){var t=e("./_an-object"),r=e("./_object-dps"),n=e("./_enum-bug-keys"),s=e("./_shared-key")("IE_PROTO"),c=function(){},d="prototype",v=function(){var f=e("./_dom-create")("iframe"),u=n.length,p="<",y=">",R;for(f.style.display="none",e("./_html").appendChild(f),f.src="javascript:",R=f.contentWindow.document,R.open(),R.write(p+"script"+y+"document.F=Object"+p+"/script"+y),R.close(),v=R.F;u--;)delete v[d][n[u]];return v()};l.exports=Object.create||function(u,p){var y;return u!==null?(c[d]=t(u),y=new c,c[d]=null,y[s]=u):y=v(),p===void 0?y:r(y,p)}},{"./_an-object":4,"./_dom-create":16,"./_enum-bug-keys":17,"./_html":28,"./_object-dps":46,"./_shared-key":64}],45:[function(e,l,b){var t=e("./_an-object"),r=e("./_ie8-dom-define"),n=e("./_to-primitive"),s=Object.defineProperty;b.f=e("./_descriptors")?Object.defineProperty:function(d,v,f){if(t(d),v=n(v,!0),t(f),r)try{return s(d,v,f)}catch(u){}if("get"in f||"set"in f)throw TypeError("Accessors not supported!");return"value"in f&&(d[v]=f.value),d}},{"./_an-object":4,"./_descriptors":15,"./_ie8-dom-define":29,"./_to-primitive":77}],46:[function(e,l,b){var t=e("./_object-dp"),r=e("./_an-object"),n=e("./_object-keys");l.exports=e("./_descriptors")?Object.defineProperties:function(c,d){r(c);for(var v=n(d),f=v.length,u=0,p;f>u;)t.f(c,p=v[u++],d[p]);return c}},{"./_an-object":4,"./_descriptors":15,"./_object-dp":45,"./_object-keys":53}],47:[function(e,l,b){var t=e("./_object-pie"),r=e("./_property-desc"),n=e("./_to-iobject"),s=e("./_to-primitive"),c=e("./_has"),d=e("./_ie8-dom-define"),v=Object.getOwnPropertyDescriptor;b.f=e("./_descriptors")?v:function(u,p){if(u=n(u),p=s(p,!0),d)try{return v(u,p)}catch(y){}if(c(u,p))return r(!t.f.call(u,p),u[p])}},{"./_descriptors":15,"./_has":26,"./_ie8-dom-define":29,"./_object-pie":54,"./_property-desc":57,"./_to-iobject":74,"./_to-primitive":77}],48:[function(e,l,b){var t=e("./_to-iobject"),r=e("./_object-gopn").f,n={}.toString,s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(d){try{return r(d)}catch(v){return s.slice()}};l.exports.f=function(v){return s&&n.call(v)=="[object Window]"?c(v):r(t(v))}},{"./_object-gopn":49,"./_to-iobject":74}],49:[function(e,l,b){var t=e("./_object-keys-internal"),r=e("./_enum-bug-keys").concat("length","prototype");b.f=Object.getOwnPropertyNames||function(s){return t(s,r)}},{"./_enum-bug-keys":17,"./_object-keys-internal":52}],50:[function(e,l,b){b.f=Object.getOwnPropertySymbols},{}],51:[function(e,l,b){var t=e("./_has"),r=e("./_to-object"),n=e("./_shared-key")("IE_PROTO"),s=Object.prototype;l.exports=Object.getPrototypeOf||function(c){return c=r(c),t(c,n)?c[n]:typeof c.constructor=="function"&&c instanceof c.constructor?c.constructor.prototype:c instanceof Object?s:null}},{"./_has":26,"./_shared-key":64,"./_to-object":76}],52:[function(e,l,b){var t=e("./_has"),r=e("./_to-iobject"),n=e("./_array-includes")(!1),s=e("./_shared-key")("IE_PROTO");l.exports=function(c,d){var v=r(c),f=0,u=[],p;for(p in v)p!=s&&t(v,p)&&u.push(p);for(;d.length>f;)t(v,p=d[f++])&&(~n(u,p)||u.push(p));return u}},{"./_array-includes":5,"./_has":26,"./_shared-key":64,"./_to-iobject":74}],53:[function(e,l,b){var t=e("./_object-keys-internal"),r=e("./_enum-bug-keys");l.exports=Object.keys||function(s){return t(s,r)}},{"./_enum-bug-keys":17,"./_object-keys-internal":52}],54:[function(e,l,b){b.f={}.propertyIsEnumerable},{}],55:[function(e,l,b){var t=e("./_export"),r=e("./_core"),n=e("./_fails");l.exports=function(s,c){var d=(r.Object||{})[s]||Object[s],v={};v[s]=c(d),t(t.S+t.F*n(function(){d(1)}),"Object",v)}},{"./_core":11,"./_export":19,"./_fails":21}],56:[function(e,l,b){var t=e("./_object-gopn"),r=e("./_object-gops"),n=e("./_an-object"),s=e("./_global").Reflect;l.exports=s&&s.ownKeys||function(d){var v=t.f(n(d)),f=r.f;return f?v.concat(f(d)):v}},{"./_an-object":4,"./_global":25,"./_object-gopn":49,"./_object-gops":50}],57:[function(e,l,b){l.exports=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}}},{}],58:[function(e,l,b){var t=e("./_global"),r=e("./_hide"),n=e("./_has"),s=e("./_uid")("src"),c=e("./_function-to-string"),d="toString",v=(""+c).split(d);e("./_core").inspectSource=function(f){return c.call(f)},(l.exports=function(f,u,p,y){var R=typeof p=="function";R&&(n(p,"name")||r(p,"name",u)),f[u]!==p&&(R&&(n(p,s)||r(p,s,f[u]?""+f[u]:v.join(String(u)))),f===t?f[u]=p:y?f[u]?f[u]=p:r(f,u,p):(delete f[u],r(f,u,p)))})(Function.prototype,d,function(){return typeof this=="function"&&this[s]||c.call(this)})},{"./_core":11,"./_function-to-string":24,"./_global":25,"./_has":26,"./_hide":27,"./_uid":78}],59:[function(e,l,b){"use strict";var t=e("./_classof"),r=RegExp.prototype.exec;l.exports=function(n,s){var c=n.exec;if(typeof c=="function"){var d=c.call(n,s);if(typeof d!="object")throw new TypeError("RegExp exec method returned something other than an Object or null");return d}if(t(n)!=="RegExp")throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(n,s)}},{"./_classof":9}],60:[function(e,l,b){"use strict";var t=e("./_flags"),r=RegExp.prototype.exec,n=String.prototype.replace,s=r,c="lastIndex",d=function(){var u=/a/,p=/b*/g;return r.call(u,"a"),r.call(p,"a"),u[c]!==0||p[c]!==0}(),v=/()??/.exec("")[1]!==void 0,f=d||v;f&&(s=function(p){var y=this,R,P,O,_;return v&&(P=new RegExp("^"+y.source+"$(?!\\s)",t.call(y))),d&&(R=y[c]),O=r.call(y,p),d&&O&&(y[c]=y.global?O.index+O[0].length:R),v&&O&&O.length>1&&n.call(O[0],P,function(){for(_=1;_<arguments.length-2;_++)arguments[_]===void 0&&(O[_]=void 0)}),O}),l.exports=s},{"./_flags":23}],61:[function(e,l,b){var t=e("./_is-object"),r=e("./_an-object"),n=function(s,c){if(r(s),!t(c)&&c!==null)throw TypeError(c+": can't set as prototype!")};l.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(s,c,d){try{d=e("./_ctx")(Function.call,e("./_object-gopd").f(Object.prototype,"__proto__").set,2),d(s,[]),c=!(s instanceof Array)}catch(v){c=!0}return function(f,u){return n(f,u),c?f.__proto__=u:d(f,u),f}}({},!1):void 0),check:n}},{"./_an-object":4,"./_ctx":13,"./_is-object":34,"./_object-gopd":47}],62:[function(e,l,b){"use strict";var t=e("./_global"),r=e("./_object-dp"),n=e("./_descriptors"),s=e("./_wks")("species");l.exports=function(c){var d=t[c];n&&d&&!d[s]&&r.f(d,s,{configurable:!0,get:function(){return this}})}},{"./_descriptors":15,"./_global":25,"./_object-dp":45,"./_wks":81}],63:[function(e,l,b){var t=e("./_object-dp").f,r=e("./_has"),n=e("./_wks")("toStringTag");l.exports=function(s,c,d){s&&!r(s=d?s:s.prototype,n)&&t(s,n,{configurable:!0,value:c})}},{"./_has":26,"./_object-dp":45,"./_wks":81}],64:[function(e,l,b){var t=e("./_shared")("keys"),r=e("./_uid");l.exports=function(n){return t[n]||(t[n]=r(n))}},{"./_shared":65,"./_uid":78}],65:[function(e,l,b){var t=e("./_core"),r=e("./_global"),n="__core-js_shared__",s=r[n]||(r[n]={});(l.exports=function(c,d){return s[c]||(s[c]=d!==void 0?d:{})})("versions",[]).push({version:t.version,mode:e("./_library")?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},{"./_core":11,"./_global":25,"./_library":42}],66:[function(e,l,b){var t=e("./_an-object"),r=e("./_a-function"),n=e("./_wks")("species");l.exports=function(s,c){var d=t(s).constructor,v;return d===void 0||(v=t(d)[n])==null?c:r(v)}},{"./_a-function":1,"./_an-object":4,"./_wks":81}],67:[function(e,l,b){"use strict";var t=e("./_fails");l.exports=function(r,n){return!!r&&t(function(){n?r.call(null,function(){},1):r.call(null)})}},{"./_fails":21}],68:[function(e,l,b){var t=e("./_to-integer"),r=e("./_defined");l.exports=function(n){return function(s,c){var d=String(r(s)),v=t(c),f=d.length,u,p;return v<0||v>=f?n?"":void 0:(u=d.charCodeAt(v),u<55296||u>56319||v+1===f||(p=d.charCodeAt(v+1))<56320||p>57343?n?d.charAt(v):u:n?d.slice(v,v+2):(u-55296<<10)+(p-56320)+65536)}}},{"./_defined":14,"./_to-integer":73}],69:[function(e,l,b){var t=e("./_is-regexp"),r=e("./_defined");l.exports=function(n,s,c){if(t(s))throw TypeError("String#"+c+" doesn't accept regex!");return String(r(n))}},{"./_defined":14,"./_is-regexp":35}],70:[function(e,l,b){var t=e("./_export"),r=e("./_defined"),n=e("./_fails"),s=e("./_string-ws"),c="["+s+"]",d="\u200B\x85",v=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),u=function(y,R,P){var O={},_=n(function(){return!!s[y]()||d[y]()!=d}),j=O[y]=_?R(p):s[y];P&&(O[P]=j),t(t.P+t.F*_,"String",O)},p=u.trim=function(y,R){return y=String(r(y)),R&1&&(y=y.replace(v,"")),R&2&&(y=y.replace(f,"")),y};l.exports=u},{"./_defined":14,"./_export":19,"./_fails":21,"./_string-ws":71}],71:[function(e,l,b){l.exports=`
+\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],72:[function(e,l,b){var t=e("./_to-integer"),r=Math.max,n=Math.min;l.exports=function(s,c){return s=t(s),s<0?r(s+c,0):n(s,c)}},{"./_to-integer":73}],73:[function(e,l,b){var t=Math.ceil,r=Math.floor;l.exports=function(n){return isNaN(n=+n)?0:(n>0?r:t)(n)}},{}],74:[function(e,l,b){var t=e("./_iobject"),r=e("./_defined");l.exports=function(n){return t(r(n))}},{"./_defined":14,"./_iobject":31}],75:[function(e,l,b){var t=e("./_to-integer"),r=Math.min;l.exports=function(n){return n>0?r(t(n),9007199254740991):0}},{"./_to-integer":73}],76:[function(e,l,b){var t=e("./_defined");l.exports=function(r){return Object(t(r))}},{"./_defined":14}],77:[function(e,l,b){var t=e("./_is-object");l.exports=function(r,n){if(!t(r))return r;var s,c;if(n&&typeof(s=r.toString)=="function"&&!t(c=s.call(r))||typeof(s=r.valueOf)=="function"&&!t(c=s.call(r))||!n&&typeof(s=r.toString)=="function"&&!t(c=s.call(r)))return c;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":34}],78:[function(e,l,b){var t=0,r=Math.random();l.exports=function(n){return"Symbol(".concat(n===void 0?"":n,")_",(++t+r).toString(36))}},{}],79:[function(e,l,b){var t=e("./_global"),r=e("./_core"),n=e("./_library"),s=e("./_wks-ext"),c=e("./_object-dp").f;l.exports=function(d){var v=r.Symbol||(r.Symbol=n?{}:t.Symbol||{});d.charAt(0)!="_"&&!(d in v)&&c(v,d,{value:s.f(d)})}},{"./_core":11,"./_global":25,"./_library":42,"./_object-dp":45,"./_wks-ext":80}],80:[function(e,l,b){b.f=e("./_wks")},{"./_wks":81}],81:[function(e,l,b){var t=e("./_shared")("wks"),r=e("./_uid"),n=e("./_global").Symbol,s=typeof n=="function",c=l.exports=function(d){return t[d]||(t[d]=s&&n[d]||(s?n:r)("Symbol."+d))};c.store=t},{"./_global":25,"./_shared":65,"./_uid":78}],82:[function(e,l,b){var t=e("./_classof"),r=e("./_wks")("iterator"),n=e("./_iterators");l.exports=e("./_core").getIteratorMethod=function(s){if(s!=null)return s[r]||s["@@iterator"]||n[t(s)]}},{"./_classof":9,"./_core":11,"./_iterators":41,"./_wks":81}],83:[function(e,l,b){"use strict";var t=e("./_export"),r=e("./_array-methods")(2);t(t.P+t.F*!e("./_strict-method")([].filter,!0),"Array",{filter:function(s){return r(this,s,arguments[1])}})},{"./_array-methods":6,"./_export":19,"./_strict-method":67}],84:[function(e,l,b){"use strict";var t=e("./_ctx"),r=e("./_export"),n=e("./_to-object"),s=e("./_iter-call"),c=e("./_is-array-iter"),d=e("./_to-length"),v=e("./_create-property"),f=e("./core.get-iterator-method");r(r.S+r.F*!e("./_iter-detect")(function(u){Array.from(u)}),"Array",{from:function(p){var y=n(p),R=typeof this=="function"?this:Array,P=arguments.length,O=P>1?arguments[1]:void 0,_=O!==void 0,j=0,h=f(y),x,S,I,g;if(_&&(O=t(O,P>2?arguments[2]:void 0,2)),h!=null&&!(R==Array&&c(h)))for(g=h.call(y),S=new R;!(I=g.next()).done;j++)v(S,j,_?s(g,O,[I.value,j],!0):I.value);else for(x=d(y.length),S=new R(x);x>j;j++)v(S,j,_?O(y[j],j):y[j]);return S.length=j,S}})},{"./_create-property":12,"./_ctx":13,"./_export":19,"./_is-array-iter":32,"./_iter-call":36,"./_iter-detect":39,"./_to-length":75,"./_to-object":76,"./core.get-iterator-method":82}],85:[function(e,l,b){"use strict";var t=e("./_add-to-unscopables"),r=e("./_iter-step"),n=e("./_iterators"),s=e("./_to-iobject");l.exports=e("./_iter-define")(Array,"Array",function(c,d){this._t=s(c),this._i=0,this._k=d},function(){var c=this._t,d=this._k,v=this._i++;return!c||v>=c.length?(this._t=void 0,r(1)):d=="keys"?r(0,v):d=="values"?r(0,c[v]):r(0,[v,c[v]])},"values"),n.Arguments=n.Array,t("keys"),t("values"),t("entries")},{"./_add-to-unscopables":2,"./_iter-define":38,"./_iter-step":40,"./_iterators":41,"./_to-iobject":74}],86:[function(e,l,b){"use strict";var t=e("./_export"),r=e("./_array-methods")(1);t(t.P+t.F*!e("./_strict-method")([].map,!0),"Array",{map:function(s){return r(this,s,arguments[1])}})},{"./_array-methods":6,"./_export":19,"./_strict-method":67}],87:[function(e,l,b){"use strict";var t=e("./_export"),r=e("./_html"),n=e("./_cof"),s=e("./_to-absolute-index"),c=e("./_to-length"),d=[].slice;t(t.P+t.F*e("./_fails")(function(){r&&d.call(r)}),"Array",{slice:function(f,u){var p=c(this.length),y=n(this);if(u=u===void 0?p:u,y=="Array")return d.call(this,f,u);for(var R=s(f,p),P=s(u,p),O=c(P-R),_=new Array(O),j=0;j<O;j++)_[j]=y=="String"?this.charAt(R+j):this[R+j];return _}})},{"./_cof":10,"./_export":19,"./_fails":21,"./_html":28,"./_to-absolute-index":72,"./_to-length":75}],88:[function(e,l,b){"use strict";var t=e("./_global"),r=e("./_has"),n=e("./_cof"),s=e("./_inherit-if-required"),c=e("./_to-primitive"),d=e("./_fails"),v=e("./_object-gopn").f,f=e("./_object-gopd").f,u=e("./_object-dp").f,p=e("./_string-trim").trim,y="Number",R=t[y],P=R,O=R.prototype,_=n(e("./_object-create")(O))==y,j="trim"in String.prototype,h=function(g){var o=c(g,!1);if(typeof o=="string"&&o.length>2){o=j?o.trim():p(o,3);var i=o.charCodeAt(0),a,m,w;if(i===43||i===45){if(a=o.charCodeAt(2),a===88||a===120)return NaN}else if(i===48){switch(o.charCodeAt(1)){case 66:case 98:m=2,w=49;break;case 79:case 111:m=8,w=55;break;default:return+o}for(var E=o.slice(2),k=0,T=E.length,L;k<T;k++)if(L=E.charCodeAt(k),L<48||L>w)return NaN;return parseInt(E,m)}}return+o};if(!R(" 0o1")||!R("0b1")||R("+0x1")){R=function(o){var i=arguments.length<1?0:o,a=this;return a instanceof R&&(_?d(function(){O.valueOf.call(a)}):n(a)!=y)?s(new P(h(i)),a,R):h(i)};for(var x=e("./_descriptors")?v(P):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0,I;x.length>S;S++)r(P,I=x[S])&&!r(R,I)&&u(R,I,f(P,I));R.prototype=O,O.constructor=R,e("./_redefine")(t,y,R)}},{"./_cof":10,"./_descriptors":15,"./_fails":21,"./_global":25,"./_has":26,"./_inherit-if-required":30,"./_object-create":44,"./_object-dp":45,"./_object-gopd":47,"./_object-gopn":49,"./_redefine":58,"./_string-trim":70,"./_to-primitive":77}],89:[function(e,l,b){var t=e("./_to-iobject"),r=e("./_object-gopd").f;e("./_object-sap")("getOwnPropertyDescriptor",function(){return function(s,c){return r(t(s),c)}})},{"./_object-gopd":47,"./_object-sap":55,"./_to-iobject":74}],90:[function(e,l,b){var t=e("./_to-object"),r=e("./_object-keys");e("./_object-sap")("keys",function(){return function(s){return r(t(s))}})},{"./_object-keys":53,"./_object-sap":55,"./_to-object":76}],91:[function(e,l,b){"use strict";var t=e("./_classof"),r={};r[e("./_wks")("toStringTag")]="z",r+""!="[object z]"&&e("./_redefine")(Object.prototype,"toString",function(){return"[object "+t(this)+"]"},!0)},{"./_classof":9,"./_redefine":58,"./_wks":81}],92:[function(e,l,b){var t=e("./_global"),r=e("./_inherit-if-required"),n=e("./_object-dp").f,s=e("./_object-gopn").f,c=e("./_is-regexp"),d=e("./_flags"),v=t.RegExp,f=v,u=v.prototype,p=/a/g,y=/a/g,R=new v(p)!==p;if(e("./_descriptors")&&(!R||e("./_fails")(function(){return y[e("./_wks")("match")]=!1,v(p)!=p||v(y)==y||v(p,"i")!="/a/i"}))){v=function(h,x){var S=this instanceof v,I=c(h),g=x===void 0;return!S&&I&&h.constructor===v&&g?h:r(R?new f(I&&!g?h.source:h,x):f((I=h instanceof v)?h.source:h,I&&g?d.call(h):x),S?this:u,v)};for(var P=function(j){j in v||n(v,j,{configurable:!0,get:function(){return f[j]},set:function(h){f[j]=h}})},O=s(f),_=0;O.length>_;)P(O[_++]);u.constructor=v,v.prototype=u,e("./_redefine")(t,"RegExp",v)}e("./_set-species")("RegExp")},{"./_descriptors":15,"./_fails":21,"./_flags":23,"./_global":25,"./_inherit-if-required":30,"./_is-regexp":35,"./_object-dp":45,"./_object-gopn":49,"./_redefine":58,"./_set-species":62,"./_wks":81}],93:[function(e,l,b){"use strict";var t=e("./_regexp-exec");e("./_export")({target:"RegExp",proto:!0,forced:t!==/./.exec},{exec:t})},{"./_export":19,"./_regexp-exec":60}],94:[function(e,l,b){"use strict";var t=e("./_an-object"),r=e("./_to-length"),n=e("./_advance-string-index"),s=e("./_regexp-exec-abstract");e("./_fix-re-wks")("match",1,function(c,d,v,f){return[function(p){var y=c(this),R=p==null?void 0:p[d];return R!==void 0?R.call(p,y):new RegExp(p)[d](String(y))},function(u){var p=f(v,u,this);if(p.done)return p.value;var y=t(u),R=String(this);if(!y.global)return s(y,R);var P=y.unicode;y.lastIndex=0;for(var O=[],_=0,j;(j=s(y,R))!==null;){var h=String(j[0]);O[_]=h,h===""&&(y.lastIndex=n(R,r(y.lastIndex),P)),_++}return _===0?null:O}]})},{"./_advance-string-index":3,"./_an-object":4,"./_fix-re-wks":22,"./_regexp-exec-abstract":59,"./_to-length":75}],95:[function(e,l,b){"use strict";var t=e("./_an-object"),r=e("./_to-object"),n=e("./_to-length"),s=e("./_to-integer"),c=e("./_advance-string-index"),d=e("./_regexp-exec-abstract"),v=Math.max,f=Math.min,u=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,y=/\$([$&`']|\d\d?)/g,R=function(P){return P===void 0?P:String(P)};e("./_fix-re-wks")("replace",2,function(P,O,_,j){return[function(S,I){var g=P(this),o=S==null?void 0:S[O];return o!==void 0?o.call(S,g,I):_.call(String(g),S,I)},function(x,S){var I=j(_,x,this,S);if(I.done)return I.value;var g=t(x),o=String(this),i=typeof S=="function";i||(S=String(S));var a=g.global;if(a){var m=g.unicode;g.lastIndex=0}for(var w=[];;){var E=d(g,o);if(E===null||(w.push(E),!a))break;var k=String(E[0]);k===""&&(g.lastIndex=c(o,n(g.lastIndex),m))}for(var T="",L=0,A=0;A<w.length;A++){E=w[A];for(var M=String(E[0]),N=v(f(s(E.index),o.length),0),F=[],U=1;U<E.length;U++)F.push(R(E[U]));var G=E.groups;if(i){var z=[M].concat(F,N,o);G!==void 0&&z.push(G);var H=String(S.apply(void 0,z))}else H=h(M,o,N,F,G,S);N>=L&&(T+=o.slice(L,N)+H,L=N+M.length)}return T+o.slice(L)}];function h(x,S,I,g,o,i){var a=I+x.length,m=g.length,w=y;return o!==void 0&&(o=r(o),w=p),_.call(i,w,function(E,k){var T;switch(k.charAt(0)){case"$":return"$";case"&":return x;case"`":return S.slice(0,I);case"'":return S.slice(a);case"<":T=o[k.slice(1,-1)];break;default:var L=+k;if(L===0)return E;if(L>m){var A=u(L/10);return A===0?E:A<=m?g[A-1]===void 0?k.charAt(1):g[A-1]+k.charAt(1):E}T=g[L-1]}return T===void 0?"":T})}})},{"./_advance-string-index":3,"./_an-object":4,"./_fix-re-wks":22,"./_regexp-exec-abstract":59,"./_to-integer":73,"./_to-length":75,"./_to-object":76}],96:[function(e,l,b){"use strict";var t=e("./_is-regexp"),r=e("./_an-object"),n=e("./_species-constructor"),s=e("./_advance-string-index"),c=e("./_to-length"),d=e("./_regexp-exec-abstract"),v=e("./_regexp-exec"),f=e("./_fails"),u=Math.min,p=[].push,y="split",R="length",P="lastIndex",O=4294967295,_=!f(function(){RegExp(O,"y")});e("./_fix-re-wks")("split",2,function(j,h,x,S){var I;return"abbc"[y](/(b)*/)[1]=="c"||"test"[y](/(?:)/,-1)[R]!=4||"ab"[y](/(?:ab)*/)[R]!=2||"."[y](/(.?)(.?)/)[R]!=4||"."[y](/()()/)[R]>1||""[y](/.?/)[R]?I=function(g,o){var i=String(this);if(g===void 0&&o===0)return[];if(!t(g))return x.call(i,g,o);for(var a=[],m=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(g.sticky?"y":""),w=0,E=o===void 0?O:o>>>0,k=new RegExp(g.source,m+"g"),T,L,A;(T=v.call(k,i))&&(L=k[P],!(L>w&&(a.push(i.slice(w,T.index)),T[R]>1&&T.index<i[R]&&p.apply(a,T.slice(1)),A=T[0][R],w=L,a[R]>=E)));)k[P]===T.index&&k[P]++;return w===i[R]?(A||!k.test(""))&&a.push(""):a.push(i.slice(w)),a[R]>E?a.slice(0,E):a}:"0"[y](void 0,0)[R]?I=function(g,o){return g===void 0&&o===0?[]:x.call(this,g,o)}:I=x,[function(o,i){var a=j(this),m=o==null?void 0:o[h];return m!==void 0?m.call(o,a,i):I.call(String(a),o,i)},function(g,o){var i=S(I,g,this,o,I!==x);if(i.done)return i.value;var a=r(g),m=String(this),w=n(a,RegExp),E=a.unicode,k=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(_?"y":"g"),T=new w(_?a:"^(?:"+a.source+")",k),L=o===void 0?O:o>>>0;if(L===0)return[];if(m.length===0)return d(T,m)===null?[m]:[];for(var A=0,M=0,N=[];M<m.length;){T.lastIndex=_?M:0;var F=d(T,_?m:m.slice(M)),U;if(F===null||(U=u(c(T.lastIndex+(_?0:M)),m.length))===A)M=s(m,M,E);else{if(N.push(m.slice(A,M)),N.length===L)return N;for(var G=1;G<=F.length-1;G++)if(N.push(F[G]),N.length===L)return N;M=A=U}}return N.push(m.slice(A)),N}]})},{"./_advance-string-index":3,"./_an-object":4,"./_fails":21,"./_fix-re-wks":22,"./_is-regexp":35,"./_regexp-exec":60,"./_regexp-exec-abstract":59,"./_species-constructor":66,"./_to-length":75}],97:[function(e,l,b){"use strict";var t=e("./_export"),r=e("./_string-context"),n="includes";t(t.P+t.F*e("./_fails-is-regexp")(n),"String",{includes:function(c){return!!~r(this,c,n).indexOf(c,arguments.length>1?arguments[1]:void 0)}})},{"./_export":19,"./_fails-is-regexp":20,"./_string-context":69}],98:[function(e,l,b){"use strict";var t=e("./_string-at")(!0);e("./_iter-define")(String,"String",function(r){this._t=String(r),this._i=0},function(){var r=this._t,n=this._i,s;return n>=r.length?{value:void 0,done:!0}:(s=t(r,n),this._i+=s.length,{value:s,done:!1})})},{"./_iter-define":38,"./_string-at":68}],99:[function(e,l,b){"use strict";var t=e("./_global"),r=e("./_has"),n=e("./_descriptors"),s=e("./_export"),c=e("./_redefine"),d=e("./_meta").KEY,v=e("./_fails"),f=e("./_shared"),u=e("./_set-to-string-tag"),p=e("./_uid"),y=e("./_wks"),R=e("./_wks-ext"),P=e("./_wks-define"),O=e("./_enum-keys"),_=e("./_is-array"),j=e("./_an-object"),h=e("./_is-object"),x=e("./_to-object"),S=e("./_to-iobject"),I=e("./_to-primitive"),g=e("./_property-desc"),o=e("./_object-create"),i=e("./_object-gopn-ext"),a=e("./_object-gopd"),m=e("./_object-gops"),w=e("./_object-dp"),E=e("./_object-keys"),k=a.f,T=w.f,L=i.f,A=t.Symbol,M=t.JSON,N=M&&M.stringify,F="prototype",U=y("_hidden"),G=y("toPrimitive"),z={}.propertyIsEnumerable,H=f("symbol-registry"),K=f("symbols"),V=f("op-symbols"),W=Object[F],Q=typeof A=="function"&&!!m.f,re=t.QObject,ne=!re||!re[F]||!re[F].findChild,oe=n&&v(function(){return o(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a!=7})?function($,C,D){var B=k(W,C);B&&delete W[C],T($,C,D),B&&$!==W&&T(W,C,B)}:T,ae=function($){var C=K[$]=o(A[F]);return C._k=$,C},se=Q&&typeof A.iterator=="symbol"?function($){return typeof $=="symbol"}:function($){return $ instanceof A},q=function(C,D,B){return C===W&&q(V,D,B),j(C),D=I(D,!0),j(B),r(K,D)?(B.enumerable?(r(C,U)&&C[U][D]&&(C[U][D]=!1),B=o(B,{enumerable:g(0,!1)})):(r(C,U)||T(C,U,g(1,{})),C[U][D]=!0),oe(C,D,B)):T(C,D,B)},ie=function(C,D){j(C);for(var B=O(D=S(D)),J=0,X=B.length,Z;X>J;)q(C,Z=B[J++],D[Z]);return C},_e=function(C,D){return D===void 0?o(C):ie(o(C),D)},ce=function(C){var D=z.call(this,C=I(C,!0));return this===W&&r(K,C)&&!r(V,C)?!1:D||!r(this,C)||!r(K,C)||r(this,U)&&this[U][C]?D:!0},le=function(C,D){if(C=S(C),D=I(D,!0),!(C===W&&r(K,D)&&!r(V,D))){var B=k(C,D);return B&&r(K,D)&&!(r(C,U)&&C[U][D])&&(B.enumerable=!0),B}},ue=function(C){for(var D=L(S(C)),B=[],J=0,X;D.length>J;)!r(K,X=D[J++])&&X!=U&&X!=d&&B.push(X);return B},fe=function(C){for(var D=C===W,B=L(D?V:S(C)),J=[],X=0,Z;B.length>X;)r(K,Z=B[X++])&&(!D||r(W,Z))&&J.push(K[Z]);return J};Q||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var C=p(arguments.length>0?arguments[0]:void 0),D=function(B){this===W&&D.call(V,B),r(this,U)&&r(this[U],C)&&(this[U][C]=!1),oe(this,C,g(1,B))};return n&&ne&&oe(W,C,{configurable:!0,set:D}),ae(C)},c(A[F],"toString",function(){return this._k}),a.f=le,w.f=q,e("./_object-gopn").f=i.f=ue,e("./_object-pie").f=ce,m.f=fe,n&&!e("./_library")&&c(W,"propertyIsEnumerable",ce,!0),R.f=function($){return ae(y($))}),s(s.G+s.W+s.F*!Q,{Symbol:A});for(var de="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ve=0;de.length>ve;)y(de[ve++]);for(var pe=E(y.store),he=0;pe.length>he;)P(pe[he++]);s(s.S+s.F*!Q,"Symbol",{for:function($){return r(H,$+="")?H[$]:H[$]=A($)},keyFor:function(C){if(!se(C))throw TypeError(C+" is not a symbol!");for(var D in H)if(H[D]===C)return D},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),s(s.S+s.F*!Q,"Object",{create:_e,defineProperty:q,defineProperties:ie,getOwnPropertyDescriptor:le,getOwnPropertyNames:ue,getOwnPropertySymbols:fe});var me=v(function(){m.f(1)});s(s.S+s.F*me,"Object",{getOwnPropertySymbols:function(C){return m.f(x(C))}}),M&&s(s.S+s.F*(!Q||v(function(){var $=A();return N([$])!="[null]"||N({a:$})!="{}"||N(Object($))!="{}"})),"JSON",{stringify:function(C){for(var D=[C],B=1,J,X;arguments.length>B;)D.push(arguments[B++]);if(X=J=D[1],!(!h(J)&&C===void 0||se(C)))return _(J)||(J=function(Z,ee){if(typeof X=="function"&&(ee=X.call(this,Z,ee)),!se(ee))return ee}),D[1]=J,N.apply(M,D)}}),A[F][G]||e("./_hide")(A[F],G,A[F].valueOf),u(A,"Symbol"),u(Math,"Math",!0),u(t.JSON,"JSON",!0)},{"./_an-object":4,"./_descriptors":15,"./_enum-keys":18,"./_export":19,"./_fails":21,"./_global":25,"./_has":26,"./_hide":27,"./_is-array":33,"./_is-object":34,"./_library":42,"./_meta":43,"./_object-create":44,"./_object-dp":45,"./_object-gopd":47,"./_object-gopn":49,"./_object-gopn-ext":48,"./_object-gops":50,"./_object-keys":53,"./_object-pie":54,"./_property-desc":57,"./_redefine":58,"./_set-to-string-tag":63,"./_shared":65,"./_to-iobject":74,"./_to-object":76,"./_to-primitive":77,"./_uid":78,"./_wks":81,"./_wks-define":79,"./_wks-ext":80}],100:[function(e,l,b){"use strict";var t=e("./_export"),r=e("./_array-includes")(!0);t(t.P,"Array",{includes:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")("includes")},{"./_add-to-unscopables":2,"./_array-includes":5,"./_export":19}],101:[function(e,l,b){var t=e("./_export"),r=e("./_own-keys"),n=e("./_to-iobject"),s=e("./_object-gopd"),c=e("./_create-property");t(t.S,"Object",{getOwnPropertyDescriptors:function(v){for(var f=n(v),u=s.f,p=r(f),y={},R=0,P,O;p.length>R;)O=u(f,P=p[R++]),O!==void 0&&c(y,P,O);return y}})},{"./_create-property":12,"./_export":19,"./_object-gopd":47,"./_own-keys":56,"./_to-iobject":74}],102:[function(e,l,b){for(var t=e("./es6.array.iterator"),r=e("./_object-keys"),n=e("./_redefine"),s=e("./_global"),c=e("./_hide"),d=e("./_iterators"),v=e("./_wks"),f=v("iterator"),u=v("toStringTag"),p=d.Array,y={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},R=r(y),P=0;P<R.length;P++){var O=R[P],_=y[O],j=s[O],h=j&&j.prototype,x;if(h&&(h[f]||c(h,f,p),h[u]||c(h,u,O),d[O]=p,_))for(x in t)h[x]||n(h,x,t[x],!0)}},{"./_global":25,"./_hide":27,"./_iterators":41,"./_object-keys":53,"./_redefine":58,"./_wks":81,"./es6.array.iterator":85}],103:[function(e,l,b){"use strict";e("core-js/modules/es6.symbol.js"),e("core-js/modules/es6.number.constructor.js"),e("core-js/modules/es6.string.iterator.js"),e("core-js/modules/es6.object.to-string.js"),e("core-js/modules/es6.array.iterator.js"),e("core-js/modules/web.dom.iterable.js");function t(P){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},t(P)}function r(P,O){if(!(P instanceof O))throw new TypeError("Cannot call a class as a function")}function n(P,O){for(var _=0;_<O.length;_++){var j=O[_];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(P,c(j.key),j)}}function s(P,O,_){return O&&n(P.prototype,O),_&&n(P,_),Object.defineProperty(P,"prototype",{writable:!1}),P}function c(P){var O=d(P,"string");return t(O)==="symbol"?O:String(O)}function d(P,O){if(t(P)!=="object"||P===null)return P;var _=P[Symbol.toPrimitive];if(_!==void 0){var j=_.call(P,O||"default");if(t(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return(O==="string"?String:Number)(P)}var v=e("./protocol"),f=v.Parser,u=v.PROTOCOL_6,p=v.PROTOCOL_7,y="4.0.2",R=function(){function P(O,_,j,h){var x=this;r(this,P),this.options=O,this.WebSocket=_,this.Timer=j,this.handlers=h;var S=this.options.path?"".concat(this.options.path):"livereload",I=this.options.port?":".concat(this.options.port):"";this._uri="ws".concat(this.options.https?"s":"","://").concat(this.options.host).concat(I,"/").concat(S),this._nextDelay=this.options.mindelay,this._connectionDesired=!1,this.protocol=0,this.protocolParser=new f({connected:function(o){return x.protocol=o,x._handshakeTimeout.stop(),x._nextDelay=x.options.mindelay,x._disconnectionReason="broken",x.handlers.connected(x.protocol)},error:function(o){return x.handlers.error(o),x._closeOnError()},message:function(o){return x.handlers.message(o)}}),this._handshakeTimeout=new this.Timer(function(){if(x._isSocketConnected())return x._disconnectionReason="handshake-timeout",x.socket.close()}),this._reconnectTimer=new this.Timer(function(){if(x._connectionDesired)return x.connect()}),this.connect()}return s(P,[{key:"_isSocketConnected",value:function(){return this.socket&&this.socket.readyState===this.WebSocket.OPEN}},{key:"connect",value:function(){var _=this;this._connectionDesired=!0,!this._isSocketConnected()&&(this._reconnectTimer.stop(),this._disconnectionReason="cannot-connect",this.protocolParser.reset(),this.handlers.connecting(),this.socket=new this.WebSocket(this._uri),this.socket.onopen=function(j){return _._onopen(j)},this.socket.onclose=function(j){return _._onclose(j)},this.socket.onmessage=function(j){return _._onmessage(j)},this.socket.onerror=function(j){return _._onerror(j)})}},{key:"disconnect",value:function(){if(this._connectionDesired=!1,this._reconnectTimer.stop(),!!this._isSocketConnected())return this._disconnectionReason="manual",this.socket.close()}},{key:"_scheduleReconnection",value:function(){this._connectionDesired&&(this._reconnectTimer.running||(this._reconnectTimer.start(this._nextDelay),this._nextDelay=Math.min(this.options.maxdelay,this._nextDelay*2)))}},{key:"sendCommand",value:function(_){if(this.protocol)return this._sendCommand(_)}},{key:"_sendCommand",value:function(_){return this.socket.send(JSON.stringify(_))}},{key:"_closeOnError",value:function(){return this._handshakeTimeout.stop(),this._disconnectionReason="error",this.socket.close()}},{key:"_onopen",value:function(_){this.handlers.socketConnected(),this._disconnectionReason="handshake-failed";var j={command:"hello",protocols:[u,p]};return j.ver=y,this.options.ext&&(j.ext=this.options.ext),this.options.extver&&(j.extver=this.options.extver),this.options.snipver&&(j.snipver=this.options.snipver),this._sendCommand(j),this._handshakeTimeout.start(this.options.handshake_timeout)}},{key:"_onclose",value:function(_){return this.protocol=0,this.handlers.disconnected(this._disconnectionReason,this._nextDelay),this._scheduleReconnection()}},{key:"_onerror",value:function(_){}},{key:"_onmessage",value:function(_){return this.protocolParser.process(_.data)}}]),P}();b.Connector=R},{"./protocol":108,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],104:[function(e,l,b){"use strict";var t={bind:function(n,s,c){if(n.addEventListener)return n.addEventListener(s,c,!1);if(n.attachEvent)return n[s]=1,n.attachEvent("onpropertychange",function(d){if(d.propertyName===s)return c()});throw new Error("Attempt to attach custom event ".concat(s," to something which isn't a DOMElement"))},fire:function(n,s){if(n.addEventListener){var c=document.createEvent("HTMLEvents");return c.initEvent(s,!0,!0),document.dispatchEvent(c)}else if(n.attachEvent){if(n[s])return n[s]++}else throw new Error("Attempt to fire custom event ".concat(s," on something which isn't a DOMElement"))}};b.bind=t.bind,b.fire=t.fire},{}],105:[function(e,l,b){"use strict";e("core-js/modules/es6.regexp.match.js"),e("core-js/modules/es6.symbol.js"),e("core-js/modules/es6.array.from.js"),e("core-js/modules/es6.string.iterator.js"),e("core-js/modules/es6.object.to-string.js"),e("core-js/modules/es6.array.iterator.js"),e("core-js/modules/web.dom.iterable.js"),e("core-js/modules/es6.number.constructor.js");function t(f){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},t(f)}function r(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function n(f,u){for(var p=0;p<u.length;p++){var y=u[p];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(f,c(y.key),y)}}function s(f,u,p){return u&&n(f.prototype,u),p&&n(f,p),Object.defineProperty(f,"prototype",{writable:!1}),f}function c(f){var u=d(f,"string");return t(u)==="symbol"?u:String(u)}function d(f,u){if(t(f)!=="object"||f===null)return f;var p=f[Symbol.toPrimitive];if(p!==void 0){var y=p.call(f,u||"default");if(t(y)!=="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(f)}var v=function(){function f(u,p){r(this,f),this.window=u,this.host=p}return s(f,[{key:"reload",value:function(p,y){if(this.window.less&&this.window.less.refresh){if(p.match(/\.less$/i))return this.reloadLess(p);if(y.originalPath.match(/\.less$/i))return this.reloadLess(y.originalPath)}return!1}},{key:"reloadLess",value:function(p){var y,R=function(){for(var _=[],j=0,h=Array.from(document.getElementsByTagName("link"));j<h.length;j++)y=h[j],(y.href&&y.rel.match(/^stylesheet\/less$/i)||y.rel.match(/stylesheet/i)&&y.type.match(/^text\/(x-)?less$/i))&&_.push(y);return _}();if(R.length===0)return!1;for(var P=0,O=Array.from(R);P<O.length;P++)y=O[P],y.href=this.host.generateCacheBustUrl(y.href);return this.host.console.log("LiveReload is asking LESS to recompile all stylesheets"),this.window.less.refresh(!0),!0}},{key:"analyze",value:function(){return{disable:!!(this.window.less&&this.window.less.refresh)}}}]),f}();v.identifier="less",v.version="1.0",l.exports=v},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],106:[function(e,l,b){"use strict";e("core-js/modules/es6.symbol.js"),e("core-js/modules/es6.number.constructor.js"),e("core-js/modules/es6.array.slice.js"),e("core-js/modules/es6.object.to-string.js"),e("core-js/modules/es6.array.from.js"),e("core-js/modules/es6.string.iterator.js"),e("core-js/modules/es6.array.iterator.js"),e("core-js/modules/web.dom.iterable.js");function t(g){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t(g)}e("core-js/modules/es6.regexp.match.js"),e("core-js/modules/es6.object.keys.js");function r(g,o){var i=typeof Symbol!="undefined"&&g[Symbol.iterator]||g["@@iterator"];if(!i){if(Array.isArray(g)||(i=n(g))||o&&g&&typeof g.length=="number"){i&&(g=i);var a=0,m=function(){};return{s:m,n:function(){return a>=g.length?{done:!0}:{done:!1,value:g[a++]}},e:function(L){throw L},f:m}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,E=!1,k;return{s:function(){i=i.call(g)},n:function(){var L=i.next();return w=L.done,L},e:function(L){E=!0,k=L},f:function(){try{!w&&i.return!=null&&i.return()}finally{if(E)throw k}}}}function n(g,o){if(g){if(typeof g=="string")return s(g,o);var i=Object.prototype.toString.call(g).slice(8,-1);if(i==="Object"&&g.constructor&&(i=g.constructor.name),i==="Map"||i==="Set")return Array.from(g);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(g,o)}}function s(g,o){(o==null||o>g.length)&&(o=g.length);for(var i=0,a=new Array(o);i<o;i++)a[i]=g[i];return a}function c(g,o){if(!(g instanceof o))throw new TypeError("Cannot call a class as a function")}function d(g,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(g,f(a.key),a)}}function v(g,o,i){return o&&d(g.prototype,o),i&&d(g,i),Object.defineProperty(g,"prototype",{writable:!1}),g}function f(g){var o=u(g,"string");return t(o)==="symbol"?o:String(o)}function u(g,o){if(t(g)!=="object"||g===null)return g;var i=g[Symbol.toPrimitive];if(i!==void 0){var a=i.call(g,o||"default");if(t(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(g)}var p=e("./connector"),y=p.Connector,R=e("./timer"),P=R.Timer,O=e("./options"),_=O.Options,j=e("./reloader"),h=j.Reloader,x=e("./protocol"),S=x.ProtocolError,I=function(){function g(o){var i=this;if(c(this,g),this.window=o,this.listeners={},this.plugins=[],this.pluginIdentifiers={},this.console=this.window.console&&this.window.console.log&&this.window.console.error?this.window.location.href.match(/LR-verbose/)?this.window.console:{log:function(){},error:this.window.console.error.bind(this.window.console)}:{log:function(){},error:function(){}},!(this.WebSocket=this.window.WebSocket||this.window.MozWebSocket)){this.console.error("LiveReload disabled because the browser does not seem to support web sockets");return}if("LiveReloadOptions"in o){this.options=new _;for(var a=0,m=Object.keys(o.LiveReloadOptions||{});a<m.length;a++){var w=m[a],E=o.LiveReloadOptions[w];this.options.set(w,E)}}else if(this.options=_.extract(this.window.document),!this.options){this.console.error("LiveReload disabled because it could not find its own <SCRIPT> tag");return}this.reloader=new h(this.window,this.console,P),this.connector=new y(this.options,this.WebSocket,P,{connecting:function(){},socketConnected:function(){},connected:function(T){typeof i.listeners.connect=="function"&&i.listeners.connect();var L=i.options.host,A=i.options.port?":".concat(i.options.port):"";return i.log("LiveReload is connected to ".concat(L).concat(A," (protocol v").concat(T,").")),i.analyze()},error:function(T){if(T instanceof S){if(typeof console!="undefined"&&console!==null)return console.log("".concat(T.message,"."))}else if(typeof console!="undefined"&&console!==null)return console.log("LiveReload internal error: ".concat(T.message))},disconnected:function(T,L){typeof i.listeners.disconnect=="function"&&i.listeners.disconnect();var A=i.options.host,M=i.options.port?":".concat(i.options.port):"";switch(T){case"cannot-connect":return i.log("LiveReload cannot connect to ".concat(A).concat(M,", will retry in ").concat(L," sec."));case"broken":return i.log("LiveReload disconnected from ".concat(A).concat(M,", reconnecting in ").concat(L," sec."));case"handshake-timeout":return i.log("LiveReload cannot connect to ".concat(A).concat(M," (handshake timeout), will retry in ").concat(L," sec."));case"handshake-failed":return i.log("LiveReload cannot connect to ".concat(A).concat(M," (handshake failed), will retry in ").concat(L," sec."));case"manual":case"error":default:return i.log("LiveReload disconnected from ".concat(A).concat(M," (").concat(T,"), reconnecting in ").concat(L," sec."))}},message:function(T){switch(T.command){case"reload":return i.performReload(T);case"alert":return i.performAlert(T)}}}),this.initialized=!0}return v(g,[{key:"on",value:function(i,a){this.listeners[i]=a}},{key:"log",value:function(i){return this.console.log("".concat(i))}},{key:"performReload",value:function(i){this.log("LiveReload received reload request: ".concat(JSON.stringify(i,null,2)));var a=this.options,m=a.host,w=a.port,E=a.pluginOrder;return this.reloader.reload(i.path,{liveCSS:i.liveCSS!=null?i.liveCSS:!0,liveImg:i.liveImg!=null?i.liveImg:!0,reloadMissingCSS:i.reloadMissingCSS!=null?i.reloadMissingCSS:!0,originalPath:i.originalPath||"",overrideURL:i.overrideURL||"",serverURL:"http://".concat(m).concat(w&&":".concat(w)),pluginOrder:E})}},{key:"performAlert",value:function(i){return alert(i.message)}},{key:"shutDown",value:function(){if(this.initialized)return this.connector.disconnect(),this.log("LiveReload disconnected."),typeof this.listeners.shutdown=="function"?this.listeners.shutdown():void 0}},{key:"hasPlugin",value:function(i){return!!this.pluginIdentifiers[i]}},{key:"addPlugin",value:function(i){var a=this;if(this.initialized&&!this.hasPlugin(i.identifier)){this.pluginIdentifiers[i.identifier]=!0;var m=new i(this.window,{_livereload:this,_reloader:this.reloader,_connector:this.connector,console:this.console,Timer:P,generateCacheBustUrl:function(E){return a.reloader.generateCacheBustUrl(E)}});this.plugins.push(m),this.reloader.addPlugin(m)}}},{key:"analyze",value:function(){if(this.initialized&&this.connector.protocol>=7){var i={},a=r(this.plugins),m;try{for(a.s();!(m=a.n()).done;){var w=m.value,E=(typeof w.analyze=="function"?w.analyze():void 0)||{};i[w.constructor.identifier]=E,E.version=w.constructor.version}}catch(k){a.e(k)}finally{a.f()}this.connector.sendCommand({command:"info",plugins:i,url:this.window.location.href})}}}]),g}();b.LiveReload=I},{"./connector":103,"./options":107,"./protocol":108,"./reloader":109,"./timer":111,"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.keys.js":90,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],107:[function(e,l,b){"use strict";e("core-js/modules/es6.regexp.split.js"),e("core-js/modules/es6.symbol.js"),e("core-js/modules/es6.number.constructor.js"),e("core-js/modules/es6.array.from.js"),e("core-js/modules/es6.string.iterator.js"),e("core-js/modules/es6.object.to-string.js"),e("core-js/modules/es6.array.iterator.js"),e("core-js/modules/web.dom.iterable.js"),e("core-js/modules/es6.regexp.match.js"),e("core-js/modules/es6.regexp.replace.js"),e("core-js/modules/es6.array.slice.js");function t(_,j){var h=typeof Symbol!="undefined"&&_[Symbol.iterator]||_["@@iterator"];if(!h){if(Array.isArray(_)||(h=s(_))||j&&_&&typeof _.length=="number"){h&&(_=h);var x=0,S=function(){};return{s:S,n:function(){return x>=_.length?{done:!0}:{done:!1,value:_[x++]}},e:function(a){throw a},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I=!0,g=!1,o;return{s:function(){h=h.call(_)},n:function(){var a=h.next();return I=a.done,a},e:function(a){g=!0,o=a},f:function(){try{!I&&h.return!=null&&h.return()}finally{if(g)throw o}}}}function r(_,j){return v(_)||d(_,j)||s(_,j)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(_,j){if(_){if(typeof _=="string")return c(_,j);var h=Object.prototype.toString.call(_).slice(8,-1);if(h==="Object"&&_.constructor&&(h=_.constructor.name),h==="Map"||h==="Set")return Array.from(_);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return c(_,j)}}function c(_,j){(j==null||j>_.length)&&(j=_.length);for(var h=0,x=new Array(j);h<j;h++)x[h]=_[h];return x}function d(_,j){var h=_==null?null:typeof Symbol!="undefined"&&_[Symbol.iterator]||_["@@iterator"];if(h!=null){var x,S,I,g,o=[],i=!0,a=!1;try{if(I=(h=h.call(_)).next,j===0){if(Object(h)!==h)return;i=!1}else for(;!(i=(x=I.call(h)).done)&&(o.push(x.value),o.length!==j);i=!0);}catch(m){a=!0,S=m}finally{try{if(!i&&h.return!=null&&(g=h.return(),Object(g)!==g))return}finally{if(a)throw S}}return o}}function v(_){if(Array.isArray(_))return _}function f(_){"@babel/helpers - typeof";return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},f(_)}function u(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function p(_,j){for(var h=0;h<j.length;h++){var x=j[h];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(_,R(x.key),x)}}function y(_,j,h){return j&&p(_.prototype,j),h&&p(_,h),Object.defineProperty(_,"prototype",{writable:!1}),_}function R(_){var j=P(_,"string");return f(j)==="symbol"?j:String(j)}function P(_,j){if(f(_)!=="object"||_===null)return _;var h=_[Symbol.toPrimitive];if(h!==void 0){var x=h.call(_,j||"default");if(f(x)!=="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var O=function(){function _(){u(this,_),this.https=!1,this.host=null;var j=35729;Object.defineProperty(this,"port",{get:function(){return j},set:function(S){j=S?isNaN(S)?S:+S:""}}),this.snipver=null,this.ext=null,this.extver=null,this.mindelay=1e3,this.maxdelay=6e4,this.handshake_timeout=5e3;var h=[];Object.defineProperty(this,"pluginOrder",{get:function(){return h},set:function(S){h.push.apply(h,S.split(/[,;]/))}})}return y(_,[{key:"set",value:function(h,x){typeof x!="undefined"&&(isNaN(+x)||(x=+x),this[h]=x)}}]),_}();O.extract=function(_){for(var j=0,h=Array.from(_.getElementsByTagName("script"));j<h.length;j++){var x=h[j],S,I,g=x.src,o=x.getAttribute("src"),i=/^([^:]+:\/\/([^/:]+|\[[0-9a-f:]+\])(?::(\d+))?\/|\/\/|\/)?([^/].*\/)?z?livereload\.js(?:\?(.*))?$/,a=/^(?:(?:([^:/]+)?:?)\/{0,2})([^:]+|\[[0-9a-f:]+\])(?::(\d+))?/;if((S=g.match(i))&&(I=o.match(a))){var m=S,w=r(m,6),E=w[2],k=w[3],T=w[5],L=I,A=r(L,4),M=A[3],N=new O;N.https=x.src.indexOf("https")===0,N.host=E;var F=parseInt(k||M,10)||"";if(N.port=F||N.port,T){var U=t(T.split("&")),G;try{for(U.s();!(G=U.n()).done;){var z=G.value,H;(H=z.split("=")).length>1&&N.set(H[0].replace(/-/g,"_"),H.slice(1).join("="))}}catch(K){U.e(K)}finally{U.f()}}return N.port=N.port||F,N}}return null},b.Options=O},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.regexp.replace.js":95,"core-js/modules/es6.regexp.split.js":96,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}],108:[function(e,l,b){"use strict";e("core-js/modules/es6.number.constructor.js"),e("core-js/modules/es6.array.slice.js");function t(h){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(h)}e("core-js/modules/es6.regexp.match.js"),e("core-js/modules/es6.regexp.constructor.js"),e("core-js/modules/es6.string.includes.js"),e("core-js/modules/es7.array.includes.js"),e("core-js/modules/es6.symbol.js"),e("core-js/modules/es6.array.from.js"),e("core-js/modules/es6.string.iterator.js"),e("core-js/modules/es6.object.to-string.js"),e("core-js/modules/es6.array.iterator.js"),e("core-js/modules/web.dom.iterable.js");function r(h,x){return v(h)||d(h,x)||s(h,x)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(h,x){if(h){if(typeof h=="string")return c(h,x);var S=Object.prototype.toString.call(h).slice(8,-1);if(S==="Object"&&h.constructor&&(S=h.constructor.name),S==="Map"||S==="Set")return Array.from(h);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return c(h,x)}}function c(h,x){(x==null||x>h.length)&&(x=h.length);for(var S=0,I=new Array(x);S<x;S++)I[S]=h[S];return I}function d(h,x){var S=h==null?null:typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(S!=null){var I,g,o,i,a=[],m=!0,w=!1;try{if(o=(S=S.call(h)).next,x===0){if(Object(S)!==S)return;m=!1}else for(;!(m=(I=o.call(S)).done)&&(a.push(I.value),a.length!==x);m=!0);}catch(E){w=!0,g=E}finally{try{if(!m&&S.return!=null&&(i=S.return(),Object(i)!==i))return}finally{if(w)throw g}}return a}}function v(h){if(Array.isArray(h))return h}function f(h,x){for(var S=0;S<x.length;S++){var I=x[S];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(h,p(I.key),I)}}function u(h,x,S){return x&&f(h.prototype,x),S&&f(h,S),Object.defineProperty(h,"prototype",{writable:!1}),h}function p(h){var x=y(h,"string");return t(x)==="symbol"?x:String(x)}function y(h,x){if(t(h)!=="object"||h===null)return h;var S=h[Symbol.toPrimitive];if(S!==void 0){var I=S.call(h,x||"default");if(t(I)!=="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return(x==="string"?String:Number)(h)}function R(h,x){if(!(h instanceof x))throw new TypeError("Cannot call a class as a function")}var P,O;b.PROTOCOL_6=P="http://livereload.com/protocols/official-6",b.PROTOCOL_7=O="http://livereload.com/protocols/official-7";var _=u(function h(x,S){R(this,h),this.message="LiveReload protocol error (".concat(x,') after receiving data: "').concat(S,'".')}),j=function(){function h(x){R(this,h),this.handlers=x,this.reset()}return u(h,[{key:"reset",value:function(){this.protocol=null}},{key:"process",value:function(S){try{var I;if(!this.protocol){if(S.match(new RegExp("^!!ver:([\\d.]+)$")))this.protocol=6;else if(I=this._parseMessage(S,["hello"]))if(I.protocols.length)if(Array.from(I.protocols).includes(O))this.protocol=7;else if(Array.from(I.protocols).includes(P))this.protocol=6;else throw new _("no supported protocols found");else throw new _("no protocols specified in handshake message");return this.handlers.connected(this.protocol)}if(this.protocol===6){if(I=JSON.parse(S),!I.length)throw new _("protocol 6 messages must be arrays");var g=Array.from(I),o=r(g,2),i=o[0],a=o[1];if(i!=="refresh")throw new _("unknown protocol 6 command");return this.handlers.message({command:"reload",path:a.path,liveCSS:a.apply_css_live!=null?a.apply_css_live:!0})}return I=this._parseMessage(S,["reload","alert"]),this.handlers.message(I)}catch(m){if(m instanceof _)return this.handlers.error(m);throw m}}},{key:"_parseMessage",value:function(S,I){var g;try{g=JSON.parse(S)}catch(o){throw new _("unparsable JSON",S)}if(!g.command)throw new _('missing "command" key',S);if(!I.includes(g.command))throw new _("invalid command '".concat(g.command,"', only valid commands are: ").concat(I.join(", "),")"),S);return g}}]),h}();b.ProtocolError=_,b.Parser=j},{"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.constructor.js":92,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.string.includes.js":97,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/es7.array.includes.js":100,"core-js/modules/web.dom.iterable.js":102}],109:[function(e,l,b){"use strict";e("core-js/modules/es6.number.constructor.js"),e("core-js/modules/es6.object.keys.js"),e("core-js/modules/es6.object.get-own-property-descriptor.js"),e("core-js/modules/es7.object.get-own-property-descriptors.js");function t(o){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t(o)}e("core-js/modules/es6.array.slice.js"),e("core-js/modules/es6.regexp.replace.js"),e("core-js/modules/es6.regexp.constructor.js"),e("core-js/modules/es6.regexp.split.js"),e("core-js/modules/es6.symbol.js"),e("core-js/modules/es6.array.from.js"),e("core-js/modules/es6.string.iterator.js"),e("core-js/modules/es6.object.to-string.js"),e("core-js/modules/es6.array.iterator.js"),e("core-js/modules/web.dom.iterable.js"),e("core-js/modules/es6.regexp.match.js"),e("core-js/modules/es6.array.filter.js"),e("core-js/modules/es6.array.map.js");function r(o,i){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(o);i&&(m=m.filter(function(w){return Object.getOwnPropertyDescriptor(o,w).enumerable})),a.push.apply(a,m)}return a}function n(o){for(var i=1;i<arguments.length;i++){var a=arguments[i]!=null?arguments[i]:{};i%2?r(Object(a),!0).forEach(function(m){s(o,m,a[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach(function(m){Object.defineProperty(o,m,Object.getOwnPropertyDescriptor(a,m))})}return o}function s(o,i,a){return i=f(i),i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,o}function c(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function d(o,i){for(var a=0;a<i.length;a++){var m=i[a];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(o,f(m.key),m)}}function v(o,i,a){return i&&d(o.prototype,i),a&&d(o,a),Object.defineProperty(o,"prototype",{writable:!1}),o}function f(o){var i=u(o,"string");return t(i)==="symbol"?i:String(i)}function u(o,i){if(t(o)!=="object"||o===null)return o;var a=o[Symbol.toPrimitive];if(a!==void 0){var m=a.call(o,i||"default");if(t(m)!=="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(o)}function p(o,i){var a=typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!a){if(Array.isArray(o)||(a=y(o))||i&&o&&typeof o.length=="number"){a&&(o=a);var m=0,w=function(){};return{s:w,n:function(){return m>=o.length?{done:!0}:{done:!1,value:o[m++]}},e:function(A){throw A},f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,k=!1,T;return{s:function(){a=a.call(o)},n:function(){var A=a.next();return E=A.done,A},e:function(A){k=!0,T=A},f:function(){try{!E&&a.return!=null&&a.return()}finally{if(k)throw T}}}}function y(o,i){if(o){if(typeof o=="string")return R(o,i);var a=Object.prototype.toString.call(o).slice(8,-1);if(a==="Object"&&o.constructor&&(a=o.constructor.name),a==="Map"||a==="Set")return Array.from(o);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return R(o,i)}}function R(o,i){(i==null||i>o.length)&&(i=o.length);for(var a=0,m=new Array(i);a<i;a++)m[a]=o[a];return m}function P(o){var i="",a="",m=o.indexOf("#");m>=0&&(i=o.slice(m),o=o.slice(0,m));var w=o.indexOf("??");return w>=0?w+1!==o.lastIndexOf("?")&&(m=o.lastIndexOf("?")):m=o.indexOf("?"),m>=0&&(a=o.slice(m),o=o.slice(0,m)),{url:o,params:a,hash:i}}function O(o){if(!o)return"";var i,a=P(o);return o=a.url,o.indexOf("file://")===0?i=o.replace(new RegExp("^file://(localhost)?"),""):i=o.replace(new RegExp("^([^:]+:)?//([^:/]+)(:\\d*)?/"),"/"),decodeURIComponent(i)}function _(o,i){if(o=o.replace(/^\/+/,"").toLowerCase(),i=i.replace(/^\/+/,"").toLowerCase(),o===i)return 1e4;for(var a=o.split(/\/|\\/).reverse(),m=i.split(/\/|\\/).reverse(),w=Math.min(a.length,m.length),E=0;E<w&&a[E]===m[E];)++E;return E}function j(o,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(L){return L},m,w={score:0},E=p(i),k;try{for(E.s();!(k=E.n()).done;){var T=k.value;m=_(o,a(T)),m>w.score&&(w={object:T,score:m})}}catch(L){E.e(L)}finally{E.f()}return w.score===0?null:w}function h(o,i){return _(o,i)>0}var x=[{selector:"background",styleNames:["backgroundImage"]},{selector:"border",styleNames:["borderImage","webkitBorderImage","MozBorderImage"]}],S={stylesheetReloadTimeout:15e3},I=/\.(jpe?g|png|gif|svg)$/i,g=function(){function o(i,a,m){c(this,o),this.window=i,this.console=a,this.Timer=m,this.document=this.window.document,this.importCacheWaitPeriod=200,this.plugins=[]}return v(o,[{key:"addPlugin",value:function(a){return this.plugins.push(a)}},{key:"analyze",value:function(a){}},{key:"reload",value:function(a){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.options=n(n({},S),m),this.options.pluginOrder&&this.options.pluginOrder.length){this.runPluginsByOrder(a,m);return}for(var w=0,E=Array.from(this.plugins);w<E.length;w++){var k=E[w];if(k.reload&&k.reload(a,m))return}if(!(m.liveCSS&&a.match(/\.css(?:\.map)?$/i)&&this.reloadStylesheet(a))){if(m.liveImg&&a.match(I)){this.reloadImages(a);return}if(m.isChromeExtension){this.reloadChromeExtension();return}return this.reloadPage()}}},{key:"runPluginsByOrder",value:function(a,m){var w=this;m.pluginOrder.some(function(E){return E==="css"&&m.liveCSS&&a.match(/\.css(?:\.map)?$/i)&&w.reloadStylesheet(a)?!0:E==="img"&&m.liveImg&&a.match(I)?(w.reloadImages(a),!0):E==="extension"&&m.isChromeExtension?(w.reloadChromeExtension(),!0):E==="others"?(w.reloadPage(),!0):E==="external"?w.plugins.some(function(k){return k.reload&&k.reload(a,m)}):w.plugins.filter(function(k){return k.constructor.identifier===E}).some(function(k){return k.reload&&k.reload(a,m)})})}},{key:"reloadPage",value:function(){return this.window.document.location.reload()}},{key:"reloadChromeExtension",value:function(){return this.window.chrome.runtime.reload()}},{key:"reloadImages",value:function(a){for(var m=this,w,E=this.generateUniqueString(),k=0,T=Array.from(this.document.images);k<T.length;k++)w=T[k],h(a,O(w.src))&&(w.src=this.generateCacheBustUrl(w.src,E));if(this.document.querySelectorAll)for(var L=0,A=x;L<A.length;L++)for(var M=A[L],N=M.selector,F=M.styleNames,U=0,G=Array.from(this.document.querySelectorAll("[style*=".concat(N,"]")));U<G.length;U++)w=G[U],this.reloadStyleImages(w.style,F,a,E);if(this.document.styleSheets)return Array.from(this.document.styleSheets).map(function(z){return m.reloadStylesheetImages(z,a,E)})}},{key:"reloadStylesheetImages",value:function(a,m,w){var E;try{E=(a||{}).cssRules}catch(F){}if(E)for(var k=0,T=Array.from(E);k<T.length;k++){var L=T[k];switch(L.type){case CSSRule.IMPORT_RULE:this.reloadStylesheetImages(L.styleSheet,m,w);break;case CSSRule.STYLE_RULE:for(var A=0,M=x;A<M.length;A++){var N=M[A].styleNames;this.reloadStyleImages(L.style,N,m,w)}break;case CSSRule.MEDIA_RULE:this.reloadStylesheetImages(L,m,w);break}}}},{key:"reloadStyleImages",value:function(a,m,w,E){var k=this,T=p(m),L;try{for(T.s();!(L=T.n()).done;){var A=L.value,M=a[A];if(typeof M=="string"){var N=M.replace(new RegExp("\\burl\\s*\\(([^)]*)\\)"),function(F,U){return h(w,O(U))?"url(".concat(k.generateCacheBustUrl(U,E),")"):F});N!==M&&(a[A]=N)}}}catch(F){T.e(F)}finally{T.f()}}},{key:"reloadStylesheet",value:function(a){for(var m=this,w=this.options||S,E,k,T=function(){for(var V=[],W=0,Q=Array.from(m.document.getElementsByTagName("link"));W<Q.length;W++)k=Q[W],k.rel.match(/^stylesheet$/i)&&!k.__LiveReload_pendingRemoval&&V.push(k);return V}(),L=[],A=0,M=Array.from(this.document.getElementsByTagName("style"));A<M.length;A++)E=M[A],E.sheet&&this.collectImportedStylesheets(E,E.sheet,L);for(var N=0,F=Array.from(T);N<F.length;N++)k=F[N],this.collectImportedStylesheets(k,k.sheet,L);if(this.window.StyleFix&&this.document.querySelectorAll)for(var U=0,G=Array.from(this.document.querySelectorAll("style[data-href]"));U<G.length;U++)E=G[U],T.push(E);this.console.log("LiveReload found ".concat(T.length," LINKed stylesheets, ").concat(L.length," @imported stylesheets"));var z=j(a,T.concat(L),function(V){return O(m.linkHref(V))});if(z)z.object.rule?(this.console.log("LiveReload is reloading imported stylesheet: ".concat(z.object.href)),this.reattachImportedRule(z.object)):(this.console.log("LiveReload is reloading stylesheet: ".concat(this.linkHref(z.object))),this.reattachStylesheetLink(z.object));else if(w.reloadMissingCSS){this.console.log("LiveReload will reload all stylesheets because path '".concat(a,"' did not match any specific one. To disable this behavior, set 'options.reloadMissingCSS' to 'false'."));for(var H=0,K=Array.from(T);H<K.length;H++)k=K[H],this.reattachStylesheetLink(k)}else this.console.log("LiveReload will not reload path '".concat(a,"' because the stylesheet was not found on the page and 'options.reloadMissingCSS' was set to 'false'."));return!0}},{key:"collectImportedStylesheets",value:function(a,m,w){var E;try{E=(m||{}).cssRules}catch(L){}if(E&&E.length)for(var k=0;k<E.length;k++){var T=E[k];switch(T.type){case CSSRule.CHARSET_RULE:continue;case CSSRule.IMPORT_RULE:w.push({link:a,rule:T,index:k,href:T.href}),this.collectImportedStylesheets(a,T.styleSheet,w);break;default:break}}}},{key:"waitUntilCssLoads",value:function(a,m){var w=this,E=this.options||S,k=!1,T=function(){if(!k)return k=!0,m()};if(a.onload=function(){return w.console.log("LiveReload: the new stylesheet has finished loading"),w.knownToSupportCssOnLoad=!0,T()},!this.knownToSupportCssOnLoad){var L;(L=function(){return a.sheet?(w.console.log("LiveReload is polling until the new CSS finishes loading..."),T()):w.Timer.start(50,L)})()}return this.Timer.start(E.stylesheetReloadTimeout,T)}},{key:"linkHref",value:function(a){return a.href||a.getAttribute&&a.getAttribute("data-href")}},{key:"reattachStylesheetLink",value:function(a){var m=this,w;if(!a.__LiveReload_pendingRemoval){a.__LiveReload_pendingRemoval=!0,a.tagName==="STYLE"?(w=this.document.createElement("link"),w.rel="stylesheet",w.media=a.media,w.disabled=a.disabled):w=a.cloneNode(!1),w.href=this.generateCacheBustUrl(this.linkHref(a));var E=a.parentNode;return E.lastChild===a?E.appendChild(w):E.insertBefore(w,a.nextSibling),this.waitUntilCssLoads(w,function(){var k;return/AppleWebKit/.test(m.window.navigator.userAgent)?k=5:k=200,m.Timer.start(k,function(){if(a.parentNode)return a.parentNode.removeChild(a),w.onreadystatechange=null,m.window.StyleFix?m.window.StyleFix.link(w):void 0})})}}},{key:"reattachImportedRule",value:function(a){var m=this,w=a.rule,E=a.index,k=a.link,T=w.parentStyleSheet,L=this.generateCacheBustUrl(w.href),A=w.media.length?[].join.call(w.media,", "):"",M='@import url("'.concat(L,'") ').concat(A,";");w.__LiveReload_newHref=L;var N=this.document.createElement("link");return N.rel="stylesheet",N.href=L,N.__LiveReload_pendingRemoval=!0,k.parentNode&&k.parentNode.insertBefore(N,k),this.Timer.start(this.importCacheWaitPeriod,function(){if(N.parentNode&&N.parentNode.removeChild(N),w.__LiveReload_newHref===L)return T.insertRule(M,E),T.deleteRule(E+1),w=T.cssRules[E],w.__LiveReload_newHref=L,m.Timer.start(m.importCacheWaitPeriod,function(){if(w.__LiveReload_newHref===L)return T.insertRule(M,E),T.deleteRule(E+1)})})}},{key:"generateUniqueString",value:function(){return"livereload=".concat(Date.now())}},{key:"generateCacheBustUrl",value:function(a,m){var w=this.options||S,E,k;m||(m=this.generateUniqueString());var T=P(a);if(a=T.url,E=T.hash,k=T.params,w.overrideURL&&a.indexOf(w.serverURL)<0){var L=a;a=w.serverURL+w.overrideURL+"?url="+encodeURIComponent(a),this.console.log("LiveReload is overriding source URL ".concat(L," with ").concat(a))}var A=k.replace(/(\?|&)livereload=(\d+)/,function(M,N){return"".concat(N).concat(m)});return A===k&&(k.length===0?A="?".concat(m):A="".concat(k,"&").concat(m)),a+A+E}}]),o}();b.splitUrl=P,b.pathFromUrl=O,b.numberOfMatchingSegments=_,b.pickBestMatch=j,b.pathsMatch=h,b.Reloader=g},{"core-js/modules/es6.array.filter.js":83,"core-js/modules/es6.array.from.js":84,"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.array.map.js":86,"core-js/modules/es6.array.slice.js":87,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.get-own-property-descriptor.js":89,"core-js/modules/es6.object.keys.js":90,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.regexp.constructor.js":92,"core-js/modules/es6.regexp.match.js":94,"core-js/modules/es6.regexp.replace.js":95,"core-js/modules/es6.regexp.split.js":96,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/es7.object.get-own-property-descriptors.js":101,"core-js/modules/web.dom.iterable.js":102}],110:[function(e,l,b){"use strict";e("core-js/modules/es6.regexp.match.js");var t=e("./customevents"),r=window.LiveReload=new(e("./livereload")).LiveReload(window);for(var n in window)n.match(/^LiveReloadPlugin/)&&r.addPlugin(window[n]);r.addPlugin(e("./less")),r.on("shutdown",function(){return delete window.LiveReload}),r.on("connect",function(){return t.fire(document,"LiveReloadConnect")}),r.on("disconnect",function(){return t.fire(document,"LiveReloadDisconnect")}),t.bind(document,"LiveReloadShutDown",function(){return r.shutDown()})},{"./customevents":104,"./less":105,"./livereload":106,"core-js/modules/es6.regexp.match.js":94}],111:[function(e,l,b){"use strict";e("core-js/modules/es6.string.iterator.js"),e("core-js/modules/es6.object.to-string.js"),e("core-js/modules/es6.array.iterator.js"),e("core-js/modules/web.dom.iterable.js"),e("core-js/modules/es6.symbol.js"),e("core-js/modules/es6.number.constructor.js");function t(f){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},t(f)}function r(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function n(f,u){for(var p=0;p<u.length;p++){var y=u[p];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(f,c(y.key),y)}}function s(f,u,p){return u&&n(f.prototype,u),p&&n(f,p),Object.defineProperty(f,"prototype",{writable:!1}),f}function c(f){var u=d(f,"string");return t(u)==="symbol"?u:String(u)}function d(f,u){if(t(f)!=="object"||f===null)return f;var p=f[Symbol.toPrimitive];if(p!==void 0){var y=p.call(f,u||"default");if(t(y)!=="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(f)}var v=function(){function f(u){var p=this;r(this,f),this.func=u,this.running=!1,this.id=null,this._handler=function(){return p.running=!1,p.id=null,p.func()}}return s(f,[{key:"start",value:function(p){this.running&&clearTimeout(this.id),this.id=setTimeout(this._handler,p),this.running=!0}},{key:"stop",value:function(){this.running&&(clearTimeout(this.id),this.running=!1,this.id=null)}}]),f}();v.start=function(f,u){return setTimeout(u,f)},b.Timer=v},{"core-js/modules/es6.array.iterator.js":85,"core-js/modules/es6.number.constructor.js":88,"core-js/modules/es6.object.to-string.js":91,"core-js/modules/es6.string.iterator.js":98,"core-js/modules/es6.symbol.js":99,"core-js/modules/web.dom.iterable.js":102}]},{},[110]);function te(){}te.identifier="hugoReloader";te.version="0.9";te.prototype.reload=function(e,l){var b="__hugo_navigate";if(e.lastIndexOf(b,0)!==0)return!1;e=e.substring(b.length);var t=l.overrideURL&&l.overrideURL!=window.location.port;return!t&&window.location.pathname===e?window.location.reload():t?window.location=location.protocol+"//"+location.hostname+":"+l.overrideURL+e:window.location.pathname=e,!0};LiveReload.addPlugin(te);})();