PageSourceSearch

http://itsourplayground.com/assets/js/base.min.js

js itsourplayground.com collected 2026-10-06 20:49:25 UTC 43,192 bytes, 2 lines download raw bytes

1!function(a,b,c){"undefined"!=typeof module&&module.exports?module.exports=c():"function"==typeof define&&define.amd?define(c):b[a]=c()}("bean",this,function(a,b){a=a||"bean",b=b||this;var c,d=window,e=b[a],f=/[^\.]*(?=\..*)\.|.*/,g=/\..*/,h="addEventListener",i="removeEventListener",j=document||{},k=j.documentElement||{},l=k[h],m=l?h:"attachEvent",n={},o=Array.prototype.slice,p=function(a,b){return a.split(b||" ")},q=function(a){return"string"==typeof a},r=function(a){return"function"==typeof a},s="click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll ",t="show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ",u=function(a,b,c){for(c=0;c<b.length;c++)b[c]&&(a[b[c]]=1);return a}({},p(s+(l?t:""))),v=function(){var a="compareDocumentPosition"in k?function(a,b){return b.compareDocumentPosition&&16===(16&b.compareDocumentPosition(a))}:"contains"in k?function(a,b){return b=9===b.nodeType||b===window?k:b,b!==a&&b.contains(a)}:function(a,b){for(;a=a.parentNode;)if(a===b)return 1;return 0},b=function(b){var c=b.relatedTarget;return c?c!==this&&"xul"!==c.prefix&&!/document/.test(this.toString())&&!a(c,this):null==c};return{mouseenter:{base:"mouseover",condition:b}
1,mouseleave:{base:"mouseout",condition:b},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}}(),w=function(){var a=p("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),b=a.concat(p("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),c=b.concat(p("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),e=a.concat(p("char charCode key keyCode keyIdentifier keyLocation location")),f=a.concat(p("data")),g=a.concat(p("touches targetTouches changedTouches scale rotation")),h=a.concat(p("data origin source")),i=a.concat(p("state")),l=/over|out/,m=[{reg:/key/i,fix:function(a,b){return b.keyCode=a.keyCode||a.which,e}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(a,c,d){return c.rightClick=3===a.which||2===a.button,c.pos={x:0,y:0},a.pageX||a.pageY?(c.clientX=a.pageX,c.clientY=a.pageY):(a.clientX||a.clientY)&&(c.clientX=a.clientX+j.body.scrollLeft+k.scrollLeft,c.clientY=a.clientY+j.body.scrollTop+k.scrollTop),l.test(d)&&(c.relatedTarget=a.relatedTarget||a[("mouseover"==d?"from":"to")+"Element"]),b}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return c}},{reg:/^text/i,fix:function(){return f}},{reg:/^touch|^gesture/i,fix:function(){return g}},{reg:/^message$/i,fix:function(){return h}},{reg:/^popstate$/i,fix:function(){return i}},{reg:/.*/,fix:function(){return a}}],n={},o=function(a,b,c){if(arguments.length&&(a=a||((b.ownerDocument||b.document||b).parentWindow||d).event,this.originalEvent=a,this.isNative=c,this.isBean=!0,a)){var e,f,g,h,i,j=a.type,k=a.target||a.srcElement;if(this.target=k&&3===k.nodeType?k.parentNode:k,c){if(i=n[j],!i)for(e=0,f=m.length;f>e;e++)if(m[e].reg.test(j)){n[j]=i=m[e].fix;break}for(h=i(a,this,j),e=h.length;e--;)!((g=h[e])in this)&&g in a&&(this[g]=a[g])}}};return o.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},o.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},o.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},o.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},o.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},o.prototype.clone=function(a){var b=new o(this,this.element,this.isNative);return b.currentTarget=a,b},o}(),x=function(a,b){return l||b||a!==j&&a!==d?a:k},y=function(){var a=function(a,b,c,d){var e=function(c,e){return b.apply(a,d?o.call(e,c?0:1).concat(d):e)},f=function(c,d){return b.__beanDel?b.__beanDel.ft(c.target,a):d},g=c?function(a){var b=f(a,this);return c.apply(b,arguments)?(a&&(a.currentTarget=b),e(a,arguments)):void 0}:function(a){return b.__beanDel&&(a=a.clone(f(a))),e(a,arguments)};return g.__beanDel=b.__beanDel,g},b=function(b,c,d,e,f,g,h){var i,j=v[c];"unload"==c&&(d=D(E,b,c,d,e)),j&&(j.condition&&(d=a(b,d,j.condition,g)),c=j.base||c),this.isNative=i=u[c]&&!!b[m],this.customType=!l&&!i&&c,this.element=b,this.type=c,this.original=e,this.namespaces=f,this.eventType=l||i?c:"propertychange",this.target=x(b,i),this[m]=!!this.target[m],this.root=h,this.handler=a(b,d,null,g)};return b.prototype.inNamespaces=function(a){var b,c,d=0;if(!a)return!0;if(!this.namespaces)return!1;for(b=a.length;b--;)for(c=this.namespaces.length;c--;)a[b]==this.namespaces[c]&&d++;return a.length===d},b.prototype.matches=function(a,b,c){return!(this.element!==a||b&&this.original!==b||c&&this.handler!==c)},b}(),z=function(){var a={},b=function(c,d,e,f,g,h){var i=g?"r":"$";if(d&&"*"!=d){var j,k=0,l=a[i+d],m="*"==c;if(!l)return;for(j=l.length;j>k;k++)if((m||l[k].matches(c,e,f))&&!h(l[k],l,k,d))return}else for(var n in a)n.charAt(0)==i&&b(c,n.substr(1),e,f,g,h)},c=function(b,c,d,e){var f,g=a[(e?"r":"$")+c];if(g)for(f=g.length;f--;)if(!g[f].root&&g[f].matches(b,d,null))return!0;return!1},d=function(a,c,d,e){var f=[];return b(a,c,d,null,e,function(a){return f.push(a)}),f},e=function(b){var c=!b.root&&!this.has(b.element,b.type,null,!1),d=(b.root?"r":"$")+b.type;
1return(a[d]||(a[d]=[])).push(b),c},f=function(c){b(c.element,c.type,null,c.handler,c.root,function(b,c,d){return c.splice(d,1),b.removed=!0,0===c.length&&delete a[(b.root?"r":"$")+b.type],!1})},g=function(){var b,c=[];for(b in a)"$"==b.charAt(0)&&(c=c.concat(a[b]));return c};return{has:c,get:d,put:e,del:f,entries:g}}(),A=function(a){c=arguments.length?a:j.querySelectorAll?function(a,b){return b.querySelectorAll(a)}:function(){throw new Error("Bean: No selector engine installed")}},B=function(a,b){if(l||!b||!a||a.propertyName=="_on"+b){var c=z.get(this,b||a.type,null,!1),d=c.length,e=0;for(a=new w(a,this,!0),b&&(a.type=b);d>e&&!a.isImmediatePropagationStopped();e++)c[e].removed||c[e].handler.call(this,a)}},C=l?function(a,b,c){a[c?h:i](b,B,!1)}:function(a,b,c,d){var e;c?(z.put(e=new y(a,d||b,function(b){B.call(a,b,d)},B,null,null,!0)),d&&null==a["_on"+d]&&(a["_on"+d]=0),e.target.attachEvent("on"+e.eventType,e.handler)):(e=z.get(a,d||b,B,!0)[0],e&&(e.target.detachEvent("on"+e.eventType,e.handler),z.del(e)))},D=function(a,b,c,d,e){return function(){d.apply(this,arguments),a(b,c,e)}},E=function(a,b,c,d){var e,f,h=b&&b.replace(g,""),i=z.get(a,h,null,!1),j={};for(e=0,f=i.length;f>e;e++)c&&i[e].original!==c||!i[e].inNamespaces(d)||(z.del(i[e]),!j[i[e].eventType]&&i[e][m]&&(j[i[e].eventType]={t:i[e].eventType,c:i[e].type}));for(e in j)z.has(a,j[e].t,null,!1)||C(a,j[e].t,!1,j[e].c)},F=function(a,b){var d=function(b,d){for(var e,f=q(a)?c(a,d):a;b&&b!==d;b=b.parentNode)for(e=f.length;e--;)if(f[e]===b)return b},e=function(a){var c=d(a.target,this);c&&b.apply(c,arguments)};return e.__beanDel={ft:d,selector:a},e},G=l?function(a,b,c){var e=j.createEvent(a?"HTMLEvents":"UIEvents");e[a?"initEvent":"initUIEvent"](b,!0,!0,d,1),c.dispatchEvent(e)}:function(a,b,c){c=x(c,a),a?c.fireEvent("on"+b,j.createEventObject()):c["_on"+b]++},H=function(a,b,c){var d,e,h,i,j=q(b);if(j&&b.indexOf(" ")>0){for(b=p(b),i=b.length;i--;)H(a,b[i],c);return a}if(e=j&&b.replace(g,""),e&&v[e]&&(e=v[e].base),!b||j)(h=j&&b.replace(f,""))&&(h=p(h,".")),E(a,e,c,h);else if(r(b))E(a,null,b);else for(d in b)b.hasOwnProperty(d)&&H(a,d,b[d]);return a},I=function(a,b,d,e){var h,i,j,k,l,q,s;{if(void 0!==d||"object"!=typeof b){for(r(d)?(l=o.call(arguments,3),e=h=d):(h=e,l=o.call(arguments,4),e=F(d,h,c)),j=p(b),this===n&&(e=D(H,a,b,e,h)),k=j.length;k--;)s=z.put(q=new y(a,j[k].replace(g,""),e,h,p(j[k].replace(f,""),"."),l,!1)),q[m]&&s&&C(a,q.eventType,!0,q.customType);return a}for(i in b)b.hasOwnProperty(i)&&I.call(this,a,i,b[i])}},J=function(a,b,c,d){return I.apply(null,q(c)?[a,c,b,d].concat(arguments.length>3?o.call(arguments,5):[]):o.call(arguments))},K=function(){return I.apply(n,arguments)},L=function(a,b,c){var d,e,h,i,j,k=p(b);for(d=k.length;d--;)if(b=k[d].replace(g,""),(i=k[d].replace(f,""))&&(i=p(i,".")),i||c||!a[m])for(j=z.get(a,b,null,!1),c=[!1].concat(c),e=0,h=j.length;h>e;e++)j[e].inNamespaces(i)&&j[e].handler.apply(a,c);else G(u[b],b,a);return a},M=function(a,b,c){for(var d,e,f=z.get(b,c,null,!1),g=f.length,h=0;g>h;h++)f[h].original&&(d=[a,f[h].type],(e=f[h].handler.__beanDel)&&d.push(e.selector),d.push(f[h].original),I.apply(null,d));return a},N={on:I,add:J,one:K,off:H,remove:H,clone:M,fire:L,Event:w,setSelectorEngine:A,noConflict:function(){return b[a]=e,this}};if(d.attachEvent){var O=function(){var a,b=z.entries();for(a in b)b[a].type&&"unload"!==b[a].type&&H(b[a].element,b[a].type);d.detachEvent("onunload",O),d.CollectGarbage&&d.CollectGarbage()};d.attachEvent("onunload",O)}return A(),N}),function(a,b,c){"undefined"!=typeof module&&module.exports?module.exports=c():"function"==typeof define&&define.amd?define(c):b[a]=c()}("bonzo",this,function(){function a(a,b){var c=null,d=B.defaultView.getComputedStyle(a,"");return d&&(c=d[b]),a.style[b]||c}function b(a){return a&&a.nodeName&&(1==a.nodeType||11==a.nodeType)}function c(a,c,d){var e,f,g;if("string"==typeof a)return w.create(a);if(b(a)&&(a=[a]),d){for(g=[],e=0,f=a.length;f>e;e++)g[e]=s(c,a[e]);return g}return a}function d(a){return new RegExp("(^|\\s+)"+a+"(\\s+|$)")}function e(a,b,c,d){for(var e,f=0,g=a.length;g>f;f++)e=d?a.length-f-1:f,b.call(c||a[e],a[e],e,a);return a}function f(a,c,d){for(var e=0,g=a.length;g>e;e++)b(a[e])&&(f(a[e].childNodes,c,d),c.call(d||a[e],a[e],e,a));return a}
1function g(a){return a.replace(/-(.)/g,function(a,b){return b.toUpperCase()})}function h(a){return a?a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():a}function i(a){a[T]("data-node-uid")||a[S]("data-node-uid",++O);var b=a[T]("data-node-uid");return N[b]||(N[b]={})}function j(a){var b=a[T]("data-node-uid");b&&delete N[b]}function k(a){var b;try{return null===a||void 0===a?void 0:"true"===a?!0:"false"===a?!1:"null"===a?null:(b=parseFloat(a))==a?b:a}catch(c){}return void 0}function l(a,b,c){for(var d=0,e=a.length;e>d;++d)if(b.call(c||null,a[d],d,a))return!0;return!1}function m(a){return"transform"==a&&(a=U.transform)||/^transform-?[Oo]rigin$/.test(a)&&(a=U.transform+"Origin"),a?g(a):null}function n(a,b,d,f){var g=0,h=b||this,i=[],j=Y&&"string"==typeof a&&"<"!=a.charAt(0)?Y(a):a;return e(c(j),function(a,b){e(h,function(c){d(a,i[g++]=b>0?s(h,c):c)},null,f)},this,f),h.length=g,e(i,function(a){h[--g]=a},null,!f),h}function o(a,b,c){var d=w(a),e=d.css("position"),f=d.offset(),g="relative",h=e==g,i=[parseInt(d.css("left"),10),parseInt(d.css("top"),10)];"static"==e&&(d.css("position",g),e=g),isNaN(i[0])&&(i[0]=h?0:a.offsetLeft),isNaN(i[1])&&(i[1]=h?0:a.offsetTop),null!=b&&(a.style.left=b-f.left+i[0]+R),null!=c&&(a.style.top=c-f.top+i[1]+R)}function p(a,b){return"function"==typeof b?b.call(a,a):b}function q(a,b,c){var d=this[0];return d?null==a&&null==b?(t(d)?u():{x:d.scrollLeft,y:d.scrollTop})[c]:(t(d)?A.scrollTo(a,b):(null!=a&&(d.scrollLeft=a),null!=b&&(d.scrollTop=b)),this):this}function r(a){if(this.length=0,a){a="string"==typeof a||a.nodeType||"undefined"==typeof a.length?[a]:a,this.length=a.length;for(var b=0;b<a.length;b++)this[b]=a[b]}}function s(a,b){var c,d,e,f=b.cloneNode(!0);if(a.$&&"function"==typeof a.cloneEvents)for(a.$(f).cloneEvents(b),c=a.$(f).find("*"),d=a.$(b).find("*"),e=0;e<d.length;e++)a.$(c[e]).cloneEvents(d[e]);return f}function t(a){return a===A||/^(?:body|html)$/i.test(a.tagName)}function u(){return{x:A.pageXOffset||C.scrollLeft,y:A.pageYOffset||C.scrollTop}}function v(a){var b=document.createElement("script"),c=a.match(G);return b.src=c[1],b}function w(a){return new r(a)}var x,y,z,A=window,B=A.document,C=B.documentElement,D="parentNode",E=/^(checked|value|selected|disabled)$/i,F=/^(select|fieldset|table|tbody|tfoot|td|tr|colgroup)$/i,G=/\s*<script +src=['"]([^'"]+)['"]>/,H=["<table>","</table>",1],I=["<table><tbody><tr>","</tr></tbody></table>",3],J=["<select>","</select>",1],K=["_","",0,1],L={thead:H,tbody:H,tfoot:H,colgroup:H,caption:H,tr:["<table><tbody>","</tbody></table>",2],th:I,td:I,col:["<table><colgroup>","</colgroup></table>",2],fieldset:["<form>","</form>",1],legend:["<form><fieldset>","</fieldset></form>",2],option:J,optgroup:J,script:K,style:K,link:K,param:K,base:K},M=/^(checked|selected|disabled)$/,N={},O=0,P=/^-?[\d\.]+$/,Q=/^data-(.+)$/,R="px",S="setAttribute",T="getAttribute",U=function(){var a=B.createElement("p");return{transform:function(){var b,c=["transform","webkitTransform","MozTransform","OTransform","msTransform"];for(b=0;b<c.length;b++)if(c[b]in a.style)return c[b]}(),classList:"classList"in a}}(),V=/\s+/,W=String.prototype.toString,X={lineHeight:1,zoom:1,zIndex:1,opacity:1,boxFlex:1,WebkitBoxFlex:1,MozBoxFlex:1},Y=B.querySelectorAll&&function(a){return B.querySelectorAll(a)};return U.classList?(x=function(a,b){return a.classList.contains(b)},y=function(a,b){a.classList.add(b)},z=function(a,b){a.classList.remove(b)}):(x=function(a,b){return d(b).test(a.className)},y=function(a,b){a.className=(a.className+" "+b).trim()},z=function(a,b){a.className=a.className.replace(d(b)," ").trim()}),r.prototype={get:function(a){return this[a]||null},each:function(a,b){return e(this,a,b)},deepEach:function(a,b){return f(this,a,b)},map:function(a,b){var c,d,e=[];for(d=0;d<this.length;d++)c=a.call(this,this[d],d),b?b(c)&&e.push(c):e.push(c);return e},html:function(a,b){var d=b?"textContent":"innerHTML",f=this,g=function(b,d){e(c(a,f,d),function(a){b.appendChild(a)})},h=function(c,e){try{if(b||"string"==typeof a&&!F.test(c.tagName))return c[d]=a}catch(f){}g(c,e)};return"undefined"!=typeof a?this.empty().each(h):this[0]?this[0][d]:""},text:function(a){return this.html(a,!0)},append:function(a){var b=this;return this.each(function(d,f){e(c(a,b,f),function(a){d.appendChild(a)})})},prepend:function(a){var b=this;return this.each(function(d,f){var g=d.firstChild;e(c(a,b,f),function(a){d.insertBefore(a,g)})})},appendTo:function(a,b){return n.call(this,a,b,function(a,b){a.appendChild(b)})},prependTo:function(a,b){return n.call(this,a,b,function(a,b){a.insertBefore(b,a.firstChild)},1)},before:function(a){var b=this;return this.each(function(d,f){e(c(a,b,f),function(a){d[D].insertBefore(a,d)})})},after:function(a){var b=this;return this.each(function(d,f){e(c(a,b,f),function(a){d[D].insertBefore(a,d.nextSibling)},null,1)})},insertBefore:function(a,b){return n.call(this,a,b,function(a,b){a[D].insertBefore(b,a)})},insertAfter:function(a,b){return n.call(this,a,b,function(a,b){var c=a.nextSibling;c?a[D].insertBefore(b,c):a[D].appendChild(b)},1)},replaceWith:function(a){var b=this;return this.each(function(d,f){e(c(a,b,f),function(a){d[D]&&d[D].replaceChild(a,d)})})},clone:function(a){var b,c,d=[];for(c=0,b=this.length;b>c;c++)d[c]=s(a||this,this[c]);return w(d)},addClass:function(a){return a=W.call(a).split(V),this.each(function(b){e(a,function(a){a&&!x(b,p(b,a))&&y(b,p(b,a))})})},removeClass:function(a){return a=W.call(a).split(V),this.each(function(b){e(a,function(a){a&&x(b,p(b,a))&&z(b,p(b,a))})})},hasClass:function(a){return a=W.call(a).split(V),l(this,function(b){return l(a,function(a){return a&&x(b,a)})})},toggleClass:function(a,b){return a=W.call(a).split(V),this.each(function(c){e(a,function(a){a&&("undefined"!=typeof b?b?!x(c,a)&&y(c,a):z(c,a):x(c,a)?z(c,a):y(c,a))})})}
1,show:function(a){return a="string"==typeof a?a:"",this.each(function(b){b.style.display=a})},hide:function(){return this.each(function(a){a.style.display="none"})},toggle:function(a,b){return b="string"==typeof b?b:"","function"!=typeof a&&(a=null),this.each(function(c){c.style.display=c.offsetWidth||c.offsetHeight?"none":b,a&&a.call(c)})},first:function(){return w(this.length?this[0]:[])},last:function(){return w(this.length?this[this.length-1]:[])},next:function(){return this.related("nextSibling")},previous:function(){return this.related("previousSibling")},parent:function(){return this.related(D)},related:function(a){return w(this.map(function(b){for(b=b[a];b&&1!==b.nodeType;)b=b[a];return b||0},function(a){return a}))},focus:function(){return this.length&&this[0].focus(),this},blur:function(){return this.length&&this[0].blur(),this},css:function(b,c){function d(a,b,c){for(var d in f)if(f.hasOwnProperty(d)){c=f[d],(b=m(d))&&P.test(c)&&!(b in X)&&(c+=R);try{a.style[b]=p(a,c)}catch(e){}}}var e,f=b;return void 0===c&&"string"==typeof b?(c=this[0],c?c===B||c===A?(e=c===B?w.doc():w.viewport(),"width"==b?e.width:"height"==b?e.height:""):(b=m(b))?a(c,b):null:null):("string"==typeof b&&(f={},f[b]=c),this.each(d))},offset:function(a,b){if(a&&"object"==typeof a&&("number"==typeof a.top||"number"==typeof a.left))return this.each(function(b){o(b,a.left,a.top)});if("number"==typeof a||"number"==typeof b)return this.each(function(c){o(c,a,b)});if(!this[0])return{top:0,left:0,height:0,width:0};var c=this[0],d=c.ownerDocument.documentElement,e=c.getBoundingClientRect(),f=u(),g=c.offsetWidth,h=c.offsetHeight,i=e.top+f.y-Math.max(0,d&&d.clientTop,B.body.clientTop),j=e.left+f.x-Math.max(0,d&&d.clientLeft,B.body.clientLeft);return{top:i,left:j,height:h,width:g}},dim:function(){if(!this.length)return{height:0,width:0};var a=this[0],b=9==a.nodeType&&a.documentElement,c=b||!a.style||a.offsetWidth||a.offsetHeight?null:function(b){var c={position:a.style.position||"",visibility:a.style.visibility||"",dis
1play:a.style.display||""};return b.first().css({position:"absolute",visibility:"hidden",display:"block"}),c}(this),d=b?Math.max(a.body.scrollWidth,a.body.offsetWidth,b.scrollWidth,b.offsetWidth,b.clientWidth):a.offsetWidth,e=b?Math.max(a.body.scrollHeight,a.body.offsetHeight,b.scrollHeight,b.offsetHeight,b.clientHeight):a.offsetHeight;return c&&this.first().css(c),{height:e,width:d}},attr:function(a,b){var c,d=this[0];if("string"!=typeof a&&!(a instanceof String)){for(c in a)a.hasOwnProperty(c)&&this.attr(c,a[c]);return this}return"undefined"==typeof b?d?E.test(a)?M.test(a)&&"string"==typeof d[a]?!0:d[a]:d[T](a):null:this.each(function(c){E.test(a)?c[a]=p(c,b):c[S](a,p(c,b))})},removeAttr:function(a){return this.each(function(b){M.test(a)?b[a]=!1:b.removeAttribute(a)})},val:function(a){return"string"==typeof a||"number"==typeof a?this.attr("value",a):this.length?this[0].value:null},data:function(a,b){var c,d,f=this[0];return"undefined"==typeof b?f?(c=i(f),"undefined"==typeof a?(e(f.attributes,function(a){(d=(""+a.name).match(Q))&&(c[g(d[1])]=k(a.value))}),c):("undefined"==typeof c[a]&&(c[a]=k(this.attr("data-"+h(a)))),c[a])):null:this.each(function(c){i(c)[a]=b})},remove:function(){return this.deepEach(j),this.detach()},empty:function(){return this.each(function(a){for(f(a.childNodes,j);a.firstChild;)a.removeChild(a.firstChild)})},detach:function(){return this.each(function(a){a[D]&&a[D].removeChild(a)})},scrollTop:function(a){return q.call(this,null,a,"y")},scrollLeft:function(a){return q.call(this,a,null,"x")}},w.setQueryEngine=function(a){Y=a,delete w.setQueryEngine},w.aug=function(a,b){for(var c in a)a.hasOwnProperty(c)&&((b||r.prototype)[c]=a[c])},w.create=function(a){return"string"==typeof a&&""!==a?function(){if(G.test(a))return[v(a)];var b=a.match(/^\s*<([^\s>]+)/),c=B.createElement("div"),d=[],f=b?L[b[1].toLowerCase()]:null,g=f?f[2]+1:1,h=f&&f[3],i=D;for(c.innerHTML=f?f[0]+a+f[1]:a;g--;)c=c.firstChild;h&&c&&1!==c.nodeType&&(c=c.nextSibling);do b&&1!=c.nodeType||d.push(c);while(c=c.nextSibling);return e(d,function(a){a[i]&&a[i].removeChild(a)}),d}():b(a)?[a.cloneNode(!0)]:[]},w.doc=function(){var a=w.viewport();return{width:Math.max(B.body.scrollWidth,C.scrollWidth,a.width),height:Math.max(B.body.scrollHeight,C.scrollHeight,a.height)}},w.firstChild=function(a){for(var b,c=a.childNodes,d=0,e=c&&c.length||0;e>d;d++)1===c[d].nodeType&&(b=c[e=d]);return b},w.viewport=function(){return{width:A.innerWidth,height:A.innerHeight}},w.isAncestor="compareDocumentPosition"in C?function(a,b){return 16==(16&a.compareDocumentPosition(b))}:function(a,b){return a!==b&&a.contains(b)},w}),function(a,b,c){"undefined"!=typeof module&&module.exports?module.exports=c():"function"==typeof define&&define.amd?define(c):b[a]=c()}("qwery",this,function(){function a(a){return[].slice.call(a,0)}function b(a){var b;return a&&"object"==typeof a&&(b=a.nodeType)&&(1==b||9==b)}function c(a){return"object"==typeof a&&isFinite(a.length)}function d(a){for(var b=[],d=0,e=a.length;e>d;++d)c(a[d])?b=b.concat(a[d]):b[b.length]=a[d];return b}function e(a){var b,c,d=[];a:for(b=0;b<a.length;b++){for(c=0;c<d.length;c++)if(d[c]==a[b])continue a;d[d.length]=a[b]}return d}function f(a){return a?"string"==typeof a?g(a)[0]:!a[l]&&c(a)?a[0]:a:i}function g(e,g){var k,l=f(g);return l&&e?e===j||b(e)?!g||e!==j&&b(l)&&m(e,l)?[e]:[]:e&&c(e)?d(e):i.getElementsByClassName&&"string"==e&&(k=e.match(h))?a(l.getElementsByClassName(k[1])):e&&(e.document||e.nodeType&&9==e.nodeType)?g?[]:[e]:a(l.querySelectorAll(e)):[]}var h=/^\.([\w\-]+)$/,i=document,j=window,k=i.documentElement,l="nodeType",m="compareDocumentPosition"in k?function(a,b){return 16==(16&b.compareDocumentPosition(a))}:function(a,b){return b=b==i||b==window?k:b,b!==a&&b.contains(a)};return g.uniq=e,g},this),!function(a,b,c){"undefined"!=typeof module&&module.exports?module.exports=c():"function"==typeof define&&define.amd?define(c):b[a]=c()}("reqwest",this,function(){function succeed(a){var b=protocolRe.exec(a.url);return b=b&&b[1]||context.location.protocol,httpsRe.test(b)?twoHundo.test(a.request.status):!!a.request.response}function handleReadyState(a,b,c){return function(){return a._aborted?c(a.request):a._timedOut?c(a.request,"Request is aborted: timeout"):void(a.request&&4==a.request[readyState]&&(a.request.onreadystatechange=noop,succeed(a)?b(a.request):c(a.request)))}}function setHeaders(a,b){var c,d=b.headers||{};d.Accept=d.Accept||defaultHeaders.accept[b.type]||defaultHeaders.accept["*"];var e="undefined"!=typeof FormData&&b.data instanceof FormData;b.crossOrigin||d[requestedWith]||(d[requestedWith]=defaultHeaders.requestedWith),d[contentType]||e||(d[contentType]=b.contentType||defaultHeaders.contentType);for(c in d)d.hasOwnProperty(c)&&"setRequestHeader"in a&&a.setRequestHeader(c,d[c])}function setCredentials(a,b){"undefined"!=typeof b.withCredentials&&"undefined"!=typeof a.withCredentials&&(a.withCredentials=!!b.withCredentials)}function generalCallback(a){lastValue=a}function urlappend(a,b){return a+(/\?/.test(a)?"&":"?")+b}
1function handleJsonp(a,b,c,d){var e=uniqid++,f=a.jsonpCallback||"callback",g=a.jsonpCallbackName||reqwest.getcallbackPrefix(e),h=new RegExp("((^|\\?|&)"+f+")=([^&]+)"),i=d.match(h),j=doc.createElement("script"),k=0,l=-1!==navigator.userAgent.indexOf("MSIE 10.0");return i?"?"===i[3]?d=d.replace(h,"$1="+g):g=i[3]:d=urlappend(d,f+"="+g),context[g]=generalCallback,j.type="text/javascript",j.src=d,j.async=!0,"undefined"==typeof j.onreadystatechange||l||(j.htmlFor=j.id="_reqwest_"+e),j.onload=j.onreadystatechange=function(){return j[readyState]&&"complete"!==j[readyState]&&"loaded"!==j[readyState]||k?!1:(j.onload=j.onreadystatechange=null,j.onclick&&j.onclick(),b(lastValue),lastValue=void 0,head.removeChild(j),void(k=1))},head.appendChild(j),{abort:function(){j.onload=j.onreadystatechange=null,c({},"Request is aborted: timeout",{}),lastValue=void 0,head.removeChild(j),k=1}}}function getRequest(a,b){var c,d=this.o,e=(d.method||"GET").toUpperCase(),f="string"==typeof d?d:d.url,g=d.processData!==!1&&d.data&&"string"!=typeof d.data?reqwest.toQueryString(d.data):d.data||null,h=!1;return"jsonp"!=d.type&&"GET"!=e||!g||(f=urlappend(f,g),g=null),"jsonp"==d.type?handleJsonp(d,a,b,f):(c=d.xhr&&d.xhr(d)||xhr(d),c.open(e,f,d.async===!1?!1:!0),setHeaders(c,d),setCredentials(c,d),context[xDomainRequest]&&c instanceof context[xDomainRequest]?(c.onload=a,c.onerror=b,c.onprogress=function(){},h=!0):c.onreadystatechange=handleReadyState(this,a,b),d.before&&d.before(c),h?setTimeout(function(){c.send(g)},200):c.send(g),c)}function Reqwest(a,b){this.o=a,this.fn=b,init.apply(this,arguments)}function setType(a){return null===a?void 0:a.match("json")?"json":a.match("javascript")?"js":a.match("text")?"html":a.match("xml")?"xml":void 0}function init(o,fn){function complete(a){for(o.timeout&&clearTimeout(self.timeout),self.timeout=null;self._completeHandlers.length>0;)self._completeHandlers.shift()(a)}function success(resp){var type=o.type||resp&&setType(resp.getResponseHeader("Content-Type"));resp="jsonp"!==type?self.request:resp;var filteredResponse=globalSetupOptions.dataFilter(resp.responseText,type),r=filteredResponse;try{resp.responseText=r}catch(e){}if(r)switch(type){case"json":try{resp=context.JSON?context.JSON.parse(r):eval("("+r+")")}catch(err){return error(resp,"Could not parse JSON in response",err)}break;case"js":resp=eval(r);break;case"html":resp=r;break;case"xml":resp=resp.responseXML&&resp.responseXML.parseError&&resp.responseXML.parseError.errorCode&&resp.responseXML.parseError.reason?null:resp.responseXML}for(self._responseArgs.resp=resp,self._fulfilled=!0,fn(resp),self._successHandler(resp);self._fulfillmentHandlers.length>0;)resp=self._fulfillmentHandlers.shift()(resp);complete(resp)}function timedOut(){self._timedOut=!0,self.request.abort()}function error(a,b,c){for(a=self.request,self._responseArgs.resp=a,self._responseArgs.msg=b,self._responseArgs.t=c,self._erred=!0;self._errorHandlers.length>0;)self._errorHandlers.shift()(a,b,c);complete(a)}this.url="string"==typeof o?o:o.url,this.timeout=null,this._fulfilled=!1,this._successHandler=function(){},this._fulfillmentHandlers=[],this._errorHandlers=[],this._completeHandlers=[],this._erred=!1,this._responseArgs={};var self=this;fn=fn||function(){},o.timeout&&(this.timeout=setTimeout(function(){timedOut()},o.timeout)),o.success&&(this._successHandler=function(){o.success.apply(o,arguments)}),o.error&&this._errorHandlers.push(function(){o.error.apply(o,arguments)}),o.complete&&this._completeHandlers.push(function(){o.complete.apply(o,arguments)}),this.request=getRequest.call(this,success,error)}function reqwest(a,b){return new Reqwest(a,b)}function normalize(a){return a?a.replace(/\r?\n/g,"\r\n"):""}function serial(a,b){var c,d,e,f,g=a.name,h=a.tagName.toLowerCase(),i=function(a){a&&!a.disabled&&b(g,normalize(a.attributes.value&&a.attributes.value.specified?a.value:a.text))};if(!a.disabled&&g)switch(h){case"input":/reset|button|image|file/i.test(a.type)||(c=/checkbox/i.test(a.type),d=/radio/i.test(a.type),e=a.value,(!(c||d)||a.checked)&&b(g,normalize(c&&""===e?"on":e)));break;case"textarea":b(g,normalize(a.value));break;case"select":if("select-one"===a.type.toLowerCase())i(a.selectedIndex>=0?a.options[a.selectedIndex]:null);else for(f=0;a.length&&f<a.length;f++)a.options[f].selected&&i(a.options[f])}}function eachFormElement(){var a,b,c=this,d=function(a,b){var d,e,f;for(d=0;d<b.length;d++)for(f=a[byTag](b[d]),e=0;e<f.length;e++)serial(f[e],c)};for(b=0;b<arguments.length;b++)a=arguments[b],/input|select|textarea/i.test(a.tagName)&&serial(a,c),d(a,["input","select","textarea"])}function serializeQueryString(){return reqwest.toQueryString(reqwest.serializeArray.apply(null,arguments))}function serializeHash(){var a={};return eachFormElement.apply(function(b,c){b in a?(a[b]&&!isArray(a[b])&&(a[b]=[a[b]]),a[b].push(c)):a[b]=c},arguments),a}function buildParams(a,b,c,d){var e,f,g,h=/\[\]$/;if(isArray(b))for(f=0;b&&f<b.length;f++)g=b[f],c||h.test(a)?d(a,g):buildParams(a+"["+("object"==typeof g?f:"")+"]",g,c,d);else if(b&&"[object Object]"===b.toString())for(e in b)buildParams(a+"["+e+"]",b[e],c,d);else d(a,b)}var context=this;if("window"in context)var doc=document,byTag="getElementsByTagName",head=doc[byTag]("head")[0];else{var XHR2;try{XHR2=require("xhr2")}catch(ex){throw new Error("Peer dependency `xhr2` required! Please npm install xhr2")}}var httpsRe=/^http/,protocolRe=/(^\w+):\/\//,twoHundo=/^(20\d|1223)$/,readyState="readyState",contentType="Content-Type",requestedWith="X-Requested-With",uniqid=0,callbackPrefix="reqwest_"+ +new Date,lastValue,xmlHttpRequest="XMLHttpRequest",xDomainRequest="XDomainRequest",n
1oop=function(){},isArray="function"==typeof Array.isArray?Array.isArray:function(a){return a instanceof Array},defaultHeaders={contentType:"application/x-www-form-urlencoded",requestedWith:xmlHttpRequest,accept:{"*":"text/javascript, text/html, application/xml, text/xml, */*",xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",js:"application/javascript, text/javascript"}},xhr=function(a){if(a.crossOrigin===!0){var b=context[xmlHttpRequest]?new XMLHttpRequest:null;if(b&&"withCredentials"in b)return b;if(context[xDomainRequest])return new XDomainRequest;throw new Error("Browser does not support cross-origin requests")}return context[xmlHttpRequest]?new XMLHttpRequest:XHR2?new XHR2:new ActiveXObject("Microsoft.XMLHTTP")},globalSetupOptions={dataFilter:function(a){return a}};return Reqwest.prototype={abort:function(){this._aborted=!0,this.request.abort()},retry:function(){init.call(this,this.o,this.fn)},then:function(a,b){return a=a||function(){},b=b||function(){},this._fulfilled?this._responseArgs.resp=a(this._responseArgs.resp):this._erred?b(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):(this._fulfillmentHandlers.push(a),this._errorHandlers.push(b)),this},always:function(a){return this._fulfilled||this._erred?a(this._responseArgs.resp):this._completeHandlers.push(a),this},fail:function(a){return this._erred?a(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):this._errorHandlers.push(a),this},"catch":function(a){return this.fail(a)}},reqwest.serializeArray=function(){var a=[];return eachFormElement.apply(function(b,c){a.push({name:b,value:c})},arguments),a},reqwest.serialize=function(){if(0===arguments.length)return"";var a,b,c=Array.prototype.slice.call(arguments,0);return a=c.pop(),a&&a.nodeType&&c.push(a)&&(a=null),a&&(a=a.type),b="map"==a?serializeHash:"array"==a?reqwest.serializeArray:serializeQueryString,b.apply(null,c)},reqwest.toQueryString=function(a,b){var c,d,e=b||!1,f=[],g=encodeURIComponent,h=function(a,b){b="function"==typeof b?b():null==b?"":b,f[f.length]=g(a)+"="+g(b)};if(isArray(a))for(d=0;a&&d<a.length;d++)h(a[d].name,a[d].value);else for(c in a)a.hasOwnProperty(c)&&buildParams(c,a[c],e,h);return f.join("&").replace(/%20/g,"+")},reqwest.getcallbackPrefix=function(){return callbackPrefix},reqwest.compat=function(a,b){return a&&(a.type&&(a.method=a.type)&&delete a.type,a.dataType&&(a.type=a.dataType),a.jsonpCallback&&(a.jsonpCallbackName=a.jsonpCallback)&&delete a.jsonpCallback,a.jsonp&&(a.jsonpCallback=a.jsonp)),new Reqwest(a,b)},reqwest.ajaxSetup=function(a){a=a||{};for(var b in a)globalSetupOptions[b]=a[b]},reqwest}),function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.page=b()}(this,function(){
2"use strict";function a(a){for(var b,c=[],d=0,f=0,g="";null!=(b=z.exec(a));){var h=b[0],i=b[1],j=b.index;if(g+=a.slice(f,j),f=j+h.length,i)g+=i[1];else{g&&(c.push(g),g="");var k=b[2],l=b[3],m=b[4],n=b[5],o=b[6],p=b[7],q="+"===o||"*"===o,r="?"===o||"*"===o,s=k||"/",t=m||n||(p?".*":"[^"+s+"]+?");c.push({name:l||d++,prefix:k||"",delimiter:s,optional:r,repeat:q,pattern:e(t)})}}return f<a.length&&(g+=a.substr(f)),g&&c.push(g),c}function b(b){return c(a(b))}function c(a){for(var b=new Array(a.length),c=0;c<a.length;c++)"object"==typeof a[c]&&(b[c]=new RegExp("^"+a[c].pattern+"$"));return function(c){for(var d="",e=c||{},f=0;f<a.length;f++){var g=a[f];if("string"!=typeof g){var h,i=e[g.name];if(null==i){if(g.optional)continue;throw new TypeError('Expected "'+g.name+'" to be defined')}if(t(i)){if(!g.repeat)throw new TypeError('Expected "'+g.name+'" to not repeat, but received "'+i+'"');if(0===i.length){if(g.optional)continue;throw new TypeError('Expected "'+g.name+'" to not be empty')}for(var j=0;j<i.length;j++){if(h=encodeURIComponent(i[j]),!b[f].test(h))throw new TypeError('Expected all "'+g.name+'" to match "'+g.pattern+'", but received "'+h+'"');d+=(0===j?g.prefix:g.delimiter)+h}}else{if(h=encodeURIComponent(i),!b[f].test(h))throw new TypeError('Expected "'+g.name+'" to match "'+g.pattern+'", but received "'+h+'"');d+=g.prefix+h}}else d+=g}return d}}function d(a){return a.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function e(a){return a.replace(/([=!:$\/()])/g,"\\$1")}function f(a,b){return a.keys=b,a}
2function g(a){return a.sensitive?"":"i"}function h(a,b){var c=a.source.match(/\((?!\?)/g);if(c)for(var d=0;d<c.length;d++)b.push({name:d,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return f(a,b)}function i(a,b,c){for(var d=[],e=0;e<a.length;e++)d.push(l(a[e],b,c).source);var h=new RegExp("(?:"+d.join("|")+")",g(c));return f(h,b)}function j(b,c,d){for(var e=a(b),g=k(e,d),h=0;h<e.length;h++)"string"!=typeof e[h]&&c.push(e[h]);return f(g,c)}function k(a,b){b=b||{};for(var c=b.strict,e=b.end!==!1,f="",h=a[a.length-1],i="string"==typeof h&&/\/$/.test(h),j=0;j<a.length;j++){var k=a[j];if("string"==typeof k)f+=d(k);else{var l=d(k.prefix),m=k.pattern;k.repeat&&(m+="(?:"+l+m+")*"),m=k.optional?l?"(?:"+l+"("+m+"))?":"("+m+")?":l+"("+m+")",f+=m}}return c||(f=(i?f.slice(0,-2):f)+"(?:\\/(?=$))?"),f+=e?"$":c&&i?"":"(?=\\/|$)",new RegExp("^"+f,g(b))}function l(a,b,c){return b=b||[],t(b)?c||(c={}):(c=b,b=[]),a instanceof RegExp?h(a,b,c):t(a)?i(a,b,c):j(a,b,c)}function m(){this.callbacks=[],this.exits=[],this.current="",this.len=0,this._decodeURLComponents=!0,this._base="",this._strict=!1,this._running=!1,this._hashbang=!1,this.clickHandler=this.clickHandler.bind(this),this._onpopstate=this._onpopstate.bind(this)}function n(){function a(){return o.apply(b,arguments)}var b=new m;return a.callbacks=b.callbacks,a.exits=b.exits,a.base=b.base.bind(b),a.strict=b.strict.bind(b),a.start=b.start.bind(b),a.stop=b.stop.bind(b),a.show=b.show.bind(b),a.back=b.back.bind(b),a.redirect=b.redirect.bind(b),a.replace=b.replace.bind(b),a.dispatch=b.dispatch.bind(b),a.exit=b.exit.bind(b),a.configure=b.configure.bind(b),a.sameOrigin=b.sameOrigin.bind(b),a.clickHandler=b.clickHandler.bind(b),a.create=n,Object.defineProperty(a,"len",{get:function(){return b.len},set:function(a){b.len=a}}),Object.defineProperty(a,"current",{get:function(){return b.current},set:function(a){b.current=a}}),a.Context=r,a.Route=s,a}function o(a,b){if("function"==typeof a)return o.call(this,"*",a);if("function"==typeof b)for(var c=new s(a,null,this),d=1;d<arguments.length;++d)this.callbacks.push(c.middleware(arguments[d]));else"string"==typeof a?this["string"==typeof b?"redirect":"show"](a,b):this.start(a)}
2function p(a){if(!a.handled){var b,c=this,d=c._window;b=c._hashbang?F&&this._getBase()+d.location.hash.replace("#!",""):F&&d.location.pathname+d.location.search,b!==a.canonicalPath&&(c.stop(),a.handled=!1,F&&(d.location.href=a.canonicalPath))}}function q(a){return a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function r(a,b,c){var d=this.page=c||o,e=d._window,f=d._hashbang,g=d._getBase();"/"===a[0]&&0!==a.indexOf(g)&&(a=g+(f?"#!":"")+a);var h=a.indexOf("?");this.canonicalPath=a;var i=new RegExp("^"+q(g));if(this.path=a.replace(i,"")||"/",f&&(this.path=this.path.replace("#!","")||"/"),this.title=A&&e.document.title,this.state=b||{},this.state.path=a,this.querystring=~h?d._decodeURLEncodedURIComponent(a.slice(h+1)):"",this.pathname=d._decodeURLEncodedURIComponent(~h?a.slice(0,h):a),this.params={},this.hash="",!f){if(!~this.path.indexOf("#"))return;var j=this.path.split("#");this.path=this.pathname=j[0],this.hash=d._decodeURLEncodedURIComponent(j[1])||"",this.querystring=this.querystring.split("#")[0]}}function s(a,b,c){var d=(this.page=c||G,b||{});d.strict=d.strict||c._strict,this.path="*"===a?"(.*)":a,this.method="GET",this.regexp=u(this.path,this.keys=[],d)}var t=Array.isArray||function(a){return"[object Array]"==Object.prototype.toString.call(a)},u=l,v=a,w=b,x=c,y=k,z=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))"].join("|"),"g");u.parse=v,u.compile=w,u.tokensToFunction=x,u.tokensToRegExp=y;var A="undefined"!=typeof document,B="undefined"!=typeof window,C="undefined"!=typeof history,D="undefined"!=typeof process,E=A&&document.ontouchstart?"touchstart":"click",F=B&&!(!window.history.location&&!window.location);m.prototype.configure=function(a){var b=a||{};this._window=b.window||B&&window,this._decodeURLComponents=b.decodeURLComponents!==!1,this._popstate=b.popstate!==!1&&B,this._click=b.click!==!1&&A,this._hashbang=!!b.hashbang;var c=this._window;this._popstate?c.addEventListener("popstate",this._onpopstate,!1):B&&c.removeEventListener("popstate",this._onpopstate,!1),this._click?c.document.addEventListener(E,this.clickHandler,!1):A&&c.document.removeEventListener(E,this.clickHandler,!1),this._hashbang&&B&&!C?c.addEventListener("hashchange",this._onpopstate,!1):B&&c.removeEventListener("hashchange",this._onpopstate,!1)},m.prototype.base=function(a){return 0===arguments.length?this._base:void(this._base=a)},m.prototype._getBase=function(){var a=this._base;if(a)return a;var b=B&&this._window&&this._window.location;return B&&this._hashbang&&b&&"file:"===b.protocol&&(a=b.pathname),a}
2,m.prototype.strict=function(a){return 0===arguments.length?this._strict:void(this._strict=a)},m.prototype.start=function(a){var b=a||{};if(this.configure(b),!1!==b.dispatch){this._running=!0;var c;if(F){var d=this._window,e=d.location;c=this._hashbang&&~e.hash.indexOf("#!")?e.hash.substr(2)+e.search:this._hashbang?e.search+e.hash:e.pathname+e.search+e.hash}this.replace(c,null,!0,b.dispatch)}},m.prototype.stop=function(){if(this._running){this.current="",this.len=0,this._running=!1;var a=this._window;this._click&&a.document.removeEventListener(E,this.clickHandler,!1),B&&a.removeEventListener("popstate",this._onpopstate,!1),B&&a.removeEventListener("hashchange",this._onpopstate,!1)}},m.prototype.show=function(a,b,c,d){var e=new r(a,b,this),f=this.prevContext;return this.prevContext=e,this.current=e.path,!1!==c&&this.dispatch(e,f),!1!==e.handled&&!1!==d&&e.pushState(),e},m.prototype.back=function(a,b){var c=this;if(this.len>0){var d=this._window;C&&d.history.back(),this.len--}else a?setTimeout(function(){c.show(a,b)}):setTimeout(function(){c.show(c._getBase(),b)})},m.prototype.redirect=function(a,b){var c=this;"string"==typeof a&&"string"==typeof b&&o.call(this,a,function(a){setTimeout(function(){c.replace(b)},0)}),"string"==typeof a&&"undefined"==typeof b&&setTimeout(function(){c.replace(a)},0)},m.prototype.replace=function(a,b,c,d){var e=new r(a,b,this),f=this.prevContext;return this.prevContext=e,this.current=e.path,e.init=c,e.save(),!1!==d&&this.dispatch(e,f),e},m.prototype.dispatch=function(a,b){function c(){var a=g.exits[f++];return a?void a(b,c):d()}function d(){var b=g.callbacks[e++];return a.path!==g.current?void(a.handled=!1):b?void b(a,d):p.call(g,a)}var e=0,f=0,g=this;b?c():d()},m.prototype.exit=function(a,b){if("function"==typeof a)return this.exit("*",a);for(var c=new s(a,null,this),d=1;d<arguments.length;++d)this.exits.push(c.middleware(arguments[d]))},m.prototype.clickHandler=function(a){if(1===this._which(a)&&!(a.metaKey||a.ctrlKey||a.shiftKey||a.defaultPrevented)){var b=a.target,c=a.path||(a.composedPath?a.composedPath():null);if(c)for(var d=0;d<c.length;d++)if(c[d].nodeName&&"A"===c[d].nodeName.toUpperCase()&&c[d].href){b=c[d];break}for(;b&&"A"!==b.nodeName.toUpperCase();)b=b.parentNode;if(b&&"A"===b.nodeName.toUpperCase()){var e="object"==typeof b.href&&"SVGAnimatedString"===b.href.constructor.name;if(!b.hasAttribute("download")&&"external"!==b.getAttribute("rel")){var f=b.getAttribute("href");if((this._hashbang||!this._samePath(b)||!b.hash&&"#"!==f)&&!(f&&f.indexOf("mailto:")>-1)&&(e?!b.target.baseVal:!b.target)&&(e||this.sameOrigin(b.href))){var g=e?b.href.baseVal:b.pathname+b.search+(b.hash||"");g="/"!==g[0]?"/"+g:g,D&&g.match(/^\/[a-zA-Z]:\//)&&(g=g.replace(/^\/[a-zA-Z]:\//,"/"));var h=g,i=this._getBase();0===g.indexOf(i)&&(g=g.substr(i.length)),this._hashbang&&(g=g.replace("#!","")),(!i||h!==g||F&&"file:"===this._window.location.protocol)&&(a.preventDefault(),this.show(h))}}}}},m.prototype._onpopstate=function(){var a=!1;return B?(A&&"complete"===document.readyState?a=!0:window.addEventListener("load",function(){setTimeout(function(){a=!0},0)}),function(b){if(a){var c=this;if(b.state){var d=b.state.path;c.replace(d,b.state)}else if(F){var e=c._window.location;c.show(e.pathname+e.search+e.hash,void 0,void 0,!1)}}}):function(){}}(),m.prototype._which=function(a){return a=a||B&&this._window.event,null==a.which?a.button:a.which},m.prototype._toURL=function(a){var b=this._window;if("function"==typeof URL&&F)return new URL(a,b.location.toString());if(A){var c=b.document.createElement("a");return c.href=a,c}},m.prototype.sameOrigin=function(a){if(!a||!F)return!1;var b=this._toURL(a),c=this._window,d=c.location;return d.protocol===b.protocol&&d.hostname===b.hostname&&d.port===b.port},m.prototype._samePath=function(a){if(!F)return!1;var b=this._window,c=b.location;return a.pathname===c.pathname&&a.search===c.search},m.prototype._decodeURLEncodedURIComponent=function(a){return"string"!=typeof a?a:this._decodeURLComponents?decodeURIComponent(a.replace(/\+/g," ")):a},r.prototype.pushState=function(){var a=this.page,b=a._window,c=a._hashbang;a.len++,C&&b.history.pushState(this.state,this.title,c&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},r.prototype.save=function(){var a=this.page;C&&a._window.history.replaceState(this.state,this.title,a._hashbang&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},s.prototype.middleware=function(a){var b=this;return function(c,d){return b.match(c.path,c.params)?a(c,d):void d()}},s.prototype.match=function(a,b){var c=this.keys,d=a.indexOf("?"),e=~d?a.slice(0,d):a,f=this.regexp.exec(decodeURIComponent(e));if(!f)return!1;for(var g=1,h=f.length;h>g;++g){var i=c[g-1],j=this.page._decodeURLEncodedURIComponent(f[g]);void 0===j&&hasOwnProperty.call(b,i.name)||(b[i.name]=j)}return!0};var G=n(),H=G,I=G;return H["default"]=I,H});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.