Comparing version 10.0.4 to 11.0.0
@@ -1,1 +0,1 @@ | ||
!function t(e,r,n){function o(s,i){if(!r[s]){if(!e[s]){var h="function"==typeof require&&require;if(!i&&h)return h(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[s]={exports:{}};e[s][0].call(u.exports,function(t){var r=e[s][1][t];return o(r||t)},u,u.exports,t,e,r,n)}return r[s].exports}for(var a="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){function n(){window.location.reload(!0)}var o=t("reload-css");e.exports=function(){function t(){return d&&m?void console.warn("[budo] LiveReload disconnected. You may need to generate and trust a self-signed certificate, see here:\nhttps://github.com/mattdesl/budo/blob/master/docs/command-line-usage.md#ssl-on-ios"):m?void console.warn("[budo] LiveReload disconnected. Please reload the page to retry."):h>=i?void console.warn("[budo] LiveReload disconnected, exceeded retry count. Please reload the page to retry."):(c||(c=!0,console.warn("[budo] LiveReload disconnected, retrying...")),h++,clearTimeout(a),void(a=setTimeout(e,s)))}function e(){y&&(y.onclose=function(){},y.close()),y=r()}function r(){var e=m?"wss://":"ws://",r=e+p+"/livereload",a=new window.WebSocket(r);return a.onmessage=function(t){var e;try{e=JSON.parse(t.data)}catch(e){return void console.warn("Error parsing LiveReload server data: "+t.data)}"reload"===e.event&&(/^\.?css$/i.test(e.ext)?o(e.url):n()),g.forEach(function(t){t(e)})},a.onclose=function(e){1e3!==e.code&&1001!==e.code&&t()},a.onopen=function(){c&&(c=!1,h=0,console.warn("[budo] LiveReload reconnected.")),v.length&&1===a.readyState&&(v.forEach(function(t){a.send(t)}),v.length=0)},a.onerror=function(){return!1},a}var a,s=1e3,i=50,h=0,c=!1,u=document.location.protocol,l=document.location.hostname,f=document.location.port,p=l+":"+f,d=/(iOS|iPhone|iPad|iPod)/i.test(navigator.userAgent),m=/^https:/i.test(u),v=[],y=r(),g=[];return{send:function(t){t=JSON.stringify(t),y&&1===y.readyState?y.send(t):v.push(t)},listen:function(t){if("function"!=typeof t)throw new TypeError("cb must be a function!");g.push(t)},reloadPage:n,reloadCSS:o}}()},{"reload-css":8}],2:[function(t,e,r){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,i,h=n(t),c=1;c<arguments.length;c++){r=Object(arguments[c]);for(var u in r)a.call(r,u)&&(h[u]=r[u]);if(o){i=o(r);for(var l=0;l<i.length;l++)s.call(r,i[l])&&(h[i[l]]=r[i[l]])}}return h}},{}],3:[function(t,e,r){(function(t){!function(n){function o(t){throw new RangeError(E[t])}function a(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function s(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(U,"."),n+a(t.split("."),e).join(".")}function i(t){for(var e,r,n=[],o=0,a=t.length;o<a;)e=t.charCodeAt(o++),e>=55296&&e<=56319&&o<a?(r=t.charCodeAt(o++),56320==(64512&r)?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--)):n.push(e);return n}function h(t){return a(t,function(t){var e="";return t>65535&&(t-=65536,e+=$(t>>>10&1023|55296),t=56320|1023&t),e+=$(t)}).join("")}function c(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:O}function u(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function l(t,e,r){var n=0;for(t=r?P(t/q):t>>1,t+=P(t/e);t>L*A>>1;n+=O)t=P(t/L);return P(n+(L+1)*t/(t+C))}function f(t){var e,r,n,a,s,i,u,f,p,d,m=[],v=t.length,y=0,g=S,b=I;for(r=t.lastIndexOf(R),r<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&o("not-basic"),m.push(t.charCodeAt(n));for(a=r>0?r+1:0;a<v;){for(s=y,i=1,u=O;a>=v&&o("invalid-input"),f=c(t.charCodeAt(a++)),(f>=O||f>P((w-y)/i))&&o("overflow"),y+=f*i,p=u<=b?x:u>=b+A?A:u-b,!(f<p);u+=O)d=O-p,i>P(w/d)&&o("overflow"),i*=d;e=m.length+1,b=l(y-s,e,0==s),P(y/e)>w-g&&o("overflow"),g+=P(y/e),y%=e,m.splice(y++,0,g)}return h(m)}function p(t){var e,r,n,a,s,h,c,f,p,d,m,v,y,g,b,j=[];for(t=i(t),v=t.length,e=S,r=0,s=I,h=0;h<v;++h)(m=t[h])<128&&j.push($(m));for(n=a=j.length,a&&j.push(R);n<v;){for(c=w,h=0;h<v;++h)(m=t[h])>=e&&m<c&&(c=m);for(y=n+1,c-e>P((w-r)/y)&&o("overflow"),r+=(c-e)*y,e=c,h=0;h<v;++h)if(m=t[h],m<e&&++r>w&&o("overflow"),m==e){for(f=r,p=O;d=p<=s?x:p>=s+A?A:p-s,!(f<d);p+=O)b=f-d,g=O-d,j.push($(u(d+b%g,0))),f=P(b/g);j.push($(u(f,0))),s=l(r,y,n==a),r=0,++n}++r,++e}return j.join("")}function d(t){return s(t,function(t){return N.test(t)?f(t.slice(4).toLowerCase()):t})}function m(t){return s(t,function(t){return k.test(t)?"xn--"+p(t):t})}var v="object"==typeof r&&r&&!r.nodeType&&r,y="object"==typeof e&&e&&!e.nodeType&&e,g="object"==typeof t&&t;g.global!==g&&g.window!==g&&g.self!==g||(n=g);var b,j,w=2147483647,O=36,x=1,A=26,C=38,q=700,I=72,S=128,R="-",N=/^xn--/,k=/[^\x20-\x7E]/,U=/[\x2E\u3002\uFF0E\uFF61]/g,E={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=O-x,P=Math.floor,$=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:i,encode:h},decode:f,encode:p,toASCII:m,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(v&&y)if(e.exports==v)y.exports=b;else for(j in b)b.hasOwnProperty(j)&&(v[j]=b[j]);else n.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(t,e,r){"use strict";function n(t){switch(t.arrayFormat){case"index":return function(e,r,n){return null===r?[a(e,t),"[",n,"]"].join(""):[a(e,t),"[",a(n,t),"]=",a(r,t)].join("")};case"bracket":return function(e,r){return null===r?a(e,t):[a(e,t),"[]=",a(r,t)].join("")};default:return function(e,r){return null===r?a(e,t):[a(e,t),"=",a(r,t)].join("")}}}function o(t){var e;switch(t.arrayFormat){case"index":return function(t,r,n){if(e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),!e)return void(n[t]=r);void 0===n[t]&&(n[t]={}),n[t][e[1]]=r};case"bracket":return function(t,r,n){return e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0===n[t]?void(n[t]=[r]):void(n[t]=[].concat(n[t],r)):void(n[t]=r)};default:return function(t,e,r){if(void 0===r[t])return void(r[t]=e);r[t]=[].concat(r[t],e)}}}function a(t,e){return e.encode?e.strict?i(t):encodeURIComponent(t):t}function s(t){return Array.isArray(t)?t.sort():"object"==typeof t?s(Object.keys(t)).sort(function(t,e){return Number(t)-Number(e)}).map(function(e){return t[e]}):t}var i=t("strict-uri-encode"),h=t("object-assign");r.extract=function(t){return t.split("?")[1]||""},r.parse=function(t,e){e=h({arrayFormat:"none"},e);var r=o(e),n=Object.create(null);return"string"!=typeof t?n:(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),o=e.shift(),a=e.length>0?e.join("="):void 0;a=void 0===a?null:decodeURIComponent(a),r(decodeURIComponent(o),a,n)}),Object.keys(n).sort().reduce(function(t,e){var r=n[e];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?t[e]=s(r):t[e]=r,t},Object.create(null))):n},r.stringify=function(t,e){e=h({encode:!0,strict:!0,arrayFormat:"none"},e);var r=n(e);return t?Object.keys(t).sort().map(function(n){var o=t[n];if(void 0===o)return"";if(null===o)return a(n,e);if(Array.isArray(o)){var s=[];return o.slice().forEach(function(t){void 0!==t&&s.push(r(n,t,s.length))}),s.join("&")}return a(n,e)+"="+a(o,e)}).filter(function(t){return t.length>0}).join("&"):""}},{"object-assign":2,"strict-uri-encode":10}],5:[function(t,e,r){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,r,a){e=e||"&",r=r||"=";var s={};if("string"!=typeof t||0===t.length)return s;t=t.split(e);var i=1e3;a&&"number"==typeof a.maxKeys&&(i=a.maxKeys);var h=t.length;i>0&&h>i&&(h=i);for(var c=0;c<h;++c){var u,l,f,p,d=t[c].replace(/\+/g,"%20"),m=d.indexOf(r);m>=0?(u=d.substr(0,m),l=d.substr(m+1)):(u=d,l=""),f=decodeURIComponent(u),p=decodeURIComponent(l),n(s,f)?o(s[f])?s[f].push(p):s[f]=[s[f],p]:s[f]=p}return s};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],6:[function(t,e,r){"use strict";function n(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n<t.length;n++)r.push(e(t[n],n));return r}var o=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};e.exports=function(t,e,r,i){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"==typeof t?n(s(t),function(s){var i=encodeURIComponent(o(s))+r;return a(t[s])?n(t[s],function(t){return i+encodeURIComponent(o(t))}).join(e):i+encodeURIComponent(o(t[s]))}).join(e):i?encodeURIComponent(o(i))+r+encodeURIComponent(o(t)):""};var a=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},s=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}},{}],7:[function(t,e,r){"use strict";r.decode=r.parse=t("./decode"),r.encode=r.stringify=t("./encode")},{"./decode":5,"./encode":6}],8:[function(t,e,r){function n(t){return t.busted||(t.rule=u(t.rule,t.index)),t.busted=!0,t}function o(t,e){var r=t.getAttribute("href"),n=t.cloneNode(!1);n.href=p(r);var o=t.parentNode;return o.lastChild===t?o.appendChild(n):o.insertBefore(n,t.nextSibling),n.onload=function(){t.parentNode&&t.parentNode.removeChild(t),e&&e()},n}function a(t,e){if(h(t))return!1;if("LINK"===t.tagName){if(!t.getAttribute("href"))return!1;if(e&&!s(t))return!1}return!0}function s(t){var e=t.getAttribute("href");if(!e||"stylesheet"!==t.getAttribute("rel"))return!1;var r=m.parse(e);return(!r.protocol||r.protocol===window.document.location.protocol)&&(!r.host||v.indexOf(r.host.toLowerCase())>=0)}function i(t){var e=[];return t.forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),e}function h(t){return"print"===t.getAttribute("media")}function c(t){return Array.prototype.slice.call(document.getElementsByTagName(t))}function u(t,e){var r=t.parentStyleSheet,n=p(t.href),o="";try{o=t.media.length?Array.prototype.join.call(t.media,", "):""}catch(t){}var a='@import url("'+n+'") '+o+";";return r.insertRule(a,e),r.deleteRule(e+1),r.cssRules[e]}function l(t){for(var e=t;e.parentImport;)e=e.parentImport;return e}function f(t,e,r,n,o){if(e){var a;try{a=e.cssRules}catch(t){}if(a&&0!==a.length)for(var s=0;s<a.length;s++){var i=a[s];if(i.type===window.CSSRule.IMPORT_RULE){var h=i.parentStyleSheet.href||document.location.href,c=m.resolve(h,i.href),u=m.key(c,n),l={index:s,rule:i,parentImport:o,key:u,href:i.href};r.push(l),f(t,i.styleSheet,r,n,l)}}}}function p(t){var e=m.parse(t),r=d.parse(e.search);return r._livereload=String(Date.now()),e.query=void 0,e.search=d.stringify(r),m.format(e)}var d=t("query-string"),m=t("./lib/url"),v=function(){var t=["localhost","127.0.0.1"].map(function(t){return t+":"+window.document.location.port});return"localhost"!==window.document.location.hostname&&(t=t.concat([window.document.location.host])),t.map(function(t){return t.toLowerCase()})}();e.exports=function(t,e){var r=!0;e&&!1===e.local&&(r=!1);var s=document.location.pathname,h=document.querySelector("base");if(h){s=h.getAttribute("href");var u=m.parse(s);u.pathname="/",u.hash=null,u.query=null,u.search=null,s=m.format(u)}var p=["link","style"].map(c).reduce(function(t,e){return t.concat(e)},[]).filter(function(t){return a(t,r)}).map(function(t){var e={element:t},r=t.getAttribute("href");return"LINK"===t.tagName&&r&&(e.key=m.key(r,s)),e}),d=[];p.forEach(function(t){f(t,t.element.sheet,d,s)});var v=t?m.key(t,s):null,y=d;v&&(y=y.filter(function(t){return t.key===v})),y=y.map(l),y=i(y).reverse(),y.forEach(n),p.filter(function(t){var e=!v||t.key===v;return"LINK"===t.element.tagName&&e}).forEach(function(t){t.element=o(t.element)})}},{"./lib/url":9,"query-string":4}],9:[function(t,e,r){var n=t("url");e.exports.resolve=n.resolve.bind(n),e.exports.format=n.format.bind(n),e.exports.parse=function(t){return 0===t.indexOf("//")&&(t=document.location.protocol+t),n.parse(t)},e.exports.key=function(t,e){var r=n.parse(t);return t=n.format({pathname:(r.pathname||"").replace(/\/+$/,"/")}),n.resolve(e||document.location.pathname,t)}},{url:11}],10:[function(t,e,r){"use strict";e.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},{}],11:[function(t,e,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(t,e,r){if(t&&c.isObject(t)&&t instanceof n)return t;var o=new n;return o.parse(t,e,r),o}function a(t){return c.isString(t)&&(t=o(t)),t instanceof n?t.format():n.prototype.format.call(t)}function s(t,e){return o(t,!1,!0).resolve(e)}function i(t,e){return t?o(t,!1,!0).resolveObject(e):e}var h=t("punycode"),c=t("./util");r.parse=o,r.resolve=s,r.resolveObject=i,r.format=a,r.Url=n;var u=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,p=["<",">",'"',"`"," ","\r","\n","\t"],d=["{","}","|","\\","^","`"].concat(p),m=["'"].concat(d),v=["%","/","?",";","#"].concat(m),y=["/","?","#"],g={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},j={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=t("querystring");n.prototype.parse=function(t,e,r){if(!c.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),o=-1!==n&&n<t.indexOf("#")?"?":"#",a=t.split(o);a[0]=a[0].replace(/\\/g,"/"),t=a.join(o);var s=t;if(s=s.trim(),!r&&1===t.split("#").length){var i=f.exec(s);if(i)return this.path=s,this.href=s,this.pathname=i[1],i[2]?(this.search=i[2],this.query=e?w.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=u.exec(s);if(l){l=l[0];var p=l.toLowerCase();this.protocol=p,s=s.substr(l.length)}if(r||l||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var d="//"===s.substr(0,2);!d||l&&b[l]||(s=s.substr(2),this.slashes=!0)}if(!b[l]&&(d||l&&!j[l])){for(var O=-1,x=0;x<y.length;x++){var A=s.indexOf(y[x]);-1!==A&&(-1===O||A<O)&&(O=A)}var C,q;q=-1===O?s.lastIndexOf("@"):s.lastIndexOf("@",O),-1!==q&&(C=s.slice(0,q),s=s.slice(q+1),this.auth=decodeURIComponent(C)),O=-1;for(var x=0;x<v.length;x++){var A=s.indexOf(v[x]);-1!==A&&(-1===O||A<O)&&(O=A)}-1===O&&(O=s.length),this.host=s.slice(0,O),s=s.slice(O),this.parseHost(),this.hostname=this.hostname||"";var I="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!I)for(var S=this.hostname.split(/\./),x=0,R=S.length;x<R;x++){var N=S[x];if(N&&!N.match(/^[+a-z0-9A-Z_-]{0,63}$/)){for(var k="",U=0,E=N.length;U<E;U++)N.charCodeAt(U)>127?k+="x":k+=N[U];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var L=S.slice(0,x),P=S.slice(x+1),$=N.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);$&&(L.push($[1]),P.unshift($[2])),P.length&&(s="/"+P.join(".")+s),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=h.toASCII(this.hostname));var F=this.port?":"+this.port:"",T=this.hostname||"";this.host=T+F,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!g[p])for(var x=0,R=m.length;x<R;x++){var _=m[x];if(-1!==s.indexOf(_)){var K=encodeURIComponent(_);K===_&&(K=escape(_)),s=s.split(_).join(K)}}var z=s.indexOf("#");-1!==z&&(this.hash=s.substr(z),s=s.slice(0,z));var B=s.indexOf("?");if(-1!==B?(this.search=s.substr(B),this.query=s.substr(B+1),e&&(this.query=w.parse(this.query)),s=s.slice(0,B)):e&&(this.search="",this.query={}),s&&(this.pathname=s),j[p]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var F=this.pathname||"",D=this.search||"";this.path=F+D}return this.href=this.format(),this},n.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&c.isObject(this.query)&&Object.keys(this.query).length&&(a=w.stringify(this.query));var s=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||j[e])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,function(t){return encodeURIComponent(t)}),s=s.replace("#","%23"),e+o+r+s+n},n.prototype.resolve=function(t){return this.resolveObject(o(t,!1,!0)).format()},n.prototype.resolveObject=function(t){if(c.isString(t)){var e=new n;e.parse(t,!1,!0),t=e}for(var r=new n,o=Object.keys(this),a=0;a<o.length;a++){var s=o[a];r[s]=this[s]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var i=Object.keys(t),h=0;h<i.length;h++){var u=i[h];"protocol"!==u&&(r[u]=t[u])}return j[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!j[t.protocol]){for(var l=Object.keys(t),f=0;f<l.length;f++){var p=l[f];r[p]=t[p]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||b[t.protocol])r.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),g=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=g||y||r.host&&t.pathname,O=w,x=r.pathname&&r.pathname.split("/")||[],d=t.pathname&&t.pathname.split("/")||[],A=r.protocol&&!j[r.protocol];if(A&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),w=w&&(""===d[0]||""===x[0])),g)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,x=d;else if(d.length)x||(x=[]),x.pop(),x=x.concat(d),r.search=t.search,r.query=t.query;else if(!c.isNullOrUndefined(t.search)){if(A){r.hostname=r.host=x.shift();var C=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");C&&(r.auth=C.shift(),r.host=r.hostname=C.shift())}return r.search=t.search,r.query=t.query,c.isNull(r.pathname)&&c.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var q=x.slice(-1)[0],I=(r.host||t.host||x.length>1)&&("."===q||".."===q)||""===q,S=0,R=x.length;R>=0;R--)q=x[R],"."===q?x.splice(R,1):".."===q?(x.splice(R,1),S++):S&&(x.splice(R,1),S--);if(!w&&!O)for(;S--;S)x.unshift("..");!w||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),I&&"/"!==x.join("/").substr(-1)&&x.push("");var N=""===x[0]||x[0]&&"/"===x[0].charAt(0);if(A){r.hostname=r.host=N?"":x.length?x.shift():"";var C=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");C&&(r.auth=C.shift(),r.host=r.hostname=C.shift())}return w=w||r.host&&x.length,w&&!N&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),c.isNull(r.pathname)&&c.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var t=this.host,e=l.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{"./util":12,punycode:3,querystring:7}],12:[function(t,e,r){"use strict";e.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},{}]},{},[1]); | ||
!function t(e,r,n){function o(s,i){if(!r[s]){if(!e[s]){var h="function"==typeof require&&require;if(!i&&h)return h(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[s]={exports:{}};e[s][0].call(u.exports,function(t){var r=e[s][1][t];return o(r||t)},u,u.exports,t,e,r,n)}return r[s].exports}for(var a="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){function n(){window.location.reload(!0)}var o=t("reload-css");e.exports=function(){function t(){return d&&m?void console.warn("[budo] LiveReload disconnected. You may need to generate and trust a self-signed certificate, see here:\nhttps://github.com/mattdesl/budo/blob/master/docs/command-line-usage.md#ssl-on-ios"):m?void console.warn("[budo] LiveReload disconnected. Please reload the page to retry."):h>=i?void console.warn("[budo] LiveReload disconnected, exceeded retry count. Please reload the page to retry."):(c||(c=!0,console.warn("[budo] LiveReload disconnected, retrying...")),h++,clearTimeout(a),void(a=setTimeout(e,s)))}function e(){y&&(y.onclose=function(){},y.close()),y=r()}function r(){var e=m?"wss://":"ws://",r=e+p+"/livereload",a=new window.WebSocket(r);return a.onmessage=function(t){var e;try{e=JSON.parse(t.data)}catch(e){return void console.warn("Error parsing LiveReload server data: "+t.data)}"reload"===e.event&&(/^\.?css$/i.test(e.ext)?o(e.url):n()),g.forEach(function(t){t(e)})},a.onclose=function(e){1e3!==e.code&&1001!==e.code&&t()},a.onopen=function(){c&&(c=!1,h=0,console.warn("[budo] LiveReload reconnected.")),v.length&&1===a.readyState&&(v.forEach(function(t){a.send(t)}),v.length=0)},a.onerror=function(){return!1},a}var a,s=1e3,i=50,h=0,c=!1,u=document.location.protocol,l=document.location.hostname,f=document.location.port,p=l+":"+f,d=/(iOS|iPhone|iPad|iPod)/i.test(navigator.userAgent),m=/^https:/i.test(u),v=[],y=r(),g=[];return{send:function(t){t=JSON.stringify(t),y&&1===y.readyState?y.send(t):v.push(t)},listen:function(t){if("function"!=typeof t)throw new TypeError("cb must be a function!");g.push(t)},reloadPage:n,reloadCSS:o}}()},{"reload-css":6}],2:[function(t,e,r){(function(t){!function(n){function o(t){throw new RangeError(E[t])}function a(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function s(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(U,"."),n+a(t.split("."),e).join(".")}function i(t){for(var e,r,n=[],o=0,a=t.length;o<a;)e=t.charCodeAt(o++),e>=55296&&e<=56319&&o<a?(r=t.charCodeAt(o++),56320==(64512&r)?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--)):n.push(e);return n}function h(t){return a(t,function(t){var e="";return t>65535&&(t-=65536,e+=F(t>>>10&1023|55296),t=56320|1023&t),e+=F(t)}).join("")}function c(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:O}function u(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function l(t,e,r){var n=0;for(t=r?P(t/q):t>>1,t+=P(t/e);t>L*A>>1;n+=O)t=P(t/L);return P(n+(L+1)*t/(t+C))}function f(t){var e,r,n,a,s,i,u,f,p,d,m=[],v=t.length,y=0,g=S,b=I;for(r=t.lastIndexOf(R),r<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&o("not-basic"),m.push(t.charCodeAt(n));for(a=r>0?r+1:0;a<v;){for(s=y,i=1,u=O;a>=v&&o("invalid-input"),f=c(t.charCodeAt(a++)),(f>=O||f>P((w-y)/i))&&o("overflow"),y+=f*i,p=u<=b?x:u>=b+A?A:u-b,!(f<p);u+=O)d=O-p,i>P(w/d)&&o("overflow"),i*=d;e=m.length+1,b=l(y-s,e,0==s),P(y/e)>w-g&&o("overflow"),g+=P(y/e),y%=e,m.splice(y++,0,g)}return h(m)}function p(t){var e,r,n,a,s,h,c,f,p,d,m,v,y,g,b,j=[];for(t=i(t),v=t.length,e=S,r=0,s=I,h=0;h<v;++h)(m=t[h])<128&&j.push(F(m));for(n=a=j.length,a&&j.push(R);n<v;){for(c=w,h=0;h<v;++h)(m=t[h])>=e&&m<c&&(c=m);for(y=n+1,c-e>P((w-r)/y)&&o("overflow"),r+=(c-e)*y,e=c,h=0;h<v;++h)if(m=t[h],m<e&&++r>w&&o("overflow"),m==e){for(f=r,p=O;d=p<=s?x:p>=s+A?A:p-s,!(f<d);p+=O)b=f-d,g=O-d,j.push(F(u(d+b%g,0))),f=P(b/g);j.push(F(u(f,0))),s=l(r,y,n==a),r=0,++n}++r,++e}return j.join("")}function d(t){return s(t,function(t){return N.test(t)?f(t.slice(4).toLowerCase()):t})}function m(t){return s(t,function(t){return k.test(t)?"xn--"+p(t):t})}var v="object"==typeof r&&r&&!r.nodeType&&r,y="object"==typeof e&&e&&!e.nodeType&&e,g="object"==typeof t&&t;g.global!==g&&g.window!==g&&g.self!==g||(n=g);var b,j,w=2147483647,O=36,x=1,A=26,C=38,q=700,I=72,S=128,R="-",N=/^xn--/,k=/[^\x20-\x7E]/,U=/[\x2E\u3002\uFF0E\uFF61]/g,E={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=O-x,P=Math.floor,F=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:i,encode:h},decode:f,encode:p,toASCII:m,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(v&&y)if(e.exports==v)y.exports=b;else for(j in b)b.hasOwnProperty(j)&&(v[j]=b[j]);else n.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,e,r){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,r,a){e=e||"&",r=r||"=";var s={};if("string"!=typeof t||0===t.length)return s;var i=/\+/g;t=t.split(e);var h=1e3;a&&"number"==typeof a.maxKeys&&(h=a.maxKeys);var c=t.length;h>0&&c>h&&(c=h);for(var u=0;u<c;++u){var l,f,p,d,m=t[u].replace(i,"%20"),v=m.indexOf(r);v>=0?(l=m.substr(0,v),f=m.substr(v+1)):(l=m,f=""),p=decodeURIComponent(l),d=decodeURIComponent(f),n(s,p)?o(s[p])?s[p].push(d):s[p]=[s[p],d]:s[p]=d}return s};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],4:[function(t,e,r){"use strict";function n(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n<t.length;n++)r.push(e(t[n],n));return r}var o=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};e.exports=function(t,e,r,i){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"==typeof t?n(s(t),function(s){var i=encodeURIComponent(o(s))+r;return a(t[s])?n(t[s],function(t){return i+encodeURIComponent(o(t))}).join(e):i+encodeURIComponent(o(t[s]))}).join(e):i?encodeURIComponent(o(i))+r+encodeURIComponent(o(t)):""};var a=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},s=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}},{}],5:[function(t,e,r){"use strict";r.decode=r.parse=t("./decode"),r.encode=r.stringify=t("./encode")},{"./decode":3,"./encode":4}],6:[function(t,e,r){function n(t){return t.busted||(t.rule=u(t.rule,t.index)),t.busted=!0,t}function o(t,e){var r=t.getAttribute("href"),n=t.cloneNode(!1);n.href=p(r);var o=t.parentNode;return o.lastChild===t?o.appendChild(n):o.insertBefore(n,t.nextSibling),n.onload=function(){t.parentNode&&t.parentNode.removeChild(t),e&&e()},n}function a(t,e){if(h(t))return!1;if("LINK"===t.tagName){if(!t.getAttribute("href"))return!1;if(e&&!s(t))return!1}return!0}function s(t){var e=t.getAttribute("href");if(!e||"stylesheet"!==t.getAttribute("rel"))return!1;var r=m.parse(e);return(!r.protocol||r.protocol===window.document.location.protocol)&&(!r.host||v.indexOf(r.host.toLowerCase())>=0)}function i(t){var e=[];return t.forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),e}function h(t){return"print"===t.getAttribute("media")}function c(t){return Array.prototype.slice.call(document.getElementsByTagName(t))}function u(t,e){var r=t.parentStyleSheet,n=p(t.href),o="";try{o=t.media.length?Array.prototype.join.call(t.media,", "):""}catch(t){}var a='@import url("'+n+'") '+o+";";return r.insertRule(a,e),r.deleteRule(e+1),r.cssRules[e]}function l(t){for(var e=t;e.parentImport;)e=e.parentImport;return e}function f(t,e,r,n,o){if(e){var a;try{a=e.cssRules}catch(t){}if(a&&0!==a.length)for(var s=0;s<a.length;s++){var i=a[s];if(i.type===window.CSSRule.IMPORT_RULE){var h=i.parentStyleSheet.href||document.location.href,c=m.resolve(h,i.href),u=m.key(c,n),l={index:s,rule:i,parentImport:o,key:u,href:i.href};r.push(l),f(t,i.styleSheet,r,n,l)}}}}function p(t){var e=m.parse(t),r=d.parse(e.search);return r._livereload=String(Date.now()),e.query=void 0,e.search=d.stringify(r),m.format(e)}var d=t("query-string"),m=t("./lib/url"),v=function(){var t=["localhost","127.0.0.1"].map(function(t){return t+":"+window.document.location.port});return"localhost"!==window.document.location.hostname&&(t=t.concat([window.document.location.host])),t.map(function(t){return t.toLowerCase()})}();e.exports=function(t,e){var r=!0;e&&!1===e.local&&(r=!1);var s=document.location.pathname,h=document.querySelector("base");if(h){s=h.getAttribute("href");var u=m.parse(s);u.pathname="/",u.hash=null,u.query=null,u.search=null,s=m.format(u)}var p=["link","style"].map(c).reduce(function(t,e){return t.concat(e)},[]).filter(function(t){return a(t,r)}).map(function(t){var e={element:t},r=t.getAttribute("href");return"LINK"===t.tagName&&r&&(e.key=m.key(r,s)),e}),d=[];p.forEach(function(t){f(t,t.element.sheet,d,s)});var v=t?m.key(t,s):null,y=d;v&&(y=y.filter(function(t){return t.key===v})),y=y.map(l),y=i(y).reverse(),y.forEach(n),p.filter(function(t){var e=!v||t.key===v;return"LINK"===t.element.tagName&&e}).forEach(function(t){t.element=o(t.element)})}},{"./lib/url":7,"query-string":9}],7:[function(t,e,r){var n=t("url");e.exports.resolve=n.resolve.bind(n),e.exports.format=n.format.bind(n),e.exports.parse=function(t){return 0===t.indexOf("//")&&(t=document.location.protocol+t),n.parse(t)},e.exports.key=function(t,e){var r=n.parse(t);return t=n.format({pathname:(r.pathname||"").replace(/\/+$/,"/")}),n.resolve(e||document.location.pathname,t)}},{url:11}],8:[function(t,e,r){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,i,h=n(t),c=1;c<arguments.length;c++){r=Object(arguments[c]);for(var u in r)a.call(r,u)&&(h[u]=r[u]);if(o){i=o(r);for(var l=0;l<i.length;l++)s.call(r,i[l])&&(h[i[l]]=r[i[l]])}}return h}},{}],9:[function(t,e,r){"use strict";function n(t){switch(t.arrayFormat){case"index":return function(e,r,n){return null===r?[a(e,t),"[",n,"]"].join(""):[a(e,t),"[",a(n,t),"]=",a(r,t)].join("")};case"bracket":return function(e,r){return null===r?a(e,t):[a(e,t),"[]=",a(r,t)].join("")};default:return function(e,r){return null===r?a(e,t):[a(e,t),"=",a(r,t)].join("")}}}function o(t){var e;switch(t.arrayFormat){case"index":return function(t,r,n){if(e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),!e)return void(n[t]=r);void 0===n[t]&&(n[t]={}),n[t][e[1]]=r};case"bracket":return function(t,r,n){return e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0===n[t]?void(n[t]=[r]):void(n[t]=[].concat(n[t],r)):void(n[t]=r)};default:return function(t,e,r){if(void 0===r[t])return void(r[t]=e);r[t]=[].concat(r[t],e)}}}function a(t,e){return e.encode?e.strict?i(t):encodeURIComponent(t):t}function s(t){return Array.isArray(t)?t.sort():"object"==typeof t?s(Object.keys(t)).sort(function(t,e){return Number(t)-Number(e)}).map(function(e){return t[e]}):t}var i=t("strict-uri-encode"),h=t("object-assign");r.extract=function(t){return t.split("?")[1]||""},r.parse=function(t,e){e=h({arrayFormat:"none"},e);var r=o(e),n=Object.create(null);return"string"!=typeof t?n:(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),o=e.shift(),a=e.length>0?e.join("="):void 0;a=void 0===a?null:decodeURIComponent(a),r(decodeURIComponent(o),a,n)}),Object.keys(n).sort().reduce(function(t,e){var r=n[e];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?t[e]=s(r):t[e]=r,t},Object.create(null))):n},r.stringify=function(t,e){e=h({encode:!0,strict:!0,arrayFormat:"none"},e);var r=n(e);return t?Object.keys(t).sort().map(function(n){var o=t[n];if(void 0===o)return"";if(null===o)return a(n,e);if(Array.isArray(o)){var s=[];return o.slice().forEach(function(t){void 0!==t&&s.push(r(n,t,s.length))}),s.join("&")}return a(n,e)+"="+a(o,e)}).filter(function(t){return t.length>0}).join("&"):""}},{"object-assign":8,"strict-uri-encode":10}],10:[function(t,e,r){"use strict";e.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},{}],11:[function(t,e,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(t,e,r){if(t&&c.isObject(t)&&t instanceof n)return t;var o=new n;return o.parse(t,e,r),o}function a(t){return c.isString(t)&&(t=o(t)),t instanceof n?t.format():n.prototype.format.call(t)}function s(t,e){return o(t,!1,!0).resolve(e)}function i(t,e){return t?o(t,!1,!0).resolveObject(e):e}var h=t("punycode"),c=t("./util");r.parse=o,r.resolve=s,r.resolveObject=i,r.format=a,r.Url=n;var u=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,p=["<",">",'"',"`"," ","\r","\n","\t"],d=["{","}","|","\\","^","`"].concat(p),m=["'"].concat(d),v=["%","/","?",";","#"].concat(m),y=["/","?","#"],g=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,j={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},x=t("querystring");n.prototype.parse=function(t,e,r){if(!c.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),o=-1!==n&&n<t.indexOf("#")?"?":"#",a=t.split(o),s=/\\/g;a[0]=a[0].replace(s,"/"),t=a.join(o);var i=t;if(i=i.trim(),!r&&1===t.split("#").length){var l=f.exec(i);if(l)return this.path=i,this.href=i,this.pathname=l[1],l[2]?(this.search=l[2],this.query=e?x.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var p=u.exec(i);if(p){p=p[0];var d=p.toLowerCase();this.protocol=d,i=i.substr(p.length)}if(r||p||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var A="//"===i.substr(0,2);!A||p&&w[p]||(i=i.substr(2),this.slashes=!0)}if(!w[p]&&(A||p&&!O[p])){for(var C=-1,q=0;q<y.length;q++){var I=i.indexOf(y[q]);-1!==I&&(-1===C||I<C)&&(C=I)}var S,R;R=-1===C?i.lastIndexOf("@"):i.lastIndexOf("@",C),-1!==R&&(S=i.slice(0,R),i=i.slice(R+1),this.auth=decodeURIComponent(S)),C=-1;for(var q=0;q<v.length;q++){var I=i.indexOf(v[q]);-1!==I&&(-1===C||I<C)&&(C=I)}-1===C&&(C=i.length),this.host=i.slice(0,C),i=i.slice(C),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var k=this.hostname.split(/\./),q=0,U=k.length;q<U;q++){var E=k[q];if(E&&!E.match(g)){for(var L="",P=0,F=E.length;P<F;P++)E.charCodeAt(P)>127?L+="x":L+=E[P];if(!L.match(g)){var T=k.slice(0,q),$=k.slice(q+1),_=E.match(b);_&&(T.push(_[1]),$.unshift(_[2])),$.length&&(i="/"+$.join(".")+i),this.hostname=T.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=h.toASCII(this.hostname));var K=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+K,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!j[d])for(var q=0,U=m.length;q<U;q++){var B=m[q];if(-1!==i.indexOf(B)){var D=encodeURIComponent(B);D===B&&(D=escape(B)),i=i.split(B).join(D)}}var M=i.indexOf("#");-1!==M&&(this.hash=i.substr(M),i=i.slice(0,M));var H=i.indexOf("?");if(-1!==H?(this.search=i.substr(H),this.query=i.substr(H+1),e&&(this.query=x.parse(this.query)),i=i.slice(0,H)):e&&(this.search="",this.query={}),i&&(this.pathname=i),O[d]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var K=this.pathname||"",J=this.search||"";this.path=K+J}return this.href=this.format(),this},n.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&c.isObject(this.query)&&Object.keys(this.query).length&&(a=x.stringify(this.query));var s=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||O[e])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,function(t){return encodeURIComponent(t)}),s=s.replace("#","%23"),e+o+r+s+n},n.prototype.resolve=function(t){return this.resolveObject(o(t,!1,!0)).format()},n.prototype.resolveObject=function(t){if(c.isString(t)){var e=new n;e.parse(t,!1,!0),t=e}for(var r=new n,o=Object.keys(this),a=0;a<o.length;a++){var s=o[a];r[s]=this[s]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var i=Object.keys(t),h=0;h<i.length;h++){var u=i[h];"protocol"!==u&&(r[u]=t[u])}return O[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!O[t.protocol]){for(var l=Object.keys(t),f=0;f<l.length;f++){var p=l[f];r[p]=t[p]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||w[t.protocol])r.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),g=t.host||t.pathname&&"/"===t.pathname.charAt(0),b=g||y||r.host&&t.pathname,j=b,x=r.pathname&&r.pathname.split("/")||[],d=t.pathname&&t.pathname.split("/")||[],A=r.protocol&&!O[r.protocol];if(A&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),b=b&&(""===d[0]||""===x[0])),g)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,x=d;else if(d.length)x||(x=[]),x.pop(),x=x.concat(d),r.search=t.search,r.query=t.query;else if(!c.isNullOrUndefined(t.search)){if(A){r.hostname=r.host=x.shift();var C=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");C&&(r.auth=C.shift(),r.host=r.hostname=C.shift())}return r.search=t.search,r.query=t.query,c.isNull(r.pathname)&&c.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var q=x.slice(-1)[0],I=(r.host||t.host||x.length>1)&&("."===q||".."===q)||""===q,S=0,R=x.length;R>=0;R--)q=x[R],"."===q?x.splice(R,1):".."===q?(x.splice(R,1),S++):S&&(x.splice(R,1),S--);if(!b&&!j)for(;S--;S)x.unshift("..");!b||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),I&&"/"!==x.join("/").substr(-1)&&x.push("");var N=""===x[0]||x[0]&&"/"===x[0].charAt(0);if(A){r.hostname=r.host=N?"":x.length?x.shift():"";var C=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");C&&(r.auth=C.shift(),r.host=r.hostname=C.shift())}return b=b||r.host&&x.length,b&&!N&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),c.isNull(r.pathname)&&c.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var t=this.host,e=l.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{"./util":12,punycode:2,querystring:5}],12:[function(t,e,r){"use strict";e.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},{}]},{},[1]); |
{ | ||
"name": "budo", | ||
"version": "10.0.4", | ||
"version": "11.0.0", | ||
"description": "a browserify server for rapid prototyping", | ||
@@ -17,3 +17,3 @@ "main": "index.js", | ||
"bole": "^2.0.0", | ||
"browserify": "^14.1.0", | ||
"browserify": "^15.2.0", | ||
"chokidar": "^1.0.1", | ||
@@ -20,0 +20,0 @@ "connect-pushstate": "^1.1.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82714
+ Addedbrowserify@15.2.0(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedmodule-deps@5.0.1(transitive)
- Removedacorn@5.7.4(transitive)
- Removedbrowserify@14.5.0(transitive)
- Removeddetective@4.7.1(transitive)
- Removedmodule-deps@4.1.1(transitive)
Updatedbrowserify@^15.2.0