1function commonMain(){function t(t){if(t.length>0)return $("body,html").animate({scrollTop:t.offset().top},400,"swing"),!1}function e(){var t=$(window).scrollTop();t>300?s.fadeIn("slow"):t<300&&s.fadeOut("fast")}var n=$(".nav-box"),i=$("#menu-btn"),r=$("#menu-close-btn"),s=$("a.to-top");i.click(function(){return n.fadeIn("fast"),i.css("display","none"),r.css("display","block"),r.one("click",function(){return n.fadeOut("fast"),i.css("display","block"),r.css("display","none"),!1}),!1}),$("[data-tracking]").gaTracking(),$("[data-fancybox]").length>0&&$("[data-fancybox]").fancybox({buttons:[],smallBtn:!0,afterShow:function(){$(".fancybox-slide--image").length>0&&$(".fancybox-image-wrap").addClass("close-btn")},animationEffect:"fade",zoomOpacity:"auto",animationDuration:0,preload:"true",mobile:{clickContent:function(t,e){return"image"===t.type?"toggleControls":"close"},clickSlide:function(t,e){return t.type,"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}}}),$(window).scroll(e),e(),s.on("click",function(){t($("body"))}
1),$('a[href^="#"]').click(function(){var e=$(this).attr("id");if("menu-btn"!==e&&"menu-close-btn"!==e){var n=$($(this).attr("href"));return n.length>0?(t(n),!1):void 0}})}function characterMain(){function t(t,i){var r,s=$("#character-thumb-"+t),a=$("#canvas-"+t),o=n[t+i];e[t]?(r=e[t].stage).removeAllChildren():(r=new createjs.Stage(a.get(0)),createjs.Ticker.addEventListener("tick",r)),o.x=0,o.y=0,o.scaleX=.5,o.scaleY=.5,r.addChild(o),e[t]={element:a,stage:r},s.find(".character-thumb-loader").fadeOut(300),a.fadeIn(300)}var e={},n={};createjs.Ticker.init(),createjs.Ticker.timingMode=createjs.Ticker.RAF_SYNCHED,createjs.Ticker.setFPS(20),$(".color a").on("click",function(i){var r=$(i.currentTarget).data(),s=r.character,a=$("#character-thumb-"+s),o=r.color,c=s+o,l=new createjs.LoadQueue(!1);return(e[s]?e[s].element:a.find(".character-thumb")).fadeOut(300),a.find(".character-thumb-loader").fadeIn(300,function(){n[c]?t(s,o):(l.on("complete",function(e){n[c]=new createjs.Sprite(e.target.getResult("character"),"do"),t(s,o)}),l.loadManifest([{id:"character",src:"../resources/sprite/character/"+s+r.color+".json",type:"spritesheet"}],!0))}),ga("send","event","atlus_dcpro","view",s+"_anime"+o),!1})}!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(t,e,n){var i,r,s=(n=n||ht).createElement("script");if(s.text=t,e)for(i in dt)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&s.setAttribute(i,r);n.head.appendChild(s).parentNode.removeChild(s)}function i(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?it[rt.call(t)]||"object":typeof t}function r(t){var e=!!t&&"length"in t&&t.length,n=i(t);return!lt(t)&&!ut(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}function s(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function a(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function o(t,e,n){return lt(e)?gt.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?gt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?gt.grep(t,function(t){return-1<nt.call(e,t)!==n}):gt.filter(e,t,n)}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function l(t){return t}function u(t){throw t}function h(t,e,n,i){var r;try{t&<(r=t.promise)?r.call(t).done(e).fail(n):t&<(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function d(){ht.removeEventListener("DOMContentLoaded",d),t.removeEventListener("load",d),gt.ready()}function f(t,e){return e.toUpperCase()}function p(t){return t.replace(Ot,"ms-").replace(Nt,f)}function g(){this.expando=gt.expando+g.uid++}function m(t,e,n){var i,r;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Bt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:$t.test(r)?JSON.parse(r):r)}catch(t){}qt.set(t,e,n)}else n=void 0;return n}function v(t,e,n,i){var r,s,a=20,o=i?function(){return i.cur()}:function(){return gt.css(t,e,"")},c=o(),l=n&&n[3]||(gt.cssNumber[e]?"":"px"),u=t.nodeType&&(gt.cssNumber[e]||"px"!==l&&+c)&&Ut.exec(gt.css(t,e));
vendor: 11,043 bytes, line 1
1if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;a--;)gt.style(t,e,u+l),(1-s)*(1-(s=o()/c||.5))<=0&&(a=0),u/=s;u*=2,gt.style(t,e,u+l),n=n||[]}return n&&(u=+u||+c||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=l,i.start=u,i.end=r)),r}function _(t,e){for(var n,i,r,s,a,o,c,l=[],u=0,h=t.length;u<h;u++)(i=t[u]).style&&(n=i.style.display,e?("none"===n&&(l[u]=Ht.get(i,"display")||null,l[u]||(i.style.display="")),""===i.style.display&&Qt(i)&&(l[u]=(c=a=s=void 0,a=(r=i).ownerDocument,o=r.nodeName,(c=zt[o])||(s=a.body.appendChild(a.createElement(o)),c=gt.css(s,"display"),s.parentNode.removeChild(s),"none"===c&&(c="block"),zt[o]=c)))):"none"!==n&&(l[u]="none",Ht.set(i,"display",n)));for(u=0;u<h;u++)null!=l[u]&&(t[u].style.display=l[u]);return t}function y(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&s(t,e)?gt.merge([t],n):n}function b(t,e){for(var n=0,i=t.length;n<i;n++)Ht.set(t[n],"globalEval",!e||Ht.get(e[n],"globalEval"))}function x(t,e,n,r,s){for(var a,o,c,l,u,h,d=e.createDocumentFragment(),f=[],p=0,g=t.length;p<g;p++)if((a=t[p])||0===a)if("object"===i(a))gt.merge(f,a.nodeType?[a]:a);else if(ie.test(a)){for(o=o||d.appendChild(e.createElement("div")),c=(te.exec(a)||["",""])[1].toLowerCase(),l=ne[c]||ne._default,o.innerHTML=l[1]+gt.htmlPrefilter(a)+l[2],h=l[0];h--;)o=o.lastChild;gt.merge(f,o.childNodes),(o=d.firstChild).textContent=""}else f.push(e.createTextNode(a));for(d.textContent="",p=0;a=f[p++];)if(r&&-1<gt.inArray(a,r))s&&s.push(a);else if(u=Gt(a),o=y(d.appendChild(a),"script"),u&&b(o),n)for(h=0;a=o[h++];)ee.test(a.type||"")&&n.push(a);return d}function w(){return!0}function S(){return!1}function T(t,e,n,i,r,s){var a,o;if("object"==typeof e){for(o in"string"!=typeof n&&(i=i||n,n=void 0),e)T(t,o,n,i,e[o],s);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=S;else if(!r)return t;return 1===s&&(a=r,(r=function(t){return gt().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=gt.guid++)),t.each(function(){gt.event.add(this,e,r,i,n)})}function E(t,e,n){n?(Ht.set(t,e,!1),gt.event.add(t,e,{namespace:!1,handler:function(t){var n,i=Ht.get(this,e);if(1&t.isTrigger&&this[e]){if(i)(gt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=Z.call(arguments),Ht.set(this,e,i),this[e](),n=Ht.get(this,e),Ht.set(this,e,!1),i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else i&&(Ht.set(this,e,gt.event.trigger(i[0],i.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=w)}})):void 0===Ht.get(t,e)&>.event.add(t,e,w)}function j(t,e){return s(t,"table")&&s(11!==e.nodeType?e:e.firstChild,"tr")&>(t).children("tbody")[0]||t}function P(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function L(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function A(t,e){var n,i,r,s,a,o;if(1===e.nodeType){if(Ht.hasData(t)&&(o=Ht.get(t).events))for(r in Ht.remove(e,"handle events"),o)for(n=0,i=o[r].length;n<i;n++)gt.event.add(e,r,o[r][n]);qt.hasData(t)&&(s=qt.access(t),a=gt.extend({},s),qt.set(e,a))}}function C(t,e,i,r){e=tt(e);var s,a,o,c,l,u,h=0,d=t.length,f=d-1,p=e[0],g=lt(p);if(g||1<d&&"string"==typeof p&&!ct.checkClone&&ae.test(p))return t.each(function(n){var s=t.eq(n);g&&(e[0]=p.call(this,n,s.html())),C(s,e,i,r)});if(d&&(a=(s=x(e,t[0].ownerDocument,!1,t,r)).firstChild,1===s.childNodes.length&&(s=a),a||r)){for(c=(o=gt.map(y(s,"script"),P)).length;h<d;h++)l=s,h!==f&&(l=gt.clone(l,!0,!0),c&>.merge(o,y(l,"script"))),i.call(t[h],l,h);if(c)for(u=o[o.length-1].ownerDocument,gt.map(o,L),h=0;h<c;h++)l=o[h],ee.test(l.type||"")&&!Ht.access(l,"globalEval")&>.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?gt._evalUrl&&!l.noModule&>._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):n(l.textContent.replace(oe,""),l,u))}return t}function I(t,e,n){for(var i,r=e?gt.filter(e,t):t,s=0;null!=(i=r[s]);s++)n||1!==i.nodeType||gt.cleanData(y(i)),i.parentNode&&(n&&Gt(i)&&b(y(i,"script")),i.parentNode.removeChild(i));return t}function M(t,e,n){var i,r,s,a,o=le.test(e),c=t.style;return(n=n||ue(t))&&(a=n.getPropertyValue(e)||n[e],o&&a&&(a=a.replace(bt,"$1")||void 0),""!==a||Gt(t)||(a=gt.style(t,e)),!ct.pixelBoxStyles()&&ce.test(a)&&de.test(e)&&(i=c.width,r=c.minWidth,s=c.maxWidth,c.minWidth=c.maxWidth=c.width=a,a=n.width,c.width=i,c.minWidth=r,c.maxWidth=s)),void 0!==a?a+"":a}function R(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function D(t){return gt.cssProps[t]||ge[t]||(t in pe?t:ge[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=fe.length;n--;)if((t=fe[n]+e)in pe)return t}(t)||t)}function k(t,e,n){var i=Ut.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function O(t,e,n,i,r,s){var a="width"===e?1:0,o=0,c=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=gt.css(t,n+Yt[a],!0,r)),i?("content"===n&&(c-=gt.css(t,"padding"+Yt[a],!0,r)),"margin"!==n&&(c-=gt.css(t,"border"+Yt[a]+"Width",!0,r))):(c+=gt.css(t,"padding"+Yt[a],!0,r),"padding"!==n?c+=gt.css(t,"border"+Yt[a]+"Width",!0,r):o+=gt.css(t,"border"+Yt[a]+"Width",!0,r));return!i&&0<=s&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-c-o-.5))||0),c+l}function N(t,e,n){var i=ue(t),r=(!ct.boxSizingReliable()||n)&&"border-box"===gt.css(t,"boxSizing",!1,i),a=r,o=M(t,e,i),c="offset"+e[0].toUpperCase()+e.slice(1);if(ce.test(o)){if(!n)return o;o="auto"}return(!ct.boxSizingReliable()&&r||!ct.reliableTrDimensions()&&s(t,"tr")||"auto"===o||!parseFloat(o)&&"inline"===gt.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===gt.css(t,"boxSizing",!1,i),(a=c in t)&&(o=t[c])),(o=parseFloat(o)||0)+O(t,e,n||(r?"border":"content"),a,i,o)+"px"}function F(t,e,n,i,r){return new F.prototype.init(t,e,n,i,r)}function H(){be&&(!1===ht.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(H):t.setTimeout(H,gt.fx.interval),gt.fx.tick())}function q(){return t.setTimeout(function(){ye=void 0}),ye=Date.now()}function $(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=Yt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function B(t,e,n){for(var i,r=(X.tweeners[e]||[]).concat(X.tweeners["*"]),s=0,a=r.length;s<a;s++)if(i=r[s].call(n,e,t))return i}function X(t,e,n){var i,r,s=0,a=X.prefilters.length,o=gt.Deferred().always(function(){delete c.elem}),c=function(){if(r)return!1;for(var e=ye||q(),n=Math.max(0,l.startTime+l.duration-e),i=1-(n/l.duration||0),s=0,a=l.tweens.length;s<a;s++)l.tweens[s].run(i);return o.notifyWith(t,[l,i,n]),i<1&&a?n:(a||o.notifyWith(t,[l,1,0]),o.resolveWith(t,[l]),!1)},l=o.promise({elem:t,props:gt.extend({},e),opts:gt.extend(!0,{specialEasing:{},easing:gt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ye||q(),duration:n.duration,tweens:[],createTween:function(e,n){var i=gt.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(i),i},stop:function(e){var n=0,i=e?l.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)l.tweens[n].run(1);return e?(o.notifyWith(t,[l,1,0]),o.resolveWith(t,[l,e])):o.rejectWith(t,[l,e]),this}}),u=l.props;for(!function(t,e){var n,i,r,s,a;for(n in t)if(r=e[i=p(n)],s=t[n],Array.isArray(s)&&(r=s[1],s=t[n]=s[0]),n!==i&&(t[i]=s,delete t[n]),(a=gt.cssHooks[i])&&"expand"in a)for(n in s=a.expand(s),delete t[i],s)n in t||(t[n]=s[n],e[n]=r);else e[i]=r}(u,l.opts.specialEasing);s<a;s++)if(i=X.prefilters[s].call(l,t,u,l.opts))return lt(i.stop)&&(gt._queueHooks(l.elem,l.opts.queue).stop=i.stop.bind(i)),i;return gt.map(u,B,l),lt(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),gt.fx.timer(gt.extend(c,{elem:t,anim:l,queue:l.opts.queue})),l}function U(t){return(t.match(Mt)||[]).join(" ")}function Y(t){return t.getAttribute&&t.getAttribute("class")||""}function W(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Mt)||[]}function G(t,e,n,r){var s;if(Array.isArray(e))gt.each(e,function(e,i){n||ke.test(t)?r(t,i):G(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==i(e))r(t,e);else for(s in e)G(t+"["+s+"]",e[s],n,r)}function V(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,s=e.toLowerCase().match(Mt)||[];if(lt(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Q(t,e,n,i){function r(o){var c;return s[o]=!0,gt.each(t[o]||[],function(t,o){var l=o(e,n,i);return"string"!=typeof l||a||s[l]?a?!(c=l):void 0:(e.dataTypes.unshift(l),r(l),!1)}),c}var s={},a=t===We;return r(e.dataTypes[0])||!s["*"]&&r("*")}function z(t,e){var n,i,r=gt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&>.extend(!0,t,i),t}var J=[],K=Object.getPrototypeOf,Z=J.slice,tt=J.flat?function(t){return J.flat.call(t)}:function(t){return J.concat.apply([],t)},et=J.push,nt=J.indexOf,it={},rt=it.toString,st=it.hasOwnProperty,at=st.toString,ot=at.call(Object),ct={},lt=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},ut=function(t){return null!=t&&t===t.window},ht=t.document,dt={type:!0,src:!0,nonce:!0,noModule:!0},ft="3.7.1",pt=/HTML$/i,gt=function(t,e){return new gt.fn.init(t,e)};gt.fn=gt.prototype={jquery:ft,constructor:gt,length:0,toArray:function(){return Z.call(this)},get:function(t){return null==t?Z.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=gt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return gt.each(this,t)},map:function(t){return this.pushStack(gt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(Z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(gt.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(gt.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:et,sort:J.sort,splice:J.splice},gt.extend=gt.fn.extend=function(){var t,e,n,i,r,s,a=arguments[0]||{},o=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[o]||{},o++),"object"==typeof a||lt(a)||(a={}),o===c&&(a=this,o--);o<c;o++)if(null!=(t=arguments[o]))for(e in t)i=t[e],"__proto__"!==e&&a!==i&&(l&&i&&(gt.isPlainObject(i)||(r=Array.isArray(i)))?(n=a[e],s=r&&!Array.isArray(n)?[]:r||gt.isPlainObject(n)?n:{},r=!1,a[e]=gt.extend(l,s,i)):void 0!==i&&(a[e]=i));return a},gt.extend({expando:"jQuery"+(ft+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==rt.call(t)||(e=K(t))&&("function"!=typeof(n=st.call(e,"constructor")&&e.constructor)||at.call(n)!==ot))},isEmptyObject:function(t){var e;
vendor: 5,831 bytes, line 1
1for(e in t)return!1;return!0},globalEval:function(t,e,i){n(t,{nonce:e&&e.nonce},i)},each:function(t,e){var n,i=0;if(r(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},text:function(t){var e,n="",i=0,r=t.nodeType;if(!r)for(;e=t[i++];)n+=gt.text(e);return 1===r||11===r?t.textContent:9===r?t.documentElement.textContent:3===r||4===r?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(r(Object(t))?gt.merge(n,"string"==typeof t?[t]:t):et.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:nt.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!pt.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,s=t.length,a=!n;r<s;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,s,a=0,o=[];if(r(t))for(i=t.length;a<i;a++)null!=(s=e(t[a],a,n))&&o.push(s);else for(a in t)null!=(s=e(t[a],a,n))&&o.push(s);return tt(o)},guid:1,support:ct}),"function"==typeof Symbol&&(gt.fn[Symbol.iterator]=J[Symbol.iterator]),gt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){it["[object "+e+"]"]=e.toLowerCase()});var mt=J.pop,vt=J.sort,_t=J.splice,yt="[\\x20\\t\\r\\n\\f]",bt=new RegExp("^"+yt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+yt+"+$","g");gt.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var xt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;gt.escapeSelector=function(t){return(t+"").replace(xt,a)};var wt=ht,St=et;!function(){function e(t,n,i,r){var s,a,o,u,f,p,g,m=n&&n.ownerDocument,v=n?n.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==v&&9!==v&&11!==v)return i;if(!r&&(l(n),n=n||E,P)){if(11!==v&&(f=tt.exec(t)))if(s=f[1]){if(9===v){if(!(o=n.getElementById(s)))return i;if(o.id===s)return C.call(i,o),i}else if(m&&(o=m.getElementById(s))&&e.contains(n,o)&&o.id===s)return C.call(i,o),i}else{if(f[2])return C.apply(i,n.getElementsByTagName(t)),i;if((s=f[3])&&n.getElementsByClassName)return C.apply(i,n.getElementsByClassName(s)),i}if(!(N[t+" "]||L&&L.test(t))){if(g=t,m=n,1===v&&(W.test(t)||Y.test(t))){for((m=et.test(t)&&c(n.parentNode)||n)==n&&ct.scope||((u=n.getAttribute("id"))?u=gt.escapeSelector(u):n.setAttribute("id",u=I)),a=(p=h(t)).length;a--;)p[a]=(u?"#"+u:":scope")+" "+d(p[a]);g=p.join(",")}try{return C.apply(i,m.querySelectorAll(g)),i}catch(n){N(t,!0)}finally{u===I&&n.removeAttribute("id")}}}return y(t.replace(bt,"$1"),n,i,r)}function n(){var t=[];return function e(n,i){return t.push(n+" ")>x.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function i(t){return t[I]=!0,t}function r(t){var e=E.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function o(t){return i(function(e){return e=+e,i(function(n,i){for(var r,s=t([],n.length,e),a=s.length;a--;)n[r=s[a]]&&(n[r]=!(i[r]=n[r]))})})}function c(t){return t&&void 0!==t.getElementsByTagName&&t}function l(t){var n,i=t?t.ownerDocument||t:wt;return i!=E&&9===i.nodeType&&i.documentElement&&(j=(E=i).documentElement,P=!gt.isXMLDoc(E),A=j.matches||j.webkitMatchesSelector||j.msMatchesSelector,j.msMatchesSelector&&wt!=E&&(n=E.defaultView)&&n.top!==n&&n.addEventListener("unload",at),ct.getById=r(function(t){return j.appendChild(t).id=gt.expando,!E.getElementsByName||!E.getElementsByName(gt.expando).length}),ct.disconnectedMatch=r(function(t){return A.call(t,"*")}),ct.scope=r(function(){return E.querySelectorAll(":scope")}),ct.cssHas=r(function(){try{return E.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}}),ct.getById?(x.filter.ID=function(t){var e=t.replace(it,rt);return function(t){return t.getAttribute("id")===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&P){var n=e.getElementById(t);return n?[n]:[]}}):(x.filter.ID=function(t){var e=t.replace(it,rt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&P){var n,i,r,s=e.getElementById(t);if(s){if((n=s.getAttributeNode("id"))&&n.value===t)return[s];for(r=e.getElementsByName(t),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===t)return[s]}return[]}}),x.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},x.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&P)return e.getElementsByClassName(t)},L=[],r(function(t){var e;j.appendChild(t).innerHTML="<a id='"+I+"' href='' disabled='disabled'></a><select id='"+I+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||L.push("\\["+yt+"*(?:value|"+H+")"),t.querySelectorAll("[id~="+I+"-]").length||L.push("~="),t.querySelectorAll("a#"+I+"+*").length||L.push(".#.+[+~]"),t.querySelectorAll(":checked").length||L.push(":checked"),(e=E.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),j.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),(e=E.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||L.push("\\["+yt+"*name"+yt+"*="+yt+"*(?:''|\"\")")}),ct.cssHas||L.push(":has"),L=L.length&&new RegExp(L.join("|")),F=function(t,n){if(t===n)return T=!0,0;var i=!t.compareDocumentPosition-!n.compareDocumentPosition;
vendor: 5,774 bytes, line 1
1return i||(1&(i=(t.ownerDocument||t)==(n.ownerDocument||n)?t.compareDocumentPosition(n):1)||!ct.sortDetached&&n.compareDocumentPosition(t)===i?t===E||t.ownerDocument==wt&&e.contains(wt,t)?-1:n===E||n.ownerDocument==wt&&e.contains(wt,n)?1:S?nt.call(S,t)-nt.call(S,n):0:4&i?-1:1)}),E}function u(){}function h(t,n){var i,r,s,a,o,c,l,u=k[t+" "];if(u)return n?0:u.slice(0);for(o=t,c=[],l=x.preFilter;o;){for(a in i&&!(r=U.exec(o))||(r&&(o=o.slice(r[0].length)||o),c.push(s=[])),i=!1,(r=Y.exec(o))&&(i=r.shift(),s.push({value:i,type:r[0].replace(bt," ")}),o=o.slice(i.length)),x.filter)!(r=Q[a].exec(o))||l[a]&&!(r=l[a](r))||(i=r.shift(),s.push({value:i,type:a,matches:r}),o=o.slice(i.length));if(!i)break}return n?o.length:o?e.error(t):k(t,c).slice(0)}function d(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,r=e.next,a=r||i,o=n&&"parentNode"===a,c=R++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||o)return t(e,n,r);return!1}:function(e,n,l){var u,h,d=[M,c];if(l){for(;e=e[i];)if((1===e.nodeType||o)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||o)if(h=e[I]||(e[I]={}),r&&s(e,r))e=e[i]||e;else{if((u=h[a])&&u[0]===M&&u[1]===c)return d[2]=u[2];if((h[a]=d)[2]=t(e,n,l))return!0}return!1}}function p(t){return 1<t.length?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function g(t,e,n,i,r){for(var s,a=[],o=0,c=t.length,l=null!=e;o<c;o++)(s=t[o])&&(n&&!n(s,i,r)||(a.push(s),l&&e.push(o)));return a}function m(t,n,r,s,a,o){return s&&!s[I]&&(s=m(s)),a&&!a[I]&&(a=m(a,o)),i(function(i,o,c,l){var u,h,d,f,p=[],m=[],v=o.length,_=i||function(t,n,i){for(var r=0,s=n.length;r<s;r++)e(t,n[r],i);return i}(n||"*",c.nodeType?[c]:c,[]),y=!t||!i&&n?_:g(_,p,t,c,l);if(r?r(y,f=a||(i?t:v||s)?[]:o,c,l):f=y,s)for(u=g(f,m),s(u,[],c,l),h=u.length;h--;)(d=u[h])&&(f[m[h]]=!(y[m[h]]=d));if(i){if(a||t){if(a){for(u=[],h=f.length;h--;)(d=f[h])&&u.push(y[h]=d);a(null,f=[],u,l)}for(h=f.length;h--;)(d=f[h])&&-1<(u=a?nt.call(i,d):p[h])&&(i[u]=!(o[u]=d))}}else f=g(f===o?f.splice(v,f.length):f),a?a(null,o,f,l):C.apply(o,f)})}function v(t){for(var e,n,i,r=t.length,s=x.relative[t[0].type],a=s||x.relative[" "],o=s?1:0,c=f(function(t){return t===e},a,!0),l=f(function(t){return-1<nt.call(e,t)},a,!0),u=[function(t,n,i){var r=!s&&(i||n!=w)||((e=n).nodeType?c(t,n,i):l(t,n,i));return e=null,r}];o<r;o++)if(n=x.relative[t[o].type])u=[f(p(u),n)];else{if((n=x.filter[t[o].type].apply(null,t[o].matches))[I]){for(i=++o;i<r&&!x.relative[t[i].type];i++);return m(1<o&&p(u),1<o&&d(t.slice(0,o-1).concat({value:" "===t[o-2].type?"*":""})).replace(bt,"$1"),n,o<i&&v(t.slice(o,i)),i<r&&v(t=t.slice(i)),i<r&&d(t))}u.push(n)}return p(u)}function _(t,e){var n,r,s,a,o,c,u=[],d=[],f=O[t+" "];if(!f){for(e||(e=h(t)),n=e.length;n--;)(f=v(e[n]))[I]?u.push(f):d.push(f);(f=O(t,(r=d,a=0<(s=u).length,o=0<r.length,c=function(t,e,n,i,c){var u,h,d,f=0,p="0",m=t&&[],v=[],_=w,y=t||o&&x.find.TAG("*",c),b=M+=null==_?1:Math.random()||.1,S=y.length;for(c&&(w=e==E||e||c);p!==S&&null!=(u=y[p]);p++){if(o&&u){for(h=0,e||u.ownerDocument==E||(l(u),n=!P);d=r[h++];)if(d(u,e||E,n)){C.call(i,u);break}c&&(M=b)}a&&((u=!d&&u)&&f--,t&&m.push(u))}if(f+=p,a&&p!==f){for(h=0;d=s[h++];)d(m,v,e,n);if(t){if(0<f)for(;p--;)m[p]||v[p]||(v[p]=mt.call(i));v=g(v)}C.apply(i,v),c&&!t&&0<v.length&&1<f+s.length&>.uniqueSort(i)}return c&&(M=b,w=_),m},a?i(c):c))).selector=t}return f}function y(t,e,n,i){var r,s,a,o,l,u="function"==typeof t&&t,f=!i&&h(t=u.selector||t);if(n=n||[],1===f.length){if(2<(s=f[0]=f[0].slice(0)).length&&"ID"===(a=s[0]).type&&9===e.nodeType&&P&&x.relative[s[1].type]){if(!(e=(x.find.ID(a.matches[0].replace(it,rt),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(r=Q.needsContext.test(t)?0:s.length;r--&&(a=s[r],!x.relative[o=a.type]);)if((l=x.find[o])&&(i=l(a.matches[0].replace(it,rt),et.test(s[0].type)&&c(e.parentNode)||e))){if(s.splice(r,1),!(t=i.length&&d(s)))return C.apply(n,i),n;break}}return(u||_(t,f))(i,e,!P,n,!e||et.test(t)&&c(e.parentNode)||e),n}var b,x,w,S,T,E,j,P,L,A,C=St,I=gt.expando,M=0,R=0,D=n(),k=n(),O=n(),N=n(),F=function(t,e){return t===e&&(T=!0),0},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",q="(?:\\\\[\\da-fA-F]{1,6}"+yt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$="\\["+yt+"*("+q+")(?:"+yt+"*([*^$|!~]?=)"+yt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+q+"))|)"+yt+"*\\]",B=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",X=new RegExp(yt+"+","g"),U=new RegExp("^"+yt+"*,"+yt+"*"),Y=new RegExp("^"+yt+"*([>+~]|"+yt+")"+yt+"*"),W=new RegExp(yt+"|>"),G=new RegExp(B),V=new RegExp("^"+q+"$"),Q={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+yt+"*(even|odd|(([+-]|)(\\d*)n|)"+yt+"*(?:([+-]|)"+yt+"*(\\d+)|))"+yt+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+yt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+yt+"*((?:-\\d)?\\d*)"+yt+"*\\)|)(?=[^-]|$)","i")},z=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,tt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,it=new RegExp("\\\\[\\da-fA-F]{1,6}"+yt+"?|\\\\([^\\r\\n\\f])","g"),rt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},at=function(){l()},ot=f(function(t){return!0===t.disabled&&s(t,"fieldset")},{dir:"parentNode",next:"legend"});try{C.apply(J=Z.call(wt.childNodes),wt.childNodes),J[wt.childNodes.length].nodeType}catch(b){C={apply:function(t,e){St.apply(t,Z.call(e))}
vendor: 2,988 bytes, line 1
1,call:function(t){St.apply(t,Z.call(arguments,1))}}}for(b in e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if(l(t),P&&!N[n+" "]&&(!L||!L.test(n)))try{var i=A.call(t,n);if(i||ct.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){N(n,!0)}return 0<e(n,E,null,[t]).length},e.contains=function(t,e){return(t.ownerDocument||t)!=E&&l(t),gt.contains(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=E&&l(t);var n=x.attrHandle[e.toLowerCase()],i=n&&st.call(x.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==i?i:t.getAttribute(e)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},gt.uniqueSort=function(t){var e,n=[],i=0,r=0;if(T=!ct.sortStable,S=!ct.sortStable&&Z.call(t,0),vt.call(t,F),T){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)_t.call(t,n[i],1)}return S=null,t},gt.fn.uniqueSort=function(){return this.pushStack(gt.uniqueSort(Z.apply(this)))},(x=gt.expr={cacheLength:50,createPseudo:i,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(it,rt),t[3]=(t[3]||t[4]||t[5]||"").replace(it,rt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Q.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&G.test(n)&&(e=h(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(it,rt).toLowerCase();return"*"===t?function(){return!0}:function(t){return s(t,e)}},CLASS:function(t){var e=D[t+" "];return e||(e=new RegExp("(^|"+yt+")"+t+"("+yt+"|$)"))&&D(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var s=e.attr(r,t);return null==s?"!="===n:!n||(s+="","="===n?s===i:"!="===n?s!==i:"^="===n?i&&0===s.indexOf(i):"*="===n?i&&-1<s.indexOf(i):"$="===n?i&&s.slice(-i.length)===i:"~="===n?-1<(" "+s.replace(X," ")+" ").indexOf(i):"|="===n&&(s===i||s.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var a="nth"!==t.slice(0,3),o="last"!==t.slice(-4),c="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,h,d,f,p,g=a!==o?"nextSibling":"previousSibling",m=e.parentNode,v=c&&e.nodeName.toLowerCase(),_=!l&&!c,y=!1;if(m){if(a){for(;g;){for(d=e;d=d[g];)if(c?s(d,v):1===d.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?m.firstChild:m.lastChild],o&&_){for(y=(f=(u=(h=m[I]||(m[I]={}))[t]||[])[0]===M&&u[1])&&u[2],d=f&&m.childNodes[f];d=++f&&d&&d[g]||(y=f=0)||p.pop();)if(1===d.nodeType&&++y&&d===e){h[t]=[M,f,y];break}}
vendor: 8,190 bytes, line 1
1else if(_&&(y=f=(u=(h=e[I]||(e[I]={}))[t]||[])[0]===M&&u[1]),!1===y)for(;(d=++f&&d&&d[g]||(y=f=0)||p.pop())&&((c?!s(d,v):1!==d.nodeType)||!++y||(_&&((h=d[I]||(d[I]={}))[t]=[M,y]),d!==e)););return(y-=r)===i||y%i==0&&0<=y/i}}},PSEUDO:function(t,n){var r,s=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[I]?s(n):1<s.length?(r=[t,t,"",n],x.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=s(t,n),a=r.length;a--;)t[i=nt.call(t,r[a])]=!(e[i]=r[a])}):function(t){return s(t,0,r)}):s}},pseudos:{not:i(function(t){var e=[],n=[],r=_(t.replace(bt,"$1"));return r[I]?i(function(t,e,n,i){for(var s,a=r(t,null,i,[]),o=t.length;o--;)(s=a[o])&&(t[o]=!(e[o]=s))}):function(t,i,s){return e[0]=t,r(e,null,s,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return 0<e(t,n).length}}),contains:i(function(t){return t=t.replace(it,rt),function(e){return-1<(e.textContent||gt.text(e)).indexOf(t)}}),lang:i(function(t){return V.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(it,rt).toLowerCase(),function(e){var n;do{if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===j},focus:function(t){return t===function(){try{return E.activeElement}catch(t){}}()&&E.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(t){return s(t,"input")&&!!t.checked||s(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return z.test(t.nodeName)},button:function(t){return s(t,"input")&&"button"===t.type||s(t,"button")},text:function(t){var e;return s(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:o(function(){return[0]}),last:o(function(t,e){return[e-1]}),eq:o(function(t,e,n){return[n<0?n+e:n]}),even:o(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:o(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:o(function(t,e,n){var i;for(i=n<0?n+e:e<n?e:n;0<=--i;)t.push(i);return t}),gt:o(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[b]=function(t){return function(e){return s(e,"input")&&e.type===t}}(b);for(b in{submit:!0,reset:!0})x.pseudos[b]=function(t){return function(e){return(s(e,"input")||s(e,"button"))&&e.type===t}}(b);u.prototype=x.filters=x.pseudos,x.setFilters=new u,ct.sortStable=I.split("").sort(F).join("")===I,l(),ct.sortDetached=r(function(t){return 1&t.compareDocumentPosition(E.createElement("fieldset"))}),gt.find=e,gt.expr[":"]=gt.expr.pseudos,gt.unique=gt.uniqueSort,e.compile=_,e.select=y,e.setDocument=l,e.tokenize=h,e.escape=gt.escapeSelector,e.getText=gt.text,e.isXML=gt.isXMLDoc,e.selectors=gt.expr,e.support=gt.support,e.uniqueSort=gt.uniqueSort}();var Tt=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&>(t).is(n))break;i.push(t)}return i},Et=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},jt=gt.expr.match.needsContext,Pt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;gt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?gt.find.matchesSelector(i,t)?[i]:[]:gt.find.matches(t,gt.grep(e,function(t){return 1===t.nodeType}))},gt.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(gt(t).filter(function(){for(e=0;e<i;e++)if(gt.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)gt.find(t,r[e],n);return 1<i?gt.uniqueSort(n):n},filter:function(t){return this.pushStack(o(this,t||[],!1))},not:function(t){return this.pushStack(o(this,t||[],!0))},is:function(t){return!!o(this,"string"==typeof t&&jt.test(t)?gt(t):t||[],!1).length}});var Lt,At=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(gt.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||Lt,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:At.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof gt?e[0]:e,gt.merge(this,gt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),Pt.test(i[1])&>.isPlainObject(e))for(i in e)lt(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=ht.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):lt(t)?void 0!==n.ready?n.ready(t):t(gt):gt.makeArray(t,this)}).prototype=gt.fn,Lt=gt(ht);var Ct=/^(?:parents|prev(?:Until|All))/,It={children:!0,contents:!0,next:!0,prev:!0};gt.fn.extend({has:function(t){var e=gt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(gt.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,s=[],a="string"!=typeof t&>(t);if(!jt.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&>.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(1<s.length?gt.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?nt.call(gt(t),this[0]):nt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(gt.uniqueSort(gt.merge(this.get(),gt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),gt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Tt(t,"parentNode")},parentsUntil:function(t,e,n){return Tt(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return Tt(t,"nextSibling")},prevAll:function(t){return Tt(t,"previousSibling")},nextUntil:function(t,e,n){return Tt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Tt(t,"previousSibling",n)},siblings:function(t){return Et((t.parentNode||{}).firstChild,t)},children:function(t){return Et(t.firstChild)},contents:function(t){return null!=t.contentDocument&&K(t.contentDocument)?t.contentDocument:(s(t,"template")&&(t=t.content||t),gt.merge([],t.childNodes))}},function(t,e){gt.fn[t]=function(n,i){var r=gt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=gt.filter(i,r)),1<this.length&&(It[t]||gt.uniqueSort(r),Ct.test(t)&&r.reverse()),this.pushStack(r)}});var Mt=/[^\x20\t\r\n\f]+/g;gt.Callbacks=function(t){var e,n;t="string"==typeof t?(e=t,n={},gt.each(e.match(Mt)||[],function(t,e){n[e]=!0}),n):gt.extend({},t);var r,s,a,o,c=[],l=[],u=-1,h=function(){for(o=o||t.once,a=r=!0;l.length;u=-1)for(s=l.shift();++u<c.length;)!1===c[u].apply(s[0],s[1])&&t.stopOnFalse&&(u=c.length,s=!1);t.memory||(s=!1),r=!1,o&&(c=s?[]:"")},d={add:function(){return c&&(s&&!r&&(u=c.length-1,l.push(s)),function e(n){gt.each(n,function(n,r){lt(r)?t.unique&&d.has(r)||c.push(r):r&&r.length&&"string"!==i(r)&&e(r)})}(arguments),s&&!r&&h()),this},remove:function(){return gt.each(arguments,function(t,e){for(var n;-1<(n=gt.inArray(e,c,n));)c.splice(n,1),n<=u&&u--}),this},has:function(t){return t?-1<gt.inArray(t,c):0<c.length},empty:function(){return c&&(c=[]),this},disable:function(){return o=l=[],c=s="",this},disabled:function(){return!c},lock:function(){return o=l=[],s||r||(c=s=""),this},locked:function(){return!!o},fireWith:function(t,e){return o||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),r||h()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!a}};return d},gt.extend({Deferred:function(e){var n=[["notify","progress",gt.Callbacks("memory"),gt.Callbacks("memory"),2],["resolve","done",gt.Callbacks("once memory"),gt.Callbacks("once memory"),0,"resolved"],["reject","fail",gt.Callbacks("once memory"),gt.Callbacks("once memory"),1,"rejected"]],i="pe
1nding",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return gt.Deferred(function(e){gt.each(n,function(n,i){var r=lt(t[i[4]])&&t[i[4]];s[i[1]](function(){var t=r&&r.apply(this,arguments);t&<(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[i[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(e,i,r){function s(e,n,i,r){return function(){var o=this,c=arguments,h=function(){var t,h;if(!(e<a)){if((t=i.apply(o,c))===n.promise())throw new TypeError("Thenable self-resolution");h=t&&("object"==typeof t||"function"==typeof t)&&t.then,lt(h)?r?h.call(t,s(a,n,l,r),s(a,n,u,r)):(a++,h.call(t,s(a,n,l,r),s(a,n,u,r),s(a,n,l,n.notifyWith))):(i!==l&&(o=void 0,c=[t]),(r||n.resolveWith)(o,c))}},d=r?h:function(){try{h()}catch(t){gt.Deferred.exceptionHook&>.Deferred.exceptionHook(t,d.error),a<=e+1&&(i!==u&&(o=void 0,c=[t]),n.rejectWith(o,c))}};e?d():(gt.Deferred.getErrorHook?d.error=gt.Deferred.getErrorHook():gt.Deferred.getStackHook&&(d.error=gt.Deferred.getStackHook()),t.setTimeout(d))}}var a=0;return gt.Deferred(function(t){n[0][3].add(s(0,t,lt(r)?r:l,t.notifyWith)),n[1][3].add(s(0,t,lt(e)?e:l)),n[2][3].add(s(0,t,lt(i)?i:u))}).promise()},promise:function(t){return null!=t?gt.extend(t,r):r}},s={};return gt.each(n,function(t,e){var a=e[2],o=e[5];r[e[1]]=a.add,o&&a.add(function(){i=o},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),a.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?void 0:this,arguments),this},s[e[0]+"With"]=a.fireWith}),r.promise(s),e&&e.call(s,s),s},when:function(t){var e=arguments.length,n=e,i=Array(n),r=Z.call(arguments),s=gt.Deferred(),a=function(t){return function(n){i[t]=this,r[t]=1<arguments.length?Z.call(arguments):n,--e||s.resolveWith(i,r)}};if(e<=1&&(h(t,s.done(a(n)).resolve,s.reject,!e),"pending"===s.state()||lt(r[n]&&r[n].then)))return s.then();for(;n--;)h(r[n],a(n),s.reject);return s.promise()}});var Rt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;gt.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&Rt.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},gt.readyException=function(e){t.setTimeout(function(){throw e})};var Dt=gt.Deferred();gt.fn.ready=function(t){return Dt.then(t).catch(function(t){gt.readyException(t)}),this},gt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--gt.readyWait:gt.isReady)||(gt.isReady=!0)!==t&&0<--gt.readyWait||Dt.resolveWith(ht,[gt])}}),gt.ready.then=Dt.then,"complete"===ht.readyState||"loading"!==ht.readyState&&!ht.documentElement.doScroll?t.setTimeout(gt.ready):(ht.addEventListener("DOMContentLoaded",d),t.addEventListener("load",d));var kt=function(t,e,n,r,s,a,o){var c=0,l=t.length,u=null==n;if("object"===i(n))for(c in s=!0,n)kt(t,e,c,n[c],!0,a,o);else if(void 0!==r&&(s=!0,lt(r)||(o=!0),u&&(o?(e.call(t,r),e=null):(u=e,e=function(t,e,n){return u.call(gt(t),n)})),e))for(;c<l;c++)e(t[c],n,o?r:r.call(t[c],c,e(t[c],n)));return s?t:u?e.call(t):l?e(t[0],n):a},Ot=/^-ms-/,Nt=/-([a-z])/g,Ft=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};g.uid=1,g.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Ft(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[p(e)]=n;else for(i in e)r[p(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][p(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(p):(e=p(e))in i?[e]:e.match(Mt)||[]).length;for(;n--;)delete i[e[n]]}
vendor: 6,061 bytes, line 1
1(void 0===e||gt.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!gt.isEmptyObject(e)}};var Ht=new g,qt=new g,$t=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Bt=/[A-Z]/g;gt.extend({hasData:function(t){return qt.hasData(t)||Ht.hasData(t)},data:function(t,e,n){return qt.access(t,e,n)},removeData:function(t,e){qt.remove(t,e)},_data:function(t,e,n){return Ht.access(t,e,n)},_removeData:function(t,e){Ht.remove(t,e)}}),gt.fn.extend({data:function(t,e){var n,i,r,s=this[0],a=s&&s.attributes;if(void 0===t){if(this.length&&(r=qt.get(s),1===s.nodeType&&!Ht.get(s,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=p(i.slice(5)),m(s,i,r[i]));Ht.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){qt.set(this,t)}):kt(this,function(e){var n;if(s&&void 0===e)return void 0!==(n=qt.get(s,t))?n:void 0!==(n=m(s,t))?n:void 0;this.each(function(){qt.set(this,t,e)})},null,e,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){qt.remove(this,t)})}}),gt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Ht.get(t,e),n&&(!i||Array.isArray(n)?i=Ht.access(t,e,gt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=gt.queue(t,e),i=n.length,r=n.shift(),s=gt._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete s.stop,r.call(t,function(){gt.dequeue(t,e)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Ht.get(t,n)||Ht.access(t,n,{empty:gt.Callbacks("once memory").add(function(){Ht.remove(t,[e+"queue",n])})})}}),gt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?gt.queue(this[0],t):void 0===e?this:this.each(function(){var n=gt.queue(this,t,e);gt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&>.dequeue(this,t)})},dequeue:function(t){return this.each(function(){gt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=gt.Deferred(),s=this,a=this.length,o=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Ht.get(s[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(o));return o(),r.promise(e)}});var Xt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ut=new RegExp("^(?:([+-])=|)("+Xt+")([a-z%]*)$","i"),Yt=["Top","Right","Bottom","Left"],Wt=ht.documentElement,Gt=function(t){return gt.contains(t.ownerDocument,t)},Vt={composed:!0};Wt.getRootNode&&(Gt=function(t){return gt.contains(t.ownerDocument,t)||t.getRootNode(Vt)===t.ownerDocument});var Qt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&Gt(t)&&"none"===gt.css(t,"display")},zt={};gt.fn.extend({show:function(){return _(this,!0)},hide:function(){return _(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Qt(this)?gt(this).show():gt(this).hide()})}});var Jt,Kt,Zt=/^(?:checkbox|radio)$/i,te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ee=/^$|^module$|\/(?:java|ecma)script/i;Jt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Kt=ht.createElement("input")).setAttribute("type","radio"),Kt.setAttribute("checked","checked"),Kt.setAttribute("name","t"),Jt.appendChild(Kt),ct.checkClone=Jt.cloneNode(!0).cloneNode(!0).lastChild.checked,Jt.innerHTML="<textarea>x</textarea>",ct.noCloneChecked=!!Jt.cloneNode(!0).lastChild.defaultValue,Jt.innerHTML="<option></option>",ct.option=!!Jt.lastChild;var ne={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ne.tbody=ne.tfoot=ne.colgroup=ne.caption=ne.thead,ne.th=ne.td,ct.option||(ne.optgroup=ne.option=[1,"<select multiple='multiple'>","</select>"]);var ie=/<|&#?\w+;/,re=/^([^.]*)(?:\.(.+)|)/;gt.event={global:{},add:function(t,e,n,i,r){var s,a,o,c,l,u,h,d,f,p,g,m=Ht.get(t);if(Ft(t))for(n.handler&&(n=(s=n).handler,r=s.selector),r&>.find.matchesSelector(Wt,r),n.guid||(n.guid=gt.guid++),(c=m.events)||(c=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(e){return void 0!==gt&>.event.triggered!==e.type?gt.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(Mt)||[""]).length;l--;)f=g=(o=re.exec(e[l])||[])[1],p=(o[2]||"").split(".").sort(),f&&(h=gt.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,h=gt.event.special[f]||{},u=gt.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&>.expr.match.needsContext.test(r),namespace:p.join(".")},s),(d=c[f])||((d=c[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(f,a)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),gt.event.global[f]=!0)},remove:function(t,e,n,i,r){var s,a,o,c,l,u,h,d,f,p,g,m=Ht.hasData(t)&&Ht.get(t);if(m&&(c=m.events)){for(l=(e=(e||"").match(Mt)||[""]).length;l--;)if(f=g=(o=re.exec(e[l])||[])[1],p=(o[2]||"").split(".").sort(),f){for(h=gt.event.special[f]||{},d=c[f=(i?h.delegateType:h.bindType)||f]||[],o=o[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=d.length;s--;)u=d[s],!r&&g!==u.origType||n&&n.guid!==u.guid||o&&!o.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||gt.removeEvent(t,f,m.handle),delete c[f])}else for(f in c)gt.event.remove(t,f+e[l],n,i,!0);gt.isEmptyObject(c)&&Ht.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,s,a,o=new Array(arguments.length),c=gt.event.fix(t),l=(Ht.get(this,"events")||Object.create(null))[c.type]||[],u=gt.event.special[c.type]||{};for(o[0]=c,e=1;e<arguments.length;e++)o[e]=arguments[e];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(a=gt.event.handlers.call(this,c,l),e=0;(r=a[e++])&&!c.isPropagationStopped();
vendor: 4,314 bytes, line 1
1)for(c.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==s.namespace&&!c.rnamespace.test(s.namespace)||(c.handleObj=s,c.data=s.data,void 0!==(i=((gt.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,o))&&!1===(c.result=i)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(t,e){var n,i,r,s,a,o=[],c=e.delegateCount,l=t.target;if(c&&l.nodeType&&!("click"===t.type&&1<=t.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(s=[],a={},n=0;n<c;n++)void 0===a[r=(i=e[n]).selector+" "]&&(a[r]=i.needsContext?-1<gt(r,this).index(l):gt.find(r,this,null,[l]).length),a[r]&&s.push(i);s.length&&o.push({elem:l,handlers:s})}return l=this,c<e.length&&o.push({elem:l,handlers:e.slice(c)}),o},addProp:function(t,e){Object.defineProperty(gt.Event.prototype,t,{enumerable:!0,configurable:!0,get:lt(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[gt.expando]?t:new gt.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Zt.test(e.type)&&e.click&&s(e,"input")&&E(e,"click",!0),!1},trigger:function(t){var e=this||t;return Zt.test(e.type)&&e.click&&s(e,"input")&&E(e,"click"),!0},_default:function(t){var e=t.target;return Zt.test(e.type)&&e.click&&s(e,"input")&&Ht.get(e,"click")||s(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},gt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},gt.Event=function(t,e){if(!(this instanceof gt.Event))return new gt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?w:S,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&>.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[gt.expando]=!0},gt.Event.prototype={constructor:gt.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=w,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=w,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=w,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},gt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},gt.event.addProp),gt.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){if(ht.documentMode){var n=Ht.get(this,"handle"),i=gt.event.fix(t);i.type="focusin"===t.type?"focus":"blur",i.isSimulated=!0,n(t),i.target===i.currentTarget&&n(i)}else gt.event.simulate(e,t.target,gt.event.fix(t))}gt.event.special[t]={setup:function(){var i;if(E(this,t,!0),!ht.documentMode)return!1;(i=Ht.get(this,e))||this.addEventListener(e,n),Ht.set(this,e,(i||0)+1)},trigger:function(){return E(this,t),!0},teardown:function(){var t;if(!ht.documentMode)return!1;(t=Ht.get(this,e)-1)?Ht.set(this,e,t):(this.removeEventListener(e,n),Ht.remove(this,e))},_default:function(e){return Ht.get(e.target,t)},delegateType:e},gt.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=ht.documentMode?this:i,s=Ht.get(r,e);s||(ht.documentMode?this.addEventListener(e,n):i.addEventListener(t,n,!0)),Ht.set(r,e,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=ht.documentMode?this:i,s=Ht.get(r,e)-1;s?Ht.set(r,e,s):(ht.documentMode?this.removeEventListener(e,n):i.removeEventListener(t,n,!0),Ht.remove(r,e))}}}
vendor: 5,081 bytes, line 1
1),gt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){gt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||gt.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),gt.fn.extend({on:function(t,e,n,i){return T(this,t,e,n,i)},one:function(t,e,n,i){return T(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,gt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=S),this.each(function(){gt.event.remove(this,t,n,e)})}});var se=/<script|<style|<link/i,ae=/checked\s*(?:[^=]|=\s*.checked.)/i,oe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;gt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,s,a,o,c,l,u=t.cloneNode(!0),h=Gt(t);if(!(ct.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||gt.isXMLDoc(t)))for(a=y(u),i=0,r=(s=y(t)).length;i<r;i++)o=s[i],c=a[i],"input"===(l=c.nodeName.toLowerCase())&&Zt.test(o.type)?c.checked=o.checked:"input"!==l&&"textarea"!==l||(c.defaultValue=o.defaultValue);if(e)if(n)for(s=s||y(t),a=a||y(u),i=0,r=s.length;i<r;i++)A(s[i],a[i]);else A(t,u);return 0<(a=y(u,"script")).length&&b(a,!h&&y(t,"script")),u},cleanData:function(t){for(var e,n,i,r=gt.event.special,s=0;void 0!==(n=t[s]);s++)if(Ft(n)){if(e=n[Ht.expando]){if(e.events)for(i in e.events)r[i]?gt.event.remove(n,i):gt.removeEvent(n,i,e.handle);n[Ht.expando]=void 0}n[qt.expando]&&(n[qt.expando]=void 0)}}}),gt.fn.extend({detach:function(t){return I(this,t,!0)},remove:function(t){return I(this,t)},text:function(t){return kt(this,function(t){return void 0===t?gt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return C(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||j(this,t).appendChild(t)})},prepend:function(){return C(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=j(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return C(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return C(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(gt.cleanData(y(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return gt.clone(this,t,e)})},html:function(t){return kt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!se.test(t)&&!ne[(te.exec(t)||["",""])[1].toLowerCase()]){t=gt.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(gt.cleanData(y(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return C(this,arguments,function(e){var n=this.parentNode;gt.inArray(this,t)<0&&(gt.cleanData(y(this)),n&&n.replaceChild(e,this))},t)}}),gt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){gt.fn[t]=function(t){for(var n,i=[],r=gt(t),s=r.length-1,a=0;a<=s;a++)n=a===s?this:this.clone(!0),gt(r[a])[e](n),et.apply(i,n.get());return this.pushStack(i)}});var ce=new RegExp("^("+Xt+")(?!px)[a-z%]+$","i"),le=/^--/,ue=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},he=function(t,e,n){var i,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=s[r];return i},de=new RegExp(Yt.join("|"),"i");!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Wt.appendChild(l).appendChild(u);var e=t.getComputedStyle(u);i="1%"!==e.top,c=12===n(e.marginLeft),u.style.right="60%",a=36===n(e.right),r=36===n(e.width),u.style.position="absolute",s=12===n(u.offsetWidth/3),Wt.removeChild(l),u=null}}function n(t){return Math.round(parseFloat(t))}var i,r,s,a,o,c,l=ht.createElement("div"),u=ht.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",ct.clearCloneStyle="content-box"===u.style.backgroundClip,gt.extend(ct,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,n,i,r;return null==o&&(e=ht.createElement("table"),n=ht.createElement("tr"),i=ht.createElement("div"),e.style.cssText="position:absolute;
1left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",Wt.appendChild(e).appendChild(n).appendChild(i),r=t.getComputedStyle(n),o=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===n.offsetHeight,Wt.removeChild(e)),o}}))}();var fe=["Webkit","Moz","ms"],pe=ht.createElement("div").style,ge={},me=/^(none|table(?!-c[ea]).+)/,ve={position:"absolute",visibility:"hidden",display:"block"},_e={letterSpacing:"0",fontWeight:"400"};gt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=M(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,a,o=p(e),c=le.test(e),l=t.style;if(c||(e=D(o)),a=gt.cssHooks[e]||gt.cssHooks[o],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e];"string"==(s=typeof n)&&(r=Ut.exec(n))&&r[1]&&(n=v(t,e,r),s="number"),null!=n&&n==n&&("number"!==s||c||(n+=r&&r[3]||(gt.cssNumber[o]?"":"px")),ct.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(c?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,i){var r,s,a,o=p(e);return le.test(e)||(e=D(o)),(a=gt.cssHooks[e]||gt.cssHooks[o])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=M(t,e,i)),"normal"===r&&e in _e&&(r=_e[e]),""===n||n?(s=parseFloat(r),!0===n||isFinite(s)?s||0:r):r}}),gt.each(["height","width"],function(t,e){gt.cssHooks[e]={get:function(t,n,i){if(n)return!me.test(gt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?N(t,e,i):he(t,ve,function(){return N(t,e,i)})},set:function(t,n,i){var r,s=ue(t),a=!ct.scrollboxSize()&&"absolute"===s.position,o=(a||i)&&"border-box"===gt.css(t,"boxSizing",!1,s),c=i?O(t,e,i,o,s):0;return o&&a&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-O(t,e,"border",!1,s)-.5)),c&&(r=Ut.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=gt.css(t,e)),k(0,n,c)}}}),gt.cssHooks.marginLeft=R(ct.reliableMarginLeft,function(t,e){if(e)return(parseFloat(M(t,"marginLeft"))||t.getBoundingClientRect().left-he(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),gt.each({margin:"",padding:"",border:"Width"},function(t,e){gt.cssHooks[t+e]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+Yt[i]+e]=s[i]||s[i-2]||s[0];return r}},"margin"!==t&&(gt.cssHooks[t+e].set=k)}),gt.fn.extend({css:function(t,e){return kt(this,function(t,e,n){var i,r,s={},a=0;if(Array.isArray(e)){for(i=ue(t),r=e.length;a<r;a++)s[e[a]]=gt.css(t,e[a],!1,i);return s}return void 0!==n?gt.style(t,e,n):gt.css(t,e)},t,e,1<arguments.length)}}),((gt.Tween=F).prototype={constructor:F,init:function(t,e,n,i,r,s){this.elem=t,this.prop=n,this.easing=r||gt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=s||(gt.cssNumber[n]?"":"px")},cur:function(){var t=F.propHooks[this.prop];return t&&t.get?t.get(this):F.propHooks._default.get(this)},run:function(t){var e,n=F.propHooks[this.prop];return this.options.duration?this.pos=e=gt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):F.propHooks._default.set(this),this}}).init.prototype=F.prototype,(F.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=gt.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){gt.fx.step[t.prop]?gt.fx.step[t.prop](t):1!==t.elem.nodeType||!gt.cssHooks[t.prop]&&null==t.elem.style[D(t.prop)]?t.elem[t.prop]=t.now:gt.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=F.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},gt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},gt.fx=F.prototype.init,gt.fx.step={};var ye,be,xe,we,Se=/^(?:toggle|show|hide)$/,Te=/queueHooks$/;gt.Animation=gt.extend(X,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return v(n.elem,t,Ut.exec(e),n),n}]},tweener:function(t,e){lt(t)?(e=t,t=["*"]):t=t.match(Mt);for(var n,i=0,r=t.length;i<r;i++)n=t[i],X.tweeners[n]=X.tweeners[n]||[],X.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,s,a,o,c,l,u,h="width"in e||"he
1ight"in e,d=this,f={},p=t.style,g=t.nodeType&&Qt(t),m=Ht.get(t,"fxshow");for(i in n.queue||(null==(a=gt._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,o=a.empty.fire,a.empty.fire=function(){a.unqueued||o()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,gt.queue(t,"fx").length||a.empty.fire()})})),e)if(r=e[i],Se.test(r)){if(delete e[i],s=s||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}f[i]=m&&m[i]||gt.style(t,i)}if((c=!gt.isEmptyObject(e))||!gt.isEmptyObject(f))for(i in h&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=m&&m.display)&&(l=Ht.get(t,"display")),"none"===(u=gt.css(t,"display"))&&(l?u=l:(_([t],!0),l=t.style.display||l,u=gt.css(t,"display"),_([t]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===gt.css(t,"float")&&(c||(d.done(function(){p.display=l}),null==l&&(u=p.display,l="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),c=!1,f)c||(m?"hidden"in m&&(g=m.hidden):m=Ht.access(t,"fxshow",{display:l}),s&&(m.hidden=!g),g&&_([t],!0),d.done(function(){for(i in g||_([t]),Ht.remove(t,"fxshow"),f)gt.style(t,i,f[i])})),c=B(g?m[i]:0,i,d),i in m||(m[i]=c.start,g&&(c.end=c.start,c.start=0))}],prefilter:function(t,e){e?X.prefilters.unshift(t):X.prefilters.push(t)}}),gt.speed=function(t,e,n){var i=t&&"object"==typeof t?gt.extend({},t):{complete:n||!n&&e||lt(t)&&t,duration:t,easing:n&&e||e&&!lt(e)&&e};return gt.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in gt.fx.speeds?i.duration=gt.fx.speeds[i.duration]:i.duration=gt.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){lt(i.old)&&i.old.call(this),i.queue&>.dequeue(this,i.queue)},i},gt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Qt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=gt.isEmptyObject(t),s=gt.speed(e,n,i),a=function(){var e=X(this,gt.extend({},t),s);(r||Ht.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===s.queue?this.each(a):this.queue(s.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",s=gt.timers,a=Ht.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&Te.test(r)&&i(a[r]);for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(n),e=!1,s.splice(r,1));!e&&n||gt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Ht.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],s=gt.timers,a=i?i.length:0;for(n.finish=!0,gt.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),gt.each(["toggle","show","hide"],function(t,e){var n=gt.fn[e];gt.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate($(e,!0),t,i,r)}}),gt.each({slideDown:$("show"),slideUp:$("hide"),slideToggle:$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){gt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),gt.timers=[],gt.fx.tick=function(){var t,e=0,n=gt.timers;for(ye=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||gt.fx.stop(),ye=void 0},gt.fx.timer=function(t){gt.timers.push(t),gt.fx.start()},gt.fx.interval=13,gt.fx.start=function(){be||(be=!0,H())},gt.fx.stop=function(){be=null},gt.fx.speeds={slow:600,fast:200,_default:400},gt.fn.delay=function(e,n){return e=gt.fx&>.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(n,i){var r=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(r)}})},xe=ht.createElement("input"),we=ht.createElement("select").appendChild(ht.createElement("option")),xe.type="checkbox",ct.checkOn=""!==xe.value,ct.optSelected=we.selected,(xe=ht.createElement("input")).value="t",xe.type="radio",ct.radioValue="t"===xe.value;var Ee,je=gt.expr.attrHandle;gt.fn.extend({attr:function(t,e){return kt(this,gt.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){gt.removeAttr(this,t)})}}),gt.extend({attr:function(t,e,n){var i,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?gt.prop(t,e,n):(1===s&>.isXMLDoc(t)||(r=gt.attrHooks[e.toLowerCase()]||(gt.expr.match.bool.test(e)?Ee:void 0)),void 0!==n?null===n?void gt.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=gt.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!ct.radioValue&&"radio"===e&&s(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(Mt);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),Ee={set:function(t,e,n){return!1===e?gt.removeAttr(t,n):t.setAttribute(n,n),n}},gt.each(gt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=je[e]||gt.find.attr;
vendor: 5,102 bytes, line 1
1je[e]=function(t,e,i){var r,s,a=e.toLowerCase();return i||(s=je[a],je[a]=r,r=null!=n(t,e,i)?a:null,je[a]=s),r}});var Pe=/^(?:input|select|textarea|button)$/i,Le=/^(?:a|area)$/i;gt.fn.extend({prop:function(t,e){return kt(this,gt.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[gt.propFix[t]||t]})}}),gt.extend({prop:function(t,e,n){var i,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&>.isXMLDoc(t)||(e=gt.propFix[e]||e,r=gt.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=gt.find.attr(t,"tabindex");return e?parseInt(e,10):Pe.test(t.nodeName)||Le.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ct.optSelected||(gt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),gt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){gt.propFix[this.toLowerCase()]=this}),gt.fn.extend({addClass:function(t){var e,n,i,r,s,a;return lt(t)?this.each(function(e){gt(this).addClass(t.call(this,e,Y(this)))}):(e=W(t)).length?this.each(function(){if(i=Y(this),n=1===this.nodeType&&" "+U(i)+" "){for(s=0;s<e.length;s++)r=e[s],n.indexOf(" "+r+" ")<0&&(n+=r+" ");a=U(n),i!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,i,r,s,a;return lt(t)?this.each(function(e){gt(this).removeClass(t.call(this,e,Y(this)))}):arguments.length?(e=W(t)).length?this.each(function(){if(i=Y(this),n=1===this.nodeType&&" "+U(i)+" "){for(s=0;s<e.length;s++)for(r=e[s];-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");a=U(n),i!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,e){var n,i,r,s,a=typeof t,o="string"===a||Array.isArray(t);return lt(t)?this.each(function(n){gt(this).toggleClass(t.call(this,n,Y(this),e),e)}):"boolean"==typeof e&&o?e?this.addClass(t):this.removeClass(t):(n=W(t),this.each(function(){if(o)for(s=gt(this),r=0;r<n.length;r++)i=n[r],s.hasClass(i)?s.removeClass(i):s.addClass(i);else void 0!==t&&"boolean"!==a||((i=Y(this))&&Ht.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":Ht.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+U(Y(n))+" ").indexOf(e))return!0;return!1}});var Ae=/\r/g;gt.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=lt(t),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,gt(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=gt.map(r,function(t){return null==t?"":t+""})),(e=gt.valHooks[this.type]||gt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=gt.valHooks[r.type]||gt.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(Ae,""):null==n?"":n:void 0}}),gt.extend({valHooks:{option:{get:function(t){var e=gt.find.attr(t,"value");return null!=e?e:U(gt.text(t))}},select:{get:function(t){var e,n,i,r=t.options,a=t.selectedIndex,o="select-one"===t.type,c=o?null:[],l=o?a+1:r.length;for(i=a<0?l:o?a:0;i<l;i++)if(((n=r[i]).selected||i===a)&&!n.disabled&&(!n.parentNode.disabled||!s(n.parentNode,"optgroup"))){if(e=gt(n).val(),o)return e;c.push(e)}return c},set:function(t,e){for(var n,i,r=t.options,s=gt.makeArray(e),a=r.length;a--;)((i=r[a]).selected=-1<gt.inArray(gt.valHooks.option.get(i),s))&&(n=!0);return n||(t.selectedIndex=-1),s}}}}),gt.each(["radio","checkbox"],function(){gt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<gt.inArray(gt(t).val(),e)}},ct.checkOn||(gt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ce=t.location,Ie={guid:Date.now()},Me=/\?/;gt.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||gt.error("Invalid XML: "+(i?gt.map(i.childNodes,function(t){return t.textContent}).join("\n"):e)),n};var Re=/^(?:focusinfocus|focusoutblur)$/,De=function(t){t.stopPropagation()};gt.extend(gt.event,{trigger:function(e,n,i,r){var s,a,o,c,l,u,h,d,f=[i||ht],p=st.call(e,"type")?e.type:e,g=st.call(e,"namespace")?e.namespace.split("."):[];if(a=d=o=i=i||ht,3!==i.nodeType&&8!==i.nodeType&&!Re.test(p+gt.event.triggered)&&(-1<p.indexOf(".")&&(p=(g=p.split(".")).shift(),g.sort()),l=p.indexOf(":")<0&&"on"+p,(e=e[gt.expando]?e:new gt.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:gt.makeArray(n,[e]),h=gt.event.special[p]||{},r||!h.trigger||!1!==h.trigger.apply(i,n))){if(!r&&!h.noBubble&&!ut(i)){for(c=
vendor: 16,357 bytes, line 1
1h.delegateType||p,Re.test(c+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),o=a;o===(i.ownerDocument||ht)&&f.push(o.defaultView||o.parentWindow||t)}for(s=0;(a=f[s++])&&!e.isPropagationStopped();)d=a,e.type=1<s?c:h.bindType||p,(u=(Ht.get(a,"events")||Object.create(null))[e.type]&&Ht.get(a,"handle"))&&u.apply(a,n),(u=l&&a[l])&&u.apply&&Ft(a)&&(e.result=u.apply(a,n),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),n)||!Ft(i)||l&<(i[p])&&!ut(i)&&((o=i[l])&&(i[l]=null),gt.event.triggered=p,e.isPropagationStopped()&&d.addEventListener(p,De),i[p](),e.isPropagationStopped()&&d.removeEventListener(p,De),gt.event.triggered=void 0,o&&(i[l]=o)),e.result}},simulate:function(t,e,n){var i=gt.extend(new gt.Event,n,{type:t,isSimulated:!0});gt.event.trigger(i,null,e)}}),gt.fn.extend({trigger:function(t,e){return this.each(function(){gt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return gt.event.trigger(t,e,n,!0)}});var ke=/\[\]$/,Oe=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Fe=/^(?:input|select|textarea|keygen)/i;gt.param=function(t,e){var n,i=[],r=function(t,e){var n=lt(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!gt.isPlainObject(t))gt.each(t,function(){r(this.name,this.value)});else for(n in t)G(n,t[n],e,r);return i.join("&")},gt.fn.extend({serialize:function(){return gt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=gt.prop(this,"elements");return t?gt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!gt(this).is(":disabled")&&Fe.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!Zt.test(t))}).map(function(t,e){var n=gt(this).val();return null==n?null:Array.isArray(n)?gt.map(n,function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}}):{name:e.name,value:n.replace(Oe,"\r\n")}}).get()}});var He=/%20/g,qe=/#.*$/,$e=/([?&])_=[^&]*/,Be=/^(.*?):[ \t]*([^\r\n]*)$/gm,Xe=/^(?:GET|HEAD)$/,Ue=/^\/\//,Ye={},We={},Ge="*/".concat("*"),Ve=ht.createElement("a");Ve.href=Ce.href,gt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ce.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ce.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ge,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":gt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?z(z(t,gt.ajaxSettings),e):z(gt.ajaxSettings,t)},ajaxPrefilter:V(Ye),ajaxTransport:V(We),ajax:function(e,n){function i(e,n,i,o){var l,d,f,b,x,w=n;u||(u=!0,c&&t.clearTimeout(c),r=void 0,a=o||"",S.readyState=0<e?4:0,l=200<=e&&e<300||304===e,i&&(b=function(t,e,n){for(var i,r,s,a,o=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in o)if(o[r]&&o[r].test(i)){c.unshift(r);break}if(c[0]in n)s=c[0];else{for(r in n){if(!c[0]||t.converters[r+" "+c[0]]){s=r;break}a||(a=r)}s=s||a}if(s)return s!==c[0]&&c.unshift(s),n[s]}(p,S,i)),!l&&-1<gt.inArray("script",p.dataTypes)&>.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(t,e,n,i){var r,s,a,o,c,l={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(s=u.shift();s;)if(t.responseFields[s]&&(n[t.responseFields[s]]=e),!c&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=s,s=u.shift())if("*"===s)s=c;else if("*"!==c&&c!==s){if(!(a=l[c+" "+s]||l["* "+s]))for(r in l)if((o=r.split(" "))[1]===s&&(a=l[c+" "+o[0]]||l["* "+o[0]])){!0===a?a=l[r]:!0!==l[r]&&(s=o[0],u.unshift(o[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+c+" to "+s}}}return{state:"success",data:e}}(p,b,S,l),l?(p.ifModified&&((x=S.getResponseHeader("Last-Modified"))&&(gt.lastModified[s]=x),(x=S.getResponseHeader("etag"))&&(gt.etag[s]=x)),204===e||"HEAD"===p.type?w="nocontent":304===e?w="notmodified":(w=b.state,d=b.data,l=!(f=b.error))):(f=w,!e&&w||(w="error",e<0&&(e=0))),S.status=e,S.statusText=(n||w)+"",l?v.resolveWith(g,[d,w,S]):v.rejectWith(g,[S,w,f]),S.statusCode(y),y=void 0,h&&m.trigger(l?"ajaxSuccess":"ajaxError",[S,p,l?d:f]),_.fireWith(g,[S,w]),h&&(m.trigger("ajaxComplete",[S,p]),--gt.active||gt.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var r,s,a,o,c,l,u,h,d,f,p=gt.ajaxSetup({},n),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?gt(g):gt.event,v=gt.Deferred(),_=gt.Callbacks("once memory"),y=p.statusCode||{},b={},x={},w="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(u){if(!o)for(o={};e=Be.exec(a);)o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(t,e){return null==u&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==u&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)S.always(t[S.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),i(0,e),this}};if(v.promise(S),p.url=((e||p.url||Ce.href)+"").replace(Ue,Ce.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Mt)||[""],null==p.crossDomain){l=ht.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ve.protocol+"//"+Ve.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=gt.param(p.data,p.traditional)),Q(Ye,p,n,S),u)return S;for(d in(h=gt.event&&p.global)&&0==gt.active++&>.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Xe.test(p.type),s=p.url.replace(qe,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(He,"+")):(f=p.url.slice(s.length),p.data&&(p.processData||"string"==typeof p.data)&&(s+=(Me.test(s)?"&":"?")+p.data,delete p.data),!1===p.cache&&(s=s.replace($e,"$1"),f=(Me.test(s)?"&":"?")+"_="+Ie.guid+++f),p.url=s+f),p.ifModified&&(gt.lastModified[s]&&S.setRequestHeader("If-Modified-Since",gt.lastModified[s]),gt.etag[s]&&S.setRequestHeader("If-None-Match",gt.etag[s])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ge+"; q=0.01":""):p.accepts["*"]),p.headers)S.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(g,S,p)||u))return S.abort();if(w="abort",_.add(p.complete),S.done(p.success),S.fail(p.error),r=Q(We,p,n,S)){if(S.readyState=1,h&&m.trigger("ajaxSend",[S,p]),u)return S;p.async&&0<p.timeout&&(c=t.setTimeout(function(){S.abort("timeout")},p.timeout));try{u=!1,r.send(b,i)}catch(e){if(u)throw e;i(-1,e)}}else i(-1,"No Transport");return S},getJSON:function(t,e,n){return gt.get(t,e,n,"json")},getScript:function(t,e){return gt.get(t,void 0,e,"script")}}),gt.each(["get","post"],function(t,e){gt[e]=function(t,n,i,r){return lt(n)&&(r=r||i,i=n,n=void 0),gt.ajax(gt.extend({url:t,type:e,dataType:r,data:n,success:i},gt.isPlainObject(t)&&t))}}),gt.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),gt._evalUrl=function(t,e,n){return gt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){gt.globalEval(t,e,n)}})},gt.fn.extend({wrapAll:function(t){var e;return this[0]&&(lt(t)&&(t=t.call(this[0])),e=gt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return lt(t)?this.each(function(e){gt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=gt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=lt(t);return this.each(function(n){gt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){gt(this).replaceWith(this.childNodes)}),this}}),gt.expr.pseudos.hidden=function(t){return!gt.expr.pseudos.visible(t)},gt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},gt.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Qe={0:200,1223:204},ze=gt.ajaxSettings.xhr();ct.cors=!!ze&&"withCredentials"in ze,ct.ajax=ze=!!ze,gt.ajaxTransport(function(e){var n,i;if(ct.cors||ze&&!e.crossDomain)return{send:function(r,s){var a,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)o[a]=e.xhrFields[a];for(a in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)o.setRequestHeader(a,r[a]);n=function(t){return function(){n&&(n=i=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===t?o.abort():"error"===t?"number"!=typeof o.status?s(0,"error"):s(o.status,o.statusText):s(Qe[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=n(),i=o.onerror=o.ontimeout=n("error"),void 0!==o.onabort?o.onabort=i:o.onreadystatechange=function(){4===o.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{o.send(e.hasContent&&e.data||null)}catch(r){if(n)throw r}},abort:function(){n&&n()}}}),gt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),gt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return gt.globalEval(t),t}}}),gt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),gt.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=gt("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){n&&n()}}});var Je,Ke=[],Ze=/(=)\?(?=&|$)|\?\?/;gt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ke.pop()||gt.expando+"_"+Ie.guid++;return this[t]=!0,t}}),gt.ajaxPrefilter("json jsonp",function(e,n,i){var r,s,a,o=!1!==e.jsonp&&(Ze.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ze.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=lt(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Ze,"$1"+r):!1!==e.jsonp&&(e.url+=(Me.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||gt.error(r+" was not called"),a[0]},e.dataTypes[0]="json",s=t[r],t[r]=function(){a=arguments},i.always(function(){void 0===s?gt(t).removeProp(r):t[r]=s,e[r]&&(e.jsonpCallback=n.jsonpCallback,Ke.push(r)),a&<(s)&&s(a[0]),a=s=void 0}),"script"}),ct.createHTMLDocument=((Je=ht.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Je.childNodes.length),gt.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(ct.createHTMLDocument?((i=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(i)):e=ht),s=!n&&[],(r=Pt.exec(t))?[e.createElement(r[1])]:(r=x([t],e,s),s&&s.length&>(s).remove(),gt.merge([],r.childNodes)));var i,r,s},gt.fn.load=function(t,e,n){var i,r,s,a=this,o=t.indexOf(" ");return-1<o&&(i=U(t.slice(o)),t=t.slice(0,o)),lt(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),0<a.length&>.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){s=arguments,a.html(i?gt("<div>").append(gt.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,s||[t.responseText,e,t])})}),this},gt.expr.pseudos.animated=function(t){return gt.grep(gt.timers,function(e){return t===e.elem}).length},gt.offset={setOffset:function(t,e,n){var i,r,s,a,o,c,l=gt.css(t,"position"),u=gt(t),h={};"static"===l&&(t.style.position="relative"),o=u.offset(),s=gt.css(t,"top"),c=gt.css(t,"left"),("absolute"===l||"fixed"===l)&&-1<(s+c).indexOf("auto")?(a=(i=u.position()).top,r=i.left):(a=parseFloat(s)||0,r=parseFloat(c)||0),lt(e)&&(e=e.call(t,n,gt.extend({},o))),null!=e.top&&(h.top=e.top-o.top+a),null!=e.left&&(h.left=e.left-o.left+r),"using"in e?e.using.call(t,h):u.css(h)}},gt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){gt.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===gt.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===gt.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=gt(t).offset()).top+=gt.css(t,"borderTopWidth",!0),r.left+=gt.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-gt.css(i,"marginTop",!0),left:e.left-r.left-gt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===gt.css(t,"position");)t=t.offsetParent;return t||Wt})}}),gt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;gt.fn[t]=function(i){return kt(this,function(t,i,r){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===r)return s?s[e]:t[i];s?s.scrollTo(n?s.pageXOffset:r,n?r:s.pageYOffset):t[i]=r},t,i,arguments.length)}}),gt.each(["top","left"],function(t,e){gt.cssHooks[e]=R(ct.pixelPosition,function(t,n){if(n)return n=M(t,e),ce.test(n)?gt(t).position()[e]+"px":n})}),gt.each({Height:"height",Width:"width"},function(t,e){gt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){gt.fn[i]=function(r,s){var a=arguments.length&&(n||"boolean"!=typeof r),o=n||(!0===r||!0===s?"margin":"border");return kt(this,function(e,n,r){var s;return ut(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===r?gt.css(e,n,o):gt.style(e,n,r,o)},e,a?r:void 0,a)}})}),gt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){gt.fn[e]=function(t){return this.on(e,t)}}),gt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),gt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){gt.fn[e]=function(t,n){return 0<arguments.length?this.on(e,null,t,n):this.trigger(e)}});var tn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;gt.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),lt(t))return i=Z.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(Z.call(arguments)))}).guid=t.guid=t.guid||gt.guid++,r},gt.holdReady=function(t){t?gt.readyWait++:gt.ready(!0)},gt.isArray=Array.isArray,gt.parseJSON=JSON.parse,gt.nodeName=s,gt.isFunction=lt,gt.isWindow=ut,gt.camelCase=p,gt.type=i,gt.n
1ow=Date.now,gt.isNumeric=function(t){var e=gt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},gt.trim=function(t){return null==t?"":(t+"").replace(tn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return gt});var en=t.jQuery,nn=t.$;return gt.noConflict=function(e){return t.$===gt&&(t.$=nn),e&&t.jQuery===gt&&(t.jQuery=en),gt},void 0===e&&(t.jQuery=t.$=gt),gt}),void 0===jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(t,e){"use strict";function n(e){return 0<=function(t,e){for(var n=/^(\d+)\.(\d+)\.(\d+)/,i=n.exec(t)||[],r=n.exec(e)||[],s=1;s<=3;s++){if(+r[s]<+i[s])return 1;if(+i[s]<+r[s])return-1}return 0}(t.fn.jquery,e)}function i(n,i){var r=e.console;!t.migrateIsPatchEnabled(n)||t.migrateDeduplicateWarnings&&m[i]||(m[i]=!0,t.migrateWarnings.push(i+" ["+n+"]"),r&&r.warn&&!t.migrateMute&&(r.warn("JQMIGRATE: "+i),t.migrateTrace&&r.trace&&r.trace()))}function r(t,e,n,r,s){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return i(r,s),n},set:function(t){i(r,s),n=t}})}function s(e,n,r,s,a){var o=e[n];e[n]=function(){return a&&i(s,a),(t.migrateIsPatchEnabled(s)?r:o||t.noop).apply(this,arguments)}}function a(t,e,n,i,r){if(!r)throw new Error("No warning message provided");return s(t,e,n,i,r),0}function o(t,e,n,i){return s(t,e,n,i),0}function c(t){return t.replace(/-([a-z])/g,function(t,e){return e.toUpperCase()})}function l(t,e){if(!Object.setPrototypeOf)return t;for(var n=e.warningId,r=e.apiName,s=["__proto__","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],a=Object.create(null),o=0;o<s.length;o++)!function(t){Object.defineProperty(a,t,{get:function(){return i(n,"Accessing properties from "+r+" inherited from Object.prototype is deprecated"),t+"__cache"in a?a[t+"__cache"]:Object.prototype[t]},set:function(e){i(n,"Setting properties from "+r+" inherited from Object.prototype is deprecated"),a[t+"__cache"]=e}})}(s[o]);return Object.setPrototypeOf(a,Object.prototype),Object.setPrototypeOf(t,a),t}function u(t){return t.replace(V,"-$&").toLowerCase()}function h(t,e){function n(e,n){var r,a;if(e){for(a in r=l(e),n)a!==c(a)&&(i("data-camelCase",s+" always sets/gets camelCased names: "+a),r[a]=n[a]);return o?t.call(this,n):t.call(this,e,n),n}}function r(t,e,n){var r;if(t)return(r=l(t))&&e in r&&(i("data-camelCase",s+" always sets/gets camelCased names: "+e),r[e]=n),l(t,e,n),void 0!==n?n:e}var s=e.apiName,a=e.isPrivateData,o=e.isInstanceMethod,l=a?J:z;return function(e,a,u){var h,d=this,f=Array.prototype.slice.call(arguments),p=f.length;return o&&(u=a,a=e,e=d[0],p++),a&&"object"==typeof a&&2===p?o?d.each(function(){n.call(d,this,a)}):n.call(d,e,a):a&&"string"==typeof a&&a!==c(a)&&2<p?o?d.each(function(){r.call(d,this,a,u)}):r.call(d,e,a,u):e&&a&&"string"==typeof a&&a!==c(a)&&2===p&&(h=l(e))&&a in h?(i("data-camelCase",s+" always sets/gets camelCased names: "+a),h[a]):t.apply(this,f)}}function d(t,e){function n(e,n){var r,o,l,h=a(e);if(void 0!==n){Array.isArray(n)||(n=n in h?[n]:n.match(Q)||[]),l=n.map(u),r=n.length;for(;r--;)(o=n[r])!==c(o)&&o in h&&i("data-camelCase","jQuery"+(s?".fn":"")+".data() always sets/gets camelCased names: "+o),delete h[o];for(r=l.length;r--;)delete h[l[r]];t(e,n)}else t(e)}var r=e.isPrivateData,s=e.isInstanceMethod,a=r?J:z;return function(t,e){if(s)return e=t,this.each(function(){n(this,e)});n(t,e)}}function f(t,e){var n=e.warningId,i=e.apiName,r=e.isInstanceMethod;return function(){var e=t.apply(this,arguments);return arguments.length!==(r?0:1)||void 0===e||l(e,{warningId:n,apiName:i}),e}}function p(t){var n=e.document.implementation.createHTMLDocument("");return n.body.innerHTML=t,n.body&&n.body.innerHTML}t.migrateVersion="3.6.0";var g=Object.create(null);t.migrateDisablePatches=function(){for(var t=0;t<arguments.length;t++)g[arguments[t]]=!0},t.migrateEnablePatches=function(){for(var t=0;t<arguments.length;t++)delete g[arguments[t]]},t.migrateIsPatchEnabled=function(t){return!g[t]},e.console&&e.console.log&&(t&&n("3.0.0")&&!n("4.0.0")||e.console.log("JQMIGRATE: jQuery 3.x REQUIRED"),t.migrateWarnings&&e.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),e.console.log("JQMIGRATE: Migrate is installed"+(t.migrateMute?"":" with logging active")+", version "+t.migrateVersion));var m={};t.migrateDeduplicateWarnings=!0,t.migrateWarnings=[],void 0===t.migrateTrace&&(t.migrateTrace=!0),t.migrateReset=function(){m={},t.migrateWarnings.length=0},"BackCompat"===e.document.compatMode&&i("quirks","jQuery is not compatible with Quirks Mode");var v=[],_=v.push,y=v.sort,b=v.splice,x={},w=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;a(t.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),a(t,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),a(t,"holdReady",t.holdReady,"holdReady","jQuery.holdReady is deprecated"),a(t,"unique",t.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),n("3.1.1")&&a(t,"trim",function(t){return null==t?"":(t+"").replace(w,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),n("3.2.0")&&(a(t,"nodeName",function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),a(t,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),n("3.3.0")&&(a(t,"isNumeric",function(t){var e=typeof t;return("number"==e||"string"==e)&&!isNaN(t-parseFloat(t))},"isNumeric","jQuery.isNumeric() is deprecated"),t.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){x["[object "+e+"]"]=e.toLowerCase()}),a(t,"type",function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?x[Object.prototype.toString.call(t)]||"object":typeof t}
1,"type","jQuery.type is deprecated"),a(t,"isFunction",function(t){return"function"==typeof(e=t)&&"number"!=typeof e.nodeType&&"function"!=typeof e.item;var e},"isFunction","jQuery.isFunction() is deprecated"),a(t,"isWindow",function(t){return null!=t&&t===t.window},"isWindow","jQuery.isWindow() is deprecated"),a(t,"now",Date.now,"now","jQuery.now() is deprecated; use Date.now()"),a(t,"camelCase",t.camelCase,"camelCase","jQuery.camelCase() is deprecated"),a(t,"proxy",t.proxy,"proxy","DEPRECATED: jQuery.proxy()")),n("3.7.0")&&(a(t.fn,"push",_,"push","jQuery.fn.push() is deprecated; use .add() or convert to an array"),a(t.fn,"sort",y,"sort","jQuery.fn.sort() is deprecated; convert to an array before sorting"),a(t.fn,"splice",b,"splice","jQuery.fn.splice() is deprecated; use .slice() or .not() with .eq()"));var S,T,E,j,P,L,A=t.fn.init,C=t.find,I=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,M=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;for(S in o(t.fn,"init",function(e){var n=Array.prototype.slice.call(arguments);return t.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(i("selector-empty-id","jQuery( '#' ) is not a valid selector"),n[0]=[]),A.apply(this,n)},"selector-empty-id"),t.fn.init.prototype=t.fn,o(t,"find",function(t){var n=Array.prototype.slice.call(arguments);if("string"==typeof t&&I.test(t))try{e.document.querySelector(t)}catch(r){t=t.replace(M,function(t,e,n,i){return"["+e+n+'"'+i+'"]'});try{e.document.querySelector(t),i("selector-hash","Attribute selector with '#' must be quoted: "+n[0]),n[0]=t}catch(t){i("selector-hash","Attribute selector with '#' was not fixed: "+n[0])}}return C.apply(this,n)},"selector-hash"),C)Object.prototype.hasOwnProperty.call(C,S)&&(t.find[S]=C[S]);r(t.expr,"filters",t.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(t.expr,":",t.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),n("3.7.0")&&(o(t.expr.filter,"PSEUDO",function(e,n){var r,s,a=t.expr.pseudos[e]||t.expr.setFilters[e.toLowerCase()]||t.error("Syntax error, unrecognized expression: unsupported pseudo: "+e);return a[t.expando]?a(n):1<a.length?(i("legacy-custom-pseudos","Pseudos with multiple arguments are deprecated; use jQuery.expr.createPseudo()"),r=[e,e,"",n],t.expr.setFilters.hasOwnProperty(e.toLowerCase())?((s=function(t,e){for(var i,r=a(t,n),s=r.length;s--;)t[i=Array.prototype.indexOf.call(t,r[s])]=!(e[i]=r[s])})[t.expando]=!0,s):function(t){return a(t,0,r)}):a},"legacy-custom-pseudos"),"undefined"!=typeof Proxy&&t.each(["pseudos","setFilters"],function(e,n){t.expr[n]=new Proxy(t.expr[n],{set:function(e,n,r){return"function"==typeof r&&!r[t.expando]&&1<r.length&&i("legacy-custom-pseudos","Pseudos with multiple arguments are deprecated; use jQuery.expr.createPseudo()"),Reflect.set.apply(this,arguments)}})})),t.ajax&&(T=t.ajax,E=[],j="migrate-"+Date.now(),P=t.ajaxSettings.jsonpCallback,L=/(=)\?(?=&|$)|\?\?/,o(t,"ajax",function(){var t=T.apply(this,arguments);return t.promise&&(a(t,"success",t.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),a(t,"error",t.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),a(t,"complete",t.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),t},"jqXHR-methods"),t.ajaxSetup({jsonpCallback:function(){if(t.migrateIsPatchEnabled("jsonp-promotion")){var e=E.pop()||t.expando+"_"+j++;return this[e]=!0,e}return P.apply(this,arguments)}}),t.ajaxPrefilter("+json",function(e){t.migrateIsPatchEnabled("jsonp-promotion")&&!1!==e.jsonp&&(L.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&L.test(e.data))&&i("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var R=t.fn.removeAttr,D=t.attr,k=t.fn.toggleClass,O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N=new RegExp("^(?:"+O+")$","i"),F=/\S+/g,H={hidden:["until-found"]};t.each(O.split("|"),function(e,n){var r=t.attrHooks[n]||{};t.attrHooks[n]={get:r.get||function(e){var r;return t.migrateIsPatchEnabled("boolean-attributes")&&(r=e.getAttribute(n))!==n&&null!=r&&-1===(H[n]||[]).indexOf(String(r).toLowerCase())&&i("boolean-attributes","Boolean attribute '"+n+"' value is different from its lowercased name"),null},set:r.set||function(e,n,r){return t.migrateIsPatchEnabled("boolean-attributes")?n!==r&&-1===(H[r]||[]).indexOf(String(n).toLowerCase())?(!1!==n&&i("boolean-attributes","Boolean attribute '"+r+"' is not set to its lowercased name"),!1===n?t.removeAttr(e,r):e.setAttribute(r,r),r):void 0:(!1===n?t.removeAttr(e,r):e.setAttribute(r,r),r)}}}),o(t,"attr",function(e,n,r){var s=e.nodeType;return 3===s||8===s||2===s||void 0===e.getAttribute||!1!==r||0===n.toLowerCase().indexOf("aria-")||N.test(n)?D.apply(this,arguments):(i("attr-false","Setting the non-ARIA non-boolean attribute '"+n+"' to false"),void t.attr(e,n,"false"))},"attr-false"),o(t.fn,"removeAttr",function(e){var n=this,r=!1;return t.each(e.match(F),function(e,s){N.test(s)&&n.each(function(){if(!1!==t(this).prop(s))return!(r=!0)}),r&&(i("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+s),n.prop(s,!1))}),R.apply(this,arguments)},"removeAttr-bool"),o(t.fn,"toggleClass",function(e){return void 0!==e&&"boolean"!=typeof e?k.apply(this,arguments):(i("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var n=this.getAttribute&&this.getAttribute("class")||"";n&&t.data(this,"__className__",n),this.setAttribute&&this.setAttribute("class",!n&&!1!==e&&t.data(this,"__className__")||"")}))},"toggleClass-bool");var q,$=!1,B=/^[a-z]/,X=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;t.swap&&t.each(["height","width","reliableMarginRight"],function(e,n){var i=t.cssHooks[n]&&t.cssHooks[n].get;i&&(t.cssHooks[n].get=function(){var t;return $=!0,t=i.apply(this,arguments),$=!1,t})}),o(t,"swap",function(t,e,n,r){var s,a,o={};for(a in $||i("swap","jQuery.swap() is undocumented and deprecated"),e)o[a]=t.style[a],t.style[a]=e[a];for(a in s=n.apply(t,r||[]),e)t.style[a]=o[a];return s},"swap"),n("3.4.0")&&"undefined"!=typeof Proxy&&(t.cssProps=new Proxy(t.cssProps||{},{set:function(){return i("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),q=t.fn.css,o(t.fn,"css",function(e,n){var r,s,a=this;return e&&"object"==typeof e&&!Array.isArray(e)?(t.each(e,function(e,n){t.fn.css.call(a,e,n)}),this):("number"==typeof n&&(r=c(e),s=r,B.test(s)&&X.test(s[0].toUpperCase()+s.slice(1))||t.cssNumber[r]||i("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),q.apply(this,arguments))},"css-number");var U,Y,W,G,V=/[A-Z]/g,Q=/[^\x20\t\r\n\f]+/g,z=t.data,J=t._data;o(t,"data",h(t.data,{apiName:"jQuery.data()",isPrivateData:!1,isInstanceMethod:!1}),"data-camelCase"),o(t,"_data",h(t._data,{apiName:"jQuery._data()",isPrivateData:!0,isInstanceMethod:!1}),"data-camelCase"),o(t.fn,"data",h(t.fn.data,{apiName:"jQuery.fn.data()",isPrivateData:!1,isInstanceMethod:!0}),"data-camelCase"),o(t,"removeData",d(t.removeData,{isPrivateData:!1,isInstanceMethod:!1}),"data-camelCase"),o(t,"_removeData",d(t._removeData,{isPrivateData:!0,isInstanceMethod:!1}),"data-camelCase"),o(t.fn,"removeData",d(t.removeData,{isPrivateData:!1,isInstanceMethod:!0}),"data-camelCase"),o(t,"data",f(t.data,{warningId:"data-null-proto",apiName:"jQuery.data()",isInstanceMethod:!1}),"data-null-proto"),o(t,"_data",f(t._data,{warningId:"data-null-proto",apiName:"jQuery._data()",isInstanceMethod:!1}),"data-null-proto"),o(t.fn,"data",f(t.fn.data,{warningId:"data-null-proto",apiName:"jQuery.fn.data()",isInstanceMethod:!0}),"data-null-proto"),t.fx&&(W=t.Tween.prototype.run,G=function(t){return t},o(t.Tween.prototype,"run",function(){1<t.easing[this.easing].length&&(i("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),t.easing[this.easing]=G),W.apply(this,arguments)},"easing-one-arg"),U=t.fx.interval,Y="jQuery.fx.interval is deprecated",e.requestAnimationFrame&&Object.defineProperty(t.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return e.document.hidden||i("fx-interval",Y),t.migrateIsPatchEnabled("fx-interval")&&void 0===U?13:U},set:function(t){i("fx-interval",Y),U=t}}));var K=t.fn.load,Z=t.event.add,tt=t.event.fix;t.event.props=[],t.event.fixHooks={}
1,r(t.event.props,"concat",t.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),o(t.event,"fix",function(e){var n,r=e.type,s=this.fixHooks[r],a=t.event.props;if(a.length)for(i("event-old-patch","jQuery.event.props are deprecated and removed: "+a.join());a.length;)t.event.addProp(a.pop());if(s&&!s._migrated_&&(s._migrated_=!0,i("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(a=s.props)&&a.length))for(;a.length;)t.event.addProp(a.pop());return n=tt.call(this,e),s&&s.filter?s.filter(n,e):n},"event-old-patch"),o(t.event,"add",function(t,n){return t===e&&"load"===n&&"complete"===e.document.readyState&&i("load-after-event","jQuery(window).on('load'...) called after load event occurred"),Z.apply(this,arguments)},"load-after-event"),t.each(["load","unload","error"],function(e,n){o(t.fn,n,function(){var t=Array.prototype.slice.call(arguments,0);return"load"===n&&"string"==typeof t[0]?K.apply(this,t):(i("shorthand-removed-v3","jQuery.fn."+n+"() is deprecated"),t.splice(0,0,n),arguments.length?this.on.apply(this,t):(this.triggerHandler.apply(this,t),this))},"shorthand-removed-v3")}),t.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){a(t.fn,n,t.fn[n],"shorthand-deprecated-v3","DEPRECATED: jQuery.fn."+n+"() event shorthand")}),t(function(){t(e.document).triggerHandler("ready")}),t.event.special.ready={setup:function(){this===e.document&&i("ready-event","'ready' event is deprecated")}},a(t.fn,"bind",function(t,e,n){return this.on(t,null,e,n)},"pre-on-methods","jQuery.fn.bind() is deprecated"),a(t.fn,"unbind",function(t,e){return this.off(t,null,e)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),a(t.fn,"delegate",function(t,e,n,i){return this.on(e,t,n,i)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),a(t.fn,"undelegate",function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),a(t.fn,"hover",function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)},"pre-on-methods","jQuery.fn.hover() is deprecated"),l(t.event.special,{warningId:"event-special-null-proto",apiName:"jQuery.event.special"});var et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;a(t,"UNSAFE_restoreLegacyHtmlPrefilter",function(){t.migrateEnablePatches("self-closed-tags")},"legacy-self-closed-tags",'jQuery.UNSAFE_restoreLegacyHtmlPrefilter deprecated; use `jQuery.migrateEnablePatches( "self-closed-tags" )`'),o(t,"htmlPrefilter",function(t){var e,n;return(n=(e=t).replace(et,"<$1></$2>"))!==e&&p(e)!==p(n)&&i("self-closed-tags","HTML tags must be properly nested and closed: "+e),t.replace(et,"<$1></$2>")},"self-closed-tags"),t.migrateDisablePatches("self-closed-tags");var nt,it,rt,st,at=t.fn.offset;return o(t.fn,"offset",function(){var t=this[0];return!t||t.nodeType&&t.getBoundingClientRect?at.apply(this,arguments):(i("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),t.ajax&&(nt=t.param,o(t,"param",function(e,n){var r=t.ajaxSettings&&t.ajaxSettings.traditional;return void 0===n&&r&&(i("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),n=r),nt.call(this,e,n)},"param-ajax-traditional")),a(t.fn,"andSelf",t.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),t.Deferred&&(rt=t.Deferred,st=[["resolve","done",t.Callbacks("once memory"),t.Callbacks("once memory"),"resolved"],["reject","fail",t.Callbacks("once memory"),t.Callbacks("once memory"),"rejected"],["notify","progress",t.Callbacks("memory"),t.Callbacks("memory")]],o(t,"Deferred",function(e){function n(){var e=arguments;return t.Deferred(function(n){t.each(st,function(t,s){var a="function"==typeof e[t]&&e[t];i[s[1]](function(){var t=a&&a.apply(this,arguments);t&&"function"==typeof t.promise?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s[0]+"With"](this===r?n.promise():this,a?[t]:arguments)})}),e=null}).promise()}var i=rt(),r=i.promise();return a(i,"pipe",n,"deferred-pipe","deferred.pipe() is deprecated"),a(r,"pipe",n,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(i,i),i},"deferred-pipe"),t.Deferred.exceptionHook=rt.exceptionHook,t.Deferred.getErrorHook=rt.getErrorHook,Object.defineProperty(t.Deferred,"getStackHook",{configurable:!0,enumerable:!0,get:function(){return t.migrateIsPatchEnabled("deferred-getStackHook")?t.Deferred.getErrorHook:it},set:function(e){t.migrateIsPatchEnabled("deferred-getStackHook")?t.Deferred.getErrorHook!==e&&(i("deferred-getStackHook","jQuery.Deferred.getStackHook is deprecated; use jQuery.Deferred.getErrorHook"),t.Deferred.getErrorHook=e):it=e}})),t}),function(t,e,n,i){"use strict";function r(t){var e=t.currentTarget,i=t.data?t.data.options:{},r=i.selector?n(i.selector):t.data?t.data.items:[],s=n(e).attr("data-fancybox")||"",a=0,o=n.fancybox.getInstance();t.preventDefault(),t.stopPropagation(),o&&o.current.opts.$orig.is(e)||(s?(a=(r=r.length?r.filter('[data-fancybox="'+s+'"]'):n('[data-fancybox="'+s+'"]')).index(e))<0&&(a=0):r=[e],n.fancybox.open(r,i,a))}if(n)if(n.fn.fancybox)n.error("fancyBox already initialized");else{var s={loop:!1,margin:[44,0],gutter:50,keyboard:!0,arrows:!0,infobar:!1,toolbar:!0,buttons:["slideShow","fullScreen","thumbs","close"],idleTime:4,smallBtn:"auto",protect:!1,modal:!1,image:{preload:"auto"},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><button data-fancybox-prev title="{{PREV}}" class="fancybox-button fancybox-button--left"></button><div class="fancybox-infobar__body"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><button data-fancybox-next title="{{NEXT}}" class="fancybox-button fancybox-button--right"></button></div><div class="fancybox-toolbar">{{BUTTONS}}</div><div class="fancybox-navigation"><button data-fancybox-prev title="{{PREV}}" class="fancybox-arrow fancybox-arrow--left" /><button data-fancybox-next title="{{NEXT}}" class="fancybox-arrow fancybox-arrow--right" /></div><div class="fancybox-stage"></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}<p></div>',btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"></button>',fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}"></button>',thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"></button>',smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"></button>'},parentEl:"body",autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:4e3},thumbs:{autoStart:!1,hideOnClose:!0},onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails"},de:{CLOSE:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/>
1 Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder"}}},a=n(t),o=n(e),c=0,l=function(t){return t&&t.hasOwnProperty&&t instanceof n},u=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},h=function(){var t,n=e.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(void 0!==n.style[t])return i[t]}(),d=function(t){return t&&t.length&&t[0].offsetHeight},f=function(t,i,r){var a=this;a.opts=n.extend(!0,{index:r},s,i||{}),i&&n.isArray(i.buttons)&&(a.opts.buttons=i.buttons),a.id=a.opts.id||++c,a.group=[],a.currIndex=parseInt(a.opts.index,10)||0,a.prevIndex=null,a.prevPos=null,a.currPos=0,a.firstRun=null,a.createGroup(t),a.group.length&&(a.$lastFocus=n(e.activeElement).blur(),a.slides={},a.init(t))};n.extend(f.prototype,{init:function(){var t,e,i,r=this,s=r.group[r.currIndex].opts;r.scrollTop=o.scrollTop(),r.scrollLeft=o.scrollLeft(),n.fancybox.getInstance()||n.fancybox.isMobile||"hidden"===n("body").css("overflow")||(t=n("body").width(),n("html").addClass("fancybox-enabled"),(t=n("body").width()-t)>1&&n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar, .fancybox-enabled body { margin-right: '+t+"px; }</style>")),i="",n.each(s.buttons,function(t,e){i+=s.btnTpl[e]||""}),e=n(r.translate(r,s.baseTpl.replace("{{BUTTONS}}",i))).addClass("fancybox-is-hidden").attr("id","fancybox-container-"+r.id).addClass(s.baseClass).data("FancyBox",r).prependTo(s.parentEl),r.$refs={container:e},["bg","inner","infobar","toolbar","stage","caption"].forEach(function(t){r.$refs[t]=e.find(".fancybox-"+t)}),(!s.arrows||r.group.length<2)&&e.find(".fancybox-navigation").remove(),s.infobar||r.$refs.infobar.remove(),s.toolbar||r.$refs.toolbar.remove(),r.trigger("onInit"),r.activate(),r.jumpTo(r.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang];return e.replace(/\{\{(\w+)\}\}/g,function(t,e){var i=n[e];return void 0===i?t:i})},createGroup:function(t){var e=this,i=n.makeArray(t);n.each(i,function(t,i){var r,s,a,o,c={},l={},u=[];n.isPlainObject(i)?(c=i,l=i.opts||i):"object"===n.type(i)&&n(i).length?(r=n(i),u=r.data(),l="options"in u?u.options:{},l="object"===n.type(l)?l:{},c.src="src"in u?u.src:l.src||r.attr("href"),["width","height","thumb","type","filter"].forEach(function(t){t in u&&(l[t]=u[t])}),"srcset"in u&&(l.image={srcset:u.srcset}),l.$orig=r,c.type||c.src||(c.type="inline",c.src=i)):c={type:"html",src:i+""},c.opts=n.extend(!0,{},e.opts,l),n.fancybox.isMobile&&(c.opts=n.extend(!0,{},c.opts,c.opts.mobile)),s=c.type||c.opts.type,a=c.src||"",!s&&a&&(a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s="image":a.match(/\.(pdf)((\?|#).*)?$/i)?s="pdf":"#"===a.charAt(0)&&(s="inline")),c.type=s,c.index=e.group.length,c.opts.$orig&&!c.opts.$orig.length&&delete c.opts.$orig,!c.opts.$thumb&&c.opts.$orig&&(c.opts.$thumb=c.opts.$orig.find("img:first")),c.opts.$thumb&&!c.opts.$thumb.length&&delete c.opts.$thumb,"function"===n.type(c.opts.caption)?c.opts.caption=c.opts.caption.apply(i,[e,c]):"caption"in u&&(c.opts.caption=u.caption),c.opts.caption=void 0===c.opts.caption?"":c.opts.caption+"","ajax"===s&&(o=a.split(/\s+/,2)).length>1&&(c.src=o.shift(),c.opts.filter=o.shift()),"auto"==c.opts.smallBtn&&(n.inArray(s,["html","inline","ajax"])>-1?(c.opts.toolbar=!1,c.opts.smallBtn=!0):c.opts.smallBtn=!1),"pdf"===s&&(c.type="iframe",c.opts.iframe.preload=!1),c.opts.modal&&(c.opts=n.extend(!0,c.opts,{infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),e.group.push(c)})},addEvents:function(){var i=this;i.removeEvents(),i.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),i.close(t)}).on("click.fb-prev touchend.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),i.previous()}).on("click.fb-next touchend.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),i.next()}),a.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?u(function(){i.update()}):(i.$refs.stage.hide(),setTimeout(function(){i.$refs.stage.show(),i.update()},500))}),o.on("focusin.fb",function(t){var r=n.fancybox?n.fancybox.getInstance():null;r.isClosing||!r.current||!r.current.opts.trapFocus||n(t.target).hasClass("fancybox-container")||n(t.target).is(e)||r&&"fixed"!==n(t.target).css("position")&&!r.$refs.container.has(t.target).length&&(t.stopPropagation(),r.focus(),a.scrollTop(i.scrollTop).scrollLeft(i.scrollLeft))}),o.on("keydown.fb",function(t){var e=i.current,r=t.keyCode||t.which;if(e&&e.opts.keyboard&&!n(t.target).is("input")&&!n(t.target).is("textarea"))return 8===r||27===r?(t.preventDefault(),void i.close(t)):37===r||38===r?(t.preventDefault(),void i.previous()):39===r||40===r?(t.preventDefault(),void i.next()):void i.trigger("afterKeydown",t,r)}),i.group[i.currIndex].opts.idleTime&&(i.idleSecondsCounter=0,o.on("mousemove.fb-idle mouseenter.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(){i.idleSecondsCounter=0,i.isIdle&&i.showControls(),i.isIdle=!1}),i.idleInterval=t.setInterval(function(){i.idleSecondsCounter++,i.idleSecondsCounter>=i.group[i.currIndex].opts.idleTime&&(i.isIdle=!0,i.idleSecondsCounter=0,i.hideControls())},1e3))},removeEvents:function(){var e=this;a.off("orientationchange.fb resize.fb"),o.off("focusin.fb keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)}
1,jumpTo:function(t,e,i){var r,s,a,o,c,l,u,h=this,f=h.group.length;if(!(h.isSliding||h.isClosing||h.isAnimating&&h.firstRun)){if(t=parseInt(t,10),!(s=h.current?h.current.opts.loop:h.opts.loop)&&(t<0||t>=f))return!1;if(r=h.firstRun=null===h.firstRun,!(f<2&&!r&&h.isSliding)){if(o=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,a=h.createSlide(t),f>1&&((s||a.index>0)&&h.createSlide(t-1),(s||a.index<f-1)&&h.createSlide(t+1)),h.current=a,h.currIndex=a.index,h.currPos=a.pos,h.trigger("beforeShow",r),h.updateControls(),l=n.fancybox.getTranslate(a.$slide),a.isMoved=(0!==l.left||0!==l.top)&&!a.$slide.hasClass("fancybox-animated"),a.forcedDuration=void 0,n.isNumeric(e)?a.forcedDuration=e:e=a.opts[r?"animationDuration":"transitionDuration"],e=parseInt(e,10),r)return a.opts.animationEffect&&e&&h.$refs.container.css("transition-duration",e+"ms"),h.$refs.container.removeClass("fancybox-is-hidden"),d(h.$refs.container),h.$refs.container.addClass("fancybox-is-open"),a.$slide.addClass("fancybox-slide--current"),h.loadSlide(a),void h.preload();n.each(h.slides,function(t,e){n.fancybox.stop(e.$slide)}),a.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current"),a.isMoved?(c=Math.round(a.$slide.width()),n.each(h.slides,function(t,i){var r=i.pos-a.pos;n.fancybox.animate(i.$slide,{top:0,left:r*c+r*i.opts.gutter},e,function(){i.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===h.currPos&&(a.isMoved=!1,h.complete())})})):h.$refs.stage.children().removeAttr("style"),a.isLoaded?h.revealContent(a):h.loadSlide(a),h.preload(),o.pos!==a.pos&&(u="fancybox-slide--"+(o.pos>a.pos?"next":"previous"),o.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"),o.isComplete=!1,e&&(a.isMoved||a.opts.transitionEffect)&&(a.isMoved?o.$slide.addClass(u):(u="fancybox-animated "+u+" fancybox-fx-"+a.opts.transitionEffect,n.fancybox.animate(o.$slide,u,e,function(){o.$slide.removeClass(u).removeAttr("style")}))))}}},createSlide:function(t){var e,i,r=this;return i=t%r.group.length,i=i<0?r.group.length+i:i,!r.slides[t]&&r.group[i]&&(e=n('<div class="fancybox-slide"></div>').appendTo(r.$refs.stage),r.slides[t]=n.extend(!0,{},r.group[i],{pos:t,$slide:e,isLoaded:!1}),r.updateSlide(r.slides[t])),r.slides[t]},scaleToActual:function(t,e,i){var r,s,a,o,c,l=this,u=l.current,h=u.$content,d=parseInt(u.$slide.width(),10),f=parseInt(u.$slide.height(),10),p=u.width,g=u.height;"image"!=u.type||u.hasError||!h||l.isAnimating||(n.fancybox.stop(h),l.isAnimating=!0,t=void 0===t?.5*d:t,e=void 0===e?.5*f:e,o=p/(r=n.fancybox.getTranslate(h)).width,c=g/r.height,s=.5*d-.5*p,a=.5*f-.5*g,p>d&&((s=r.left*o-(t*o-t))>0&&(s=0),s<d-p&&(s=d-p)),g>f&&((a=r.top*c-(e*c-e))>0&&(a=0),a<f-g&&(a=f-g)),l.updateCursor(p,g),n.fancybox.animate(h,{top:a,left:s,scaleX:o,scaleY:c},i||330,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(t){var e,i=this,r=i.current,s=r.$content;"image"!=r.type||r.hasError||!s||i.isAnimating||(n.fancybox.stop(s),i.isAnimating=!0,e=i.getFitPos(r),i.updateCursor(e.width,e.height),n.fancybox.animate(s,{top:e.top,left:e.left,scaleX:e.width/s.width(),scaleY:e.height/s.height()},t||330,function(){i.isAnimating=!1}))},getFitPos:function(t){var e,i,r,s,o,c=this,l=t.$content,u=t.width,h=t.height,d=t.opts.margin;return!(!l||!l.length||!u&&!h)&&("number"===n.type(d)&&(d=[d,d]),2==d.length&&(d=[d[0],d[1],d[0],d[1]]),a.width()<800&&(d=[0,0,0,0]),e=parseInt(c.$refs.stage.width(),10)-(d[1]+d[3]),i=parseInt(c.$refs.stage.height(),10)-(d[0]+d[2]),r=Math.min(1,e/u,i/h),s=Math.floor(r*u),o=Math.floor(r*h),{top:Math.floor(.5*(i-o))+d[0],left:Math.floor(.5*(e-s))+d[3],width:s,height:o})},update:function(){var t=this;n.each(t.slides,function(e,n){t.updateSlide(n)})},updateSlide:function(t){var e=this,i=t.$content;i&&(t.width||t.height)&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,e.getFitPos(t)),t.pos===e.currPos&&e.updateCursor()),t.$slide.trigger("refresh"),e.trigger("onUpdate",t)},updateCursor:function(t,e){var n=this,i=n.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut");
1n.current&&!n.isClosing&&(n.isZoomable()?(i.addClass("fancybox-is-zoomable"),(void 0!==t&&void 0!==e?t<n.current.width&&e<n.current.height:n.isScaledDown())?i.addClass("fancybox-can-zoomIn"):n.current.opts.touch?i.addClass("fancybox-can-drag"):i.addClass("fancybox-can-zoomOut")):n.current.opts.touch&&i.addClass("fancybox-can-drag"))},isZoomable:function(){var t,e=this,i=e.current;if(i&&!e.isClosing)return!!("image"===i.type&&i.isLoaded&&!i.hasError&&("zoom"===i.opts.clickContent||n.isFunction(i.opts.clickContent)&&"zoom"===i.opts.clickContent(i))&&(t=e.getFitPos(i),i.width>t.width||i.height>t.height))},isScaledDown:function(){var t=this.current,e=t.$content,i=!1;return e&&(i=(i=n.fancybox.getTranslate(e)).width<t.width||i.height<t.height),i},canPan:function(){var t=this,e=t.current,n=e.$content,i=!1;return n&&(i=t.getFitPos(e),i=Math.abs(n.width()-i.width)>1||Math.abs(n.height()-i.height)>1),i},loadSlide:function(t){var e,i,r,s=this;if(!t.isLoading&&!t.isLoaded){switch(t.isLoading=!0,s.trigger("beforeLoad",t),e=t.type,(i=t.$slide).off("refresh").trigger("onReset").addClass("fancybox-slide--"+(e||"unknown")).addClass(t.opts.slideClass),e){case"image":s.setImage(t);break;case"iframe":s.setIframe(t);break;case"html":s.setContent(t,t.src||t.content);break;case"inline":n(t.src).length?s.setContent(t,n(t.src)):s.setError(t);break;case"ajax":s.showLoading(t),r=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&s.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&s.setError(t)}})),i.one("onReset",function(){r.abort()});break;default:s.setError(t)}return!0}},setImage:function(e){var i,r,s,a,o=this,c=e.opts.image.srcset;if(c){s=t.devicePixelRatio||1,a=t.innerWidth*s,(r=c.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var i=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;i&&(e.value=i,e.postfix=t[t.length-1])}),e})).sort(function(t,e){return t.value-e.value});for(var l=0;l<r.length;l++){var u=r[l];if("w"===u.postfix&&u.value>=a||"x"===u.postfix&&u.value>=s){i=u;break}}!i&&r.length&&(i=r[r.length-1]),i&&(e.src=i.url,e.width&&e.height&&"w"==i.postfix&&(e.height=e.width/e.height*i.value,e.width=i.value))}e.$content=n('<div class="fancybox-image-wrap"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&(e.opts.thumb||e.opts.$thumb)?(e.width=e.opts.width,e.height=e.opts.height,e.$ghost=n("<img />").one("error",function(){n(this).remove(),e.$ghost=null,o.setBigImage(e)}).one("load",function(){o.afterLoad(e),o.setBigImage(e)}).addClass("fancybox-image").appendTo(e.$content).attr("src",e.opts.thumb||e.opts.$thumb.attr("src"))):o.setBigImage(e)},setBigImage:function(t){var e=this,i=n("<img />");t.$image=i.one("error",function(){e.setError(t)}).one("load",function(){clearTimeout(t.timouts),t.timouts=null,e.isClosing||(t.width=this.naturalWidth,t.height=this.naturalHeight,t.opts.image.srcset&&i.attr("sizes","100vw").attr("srcset",t.opts.image.srcset),e.hideLoading(t),t.$ghost?t.timouts=setTimeout(function(){t.timouts=null,t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))):e.afterLoad(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),i[0].complete?i.trigger("load"):i[0].error?i.trigger("error"):t.timouts=setTimeout(function(){i[0].complete||t.hasError||e.showLoading(t)},100)},setIframe:function(t){var e,i=this,r=t.opts.iframe,s=t.$slide;t.$content=n('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(s),e=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(t.$content),r.preload?(i.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),i.afterLoad(t)}),s.on("refresh.fb",function(){var n,i,s,a,o=t.$content;if(1===e[0].isReady){try{n=e.contents().find("body")}catch(t){}n&&n.length&&(void 0===r.css.width||void 0===r.css.height)&&(i=e[0].contentWindow.document.documentElement.scrollWidth,s=Math.ceil(n.outerWidth(!0)+(o.width()-i)),a=Math.ceil(n.outerHeight(!0)),o.css({width:void 0===r.css.width?s+(o.outerWidth()-o.innerWidth()):r.css.width,height:void 0===r.css.height?a+(o.outerHeight()-o.innerHeight()):r.css.height})),o.removeClass("fancybox-is-hidden")}})):this.afterLoad(t),e.attr("src",t.src),!0===t.opts.smallBtn&&t.$content.prepe
1nd(i.translate(t,t.opts.btnTpl.smallBtn)),s.one("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank")}catch(t){}n(this).empty(),t.isLoaded=!1})},setContent:function(t,e){var i=this;i.isClosing||(i.hideLoading(t),t.$slide.empty(),l(e)&&e.parent().length?(e.parent(".fancybox-slide--inline").trigger("onReset"),t.$placeholder=n("<div></div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&3===(e=n("<div>").append(n.trim(e)).contents())[0].nodeType&&(e=n("<div>").html(e)),t.opts.filter&&(e=n("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){t.$placeholder&&(t.$placeholder.after(e.hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1)}),t.$content=n(e).appendTo(t.$slide),t.opts.smallBtn&&!t.$smallBtn&&(t.$smallBtn=n(i.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content.filter("div").first())),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.removeClass("fancybox-slide--"+t.type),this.setContent(t,this.translate(t,t.opts.errorTpl))},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=n(e.opts.spinnerTpl).appendTo(t.$slide))},hideLoading:function(t){var e=this;(t=t||e.current)&&t.$spinner&&(t.$spinner.remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.revealContent(t))},revealContent:function(t){var e,i,r,s,a,o=this,c=t.$slide,l=!1;return e=t.opts[o.firstRun?"animationEffect":"transitionEffect"],r=t.opts[o.firstRun?"animationDuration":"transitionDuration"],r=parseInt(void 0===t.forcedDuration?r:t.forcedDuration,10),!t.isMoved&&t.pos===o.currPos&&r||(e=!1),"zoom"!==e||t.pos===o.currPos&&r&&"image"===t.type&&!t.hasError&&(l=o.getThumbPos(t))||(e="fade"),"zoom"===e?(a=o.getFitPos(t),a.scaleX=a.width/l.width,a.scaleY=a.height/l.height,delete a.width,delete a.height,"auto"==(s=t.opts.zoomOpacity)&&(s=Math.abs(t.width/t.height-l.width/l.height)>.1),s&&(l.opacity=.1,a.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),l),d(t.$content),void n.fancybox.animate(t.$content,a,r,function(){o.complete()})):(o.updateSlide(t),e?(n.fancybox.stop(c),i="fancybox-animated fancybox-slide--"+(t.pos>o.prevPos?"next":"previous")+" fancybox-fx-"+e,c.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(i),t.$content.removeClass("fancybox-is-hidden"),d(c),void n.fancybox.animate(c,"fancybox-slide--current",r,function(e){c.removeClass(i).removeAttr("style"),t.pos===o.currPos&&o.complete()},!0)):(d(c),t.$content.removeClass("fancybox-is-hidden"),void(t.pos===o.currPos&&o.complete())))},getThumbPos:function(i){var r,s=this,a=!1,o=i.opts.$thumb,c=o?o.offset():0;return c&&o[0].ownerDocument===e&&function(e){for(var i=e[0],r=i.getBoundingClientRect(),s=[];null!==i.parentElement;)"hidden"!==n(i.parentElement).css("overflow")&&"auto"!==n(i.parentElement).css("overflow")||s.push(i.parentElement.getBoundingClientRect()),i=i.parentElement;return s.every(function(t){var e=Math.min(r.right,t.right)-Math.max(r.left,t.left),n=Math.min(r.bottom,t.bottom)-Math.max(r.top,t.top);return e>0&&n>0})&&r.bottom>0&&r.right>0&&r.left<n(t).width()&&r.top<n(t).height()}(o)&&(r=s.$refs.stage.offset(),a={top:c.top-r.top+parseFloat(o.css("border-top-width")||0),left:c.left-r.left+parseFloat(o.css("border-left-width")||0),width:o.width(),height:o.height(),scaleX:1,scaleY:1}),a},complete:function(){var t=this,i=t.current,r={};i.isMoved||!i.isLoaded||i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),d(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,function(e,i){i.pos>=t.currPos-1&&i.pos<=t.currPos+1?r[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.unbind().remove())}
1),t.slides=r,t.updateCursor(),t.trigger("afterShow"),(n(e.activeElement).is("[disabled]")||i.opts.autoFocus&&"image"!=i.type&&"iframe"!==i.type)&&t.focus())},preload:function(){var t,e,n=this;n.group.length<2||(t=n.slides[n.currPos+1],e=n.slides[n.currPos-1],t&&"image"===t.type&&n.loadSlide(t),e&&"image"===e.type&&n.loadSlide(e))},focus:function(){var t,e=this.current;this.isClosing||(t=(t=e&&e.isComplete?e.$slide.find("button,:input,[tabindex],a").filter(":not([disabled]):visible:first"):null)&&t.length?t:this.$refs.container).focus()},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.uid!==t.uid&&!e.isClosing&&e.trigger("onDeactivate")}),t.current&&(t.$refs.container.index()>0&&t.$refs.container.prependTo(e.body),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var i,r,s,a,o,c,l=this,d=l.current,f=function(){l.cleanUp(t)};return!l.isClosing&&(l.isClosing=!0,!1===l.trigger("beforeClose",t)?(l.isClosing=!1,u(function(){l.update()}),!1):(l.removeEvents(),d.timouts&&clearTimeout(d.timouts),s=d.$content,i=d.opts.animationEffect,r=n.isNumeric(e)?e:i?d.opts.animationDuration:0,d.$slide.off(h).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),d.$slide.siblings().trigger("onReset").remove(),r&&l.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"),l.hideLoading(d),l.hideControls(),l.updateCursor(),"zoom"!==i||!0!==t&&s&&r&&"image"===d.type&&!d.hasError&&(c=l.getThumbPos(d))||(i="fade"),"zoom"===i?(n.fancybox.stop(s),o=n.fancybox.getTranslate(s),o.width=o.width*o.scaleX,o.height=o.height*o.scaleY,"auto"==(a=d.opts.zoomOpacity)&&(a=Math.abs(d.width/d.height-c.width/c.height)>.1),a&&(c.opacity=0),o.scaleX=o.width/c.width,o.scaleY=o.height/c.height,o.width=c.width,o.height=c.height,n.fancybox.setTranslate(d.$content,o),n.fancybox.animate(d.$content,c,r,f),!0):(i&&r?!0===t?setTimeout(f,r):n.fancybox.animate(d.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+i,r,f):f(),!0)))},cleanUp:function(t){var e,i=this;i.current.$slide.trigger("onReset"),i.$refs.container.empty().remove(),i.trigger("afterClose",t),i.$lastFocus&&i.current.opts.backFocus&&i.$lastFocus.focus(),i.current=null,(e=n.fancybox.getInstance())?e.activate():(a.scrollTop(i.scrollTop).scrollLeft(i.scrollLeft),n("html").removeClass("fancybox-enabled"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var i,r=Array.prototype.slice.call(arguments,1),s=this,a=e&&e.opts?e:s.current;if(a?r.unshift(a):a=s,r.unshift(s),n.isFunction(a.opts[t])&&(i=a.opts[t].apply(a,r)),!1===i)return i;"afterClose"===t?o.trigger(t+".fb",r):s.$refs.container.trigger(t+".fb",r)},updateControls:function(t){var e=this,i=e.current,r=i.index,s=i.opts,a=s.caption,o=e.$refs.caption;i.$slide.trigger("refresh"),e.$caption=a&&a.length?o.html(a):null,e.isHiddenControls||e.showControls(),n("[data-fancybox-count]").html(e.group.length),n("[data-fancybox-index]").html(r+1),n("[data-fancybox-prev]").prop("disabled",!s.loop&&r<=0),n("[data-fancybox-next]").prop("disabled",!s.loop&&r>=e.group.length-1)},hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.isHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal),t.$caption?n.addClass("fancybox-show-caption "):n.removeClass("fancybox-show-caption")},toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.1.25",defaults:s,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):first').data("FancyBox"),i=Array.prototype.slice.call(arguments,1
1);return e instanceof f&&("string"===n.type(t)?e[t].apply(e,i):"function"===n.type(t)&&t.apply(e,i),e)},open:function(t,e,n){return new f(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close())},destroy:function(){this.close(!0),o.off("click.fb-start")},isMobile:void 0!==e.createTouch&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;if(!t||!t.length)return!1;if(e=t.eq(0).css("transform"),(e=e&&-1!==e.indexOf("matrix")?(e=(e=e.split("(")[1]).split(")")[0]).split(","):[]).length)e=(e=e.length>10?[e[13],e[12],e[0],e[5]]:[e[5],e[4],e[0],e[3]]).map(parseFloat);else{e=[0,0,1,1];var n=/\.*translate\((.*)px,(.*)px\)/i.exec(t.eq(0).attr("style"));n&&(e[0]=parseFloat(n[2]),e[1]=parseFloat(n[1]))}return{top:e[0],left:e[1],scaleX:e[2],scaleY:e[3],opacity:parseFloat(t.css("opacity")),width:t.width(),height:t.height()}},setTranslate:function(t,e){var n="",i={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY&&(n=(n.length?n+" ":"")+"scale("+e.scaleX+", "+e.scaleY+")"),n.length&&(i.transform=n),void 0!==e.opacity&&(i.opacity=e.opacity),void 0!==e.width&&(i.width=e.width),void 0!==e.height&&(i.height=e.height),t.css(i)},animate:function(t,e,i,r,s){var a=h||"transitionend";n.isFunction(i)&&(r=i,i=null),n.isPlainObject(e)||t.removeAttr("style"),t.on(a,function(i){(!i||!i.originalEvent||t.is(i.originalEvent.target)&&"z-index"!=i.originalEvent.propertyName)&&(t.off(a),n.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&(t.css("transition-duration","0ms"),e.width=Math.round(t.width()*e.scaleX),e.height=Math.round(t.height()*e.scaleY),e.scaleX=1,e.scaleY=1,n.fancybox.setTranslate(t,e)):!0!==s&&t.removeClass(e),n.isFunction(r)&&r(i))}),n.isNumeric(i)&&t.css("transition-duration",i+"ms"),n.isPlainObject(e)?n.fancybox.setTranslate(t,e):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger("transitionend")},i+16))},stop:function(t){clearTimeout(t.data("timer")),t.off(h)}},n.fn.fancybox=function(t){var e;return t=t||{},(e=t.selector||!1)?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},r):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},r),this},o.on("click.fb-start","[data-fancybox]",r)}}(window,document,window.jQuery||jQuery),function(t){"use strict";var e=function(e,n,i){if(e)return i=i||"","object"===t.type(i)&&(i=t.param(i,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),i.length&&(e+=(e.indexOf("?")>0?"&":"?")+i),e},n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12])+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}};t(document).on("onInit.fb",function(i,r){t.each(r.group,function(i,r){var s,a,o,c,l,u,h,d=r.src||"",f=!1;r.type||(s=t.extend(!0,{}
1,n,r.opts.media),t.each(s,function(n,i){if(o=d.match(i.matcher),u={},h=n,o){if(f=i.type,i.paramPlace&&o[i.paramPlace]){"?"==(l=o[i.paramPlace])[0]&&(l=l.substring(1)),l=l.split("&");for(var s=0;s<l.length;++s){var p=l[s].split("=",2);2==p.length&&(u[p[0]]=decodeURIComponent(p[1].replace(/\+/g," ")))}}return c=t.extend(!0,{},i.params,r.opts[n],u),d="function"===t.type(i.url)?i.url.call(this,o,c,r):e(i.url,o,c),a="function"===t.type(i.thumb)?i.thumb.call(this,o,c,r):e(i.thumb,o),"vimeo"===h&&(d=d.replace("&%23","#")),!1}}),f?(r.src=d,r.type=f,r.opts.thumb||r.opts.$thumb&&r.opts.$thumb.length||(r.opts.thumb=a),"iframe"===f&&(t.extend(!0,r.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}}),r.contentProvider=h,r.opts.slideClass+=" fancybox-slide--"+("gmap_place"==h||"gmap_search"==h?"map":"video"))):r.type="image")})})}(window.jQuery),function(t,e,n){"use strict";var i=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},r=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},s=function(e){var n=[];e=(e=e.originalEvent||e||t.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e];for(var i in e)e[i].pageX?n.push({x:e[i].pageX,y:e[i].pageY}):e[i].clientX&&n.push({x:e[i].clientX,y:e[i].clientY});return n},a=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},o=function(t){if(t.is("a,button,input,select,textarea")||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,i=t[0].attributes,r=i.length;e<r;e++)if("data-fancybox-"===i[e].nodeName.substr(0,14))return!0;return!1},c=function(e){var n=t.getComputedStyle(e)["overflow-y"],i=t.getComputedStyle(e)["overflow-x"],r=("scroll"===n||"auto"===n)&&e.scrollHeight>e.clientHeight,s=("scroll"===i||"auto"===i)&&e.scrollWidth>e.clientWidth;return r||s},l=function(t){for(var e=!1;;){if(e=c(t.get(0)))break;if(!(t=t.parent()).length||t.hasClass("fancybox-stage")||t.is("body"))break}return e},u=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};u.prototype.destroy=function(){this.$container.off(".fb.touch")},u.prototype.ontouchstart=function(i){var r=this,c=n(i.target),u=r.instance,h=u.current,d=h.$content,f="touchstart"==i.type;if(f&&r.$container.off("mousedown.fb.touch"),!h||r.instance.isAnimating||r.instance.isClosing)return i.stopPropagation(),void i.preventDefault();i.originalEvent&&2==i.originalEvent.button||!c.length||o(c)||o(c.parent())||i.originalEvent.clientX>c[0].clientWidth+c.offset().left||(r.startPoints=s(i),!r.startPoints||r.startPoints.length>1&&u.isSliding||(r.$target=c,r.$content=d,r.canTap=!0,n(e).off(".fb.touch"),n(e).on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(r,"ontouchend")),n(e).on(f?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(r,"ontouchmove")),(u.current.opts.touch||u.canPan())&&(c.is(r.$stage)||r.$stage.find(c).length)?(i.stopPropagation(),n.fancybox.isMobile&&(l(r.$target)||l(r.$target.parent()))||i.preventDefault(),r.canvasWidth=Math.round(h.$slide[0].clientWidth),r.canvasHeight=Math.round(h.$slide[0].clientHeight),r.startTime=(new Date).getTime(),r.distanceX=r.distanceY=r.distance=0,r.isPanning=!1,r.isSwiping=!1,r.isZooming=!1,r.sliderStartPos=r.sliderLastPos||{top:0,left:0},r.contentStartPos=n.fancybox.getTranslate(r.$content),r.contentLastPos=null,1!==r.startPoints.length||r.isZooming||(r.canTap=!u.isSliding,"image"===h.type&&(r.contentStartPos.width>r.canvasWidth+1||r.contentStartPos.height>r.canvasHeight+1)?(n.fancybox.stop(r.$content),r.$content.css("transition-duration","0ms"),r.isPanning=!0):r.isSwiping=!0,r.$container.addClass("fancybox-controls--isGrabbing")),2!==r.startPoints.length||u.isAnimating||h.hasError||"image"!==h.type||!h.isLoaded&&!h.$ghost||(r.isZooming=!0,r.isSwiping=!1,r.isPanning=!1,n.fancybox.stop(r.$content),r.$content.css("transition-duration","0ms"),r.centerPointStartX=.5*(r.startPoints[0].x+r.startPoints[1].x)-n(t).scrollLeft(),r.centerPointStartY=.5*(r.startPoints[0].y+r.startPoints[1].y)-n(t).scrollTop(),r.percentageOfImageAtPinchPointX=(r.centerPointStartX-r.contentStartPos.left)/r.contentStartPos.width,r.percentageOfImageAtPinchPointY=(r.centerPointStartY-r.contentStartPos.top)/r.contentStartPos.height,r.startDistanceBetweenFingers=a(r.startPoints[0],r.startPoints[1]))):c.is("img")&&i.preventDefault()))},u.prototype.ontouchmove=function(t){var e=this;if(e.newPoints=s(t),n.fancybox.isMobile&&(l(e.$target)||l(e.$target.parent())))return t.stopPropagation(),void(e.canTap=!1);if((e.instance.current.opts.touch||e.instance.canPan())&&e.newPoints&&e.newPoints.length&&(e.distanceX=a(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=a(e.newPoints[0],e.startPoints[0],"y"),e.distance=a(e.newPoints[0],e.startPoints[0]),e.distance>
10)){if(!e.$target.is(e.$stage)&&!e.$stage.find(e.$target).length)return;t.stopPropagation(),t.preventDefault(),e.isSwiping?e.onSwipe():e.isPanning?e.onPan():e.isZooming&&e.onZoom()}},u.prototype.onSwipe=function(){var e,s=this,a=s.isSwiping,o=s.sliderStartPos.left||0;!0===a?Math.abs(s.distance)>10&&(s.canTap=!1,s.instance.group.length<2&&s.instance.opts.touch.vertical?s.isSwiping="y":s.instance.isSliding||!1===s.instance.opts.touch.vertical||"auto"===s.instance.opts.touch.vertical&&n(t).width()>800?s.isSwiping="x":(e=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=e>45&&e<135?"y":"x"),s.instance.isSliding=s.isSwiping,s.startPoints=s.newPoints,n.each(s.instance.slides,function(t,e){n.fancybox.stop(e.$slide),e.$slide.css("transition-duration","0ms"),e.inTransition=!1,e.pos===s.instance.current.pos&&(s.sliderStartPos.left=n.fancybox.getTranslate(e.$slide).left)}),s.instance.SlideShow&&s.instance.SlideShow.isActive&&s.instance.SlideShow.stop()):("x"==a&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?o+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?o-=Math.pow(-s.distanceX,.8):o+=s.distanceX),s.sliderLastPos={top:"x"==a?0:s.sliderStartPos.top+s.distanceY,left:o},s.requestId&&(r(s.requestId),s.requestId=null),s.requestId=i(function(){s.sliderLastPos&&(n.each(s.instance.slides,function(t,e){var i=e.pos-s.instance.currPos;
1n.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+i*s.canvasWidth+i*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))}))},u.prototype.onPan=function(){var t,e,s,a=this;a.canTap=!1,t=a.contentStartPos.width>a.canvasWidth?a.contentStartPos.left+a.distanceX:a.contentStartPos.left,e=a.contentStartPos.top+a.distanceY,(s=a.limitMovement(t,e,a.contentStartPos.width,a.contentStartPos.height)).scaleX=a.contentStartPos.scaleX,s.scaleY=a.contentStartPos.scaleY,a.contentLastPos=s,a.requestId&&(r(a.requestId),a.requestId=null),a.requestId=i(function(){n.fancybox.setTranslate(a.$content,a.contentLastPos)})},u.prototype.limitMovement=function(t,e,n,i){var r,s,a,o,c=this,l=c.canvasWidth,u=c.canvasHeight,h=c.contentStartPos.left,d=c.contentStartPos.top,f=c.distanceX,p=c.distanceY;return r=Math.max(0,.5*l-.5*n),s=Math.max(0,.5*u-.5*i),a=Math.min(l-n,.5*l-.5*n),o=Math.min(u-i,.5*u-.5*i),n>l&&(f>0&&t>r&&(t=r-1+Math.pow(-r+h+f,.8)||0),f<0&&t<a&&(t=a+1-Math.pow(a-h-f,.8)||0)),i>u&&(p>0&&e>s&&(e=s-1+Math.pow(-s+d+p,.8)||0),p<0&&e<o&&(e=o+1-Math.pow(o-d-p,.8)||0)),{top:e,left:t}},u.prototype.limitPosition=function(t,e,n,i){var r=this,s=r.canvasWidth,a=r.canvasHeight;return t=n>s?(t=t>0?0:t)<s-n?s-n:t:Math.max(0,s/2-n/2),e=i>a?(e=e>0?0:e)<a-i?a-i:e:Math.max(0,a/2-i/2),{top:e,left:t}},u.prototype.onZoom=function(){var e=this,s=e.contentStartPos.width,o=e.contentStartPos.height,c=e.contentStartPos.left,l=e.contentStartPos.top,u=a(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,h=Math.floor(s*u),d=Math.floor(o*u),f=(s-h)*e.percentageOfImageAtPinchPointX,p=(o-d)*e.percentageOfImageAtPinchPointY,g=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),m=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),v=g-e.centerPointStartX,_={top:l+(p+(m-e.centerPointStartY)),left:c+(f+v),scaleX:e.contentStartPos.scaleX*u,scaleY:e.contentStartPos.scaleY*u};e.canTap=!1,e.newWidth=h,e.newHeight=d,e.contentLastPos=_,e.requestId&&(r(e.requestId),e.requestId=null),e.requestId=i(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},u.prototype.ontouchend=function(t){var i=this,a=Math.max((new Date).getTime()-i.startTime,1),o=i.isSwiping,c=i.isPanning,l=i.isZooming;if(i.endPoints=s(t),i.$container.removeClass("fancybox-controls--isGrabbing"),n(e).off(".fb.touch"),i.requestId&&(r(i.requestId),i.requestId=null),i.isSwiping=!1,i.isPanning=!1,i.isZooming=!1,i.canTap)return i.onTap(t);i.speed=366,i.velocityX=i.distanceX/a*.5,i.velocityY=i.distanceY/a*.5,i.speedX=Math.max(.5*i.speed,Math.min(1.5*i.speed,1/Math.abs(i.velocityX)*i.speed)),c?i.endPanning():l?i.endZooming():i.endSwiping(o)},u.prototype.endSwiping=function(t){var e=this,i=!1;e.instance.isSliding=!1,e.sliderLastPos=null,"y"==t&&Math.abs(e.distanceY)>50?(n.fancybox.animate(e.instance.current.$slide,{top:e.sliderStartPos.top+e.distanceY+150*e.velocityY,opacity:0},150),i=e.instance.close(!0,300)):"x"==t&&e.distanceX>50&&e.instance.group.length>1?i=e.instance.previous(e.speedX):"x"==t&&e.distanceX<-50&&e.instance.group.length>1&&(i=e.instance.next(e.speedX)),!1!==i||"x"!=t&&"y"!=t||e.instance.jumpTo(e.instance.current.index,150),e.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var t,e,i,r=this;r.contentLastPos&&(!1===r.instance.current.opts.touch.momentum?(t=r.contentLastPos.left,e=r.contentLastPos.top):(t=r.contentLastPos.left+r.velocityX*r.speed,e=r.contentLastPos.top+r.velocityY*r.speed),(i=r.limitPosition(t,e,r.contentStartPos.width,r.contentStartPos.height)).width=r.contentStartPos.width,i.height=r.contentStartPos.height,n.fancybox.animate(r.$content,i,330))},u.prototype.endZooming=function(){var t,e,i,r,s=this,a=s.instance.current,o=s.newWidth,c=s.newHeight;s.contentLastPos&&(t=s.contentLastPos.left,r={top:e=s.contentLastPos.top,left
1:t,width:o,height:c,scaleX:1,scaleY:1},n.fancybox.setTranslate(s.$content,r),o<s.canvasWidth&&c<s.canvasHeight?s.instance.scaleToFit(150):o>a.width||c>a.height?s.instance.scaleToActual(s.centerPointStartX,s.centerPointStartY,150):(i=s.limitPosition(t,e,o,c),n.fancybox.setTranslate(s.content,n.fancybox.getTranslate(s.$content)),n.fancybox.animate(s.$content,i,150)))},u.prototype.onTap=function(t){var e,i=this,r=n(t.target),a=i.instance,o=a.current,c=t&&s(t)||i.startPoints,l=c[0]?c[0].x-i.$stage.offset().left:0,u=c[0]?c[0].y-i.$stage.offset().top:0,h=function(e){var r=o.opts[e];if(n.isFunction(r)&&(r=r.apply(a,[o,t])),r)switch(r){case"close":a.close(i.startEvent);break;case"toggleControls":a.toggleControls(!0);break;case"next":a.next();break;case"nextOrClose":a.group.length>1?a.next():a.close(i.startEvent);break;case"zoom":"image"==o.type&&(o.isLoaded||o.$ghost)&&(a.canPan()?a.scaleToFit():a.isScaledDown()?a.scaleToActual(l,u):a.group.length<2&&a.close(i.startEvent))}};if(!(t.originalEvent&&2==t.originalEvent.button||a.isSliding||l>r[0].clientWidth+r.offset().left)){if(r.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))e="Outside";else if(r.is(".fancybox-slide"))e="Slide";else{if(!a.current.$content||!a.current.$content.has(t.target).length)return;e="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,Math.abs(l-i.tapX)>50||Math.abs(u-i.tapY)>50||a.isSliding)return this;h("dblclick"+e)}else i.tapX=l,i.tapY=u,o.opts["dblclick"+e]&&o.opts["dblclick"+e]!==o.opts["click"+e]?i.tapped=setTimeout(function(){i.tapped=null,h("click"+e)},300):h("click"+e);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new u(e))}),n(e).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,window.jQuery),function(t,e){"use strict";var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,speed:3e3,init:function(){var t=this;t.$button=t.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),(t.instance.group.length<2||!t.instance.group[t.instance.currIndex].opts.slideShow)&&t.$button.hide()},set:function(){var t=this;t.instance&&t.instance.current&&(t.instance.current.opts.loop||t.instance.currIndex<t.instance.group.length-1)?t.timer=setTimeout(function(){t.instance.next()},t.instance.current.opts.slideShow.speed||t.speed):(t.stop(),t.instance.idleSecondsCounter=0,t.instance.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null},start:function(){var t=this,e=t.instance.current;t.instance&&e&&(e.opts.loop||e.index<t.instance.group.length-1)&&(t.isActive=!0,t.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_STOP).addClass("fancybox-button--pause"),e.isComplete&&t.set())},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_START).removeClass("fancybox-button--pause"),t.isActive=!1},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,i){var r=e&&e.SlideShow;i?r&&n.opts.slideShow.autoStart&&r.start():r&&r.isActive&&r.clear()},"afterShow.fb":function(t,e,n){var i=e&&e.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(n,i,r,s,a){var o=i&&i.SlideShow;!o||!r.opts.slideShow||80!==a&&32!==a||e(t.activeElement).is("button,a,input")||(s.preventDefault(),o.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",function(){var n=e.fancybox.getInstance(),i=n&&n.SlideShow;i&&i.isActive&&(t.hidden?i.clear():i.set())})}(document,window.jQuery),function(t,e){"use strict";var n=function(){var e,n,i,r=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],s={};for(n=0;n<r.length;n++)if((e=r[n])&&e[1]in t){for(i=0;i<e.length;i++)s[r[0][i]]=e[i];return s}return!1}();if(n){var i={request:function(e){(e=e||t.documentElement)[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e(t).on({"onInit.fb":function(t,e){var n,r=e.$refs.toolbar.find("[data-fancybox-fullscreen]");e&&!e.FullScreen&&e.group[e.currIndex].opts.fullScreen?((n=e.$refs.container).on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),i.toggle(n[0])}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&i.request(n[0]),e.FullScreen=i):r.hide()},"afterKeydown.fb":function(t,e,n,i,r){e&&e.FullScreen&&70===r&&(i.preventDefault(),e.FullScreen.toggle(e.$refs.container[0]))},"beforeClose.fb":function(t){t&&t.FullScreen&&i.exit()}}),e(t).on(n.fullscreenchange,function(){var t=e.fancybox.getInstance();t.current&&"image"===t.current.type&&t.isAnimating&&(t.current.$content.css("transition","none"),t.isAnimating=!1,t.update(!0,!0,0)),t.trigger("onFullscreenChange",i.isFullscreen())})}else e&&e.fancybox&&(e.fancybox.defaults.btnTpl.fullScreen=!1)}(document,window.jQuery),function(t,e){"use strict";var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,init:function(){var t=this,e=t.instance.group[0],n=t.instance.group[1];t.$button=t.instance.$refs.toolbar.find("[data-fancybox-thumbs]"),t.instance.group.length>1&&t.instance.group[t.instance.currIndex].opts.thumbs&&("image"==e.type||e.opts.thumb||e.opts.$thumb)&&("image"==n.type||n.opts.thumb||n.opts.$thumb)?(t.$button.on("click",function(){t.toggle(
1)}),t.isActive=!0):(t.$button.hide(),t.isActive=!1)},create:function(){var t,n,i=this.instance;this.$grid=e('<div class="fancybox-thumbs"></div>').appendTo(i.$refs.container),t="<ul>",e.each(i.group,function(e,i){(n=i.opts.thumb||(i.opts.$thumb?i.opts.$thumb.attr("src"):null))||"image"!==i.type||(n=i.src),n&&n.length&&(t+='<li data-index="'+e+'" tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+n+'" /></li>')}),t+="</ul>",this.$list=e(t).appendTo(this.$grid).on("click","li",function(){i.jumpTo(e(this).data("index"))}),this.$list.find("img").hide().one("load",function(){var t,n,i,r,s=e(this).parent().removeClass("fancybox-thumbs-loading"),a=s.outerWidth(),o=s.outerHeight();t=this.naturalWidth||this.width,r=(n=this.naturalHeight||this.height)/o,(i=t/a)>=1&&r>=1&&(i>r?(t/=r,n=o):(t=a,n/=i)),e(this).css({width:Math.floor(t),height:Math.floor(n),"margin-top":Math.min(0,Math.floor(.3*o-.3*n)),"margin-left":Math.min(0,Math.floor(.5*a-.5*t))}).show()}).each(function(){this.src=e(this).data("src")})},focus:function(){this.instance.current&&this.$list.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active").focus()},close:function(){this.$grid.hide()},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus()):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.Thumbs&&(e.Thumbs=new n(e))},"beforeShow.fb":function(t,e,n,i){var r=e&&e.Thumbs;if(r&&r.isActive){if(n.modal)return r.$button.hide(),void r.hide();i&&!0===e.opts.thumbs.autoStart&&r.show(),r.isVisible&&r.focus()}},"afterKeydown.fb":function(t,e,n,i,r){var s=e&&e.Thumbs;s&&s.isActive&&71===r&&(i.preventDefault(),s.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==e.opts.thumbs.hideOnClose&&n.close()}})}(document,window.jQuery),function(t,e,n){"use strict";function i(){var t=e.location.hash.substr(1),n=t.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,r=n.join("-");return i<1&&(i=1),{hash:t,index:i,gallery:r}}function r(t){var e;""!==t.gallery&&((e=n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1)).length||(e=n("#"+n.escapeSelector(t.gallery))),e.length&&(a=!1,e.trigger("click")))}function s(t){var e;return!!t&&((e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox"):""))}n.escapeSelector||(n.escapeSelector=function(t){var e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;return(t+"").replace(e,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})});var a=!0,o=null,c=null;n(function(){setTimeout(function(){!1!==n.fancybox.defaults.hash&&(n(t).on({"onInit.fb":function(t,e){var n,r;!1!==e.group[e.currIndex].opts.hash&&(n=i(),(r=s(e))&&n.gallery&&r==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,i,r){var l;r&&!1!==r.opts.hash&&(l=s(i))&&""!==l&&(e.location.hash.indexOf(l)<0&&(i.opts.origHash=e.location.hash),o=l+(i.group.length>1?"-"+(r.index+1):""),"replaceState"in e.history?(c&&clearTimeout(c),c=setTimeout(function(){e.history[a?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+o),c=null,a=!1},300)):e.location.hash=o)},"beforeClose.fb":function(i,r,a){var l,u;c&&clearTimeout(c),!1!==a.opts.hash&&(l=s(r),u=r&&r.opts.origHash?r.opts.origHash:"",l&&""!==l&&("replaceState"in history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+u):(e.location.hash=u,n(e).scrollTop(r.scrollTop).scrollLeft(r.scrollLeft))),o=null)}}),n(e).on("hashchange.fb",function(){var t=i();n.fancybox.getInstance()?!o||o===t.gallery+"-"+t.index||1===t.index&&o==t.gallery||(o=null,n.fancybox.close()):""!==t.gallery&&r(t)}),r(i()))},50)})}(document,window,window.jQuery),this.createjs=this.createjs||{},createjs.extend=function(t,e){"use strict";function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n},this.createjs=this.createjs||{},createjs.promote=function(t,e){"use strict";var n=t.prototype,i=Object.getPrototypeOf&&Object.getPrototypeOf(n)||n.__proto__;if(i){n[(e+="_")+"constructor"]=i.constructor;for(var r in i)n.hasOwnProperty(r)&&"function"==typeof i[r]&&(n[e+r]=i[r])}return t},this.createjs=this.createjs||{},createjs.indexOf=function(t,e){"use strict";for(var n=0,i=t.length;i>n;n++)if(e===t[n])return n;return-1},this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.type=t,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!e,this.cancelable=!!n,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.prop
vendor: 7,403 bytes, line 1
1agationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var e=t.prototype;e.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},e.stopPropagation=function(){this.propagationStopped=!0},e.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.remove=function(){this.removed=!0},e.clone=function(){return new t(this.type,this.bubbles,this.cancelable)},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.toString=function(){return"[Event (type="+this.type+")]"},createjs.Event=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this._listeners=null,this._captureListeners=null}var e=t.prototype;t.initialize=function(t){t.addEventListener=e.addEventListener,t.on=e.on,t.removeEventListener=t.off=e.removeEventListener,t.removeAllEventListeners=e.removeAllEventListeners,t.hasEventListener=e.hasEventListener,t.dispatchEvent=e.dispatchEvent,t._dispatchEvent=e._dispatchEvent,t.willTrigger=e.willTrigger},e.addEventListener=function(t,e,n){var i,r=(i=n?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{})[t];return r&&this.removeEventListener(t,e,n),(r=i[t])?r.push(e):i[t]=[e],e},e.on=function(t,e,n,i,r,s){return e.handleEvent&&(n=n||e,e=e.handleEvent),n=n||this,this.addEventListener(t,function(t){e.call(n,t,r),i&&t.remove()},s)},e.removeEventListener=function(t,e,n){var i=n?this._captureListeners:this._listeners;if(i){var r=i[t];if(r)for(var s=0,a=r.length;a>s;s++)if(r[s]==e){1==a?delete i[t]:r.splice(s,1);break}}},e.off=e.removeEventListener,e.removeAllEventListeners=function(t){t?(this._listeners&&delete this._listeners[t],this._captureListeners&&delete this._captureListeners[t]):this._listeners=this._captureListeners=null},e.dispatchEvent=function(t,e,n){if("string"==typeof t){var i=this._listeners;if(!(e||i&&i[t]))return!0;t=new createjs.Event(t,e,n)}else t.target&&t.clone&&(t=t.clone());try{t.target=this}catch(t){}if(t.bubbles&&this.parent){for(var r=this,s=[r];r.parent;)s.push(r=r.parent);var a,o=s.length;for(a=o-1;a>=0&&!t.propagationStopped;a--)s[a]._dispatchEvent(t,1+(0==a));for(a=1;o>a&&!t.propagationStopped;a++)s[a]._dispatchEvent(t,3)}else this._dispatchEvent(t,2);return!t.defaultPrevented},e.hasEventListener=function(t){var e=this._listeners,n=this._captureListeners;return!!(e&&e[t]||n&&n[t])},e.willTrigger=function(t){for(var e=this;e;){if(e.hasEventListener(t))return!0;e=e.parent}return!1},e.toString=function(){return"[EventDispatcher]"},e._dispatchEvent=function(t,e){var n,i=1==e?this._captureListeners:this._listeners;if(t&&i){var r=i[t.type];if(!r||!(n=r.length))return;try{t.currentTarget=this}catch(t){}try{t.eventPhase=e}catch(t){}t.removed=!1,r=r.slice();for(var s=0;n>s&&!t.immediatePropagationStopped;s++){var a=r[s];a.handleEvent?a.handleEvent(t):a(t),t.removed&&(this.off(t.type,a,1==e),t.removed=!1)}}},createjs.EventDispatcher=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Ticker cannot be instantiated."}t.RAF_SYNCHED="synched",t.RAF="raf",t.TIMEOUT="timeout",t.useRAF=!1,t.timingMode=null,t.maxDelta=0,t.paused=!1,t.removeEventListener=null,t.removeAllEventListeners=null,t.dispatchEvent=null,t.hasEventListener=null,t._listeners=null,createjs.EventDispatcher.initialize(t),t._addEventListener=t.addEventListener,t.addEventListener=function(){return!t._inited&&t.init(),t._addEventListener.apply(t,arguments)},t._inited=!1,t._startTime=0,t._pausedTime=0,t._ticks=0,t._pausedTicks=0,t._interval=50,t._lastTime=0,t._times=null,t._tickTimes=null,t._timerId=null,t._raf=!0,t.setInterval=function(e){t._interval=e,t._inited&&t._setupTick()},t.getInterval=function(){return t._interval},t.setFPS=function(e){t.setInterval(1e3/e)},t.getFPS=function(){return 1e3/t._interval};try{Object.defineProperties(t,{interval:{get:t.getInterval,set:t.setInterval},framerate:{get:t.getFPS,set:t.setFPS}})}catch(t){console.log(t)}t.init=function(){t._inited||(t._inited=!0,t._times=[],t._tickTimes=[],t._startTime=t._getTime(),t._times.push(t._lastTime=0),t.interval=t._interval)},t.reset=function(){if(t._raf){var e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame;e&&e(t._timerId)}else clearTimeout(t._timerId);t.removeAllEventListeners("tick"),t._timerId=t._times=t._tickTimes=null,t._startTime=t._lastTime=t._ticks=0,t._inited=!1},t.getMeasuredTickTime=function(e){var n=0,i=t._tickTimes;if(!i||i.length<1)return-1;e=Math.min(i.length,e||0|t.getFPS());for(var r=0;e>r;r++)n+=i[r];return n/e},t.getMeasuredFPS=function(e){var n=t._times;return!n||n.length<2?-1:(e=Math.min(n.length-1,e||0|t.getFPS()),1e3/((n[0]-n[e])/e))},t.setPaused=function(e){t.paused=e},t.getPaused=function(){return t.paused},t.getTime=function(e){return t._startTime?t._getTime()-(e?t._pausedTime:0):-1},t.getEventTime=function(e){return t._startTime?(t._lastTime||t._startTime)-(e?t._pausedTime:0):-1},t.getTicks=function(e){return t._ticks-(e?t._pausedTicks:0)},t._handleSynch=function(){t._timerId=null,t._setupTick(),t._getTime()-t._lastTime>=.97*(t._interval-1)&&t._tick()},t._handleRAF=function(){t._timerId=null,t._setupTick(),t._tick()},t._handleTimeout=function(){t._timerId=null,t._setupTick(),t._tick()},t._setupTick=function(){if(null==t._timerId){var e=t.timingMode||t.useRAF&&t.RAF_SYNCHED;if(e==t.RAF_SYNCHED||e==t.RAF){var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(n)return t._timerId=n(e==t.RAF?t._handleRAF:t._handleSynch),void(t._raf=!0)}t._raf=!1,t._timerId=setTimeout(t._handleTimeout,t._interval)}},t._tick=function(){var e=t.paused,n=t._getTime(),i=n-t._lastTime;if(t._lastTime=n,t._ticks++,e&&(t._pausedTicks++,t._pausedTime+=i),t.hasEventListener("tick")){var r=new createjs.Event("tick"),s=t.maxDelta;r.delta=s&&i>s?s:i,r.paused=e,r.time=n,r.runTime=n-t._pausedTime,t.dispatchEvent(r)}for(t._tickTimes.unshift(t._getTime()-n);t._tickTimes.length>100;)t._tickTimes.pop();for(t._times.unshift(n);t._times.length>100;)t._times.pop()};var e=window.performance&&(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow);t._getTime=function(){return(e&&e.call(performance)||(new Date).getTime())-t._startTime},createjs.Ticker=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"UID cannot be instantiated"}t._nextID=0,t.get=function(){return t._nextID++},createjs.UID=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i,r,s,a,o,c,l,u){this.Event_constructor(t,e,n),this.stageX=i,this.stageY=r,this.rawX=null==c?i:c,this.rawY=null==l?r:l,this.nativeEvent=s,this.pointerID=a,this.primary=!!o,this.relatedTarget=u}var e=createjs.extend(t,createjs.Event);e._get_localX=function(){return this.currentTarget.globalToLocal(this.rawX,this.rawY).x},e._get_localY=function(){return this.currentTarget.globalToLocal(this.rawX,this.rawY).y},e._get_isTouch=function(){return-1!==this.pointerID};try{Object.defineProperties(e,{localX:{get:e._get_localX},localY:{get:e._get_localY},isTouch:{get:e._get_isTouch}})}catch(t){}e.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.stageX,this.stageY,this.nativeEvent,this.pointerID,this.primary,this.rawX,this.rawY)}
vendor: 4,255 bytes, line 1
1,e.toString=function(){return"[MouseEvent (type="+this.type+" stageX="+this.stageX+" stageY="+this.stageY+")]"},createjs.MouseEvent=createjs.promote(t,"Event")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i,r,s){this.setValues(t,e,n,i,r,s)}var e=t.prototype;t.DEG_TO_RAD=Math.PI/180,t.identity=null,e.setValues=function(t,e,n,i,r,s){return this.a=null==t?1:t,this.b=e||0,this.c=n||0,this.d=null==i?1:i,this.tx=r||0,this.ty=s||0,this},e.append=function(t,e,n,i,r,s){var a=this.a,o=this.b,c=this.c,l=this.d;return(1!=t||0!=e||0!=n||1!=i)&&(this.a=a*t+c*e,this.b=o*t+l*e,this.c=a*n+c*i,this.d=o*n+l*i),this.tx=a*r+c*s+this.tx,this.ty=o*r+l*s+this.ty,this},e.prepend=function(t,e,n,i,r,s){var a=this.a,o=this.c,c=this.tx;return this.a=t*a+n*this.b,this.b=e*a+i*this.b,this.c=t*o+n*this.d,this.d=e*o+i*this.d,this.tx=t*c+n*this.ty+r,this.ty=e*c+i*this.ty+s,this},e.appendMatrix=function(t){return this.append(t.a,t.b,t.c,t.d,t.tx,t.ty)},e.prependMatrix=function(t){return this.prepend(t.a,t.b,t.c,t.d,t.tx,t.ty)},e.appendTransform=function(e,n,i,r,s,a,o,c,l){if(s%360)var u=s*t.DEG_TO_RAD,h=Math.cos(u),d=Math.sin(u);else h=1,d=0;return a||o?(a*=t.DEG_TO_RAD,o*=t.DEG_TO_RAD,this.append(Math.cos(o),Math.sin(o),-Math.sin(a),Math.cos(a),e,n),this.append(h*i,d*i,-d*r,h*r,0,0)):this.append(h*i,d*i,-d*r,h*r,e,n),(c||l)&&(this.tx-=c*this.a+l*this.c,this.ty-=c*this.b+l*this.d),this},e.prependTransform=function(e,n,i,r,s,a,o,c,l){if(s%360)var u=s*t.DEG_TO_RAD,h=Math.cos(u),d=Math.sin(u);else h=1,d=0;return(c||l)&&(this.tx-=c,this.ty-=l),a||o?(a*=t.DEG_TO_RAD,o*=t.DEG_TO_RAD,this.prepend(h*i,d*i,-d*r,h*r,0,0),this.prepend(Math.cos(o),Math.sin(o),-Math.sin(a),Math.cos(a),e,n)):this.prepend(h*i,d*i,-d*r,h*r,e,n),this},e.rotate=function(e){e*=t.DEG_TO_RAD;var n=Math.cos(e),i=Math.sin(e),r=this.a,s=this.b;return this.a=r*n+this.c*i,this.b=s*n+this.d*i,this.c=-r*i+this.c*n,this.d=-s*i+this.d*n,this},e.skew=function(e,n){return e*=t.DEG_TO_RAD,n*=t.DEG_TO_RAD,this.append(Math.cos(n),Math.sin(n),-Math.sin(e),Math.cos(e),0,0),this},e.scale=function(t,e){return this.a*=t,this.b*=t,this.c*=e,this.d*=e,this},e.translate=function(t,e){return this.tx+=this.a*t+this.c*e,this.ty+=this.b*t+this.d*e,this},e.identity=function(){return this.a=this.d=1,this.b=this.c=this.tx=this.ty=0,this},e.invert=function(){var t=this.a,e=this.b,n=this.c,i=this.d,r=this.tx,s=t*i-e*n;return this.a=i/s,this.b=-e/s,this.c=-n/s,this.d=t/s,this.tx=(n*this.ty-i*r)/s,this.ty=-(t*this.ty-e*r)/s,this},e.isIdentity=function(){return 0===this.tx&&0===this.ty&&1===this.a&&0===this.b&&0===this.c&&1===this.d},e.equals=function(t){return this.tx===t.tx&&this.ty===t.ty&&this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d},e.transformPoint=function(t,e,n){return n=n||{},n.x=t*this.a+e*this.c+this.tx,n.y=t*this.b+e*this.d+this.ty,n},e.decompose=function(e){null==e&&(e={}),e.x=this.tx,e.y=this.ty,e.scaleX=Math.sqrt(this.a*this.a+this.b*this.b),e.scaleY=Math.sqrt(this.c*this.c+this.d*this.d);var n=Math.atan2(-this.c,this.d),i=Math.atan2(this.b,this.a);return 1e-5>Math.abs(1-n/i)?(e.rotation=i/t.DEG_TO_RAD,this.a<0&&this.d>=0&&(e.rotation+=e.rotation<=0?180:-180),e.skewX=e.skewY=0):(e.skewX=n/t.DEG_TO_RAD,e.skewY=i/t.DEG_TO_RAD),e},e.copy=function(t){return this.setValues(t.a,t.b,t.c,t.d,t.tx,t.ty)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.tx,this.ty)},e.toString=function(){return"[Matrix2D (a="+this.a+" b="+this.b+" c="+this.c+" d="+this.d+" tx="+this.tx+" ty="+this.ty+")]"},t.identity=new t,createjs.Matrix2D=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i,r){this.setValues(t,e,n,i,r)}var e=t.prototype;e.setValues=function(t,e,n,i,r){return this.visible=null==t||!!t,this.alpha=null==e?1:e,this.shadow=n,this.compositeOperation=i,this.matrix=r||this.matrix&&this.matrix.identity()||new createjs.Matrix2D,this},e.append=function(t,e,n,i,r){return this.alpha*=e,this.shadow=n||this.shadow,this.compositeOperation=i||this.compositeOperation,this.visible=this.visible&&t,r&&this.matrix.appendMatrix(r),this},e.prepend=function(t,e,n,i,r){return this.alpha*=e,this.shadow=this.shadow||n,this.compositeOperation=this.compositeOperation||i,this.visible=this.visible&&t,r&&this.matrix.prependM
vendor: 5,376 bytes, line 1
1atrix(r),this},e.identity=function(){return this.visible=!0,this.alpha=1,this.shadow=this.compositeOperation=null,this.matrix.identity(),this},e.clone=function(){return new t(this.alpha,this.shadow,this.compositeOperation,this.visible,this.matrix.clone())},createjs.DisplayProps=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.setValues(t,e)}var e=t.prototype;e.setValues=function(t,e){return this.x=t||0,this.y=e||0,this},e.copy=function(t){return this.x=t.x,this.y=t.y,this},e.clone=function(){return new t(this.x,this.y)},e.toString=function(){return"[Point (x="+this.x+" y="+this.y+")]"},createjs.Point=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i){this.setValues(t,e,n,i)}var e=t.prototype;e.setValues=function(t,e,n,i){return this.x=t||0,this.y=e||0,this.width=n||0,this.height=i||0,this},e.extend=function(t,e,n,i){return n=n||0,i=i||0,t+n>this.x+this.width&&(this.width=t+n-this.x),e+i>this.y+this.height&&(this.height=e+i-this.y),t<this.x&&(this.width+=this.x-t,this.x=t),e<this.y&&(this.height+=this.y-e,this.y=e),this},e.pad=function(t,e,n,i){return this.x-=e,this.y-=t,this.width+=e+i,this.height+=t+n,this},e.copy=function(t){return this.setValues(t.x,t.y,t.width,t.height)},e.contains=function(t,e,n,i){return n=n||0,i=i||0,t>=this.x&&t+n<=this.x+this.width&&e>=this.y&&e+i<=this.y+this.height},e.union=function(t){return this.clone().extend(t.x,t.y,t.width,t.height)},e.intersection=function(e){var n=e.x,i=e.y,r=n+e.width,s=i+e.height;return this.x>n&&(n=this.x),this.y>i&&(i=this.y),this.x+this.width<r&&(r=this.x+this.width),this.y+this.height<s&&(s=this.y+this.height),n>=r||i>=s?null:new t(n,i,r-n,s-i)},e.intersects=function(t){return t.x<=this.x+this.width&&this.x<=t.x+t.width&&t.y<=this.y+this.height&&this.y<=t.y+t.height},e.isEmpty=function(){return this.width<=0||this.height<=0},e.clone=function(){return new t(this.x,this.y,this.width,this.height)},e.toString=function(){return"[Rectangle (x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+")]"},createjs.Rectangle=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i,r,s,a){t.addEventListener&&(this.target=t,this.overLabel=null==n?"over":n,this.outLabel=null==e?"out":e,this.downLabel=null==i?"down":i,this.play=r,this._isPressed=!1,this._isOver=!1,this._enabled=!1,t.mouseChildren=!1,this.enabled=!0,this.handleEvent({}),s&&(a&&(s.actionsEnabled=!1,s.gotoAndStop&&s.gotoAndStop(a)),t.hitArea=s))}var e=t.prototype;e.setEnabled=function(t){if(t!=this._enabled){var e=this.target;this._enabled=t,t?(e.cursor="pointer",e.addEventListener("rollover",this),e.addEventListener("rollout",this),e.addEventListener("mousedown",this),e.addEventListener("pressup",this),e._reset&&(e.__reset=e._reset,e._reset=this._reset)):(e.cursor=null,e.removeEventListener("rollover",this),e.removeEventListener("rollout",this),e.removeEventListener("mousedown",this),e.removeEventListener("pressup",this),e.__reset&&(e._reset=e.__reset,delete e.__reset))}},e.getEnabled=function(){return this._enabled};try{Object.defineProperties(e,{enabled:{get:e.getEnabled,set:e.setEnabled}})}catch(t){}e.toString=function(){return"[ButtonHelper]"},e.handleEvent=function(t){var e,n=this.target,i=t.type;"mousedown"==i?(this._isPressed=!0,e=this.downLabel):"pressup"==i?(this._isPressed=!1,e=this._isOver?this.overLabel:this.outLabel):"rollover"==i?(this._isOver=!0,e=this._isPressed?this.downLabel:this.overLabel):(this._isOver=!1,e=this._isPressed?this.overLabel:this.outLabel),this.play?n.gotoAndPlay&&n.gotoAndPlay(e):n.gotoAndStop&&n.gotoAndStop(e)},e._reset=function(){var t=this.paused;this.__reset(),this.paused=t},createjs.ButtonHelper=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i){this.color=t||"black",this.offsetX=e||0,this.offsetY=n||0,this.blur=i||0}var e=t.prototype;t.identity=new t("transparent",0,0,0),e.toString=function(){return"[Shadow]"},e.clone=function(){return new t(this.color,this.offsetX,this.offsetY,this.blur)},createjs.Shadow=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.EventDispatcher_constructor(),this.complete=!0,this.framerate=0,this._animations=null,this._frames=null,this._images=null,this._data=null,this._loadCount=0,this._frameHeight=0,this._frameWidth=0,this._numFrames=0,this._regX=0,this._regY=0,this._spacing=0,this._margin=0,this._parseData(t)}var e=createjs.extend(t,createjs.EventDispatcher);e.getAnimations=function(){return this._animations.slice()};try{Object.defineProperties(e,{animations:{get:e.getAnimations}})}catch(t){}e.getNumFrames=function(t){if(null==t)return this._frames?this._frames.length:this._numFrames||0;var e=this._data[t];return null==e?0:e.frames.length},e.getAnimation=function(t){return this._data[t]},e.getFrame=function(t){var e;return this._frames&&(e=this._frames[t])?e:null},e.getFrameBounds=function(t,e){var n=this.getFrame(t);return n?(e||new createjs.Rectangle).setValues(-n.regX,-n.regY,n.rect.width,n.rect.height):null},e.toString=function(){return"[SpriteSheet]"},e.clone=function(){throw"SpriteSheet cannot be cloned."},e._parseData=function(t){var e,n,i,r;if(null!=t){if(this.framerate=t.framerate||0,t.images&&(n=t.images.length)>0)for(r=this._images=[],e=0;n>e;e++){var s=t.images[e];if("string"==typeof s){var a=s;(s=document.createElement("img")).src=a}
vendor: 4,117 bytes, line 1
1r.push(s),s.getContext||s.naturalWidth||(this._loadCount++,this.complete=!1,function(t,e){s.onload=function(){t._handleImageLoad(e)}}(this,a),function(t,e){s.onerror=function(){t._handleImageError(e)}}(this,a))}if(null==t.frames);else if(Array.isArray(t.frames))for(this._frames=[],r=t.frames,e=0,n=r.length;n>e;e++){var o=r[e];this._frames.push({image:this._images[o[4]?o[4]:0],rect:new createjs.Rectangle(o[0],o[1],o[2],o[3]),regX:o[5]||0,regY:o[6]||0})}else i=t.frames,this._frameWidth=i.width,this._frameHeight=i.height,this._regX=i.regX||0,this._regY=i.regY||0,this._spacing=i.spacing||0,this._margin=i.margin||0,this._numFrames=i.count,0==this._loadCount&&this._calculateFrames();if(this._animations=[],null!=(i=t.animations)){this._data={};var c;for(c in i){var l={name:c},u=i[c];if("number"==typeof u)r=l.frames=[u];else if(Array.isArray(u))if(1==u.length)l.frames=[u[0]];else for(l.speed=u[3],l.next=u[2],r=l.frames=[],e=u[0];e<=u[1];e++)r.push(e);else{l.speed=u.speed,l.next=u.next;var h=u.frames;r=l.frames="number"==typeof h?[h]:h.slice(0)}(!0===l.next||void 0===l.next)&&(l.next=c),(!1===l.next||r.length<2&&l.next==c)&&(l.next=null),l.speed||(l.speed=1),this._animations.push(c),this._data[c]=l}}}},e._handleImageLoad=function(t){0==--this._loadCount&&(this._calculateFrames(),this.complete=!0,this.dispatchEvent("complete"))},e._handleImageError=function(t){var e=new createjs.Event("error");e.src=t,this.dispatchEvent(e),0==--this._loadCount&&this.dispatchEvent("complete")},e._calculateFrames=function(){if(!this._frames&&0!=this._frameWidth){this._frames=[];var t=this._numFrames||1e5,e=0,n=this._frameWidth,i=this._frameHeight,r=this._spacing,s=this._margin;t:for(var a=0,o=this._images;a<o.length;a++)for(var c=o[a],l=c.width,u=c.height,h=s;u-s-i>=h;){for(var d=s;l-s-n>=d;){if(e>=t)break t;e++,this._frames.push({image:c,rect:new createjs.Rectangle(d,h,n,i),regX:this._regX,regY:this._regY}),d+=n+r}h+=i+r}this._numFrames=e}},createjs.SpriteSheet=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.command=null,this._stroke=null,this._strokeStyle=null,this._oldStrokeStyle=null,this._strokeDash=null,this._oldStrokeDash=null,this._strokeIgnoreScale=!1,this._fill=null,this._instructions=[],this._commitIndex=0,this._activeInstructions=[],this._dirty=!1,this._storeIndex=0,this.clear()}var e=t.prototype,n=t;t.getRGB=function(t,e,n,i){return null!=t&&null==n&&(i=e,n=255&t,e=t>>8&255,t=t>>16&255),null==i?"rgb("+t+","+e+","+n+")":"rgba("+t+","+e+","+n+","+i+")"},t.getHSL=function(t,e,n,i){return null==i?"hsl("+t%360+","+e+"%,"+n+"%)":"hsla("+t%360+","+e+"%,"+n+"%,"+i+")"},t.BASE_64={A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25,a:26,b:27,c:28,d:29,e:30,f:31,g:32,h:33,i:34,j:35,k:36,l:37,m:38,n:39,o:40,p:41,q:42,r:43,s:44,t:45,u:46,v:47,w:48,x:49,y:50,z:51,0:52,1:53,2:54,3:55,4:56,5:57,6:58,7:59,8:60,9:61,"+":62,"/":63},t.STROKE_CAPS_MAP=["butt","round","square"],t.STROKE_JOINTS_MAP=["miter","round","bevel"];var i=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");i.getContext&&(t._ctx=i.getContext("2d"),i.width=i.height=1),e.getInstructions=function(){return this._updateInstructions(),this._instructions};try{Object.defineProperties(e,{instructions:{get:e.getInstructions}})}catch(t){}e.isEmpty=function(){return!(this._instructions.length||this._activeInstructions.length)},e.draw=function(t,e){this._updateInstructions();for(var n=this._instructions,i=this._storeIndex,r=n.length;r>i;i++)n[i].exec(t,e)},e.drawAsPath=function(t){this._updateInstructions();for(var e,n=this._instructions,i=this._storeIndex,r=n.length;r>i;i++)!1!==(e=n[i]).path&&e.exec(t)},e.moveTo=function(t,e){return this.append(new n.MoveTo(t,e),!0)},e.lineTo=function(t,e){return this.append(new n.LineTo(t,e))},e.arcTo=function(t,e,i,r,s){return this.append(new n.ArcTo(t,e,i,r,s))},e.arc=function(t,e,i,r,s,a){return this.append(new n.Arc(t,e,i,r,s,a))},e.quadraticCurveTo=function(t,e,i,r){return this.append(new n.QuadraticCurveTo(t,e,i,r))}
vendor: 6,189 bytes, line 1
1,e.bezierCurveTo=function(t,e,i,r,s,a){return this.append(new n.BezierCurveTo(t,e,i,r,s,a))},e.rect=function(t,e,i,r){return this.append(new n.Rect(t,e,i,r))},e.closePath=function(){return this._activeInstructions.length?this.append(new n.ClosePath):this},e.clear=function(){return this._instructions.length=this._activeInstructions.length=this._commitIndex=0,this._strokeStyle=this._oldStrokeStyle=this._stroke=this._fill=this._strokeDash=this._oldStrokeDash=null,this._dirty=this._strokeIgnoreScale=!1,this},e.beginFill=function(t){return this._setFill(t?new n.Fill(t):null)},e.beginLinearGradientFill=function(t,e,i,r,s,a){return this._setFill((new n.Fill).linearGradient(t,e,i,r,s,a))},e.beginRadialGradientFill=function(t,e,i,r,s,a,o,c){return this._setFill((new n.Fill).radialGradient(t,e,i,r,s,a,o,c))},e.beginBitmapFill=function(t,e,i){return this._setFill(new n.Fill(null,i).bitmap(t,e))},e.endFill=function(){return this.beginFill()},e.setStrokeStyle=function(t,e,i,r,s){return this._updateInstructions(!0),this._strokeStyle=this.command=new n.StrokeStyle(t,e,i,r,s),this._stroke&&(this._stroke.ignoreScale=s),this._strokeIgnoreScale=s,this},e.setStrokeDash=function(t,e){return this._updateInstructions(!0),this._strokeDash=this.command=new n.StrokeDash(t,e),this},e.beginStroke=function(t){return this._setStroke(t?new n.Stroke(t):null)},e.beginLinearGradientStroke=function(t,e,i,r,s,a){return this._setStroke((new n.Stroke).linearGradient(t,e,i,r,s,a))},e.beginRadialGradientStroke=function(t,e,i,r,s,a,o,c){return this._setStroke((new n.Stroke).radialGradient(t,e,i,r,s,a,o,c))},e.beginBitmapStroke=function(t,e){return this._setStroke((new n.Stroke).bitmap(t,e))},e.endStroke=function(){return this.beginStroke()},e.curveTo=e.quadraticCurveTo,e.drawRect=e.rect,e.drawRoundRect=function(t,e,n,i,r){return this.drawRoundRectComplex(t,e,n,i,r,r,r,r)},e.drawRoundRectComplex=function(t,e,i,r,s,a,o,c){return this.append(new n.RoundRect(t,e,i,r,s,a,o,c))},e.drawCircle=function(t,e,i){return this.append(new n.Circle(t,e,i))},e.drawEllipse=function(t,e,i,r){return this.append(new n.Ellipse(t,e,i,r))},e.drawPolyStar=function(t,e,i,r,s,a){return this.append(new n.PolyStar(t,e,i,r,s,a))},e.append=function(t,e){return this._activeInstructions.push(t),this.command=t,e||(this._dirty=!0),this},e.decodePath=function(e){for(var n=[this.moveTo,this.lineTo,this.quadraticCurveTo,this.bezierCurveTo,this.closePath],i=[2,2,4,6,0],r=0,s=e.length,a=[],o=0,c=0,l=t.BASE_64;s>r;){var u=e.charAt(r),h=l[u],d=h>>3,f=n[d];if(!f||3&h)throw"bad path data (@"+r+"): "+u;var p=i[d];d||(o=c=0),a.length=0,r++;for(var g=2+(h>>2&1),m=0;p>m;m++){var v=l[e.charAt(r)],_=v>>5?-1:1;v=(31&v)<<6|l[e.charAt(r+1)],3==g&&(v=v<<6|l[e.charAt(r+2)]),v=_*v/10,m%2?o=v+=o:c=v+=c,a[m]=v,r+=g}f.apply(this,a)}return this},e.store=function(){return this._updateInstructions(!0),this._storeIndex=this._instructions.length,this},e.unstore=function(){return this._storeIndex=0,this},e.clone=function(){var e=new t;return e.command=this.command,e._stroke=this._stroke,e._strokeStyle=this._strokeStyle,e._strokeDash=this._strokeDash,e._strokeIgnoreScale=this._strokeIgnoreScale,e._fill=this._fill,e._instructions=this._instructions.slice(),e._commitIndex=this._commitIndex,e._activeInstructions=this._activeInstructions.slice(),e._dirty=this._dirty,e._storeIndex=this._storeIndex,e},e.toString=function(){return"[Graphics]"},e.mt=e.moveTo,e.lt=e.lineTo,e.at=e.arcTo,e.bt=e.bezierCurveTo,e.qt=e.quadraticCurveTo,e.a=e.arc,e.r=e.rect,e.cp=e.closePath,e.c=e.clear,e.f=e.beginFill,e.lf=e.beginLinearGradientFill,e.rf=e.beginRadialGradientFill,e.bf=e.beginBitmapFill,e.ef=e.endFill,e.ss=e.setStrokeStyle,e.sd=e.setStrokeDash,e.s=e.beginStroke,e.ls=e.beginLinearGradientStroke,e.rs=e.beginRadialGradientStroke,e.bs=e.beginBitmapStroke,e.es=e.endStroke,e.dr=e.drawRect,e.rr=e.drawRoundRect,e.rc=e.drawRoundRectComplex,e.dc=e.drawCircle,e.de=e.drawEllipse,e.dp=e.drawPolyStar,e.p=e.decodePath,e._updateInstructions=function(e){var n=this._instructions,i=this._activeInstructions,r=this._commitIndex;if(this._dirty&&i.length){n.length=r,n.push(t.beginCmd);var s=i.length,a=n.length;n.length=a+s;for(var o=0;s>o;o++)n[o+a]=i[o];this._fill&&n.push(this._fill),this._stroke&&(this._strokeDash!==this._oldStrokeDash&&(this._oldStrokeDash=this._strokeDash,n.push(this._strokeDash)),this._strokeStyle!==this._oldStrokeStyle&&(this._oldStrokeStyle=this._strokeStyle,n.push(this._strokeStyle)),n.push(this._stroke)),this._dirty=!1}e&&(i.length=0,this._commitIndex=n.length)},e._setFill=function(t){return this._updateInstructions(!0),this.command=this._fill=t,this},e._setStroke=function(t){return this._updateInstructions(!0),(this.command=this._stroke=t)&&(t.ignoreScale=this._strokeIgnoreScale),this},(n.LineTo=function(t,e){this.x=t,this.y=e}).prototype.exec=function(t){t.lineTo(this.x,this.y)},(n.MoveTo=function(t,e){this.x=t,this.y=e}).prototype.exec=function(t){t.moveTo(this.x,this.y)},(n.ArcTo=function(t,e,n,i,r){this.x1=t,this.y1=e,this.x2=n,this.y2=i,this.radius=r}).prototype.exec=function(t){t.arcTo(this.x1,this.y1,this.x2,this.y2,this.radius)},(n.Arc=function(t,e,n,i,r,s){this.x=t,this.y=e,this.radius=n,this.startAngle=i,this.endAngle=r,this.anticlockwise=!!s}).prototype.exec=function(t){t.arc(this.x,this.y,this.radius,this.startAngle,this.endAngle,this.anticlockwise)},(n.QuadraticCurveTo=function(t,e,n,i){this.cpx=t,this.cpy=e,this.x=n,this.y=i}).prototype.exec=function(t){t.quadraticCurveTo(this.cpx,this.cpy,this.x,this.y)},(n.BezierCurveTo=function(t,e,n,i,r,s){this.cp1x=t,this.cp1y=e,this.cp2x=n,this.cp2y=i,this.x=r,this.y=s}).prototype.exec=function(t){t.bezierCurveTo(this.cp1x,this.cp1y,this.cp2x,this.cp2y,this.x,this.y)},(n.Rect=function(t,e,n,i){this.x=t,this.y=e,this.w=n,this.h=i}).prototype.exec=function(t){t.rect(this.x,this.y,this.w,this.h)},(n.ClosePath=function(){}).prototype.exec=function(t){t.closePath()},(n.BeginPath=function(){}).prototype.exec=function(t){t.beginPath()},(e=(n.Fill=function(t,e){this.style=t,this.matrix=e}).prototype).exec=function(t){if(this.style){t.fillStyle=this.style;var e=this.matrix;e&&(t.save(),t.transform(e.a,e.b,e.c,e.d,e.tx,e.ty)),t.fill(),e&&t.restore(
vendor: 10,539 bytes, line 1
1)}},e.linearGradient=function(e,n,i,r,s,a){for(var o=this.style=t._ctx.createLinearGradient(i,r,s,a),c=0,l=e.length;l>c;c++)o.addColorStop(n[c],e[c]);return o.props={colors:e,ratios:n,x0:i,y0:r,x1:s,y1:a,type:"linear"},this},e.radialGradient=function(e,n,i,r,s,a,o,c){for(var l=this.style=t._ctx.createRadialGradient(i,r,s,a,o,c),u=0,h=e.length;h>u;u++)l.addColorStop(n[u],e[u]);return l.props={colors:e,ratios:n,x0:i,y0:r,r0:s,x1:a,y1:o,r1:c,type:"radial"},this},e.bitmap=function(e,n){return(e.naturalWidth||e.getContext||e.readyState>=2)&&((this.style=t._ctx.createPattern(e,n||"")).props={image:e,repetition:n,type:"bitmap"}),this},e.path=!1,(e=(n.Stroke=function(t,e){this.style=t,this.ignoreScale=e}).prototype).exec=function(t){this.style&&(t.strokeStyle=this.style,this.ignoreScale&&(t.save(),t.setTransform(1,0,0,1,0,0)),t.stroke(),this.ignoreScale&&t.restore())},e.linearGradient=n.Fill.prototype.linearGradient,e.radialGradient=n.Fill.prototype.radialGradient,e.bitmap=n.Fill.prototype.bitmap,e.path=!1,(e=(n.StrokeStyle=function(t,e,n,i,r){this.width=t,this.caps=e,this.joints=n,this.miterLimit=i,this.ignoreScale=r}).prototype).exec=function(e){e.lineWidth=null==this.width?"1":this.width,e.lineCap=null==this.caps?"butt":isNaN(this.caps)?this.caps:t.STROKE_CAPS_MAP[this.caps],e.lineJoin=null==this.joints?"miter":isNaN(this.joints)?this.joints:t.STROKE_JOINTS_MAP[this.joints],e.miterLimit=null==this.miterLimit?"10":this.miterLimit,e.ignoreScale=null!=this.ignoreScale&&this.ignoreScale},e.path=!1,(n.StrokeDash=function(t,e){this.segments=t,this.offset=e||0}).prototype.exec=function(t){t.setLineDash&&(t.setLineDash(this.segments||n.StrokeDash.EMPTY_SEGMENTS),t.lineDashOffset=this.offset||0)},n.StrokeDash.EMPTY_SEGMENTS=[],(n.RoundRect=function(t,e,n,i,r,s,a,o){this.x=t,this.y=e,this.w=n,this.h=i,this.radiusTL=r,this.radiusTR=s,this.radiusBR=a,this.radiusBL=o}).prototype.exec=function(t){var e=(l>c?c:l)/2,n=0,i=0,r=0,s=0,a=this.x,o=this.y,c=this.w,l=this.h,u=this.radiusTL,h=this.radiusTR,d=this.radiusBR,f=this.radiusBL;0>u&&(u*=n=-1),u>e&&(u=e),0>h&&(h*=i=-1),h>e&&(h=e),0>d&&(d*=r=-1),d>e&&(d=e),0>f&&(f*=s=-1),f>e&&(f=e),t.moveTo(a+c-h,o),t.arcTo(a+c+h*i,o-h*i,a+c,o+h,h),t.lineTo(a+c,o+l-d),t.arcTo(a+c+d*r,o+l+d*r,a+c-d,o+l,d),t.lineTo(a+f,o+l),t.arcTo(a-f*s,o+l+f*s,a,o+l-f,f),t.lineTo(a,o+u),t.arcTo(a-u*n,o-u*n,a+u,o,u),t.closePath()},(n.Circle=function(t,e,n){this.x=t,this.y=e,this.radius=n}).prototype.exec=function(t){t.arc(this.x,this.y,this.radius,0,2*Math.PI)},(n.Ellipse=function(t,e,n,i){this.x=t,this.y=e,this.w=n,this.h=i}).prototype.exec=function(t){var e=this.x,n=this.y,i=this.w,r=this.h,s=.5522848,a=i/2*s,o=r/2*s,c=e+i,l=n+r,u=e+i/2,h=n+r/2;t.moveTo(e,h),t.bezierCurveTo(e,h-o,u-a,n,u,n),t.bezierCurveTo(u+a,n,c,h-o,c,h),t.bezierCurveTo(c,h+o,u+a,l,u,l),t.bezierCurveTo(u-a,l,e,h+o,e,h)},(n.PolyStar=function(t,e,n,i,r,s){this.x=t,this.y=e,this.radius=n,this.sides=i,this.pointSize=r,this.angle=s}).prototype.exec=function(t){var e=this.x,n=this.y,i=this.radius,r=(this.angle||0)/180*Math.PI,s=this.sides,a=1-(this.pointSize||0),o=Math.PI/s;t.moveTo(e+Math.cos(r)*i,n+Math.sin(r)*i);for(var c=0;s>c;c++)r+=o,1!=a&&t.lineTo(e+Math.cos(r)*i*a,n+Math.sin(r)*i*a),r+=o,t.lineTo(e+Math.cos(r)*i,n+Math.sin(r)*i);t.closePath()},t.beginCmd=new n.BeginPath,createjs.Graphics=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.EventDispatcher_constructor(),this.alpha=1,this.cacheCanvas=null,this.cacheID=0,this.id=createjs.UID.get(),this.mouseEnabled=!0,this.tickEnabled=!0,this.name=null,this.parent=null,this.regX=0,this.regY=0,this.rotation=0,this.scaleX=1,this.scaleY=1,this.skewX=0,this.skewY=0,this.shadow=null,this.visible=!0,this.x=0,this.y=0,this.transformMatrix=null,this.compositeOperation=null,this.snapToPixel=!0,this.filters=null,this.mask=null,this.hitArea=null,this.cursor=null,this._cacheOffsetX=0,this._cacheOffsetY=0,this._filterOffsetX=0,this._filterOffsetY=0,this._cacheScale=1,this._cacheDataURLID=0,this._cacheDataURL=null,this._props=new createjs.DisplayProps,this._rectangle=new createjs.Rectangle,this._bounds=null}var e=createjs.extend(t,createjs.EventDispatcher);t._MOUSE_EVENTS=["click","dblclick","mousedown","mouseout","mouseover","pressmove","pressup","rollout","rollover"],t.suppressCrossDomainErrors=!1,t._snapToPixelEnabled=!1;var n=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");n.getContext&&(t._hitTestCanvas=n,t._hitTestContext=n.getContext("2d"),n.width=n.height=1),t._nextCacheID=1,e.getStage=function(){for(var t=this,e=createjs.Stage;t.parent;)t=t.parent;return t instanceof e?t:null};try{Object.defineProperties(e,{stage:{get:e.getStage}})}catch(t){}e.isVisible=function(){return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY)},e.draw=function(t,e){var n=this.cacheCanvas;if(e||!n)return!1;var i=this._cacheScale;return t.drawImage(n,this._cacheOffsetX+this._filterOffsetX,this._cacheOffsetY+this._filterOffsetY,n.width/i,n.height/i),!0},e.updateContext=function(e){var n=this,i=n.mask,r=n._props.matrix;i&&i.graphics&&!i.graphics.isEmpty()&&(i.getMatrix(r),e.transform(r.a,r.b,r.c,r.d,r.tx,r.ty),i.graphics.drawAsPath(e),e.clip(),r.invert(),e.transform(r.a,r.b,r.c,r.d,r.tx,r.ty)),this.getMatrix(r);var s=r.tx,a=r.ty;t._snapToPixelEnabled&&n.snapToPixel&&(s=s+(0>s?-.5:.5)|0,a=a+(0>a?-.5:.5)|0),e.transform(r.a,r.b,r.c,r.d,s,a),e.globalAlpha*=n.alpha,n.compositeOperation&&(e.globalCompositeOperation=n.compositeOperation),n.shadow&&this._applyShadow(e,n.shadow)},e.cache=function(t,e,n,i,r){r=r||1,this.cacheCanvas||(this.cacheCanvas=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas")),this._cacheWidth=n,this._cacheHeight=i,this._cacheOffsetX=t,this._cacheOffsetY=e,this._cacheScale=r,this.updateCache()},e.updateCache=function(e){var n=this.cacheCanvas;if(!n)throw"cache() must be called before updateCache()";var i=this._cacheScale,r=this._cacheOffsetX*i,s=this._cacheOffsetY*i,a=this._cacheWidth,o=this._cacheHeight,c=n.getContext("2d"),l=this._getFilterBounds();r+=this._filterOffsetX=l.x,s+=this._filterOffsetY=l.y,a=Math.ceil(a*i)+l.width,o=Math.ceil(o*i)+l.height,a!=n.width||o!=n.height?(n.width=a,n.height=o):e||c.clearRect(0,0,a+1,o+1),c.save(),c.globalCompositeOperation=e,c.setTransform(i,0,0,i,-r,-s),this.draw(c,!0),this._applyFilters(),c.restore(),this.cacheID=t._nextCacheID++},e.uncache=function(){this._cacheDataURL=this.cacheCanvas=null,this.cacheID=this._cacheOffsetX=this._cacheOffsetY=this._filterOffsetX=this._filterOffsetY=0,this._cacheScale=1},e.getCacheDataURL=function(){return this.cacheCanvas?(this.cacheID!=this._cacheDataURLID&&(this._cacheDataURL=this.cacheCanvas.toDataURL()),this._cacheDataURL):null},e.localToGlobal=function(t,e,n){return this.getConcatenatedMatrix(this._props.matrix).transformPoint(t,e,n||new createjs.Point)},e.globalToLocal=function(t,e,n){return this.getConcatenatedMatrix(this._props.matrix).invert().transformPoint(t,e,n||new createjs.Point)},e.localToLocal=function(t,e,n,i){return i=this.localToGlobal(t,e,i),n.globalToLocal(i.x,i.y,i)},e.setTransform=function(t,e,n,i,r,s,a,o,c){return this.x=t||0,this.y=e||0,this.scaleX=null==n?1:n,this.scaleY=null==i?1:i,this.rotation=r||0,this.skewX=s||0,this.skewY=a||0,this.regX=o||0,this.regY=c||0,this},e.getMatrix=function(t){var e=this,n=t&&t.identity()||new createjs.Matrix2D;return e.transformMatrix?n.copy(e.transformMatrix):n.appendTransform(e.x,e.y,e.scaleX,e.scaleY,e.rotation,e.skewX,e.skewY,e.regX,e.regY)},e.getConcatenatedMatrix=function(t){for(var e=this,n=this.getMatrix(t);e=e.parent;)n.prependMatrix(e.getMatrix(e._props.matrix));return n},e.getConcatenatedDisplayProps=function(t){t=t?t.identity():new createjs.DisplayProps;var e=this,n=e.getMatrix(t.matrix);do{t.prepend(e.visible,e.alpha,e.shadow,e.compositeOperation),e!=this&&n.prependMatrix(e.getMatrix(e._props.matrix))}while(e=e.parent);return t},e.hitTest=function(e,n){var i=t._hitTestContext;i.setTransform(1,0,0,1,-e,-n),this.draw(i);var r=this._testHit(i);return i.setTransform(1,0,0,1,0,0),i.clearRect(0,0,2,2),r},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.getBounds=function(){if(this._bounds)return this._rectangle.copy(this._bounds);var t=this.cacheCanvas;if(t){var e=this._cacheScale;return this._rectangle.setValues(this._cacheOffsetX,this._cacheOffsetY,t.width/e,t.height/e)}return null},e.getTransformedBounds=function(){return this._getBounds()},e.setBounds=function(t,e,n,i){null==t&&(this._bounds=t),this._bounds=(this._bounds||new createjs.Rectangle).setValues(t,e,n,i)},e.clone=function(){return this._cloneProps(new t)},e.toString=function(){return"[DisplayObject (name="+this.name+")]"},e._cloneProps=function(t){return t.alpha=this.alpha,t.mouseEnabled=this.mouseEnabled,t.tickEnabled=this.tickEnabled,t.name=this.name,t.regX=this.regX,t.regY=this.regY,t.rotation=this.rotation,t.scaleX=this.scaleX,t.scaleY=this.scaleY,t.shadow=this.shadow,t.skewX=this.skewX,t.skewY=this.skewY,t.visible=this.visible,t.x=this.x,t.y=this.y,t.compositeOperation=this.compositeOperation,t.snapToPixel=this.snapToPixel,t.filters=null==this.filters?null:this.filters.slice(0),t.mask=this.mask,t.hitArea=this.hitArea,t.cursor=this.cursor,t._bounds=this._bounds,t},e._applyShadow=function(t,e){e=e||Shadow.identity,t.shadowColor=e.color,t.shadowOffsetX=e.offsetX,t.shadowOffsetY=e.offsetY,t.shadowBlur=e.blur},e._tick=function(t){var e=this._listeners;e&&e.tick&&(t.target=null,t.propagationStopped=t.immediatePropagationStopped=!1,this.dispatchEvent(t))},e._testHit=function(e){try{var n=e.getImageData(0,0,1,1).data[3]>1}catch(e){if(!t.suppressCrossDomainErrors)throw"An error has occurred. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images."}return n},e._applyFilters=function(){if(this.filters&&0!=this.filters.length&&this.cacheCanvas)for(var t=this.filters.length,e=this.cacheCanvas.getContext("2d"),n=this.cacheCanvas.width,i=this.cacheCanvas.height,r=0;t>r;r++)this.filters[r].applyFilter(e,0,0,n,i)},e._getFilterBounds=function(t){var e,n=this.filters,i=this._rectangle.setValues(0,0,0,0);if(!n||!(e=n.length))return i;for(var r=0;e>r;r++){var s=this.filters[r];s.getBounds&&s.getBounds(i)}return i},e._getBounds=function(t,e){return this._transformBounds(this.getBounds(),t,e)},e._transformBounds=function(t,e,n){if(!t)return t;var i=t.x,r=t.y,s=t.width,a=t.height,o=this._props.matrix;o=n?o.identity():this.getMatrix(o),(i||r)&&o.appendTransform(0,0,1,1,0,0,0,-i,-r),e&&o.prependM
vendor: 4,588 bytes, line 1
1atrix(e);var c=s*o.a,l=s*o.b,u=a*o.c,h=a*o.d,d=o.tx,f=o.ty,p=d,g=d,m=f,v=f;return(i=c+d)<p?p=i:i>g&&(g=i),(i=c+u+d)<p?p=i:i>g&&(g=i),(i=u+d)<p?p=i:i>g&&(g=i),(r=l+f)<m?m=r:r>v&&(v=r),(r=l+h+f)<m?m=r:r>v&&(v=r),(r=h+f)<m?m=r:r>v&&(v=r),t.setValues(p,m,g-p,v-m)},e._hasMouseEventListener=function(){for(var e=t._MOUSE_EVENTS,n=0,i=e.length;i>n;n++)if(this.hasEventListener(e[n]))return!0;return!!this.cursor},createjs.DisplayObject=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.DisplayObject_constructor(),this.children=[],this.mouseChildren=!0,this.tickChildren=!0}var e=createjs.extend(t,createjs.DisplayObject);e.getNumChildren=function(){return this.children.length};try{Object.defineProperties(e,{numChildren:{get:e.getNumChildren}})}catch(t){}e.initialize=t,e.isVisible=function(){var t=this.cacheCanvas||this.children.length;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&t)},e.draw=function(t,e){if(this.DisplayObject_draw(t,e))return!0;for(var n=this.children.slice(),i=0,r=n.length;r>i;i++){var s=n[i];s.isVisible()&&(t.save(),s.updateContext(t),s.draw(t),t.restore())}return!0},e.addChild=function(t){if(null==t)return t;var e=arguments.length;if(e>1){for(var n=0;e>n;n++)this.addChild(arguments[n]);return arguments[e-1]}return t.parent&&t.parent.removeChild(t),t.parent=this,this.children.push(t),t.dispatchEvent("added"),t},e.addChildAt=function(t,e){var n=arguments.length,i=arguments[n-1];if(0>i||i>this.children.length)return arguments[n-2];if(n>2){for(var r=0;n-1>r;r++)this.addChildAt(arguments[r],i+r);return arguments[n-2]}return t.parent&&t.parent.removeChild(t),t.parent=this,this.children.splice(e,0,t),t.dispatchEvent("added"),t},e.removeChild=function(t){var e=arguments.length;if(e>1){for(var n=!0,i=0;e>i;i++)n=n&&this.removeChild(arguments[i]);return n}return this.removeChildAt(createjs.indexOf(this.children,t))},e.removeChildAt=function(t){var e=arguments.length;if(e>1){for(var n=[],i=0;e>i;i++)n[i]=arguments[i];n.sort(function(t,e){return e-t});for(var r=!0,i=0;e>i;i++)r=r&&this.removeChildAt(n[i]);return r}if(0>t||t>this.children.length-1)return!1;var s=this.children[t];return s&&(s.parent=null),this.children.splice(t,1),s.dispatchEvent("removed"),!0},e.removeAllChildren=function(){for(var t=this.children;t.length;)this.removeChildAt(0)},e.getChildAt=function(t){return this.children[t]},e.getChildByName=function(t){for(var e=this.children,n=0,i=e.length;i>n;n++)if(e[n].name==t)return e[n];return null},e.sortChildren=function(t){this.children.sort(t)},e.getChildIndex=function(t){return createjs.indexOf(this.children,t)},e.swapChildrenAt=function(t,e){var n=this.children,i=n[t],r=n[e];i&&r&&(n[t]=r,n[e]=i)},e.swapChildren=function(t,e){for(var n,i,r=this.children,s=0,a=r.length;a>s&&(r[s]==t&&(n=s),r[s]==e&&(i=s),null==n||null==i);s++);s!=a&&(r[n]=e,r[i]=t)},e.setChildIndex=function(t,e){var n=this.children,i=n.length;if(!(t.parent!=this||0>e||e>=i)){for(var r=0;i>r&&n[r]!=t;r++);r!=i&&r!=e&&(n.splice(r,1),n.splice(e,0,t))}},e.contains=function(t){for(;t;){if(t==this)return!0;t=t.parent}return!1},e.hitTest=function(t,e){return null!=this.getObjectUnderPoint(t,e)},e.getObjectsUnderPoint=function(t,e,n){var i=[],r=this.localToGlobal(t,e);return this._getObjectsUnderPoint(r.x,r.y,i,n>0,1==n),i},e.getObjectUnderPoint=function(t,e,n){var i=this.localToGlobal(t,e);return this._getObjectsUnderPoint(i.x,i.y,null,n>0,1==n)},e.getBounds=function(){return this._getBounds(null,!0)},e.getTransformedBounds=function(){return this._getBounds()},e.clone=function(e){var n=this._cloneProps(new t);return e&&this._cloneChildren(n),n},e.toString=function(){return"[Container (name="+this.name+")]"},e._tick=function(t){if(this.tickChildren)for(var e=this.children.length-1;e>=0;e--){var n=this.children[e];n.tickEnabled&&n._tick&&n._tick(t)}this.DisplayObject__tick(t)},e._cloneChildren=function(t){t.children.length&&t.removeAllChildren();for(var e=t.children,n=0,i=this.children.length;i>n;n++){var r=this.children[n].clone(!0);r.parent=t,e.push(r)}},e._getObjectsUnderPoint=function(e,n,i,r,s,a){if(!(a=a||0)&&!this._testMask(this,e,n))return null;var o,c=createjs.DisplayObject._hitTestContext;s=s||r&&this._hasMouseEventListener();for(var l=this.children,u=l.length-1;u>=0;u--){var h=l[u],d=h.hitArea;if(h.visible&&(d||h.isVisible())&&(!r||h.mouseEnabled)&&(d||this._testMask(h,e,n)))if(!d&&h instanceof t){var f=h._getObjectsUnderPoint(e,n,i,r,s,a+1);if(!i&&f)return r&&!this.mouseChildren?this:f}else{if(r&&!s&&!h._hasMouseEventListener())continue;
vendor: 1,265 bytes, line 1
1var p=h.getConcatenatedDisplayProps(h._props);if(o=p.matrix,d&&(o.appendMatrix(d.getMatrix(d._props.matrix)),p.alpha=d.alpha),c.globalAlpha=p.alpha,c.setTransform(o.a,o.b,o.c,o.d,o.tx-e,o.ty-n),(d||h).draw(c),!this._testHit(c))continue;if(c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,2,2),!i)return r&&!this.mouseChildren?this:h;i.push(h)}}return null},e._testMask=function(t,e,n){var i=t.mask;if(!i||!i.graphics||i.graphics.isEmpty())return!0;var r=this._props.matrix,s=t.parent;r=s?s.getConcatenatedMatrix(r):r.identity(),r=i.getMatrix(i._props.matrix).prependMatrix(r);var a=createjs.DisplayObject._hitTestContext;return a.setTransform(r.a,r.b,r.c,r.d,r.tx-e,r.ty-n),i.graphics.drawAsPath(a),a.fillStyle="#000",a.fill(),!!this._testHit(a)&&(a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,2,2),!0)},e._getBounds=function(t,e){var n=this.DisplayObject_getBounds();if(n)return this._transformBounds(n,t,e);var i=this._props.matrix;i=e?i.identity():this.getMatrix(i),t&&i.prependMatrix(t);for(var r=this.children.length,s=null,a=0;r>a;a++){var o=this.children[a];o.visible&&(n=o._getBounds(i))&&(s?s.extend(n.x,n.y,n.width,n.height):s=n.clone())}return s},createjs.Container=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";
vendor: 5,091 bytes, line 1
1function t(t){this.Container_constructor(),this.autoClear=!0,this.canvas="string"==typeof t?document.getElementById(t):t,this.mouseX=0,this.mouseY=0,this.drawRect=null,this.snapToPixelEnabled=!1,this.mouseInBounds=!1,this.tickOnUpdate=!0,this.mouseMoveOutside=!1,this.preventSelection=!0,this._pointerData={},this._pointerCount=0,this._primaryPointerID=null,this._mouseOverIntervalID=null,this._nextStage=null,this._prevStage=null,this.enableDOMEvents(!0)}var e=createjs.extend(t,createjs.Container);e._get_nextStage=function(){return this._nextStage},e._set_nextStage=function(t){this._nextStage&&(this._nextStage._prevStage=null),t&&(t._prevStage=this),this._nextStage=t};try{Object.defineProperties(e,{nextStage:{get:e._get_nextStage,set:e._set_nextStage}})}catch(t){}e.update=function(t){if(this.canvas&&(this.tickOnUpdate&&this.tick(t),!1!==this.dispatchEvent("drawstart",!1,!0))){createjs.DisplayObject._snapToPixelEnabled=this.snapToPixelEnabled;var e=this.drawRect,n=this.canvas.getContext("2d");n.setTransform(1,0,0,1,0,0),this.autoClear&&(e?n.clearRect(e.x,e.y,e.width,e.height):n.clearRect(0,0,this.canvas.width+1,this.canvas.height+1)),n.save(),this.drawRect&&(n.beginPath(),n.rect(e.x,e.y,e.width,e.height),n.clip()),this.updateContext(n),this.draw(n,!1),n.restore(),this.dispatchEvent("drawend")}},e.tick=function(t){if(this.tickEnabled&&!1!==this.dispatchEvent("tickstart",!1,!0)){var e=new createjs.Event("tick");if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);this._tick(e),this.dispatchEvent("tickend")}},e.handleEvent=function(t){"tick"==t.type&&this.update(t)},e.clear=function(){if(this.canvas){var t=this.canvas.getContext("2d");t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,this.canvas.width+1,this.canvas.height+1)}},e.toDataURL=function(t,e){var n,i=this.canvas.getContext("2d"),r=this.canvas.width,s=this.canvas.height;if(t){n=i.getImageData(0,0,r,s);var a=i.globalCompositeOperation;i.globalCompositeOperation="destination-over",i.fillStyle=t,i.fillRect(0,0,r,s)}var o=this.canvas.toDataURL(e||"image/png");return t&&(i.putImageData(n,0,0),i.globalCompositeOperation=a),o},e.enableMouseOver=function(t){if(this._mouseOverIntervalID&&(clearInterval(this._mouseOverIntervalID),this._mouseOverIntervalID=null,0==t&&this._testMouseOver(!0)),null==t)t=20;else if(0>=t)return;var e=this;this._mouseOverIntervalID=setInterval(function(){e._testMouseOver()},1e3/Math.min(50,t))},e.enableDOMEvents=function(t){null==t&&(t=!0);var e,n,i=this._eventListeners;if(!t&&i){for(e in i)(n=i[e]).t.removeEventListener(e,n.f,!1);this._eventListeners=null}else if(t&&!i&&this.canvas){var r=window.addEventListener?window:document,s=this;(i=this._eventListeners={}).mouseup={t:r,f:function(t){s._handleMouseUp(t)}},i.mousemove={t:r,f:function(t){s._handleMouseMove(t)}},i.dblclick={t:this.canvas,f:function(t){s._handleDoubleClick(t)}},i.mousedown={t:this.canvas,f:function(t){s._handleMouseDown(t)}};for(e in i)(n=i[e]).t.addEventListener(e,n.f,!1)}},e.clone=function(){throw"Stage cannot be cloned."},e.toString=function(){return"[Stage (name="+this.name+")]"},e._getElementRect=function(t){var e;try{e=t.getBoundingClientRect()}catch(n){e={top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}var n=(window.pageXOffset||document.scrollLeft||0)-(document.clientLeft||document.body.clientLeft||0),i=(window.pageYOffset||document.scrollTop||0)-(document.clientTop||document.body.clientTop||0),r=window.getComputedStyle?getComputedStyle(t,null):t.currentStyle,s=parseInt(r.paddingLeft)+parseInt(r.borderLeftWidth),a=parseInt(r.paddingTop)+parseInt(r.borderTopWidth),o=parseInt(r.paddingRight)+parseInt(r.borderRightWidth),c=parseInt(r.paddingBottom)+parseInt(r.borderBottomWidth);return{left:e.left+n+s,right:e.right+n-o,top:e.top+i+a,bottom:e.bottom+i-c}},e._getPointerData=function(t){var e=this._pointerData[t];return e||(e=this._pointerData[t]={x:0,y:0}),e},e._handleMouseMove=function(t){t||(t=window.event),this._handlePointerMove(-1,t,t.pageX,t.pageY)},e._handlePointerMove=function(t,e,n,i,r){if((!this._prevStage||void 0!==r)&&this.canvas){var s=this._nextStage,a=this._getPointerData(t),o=a.inBounds;this._updatePointerPosition(t,e,n,i),(o||a.inBounds||this.mouseMoveOutside)&&(-1===t&&a.inBounds==!o&&this._dispatchMouseEvent(this,o?"mouseleave":"mouseenter",!1,t,a,e),this._dispatchMouseEvent(this,"stagemousemove",!1,t,a,e),this._dispatchMouseEvent(a.target,"pressmove",!0,t,a,e)),s&&s._handlePointerMove(t,e,n,i,null)}},e._updatePointerPosition=function(t,e,n,i){var r=this._getElementRect(this.canvas);n-=r.left,i-=r.top;var s=this.canvas.width,a=this.canvas.height;n/=(r.right-r.left)/s,i/=(r.bottom-r.top)/a;var o=this._getPointerData(t);(o.inBounds=n>=0&&i>=0&&s-1>=n&&a-1>=i)?(o.x=n,o.y=i):this.mouseMoveOutside&&(o.x=0>n?0:n>s-1?s-1:n,o.y=0>i?0:i>a-1?a-1:i),o.posEvtObj=e,o.rawX=n,o.rawY=i,(t===this._primaryPointerID||-1===t)&&(this.mouseX=o.x,this.mouseY=o.y,this.mouseInBounds=o.inBounds)},e._handleMouseUp=function(t){this._handlePointerUp(-1,t,!1)},e._handlePointerUp=function(t,e,n,i){var r=this._nextStage,s=this._getPointerData(t);
vendor: 10,603 bytes, line 1
1if(!this._prevStage||void 0!==i){var a=null,o=s.target;i||!o&&!r||(a=this._getObjectsUnderPoint(s.x,s.y,null,!0)),s.down&&(this._dispatchMouseEvent(this,"stagemouseup",!1,t,s,e,a),s.down=!1),a==o&&this._dispatchMouseEvent(o,"click",!0,t,s,e),this._dispatchMouseEvent(o,"pressup",!0,t,s,e),n?(t==this._primaryPointerID&&(this._primaryPointerID=null),delete this._pointerData[t]):s.target=null,r&&r._handlePointerUp(t,e,n,i||a&&this)}},e._handleMouseDown=function(t){this._handlePointerDown(-1,t,t.pageX,t.pageY)},e._handlePointerDown=function(t,e,n,i,r){this.preventSelection&&e.preventDefault(),(null==this._primaryPointerID||-1===t)&&(this._primaryPointerID=t),null!=i&&this._updatePointerPosition(t,e,n,i);var s=null,a=this._nextStage,o=this._getPointerData(t);r||(s=o.target=this._getObjectsUnderPoint(o.x,o.y,null,!0)),o.inBounds&&(this._dispatchMouseEvent(this,"stagemousedown",!1,t,o,e,s),o.down=!0),this._dispatchMouseEvent(s,"mousedown",!0,t,o,e),a&&a._handlePointerDown(t,e,n,i,r||s&&this)},e._testMouseOver=function(t,e,n){if(!this._prevStage||void 0!==e){var i=this._nextStage;if(!this._mouseOverIntervalID)return void(i&&i._testMouseOver(t,e,n));var r=this._getPointerData(-1);if(r&&(t||this.mouseX!=this._mouseOverX||this.mouseY!=this._mouseOverY||!this.mouseInBounds)){var s,a,o,c=r.posEvtObj,l=n||c&&c.target==this.canvas,u=null,h=-1,d="";!e&&(t||this.mouseInBounds&&l)&&(u=this._getObjectsUnderPoint(this.mouseX,this.mouseY,null,!0),this._mouseOverX=this.mouseX,this._mouseOverY=this.mouseY);var f=this._mouseOverTarget||[],p=f[f.length-1],g=this._mouseOverTarget=[];for(s=u;s;)g.unshift(s),d||(d=s.cursor),s=s.parent;for(this.canvas.style.cursor=d,!e&&n&&(n.canvas.style.cursor=d),a=0,o=g.length;o>a&&g[a]==f[a];a++)h=a;for(p!=u&&this._dispatchMouseEvent(p,"mouseout",!0,-1,r,c,u),a=f.length-1;a>h;a--)this._dispatchMouseEvent(f[a],"rollout",!1,-1,r,c,u);for(a=g.length-1;a>h;a--)this._dispatchMouseEvent(g[a],"rollover",!1,-1,r,c,p);p!=u&&this._dispatchMouseEvent(u,"mouseover",!0,-1,r,c,p),i&&i._testMouseOver(t,e||u&&this,n||l&&this)}}},e._handleDoubleClick=function(t,e){var n=null,i=this._nextStage,r=this._getPointerData(-1);e||(n=this._getObjectsUnderPoint(r.x,r.y,null,!0),this._dispatchMouseEvent(n,"dblclick",!0,-1,r,t)),i&&i._handleDoubleClick(t,e||n&&this)},e._dispatchMouseEvent=function(t,e,n,i,r,s,a){if(t&&(n||t.hasEventListener(e))){var o=new createjs.MouseEvent(e,n,!1,r.x,r.y,s,i,i===this._primaryPointerID||-1===i,r.rawX,r.rawY,a);t.dispatchEvent(o)}},createjs.Stage=createjs.promote(t,"Container")}(),this.createjs=this.createjs||{},function(){function t(t){this.DisplayObject_constructor(),"string"==typeof t?(this.image=document.createElement("img"),this.image.src=t):this.image=t,this.sourceRect=null}var e=createjs.extend(t,createjs.DisplayObject);e.initialize=t,e.isVisible=function(){var t=this.image,e=this.cacheCanvas||t&&(t.naturalWidth||t.getContext||t.readyState>=2);return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&e)},e.draw=function(t,e){if(this.DisplayObject_draw(t,e)||!this.image)return!0;var n=this.image,i=this.sourceRect;if(i){var r=i.x,s=i.y,a=r+i.width,o=s+i.height,c=0,l=0,u=n.width,h=n.height;0>r&&(c-=r,r=0),a>u&&(a=u),0>s&&(l-=s,s=0),o>h&&(o=h),t.drawImage(n,r,s,a-r,o-s,c,l,a-r,o-s)}else t.drawImage(n,0,0);return!0},e.getBounds=function(){var t=this.DisplayObject_getBounds();if(t)return t;var e=this.image,n=this.sourceRect||e;return e&&(e.naturalWidth||e.getContext||e.readyState>=2)?this._rectangle.setValues(0,0,n.width,n.height):null},e.clone=function(){var e=new t(this.image);return this.sourceRect&&(e.sourceRect=this.sourceRect.clone()),this._cloneProps(e),e},e.toString=function(){return"[Bitmap (name="+this.name+")]"},createjs.Bitmap=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.DisplayObject_constructor(),this.currentFrame=0,this.currentAnimation=null,this.paused=!0,this.spriteSheet=t,this.currentAnimationFrame=0,this.framerate=0,this._animation=null,this._currentFrame=null,this._skipAdvance=!1,null!=e&&this.gotoAndPlay(e)}var e=createjs.extend(t,createjs.DisplayObject);e.initialize=t,e.isVisible=function(){var t=this.cacheCanvas||this.spriteSheet.complete;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&t)},e.draw=function(t,e){if(this.DisplayObject_draw(t,e))return!0;this._normalizeFrame();var n=this.spriteSheet.getFrame(0|this._currentFrame);if(!n)return!1;var i=n.rect;return i.width&&i.height&&t.drawImage(n.image,i.x,i.y,i.width,i.height,-n.regX,-n.regY,i.width,i.height),!0},e.play=function(){this.paused=!1},e.stop=function(){this.paused=!0},e.gotoAndPlay=function(t){this.paused=!1,this._skipAdvance=!0,this._goto(t)},e.gotoAndStop=function(t){this.paused=!0,this._goto(t)},e.advance=function(t){var e=this.framerate||this.spriteSheet.framerate,n=e&&null!=t?t/(1e3/e):1;this._normalizeFrame(n)},e.getBounds=function(){return this.DisplayObject_getBounds()||this.spriteSheet.getFrameBounds(this.currentFrame,this._rectangle)},e.clone=function(){return this._cloneProps(new t(this.spriteSheet))},e.toString=function(){return"[Sprite (name="+this.name+")]"},e._cloneProps=function(t){return this.DisplayObject__cloneProps(t),t.currentFrame=this.currentFrame,t.currentAnimation=this.currentAnimation,t.paused=this.paused,t.currentAnimationFrame=this.currentAnimationFrame,t.framerate=this.framerate,t._animation=this._animation,t._currentFrame=this._currentFrame,t._skipAdvance=this._skipAdvance,t},e._tick=function(t){this.paused||(this._skipAdvance||this.advance(t&&t.delta),this._skipAdvance=!1),this.DisplayObject__tick(t)},e._normalizeFrame=function(t){t=t||0;var e,n=this._animation,i=this.paused,r=this._currentFrame;if(n){var s=n.speed||1,a=this.currentAnimationFrame;if(e=n.frames.length,a+t*s>=e){var o=n.next;if(this._dispatchAnimationEnd(n,r,i,o,e-1))return;if(o)return this._goto(o,t-(e-a)/s);this.paused=!0,a=n.frames.length-1}else a+=t*s;this.currentAnimationFrame=a,this._currentFrame=n.frames[0|a]}else if(r=this._currentFrame+=t,e=this.spriteSheet.getNumFrames(),r>=e&&e>0&&!this._dispatchAnimationEnd(n,r,i,e-1)&&(this._currentFrame-=e)>=e)return this._normalizeFrame();r=0|this._currentFrame,this.currentFrame!=r&&(this.currentFrame=r,this.dispatchEvent("change"))},e._dispatchAnimationEnd=function(t,e,n,i,r){var s=t?t.name:null;if(this.hasEventListener("animationend")){var a=new createjs.Event("animationend");a.name=s,a.next=i,this.dispatchEvent(a)}var o=this._animation!=t||this._currentFrame!=e;return o||n||!this.paused||(this.currentAnimationFrame=r,o=!0),o},e._goto=function(t,e){if(this.currentAnimationFrame=0,isNaN(t)){var n=this.spriteSheet.getAnimation(t);n&&(this._animation=n,this.currentAnimation=t,this._normalizeFrame(e))}else this.currentAnimation=this._animation=null,this._currentFrame=t,this._normalizeFrame()},createjs.Sprite=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.DisplayObject_constructor(),this.graphics=t||new createjs.Graphics}var e=createjs.extend(t,createjs.DisplayObject);e.isVisible=function(){var t=this.cacheCanvas||this.graphics&&!this.graphics.isEmpty();return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&t)},e.draw=function(t,e){return!!this.DisplayObject_draw(t,e)||(this.graphics.draw(t,this),!0)},e.clone=function(e){var n=e&&this.graphics?this.graphics.clone():this.graphics;return this._cloneProps(new t(n))},e.toString=function(){return"[Shape (name="+this.name+")]"},createjs.Shape=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.DisplayObject_constructor(),this.text=t,this.font=e,this.color=n,this.textAlign="left",this.textBaseline="top",this.maxWidth=null,this.outline=0,this.lineHeight=0,this.lineWidth=null}var e=createjs.extend(t,createjs.DisplayObject),n=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");n.getContext&&(t._workingContext=n.getContext("2d"),n.width=n.height=1),t.H_OFFSETS={start:0,left:0,center:-.5,end:-1,right:-1},t.V_OFFSETS={top:0,hanging:-.01,middle:-.4,alphabetic:-.8,ideographic:-.85,bottom:-1},e.isVisible=function(){var t=this.cacheCanvas||null!=this.text&&""!==this.text;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&t)},e.draw=function(t,e){if(this.DisplayObject_draw(t,e))return!0;var n=this.color||"#000";return this.outline?(t.strokeStyle=n,t.lineWidth=1*this.outline):t.fillStyle=n,this._drawText(this._prepContext(t)),!0},e.getMeasuredWidth=function(){return this._getMeasuredWidth(this.text)},e.getMeasuredLineHeight=function(){return 1.2*this._getMeasuredWidth("M")},e.getMeasuredHeight=function(){return this._drawText(null,{}).height},e.getBounds=function(){var e=this.DisplayObject_getBounds();if(e)return e;if(null==this.text||""===this.text)return null;var n=this._drawText(null,{}),i=this.maxWidth&&this.maxWidth<n.width?this.maxWidth:n.width,r=i*t.H_OFFSETS[this.textAlign||"left"],s=(this.lineHeight||this.getMeasuredLineHeight())*t.V_OFFSETS[this.textBaseline||"top"];return this._rectangle.setValues(r,s,i,n.height)},e.getMetrics=function(){var e={lines:[]};return e.lineHeight=this.lineHeight||this.getMeasuredLineHeight(),e.vOffset=e.lineHeight*t.V_OFFSETS[this.textBaseline||"top"],this._drawText(null,e,e.lines)},e.clone=function(){return this._cloneProps(new t(this.text,this.font,this.color))},e.toString=function(){return"[Text (text="+(this.text.length>20?this.text.substr(0,17)+"...":this.text)+")]"},e._cloneProps=function(t){return this.DisplayObject__cloneProps(t),t.textAlign=this.textAlign,t.textBaseline=this.textBaseline,t.maxWidth=this.maxWidth,t.outline=this.outline,t.lineHeight=this.lineHeight,t.lineWidth=this.lineWidth,t},e._prepContext=function(t){return t.font=this.font||"10px sans-serif",t.textAlign=this.textAlign||"left",t.textBaseline=this.textBaseline||"top",t},e._drawText=function(e,n,i){var r=!!e;r||((e=t._workingContext).save(),this._prepContext(e));for(var s=this.lineHeight||this.getMeasuredLineHeight(),a=0,o=0,c=String(this.text).split(/(?:\r\n|\r|\n)/),l=0,u=c.length;u>l;l++){var h=c[l],d=null;if(null!=this.lineWidth&&(d=e.measureText(h).width)>this.lineWidth){var f=h.split(/(\s)/);h=f[0],d=e.measureText(h).width;for(var p=1,g=f.length;g>p;p+=2){var m=e.measureText(f[p]+f[p+1]).width;d+m>this.lineWidth?(r&&this._drawTextLine(e,h,o*s),i&&i.push(h),d>a&&(a=d),h=f[p+1],d=e.measureText(h).width,o++):(h+=f[p]+f[p+1],d+=m)}}r&&this._drawTextLine(e,h,o*s),i&&i.push(h),n&&null==d&&(d=e.measureText(h).width),d>a&&(a=d),o++}
vendor: 2,858 bytes, line 1
1return n&&(n.width=a,n.height=o*s),r||e.restore(),n},e._drawTextLine=function(t,e,n){this.outline?t.strokeText(e,0,n,this.maxWidth||65535):t.fillText(e,0,n,this.maxWidth||65535)},e._getMeasuredWidth=function(e){var n=t._workingContext;n.save();var i=this._prepContext(n).measureText(e).width;return n.restore(),i},createjs.Text=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.Container_constructor(),this.text=t||"",this.spriteSheet=e,this.lineHeight=0,this.letterSpacing=0,this.spaceWidth=0,this._oldProps={text:0,spriteSheet:0,lineHeight:0,letterSpacing:0,spaceWidth:0}}var e=createjs.extend(t,createjs.Container);t.maxPoolSize=100,t._spritePool=[],e.draw=function(t,e){this.DisplayObject_draw(t,e)||(this._updateText(),this.Container_draw(t,e))},e.getBounds=function(){return this._updateText(),this.Container_getBounds()},e.isVisible=function(){var t=this.cacheCanvas||this.spriteSheet&&this.spriteSheet.complete&&this.text;return!!(this.visible&&this.alpha>0&&0!==this.scaleX&&0!==this.scaleY&&t)},e.clone=function(){return this._cloneProps(new t(this.text,this.spriteSheet))},e.addChild=e.addChildAt=e.removeChild=e.removeChildAt=e.removeAllChildren=function(){},e._cloneProps=function(t){return this.Container__cloneProps(t),t.lineHeight=this.lineHeight,t.letterSpacing=this.letterSpacing,t.spaceWidth=this.spaceWidth,t},e._getFrameIndex=function(t,e){var n,i=e.getAnimation(t);return i||(t!=(n=t.toUpperCase())||t!=(n=t.toLowerCase())||(n=null),n&&(i=e.getAnimation(n))),i&&i.frames[0]},e._getFrame=function(t,e){var n=this._getFrameIndex(t,e);return null==n?n:e.getFrame(n)},e._getLineHeight=function(t){var e=this._getFrame("1",t)||this._getFrame("T",t)||this._getFrame("L",t)||t.getFrame(0);return e?e.rect.height:1},e._getSpaceWidth=function(t){var e=this._getFrame("1",t)||this._getFrame("l",t)||this._getFrame("e",t)||this._getFrame("a",t)||t.getFrame(0);return e?e.rect.width:1},e._updateText=function(){var e,n=0,i=0,r=this._oldProps,s=!1,a=this.spaceWidth,o=this.lineHeight,c=this.spriteSheet,l=t._spritePool,u=this.children,h=0,d=u.length;for(var f in r)r[f]!=this[f]&&(r[f]=this[f],s=!0);if(s){var p=!!this._getFrame(" ",c);p||a||(a=this._getSpaceWidth(c)),o||(o=this._getLineHeight(c));for(var g=0,m=this.text.length;m>g;g++){var v=this.text.charAt(g);if(" "!=v||p)if("\n"!=v&&"\r"!=v){var _=this._getFrameIndex(v,c);null!=_&&(d>h?e=u[h]:(u.push(e=l.length?l.pop():new createjs.Sprite),e.parent=this,d++),e.spriteSheet=c,e.gotoAndStop(_),e.x=n,e.y=i,h++,n+=e.getBounds().width+this.letterSpacing)}else"\r"==v&&"\n"==this.text.charAt(g+1)&&g++,n=0,i+=o;else n+=a}for(;d>h;)l.push(e=u.pop()),e.parent=null,d--;l.length>t.maxPoolSize&&(l.length=t.maxPoolSize)}},createjs.BitmapText=createjs.promote(t,"Container")}(),this.createjs=this.createjs||{},function(){"use strict";
vendor: 4,219 bytes, line 1
1function t(e,n,i,r){this.Container_constructor(),!t.inited&&t.init(),this.mode=e||t.INDEPENDENT,this.startPosition=n||0,this.loop=i,this.currentFrame=0,this.timeline=new createjs.Timeline(null,r,{paused:!0,position:n,useTicks:!0}),this.paused=!1,this.actionsEnabled=!0,this.autoReset=!0,this.frameBounds=this.frameBounds||null,this.framerate=null,this._synchOffset=0,this._prevPos=-1,this._prevPosition=0,this._t=0,this._managed={}}function e(){throw"MovieClipPlugin cannot be instantiated."}var n=createjs.extend(t,createjs.Container);t.INDEPENDENT="independent",t.SINGLE_FRAME="single",t.SYNCHED="synched",t.inited=!1,t.init=function(){t.inited||(e.install(),t.inited=!0)},n.getLabels=function(){return this.timeline.getLabels()},n.getCurrentLabel=function(){return this._updateTimeline(),this.timeline.getCurrentLabel()},n.getDuration=function(){return this.timeline.duration};try{Object.defineProperties(n,{labels:{get:n.getLabels},currentLabel:{get:n.getCurrentLabel},totalFrames:{get:n.getDuration},duration:{get:n.getDuration}})}catch(t){}n.initialize=t,n.isVisible=function(){return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY)},n.draw=function(t,e){return!!this.DisplayObject_draw(t,e)||(this._updateTimeline(),this.Container_draw(t,e),!0)},n.play=function(){this.paused=!1},n.stop=function(){this.paused=!0},n.gotoAndPlay=function(t){this.paused=!1,this._goto(t)},n.gotoAndStop=function(t){this.paused=!0,this._goto(t)},n.advance=function(e){var n=t.INDEPENDENT;if(this.mode==n){for(var i=this,r=i.framerate;(i=i.parent)&&null==r;)i.mode==n&&(r=i._framerate);this._framerate=r;var s=null!=r&&-1!=r&&null!=e?e/(1e3/r)+this._t:1,a=0|s;for(this._t=s-a;!this.paused&&a--;)this._prevPosition=this._prevPos<0?0:this._prevPosition+1,this._updateTimeline()}},n.clone=function(){throw"MovieClip cannot be cloned."},n.toString=function(){return"[MovieClip (name="+this.name+")]"},n._tick=function(t){this.advance(t&&t.delta),this.Container__tick(t)},n._goto=function(t){var e=this.timeline.resolve(t);null!=e&&(-1==this._prevPos&&(this._prevPos=NaN),this._prevPosition=e,this._t=0,this._updateTimeline())},n._reset=function(){this._prevPos=-1,this._t=this.currentFrame=0,this.paused=!1},n._updateTimeline=function(){var e=this.timeline,n=this.mode!=t.INDEPENDENT;e.loop=null==this.loop||this.loop;var i=n?this.startPosition+(this.mode==t.SINGLE_FRAME?0:this._synchOffset):this._prevPos<0?0:this._prevPosition,r=n||!this.actionsEnabled?createjs.Tween.NONE:null;if(this.currentFrame=e._calcPosition(i),e.setPosition(i,r),this._prevPosition=e._prevPosition,this._prevPos!=e._prevPos){this.currentFrame=this._prevPos=e._prevPos;for(var s in this._managed)this._managed[s]=1;for(var a=e._tweens,o=0,c=a.length;c>o;o++){var l=a[o],u=l._target;if(u!=this&&!l.passive){var h=l._stepPosition;u instanceof createjs.DisplayObject?this._addManagedChild(u,h):this._setState(u.state,h)}}var d=this.children;for(o=d.length-1;o>=0;o--){var f=d[o].id;1==this._managed[f]&&(this.removeChildAt(o),delete this._managed[f])}}},n._setState=function(t,e){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n],r=i.t,s=i.p;for(var a in s)r[a]=s[a];this._addManagedChild(r,e)}},n._addManagedChild=function(e,n){e._off||(this.addChildAt(e,0),e instanceof t&&(e._synchOffset=n,e.mode==t.INDEPENDENT&&e.autoReset&&!this._managed[e.id]&&e._reset()),this._managed[e.id]=2)},n._getBounds=function(t,e){var n=this.DisplayObject_getBounds();return n||(this._updateTimeline(),this.frameBounds&&(n=this._rectangle.copy(this.frameBounds[this.currentFrame]))),n?this._transformBounds(n,t,e):this.Container__getBounds(t,e)},createjs.MovieClip=createjs.promote(t,"Container"),e.priority=100,e.install=function(){createjs.Tween.installPlugin(e,["startPosition"])},e.init=function(t,e,n){return n},e.step=function(){},e.tween=function(e,n,i,r,s,a,o,c){return e.target instanceof t?1==a?s[n]:r[n]:i}}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"SpriteSheetUtils cannot be instantiated"}var e=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");e.getContext&&(t._workingCanvas=e,t._workingContext=e.getContext("2d"),e.width=e.height=1),t.addFlippedFrames=function(e,n,i,r){if(n||i||r){var s=0;
1n&&t._flip(e,++s,!0,!1),i&&t._flip(e,++s,!1,!0),r&&t._flip(e,++s,!0,!0)}},t.extractFrame=function(e,n){isNaN(n)&&(n=e.getAnimation(n).frames[0]);var i=e.getFrame(n);if(!i)return null;var r=i.rect,s=t._workingCanvas;s.width=r.width,s.height=r.height,t._workingContext.drawImage(i.image,r.x,r.y,r.width,r.height,0,0,r.width,r.height);var a=document.createElement("img");return a.src=s.toDataURL("image/png"),a},t.mergeAlpha=function(t,e,n){n||(n=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas")),n.width=Math.max(e.width,t.width),n.height=Math.max(e.height,t.height);var i=n.getContext("2d");return i.save(),i.drawImage(t,0,0),i.globalCompositeOperation="destination-in",i.drawImage(e,0,0),i.restore(),n},t._flip=function(e,n,i,r){for(var s=e._images,a=t._workingCanvas,o=t._workingContext,c=s.length/n,l=0;c>l;l++){var u=s[l];u.__tmp=l,o.setTransform(1,0,0,1,0,0),o.clearRect(0,0,a.width+1,a.height+1),a.width=u.width,a.height=u.height,o.setTransform(i?-1:1,0,0,r?-1:1,i?u.width:0,r?u.height:0),o.drawImage(u,0,0);var h=document.createElement("img");h.src=a.toDataURL("image/png"),h.width=u.width,h.height=u.height,s.push(h)}var d=e._frames,f=d.length/n;for(l=0;f>l;l++){var p=(u=d[l]).rect.clone(),g={image:h=s[u.image.__tmp+c*n],rect:p,regX:u.regX,regY:u.regY};
vendor: 8,986 bytes, line 1
1i&&(p.x=h.width-p.x-p.width,g.regX=p.width-u.regX),r&&(p.y=h.height-p.y-p.height,g.regY=p.height-u.regY),d.push(g)}var m="_"+(i?"h":"")+(r?"v":""),v=e._animations,_=e._data,y=v.length/n;for(l=0;y>l;l++){var b=v[l],x={name:b+m,speed:(u=_[b]).speed,next:u.next,frames:[]};u.next&&(x.next+=m);for(var w=0,S=(d=u.frames).length;S>w;w++)x.frames.push(d[w]+f*n);_[x.name]=x,v.push(x.name)}},createjs.SpriteSheetUtils=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.EventDispatcher_constructor(),this.maxWidth=2048,this.maxHeight=2048,this.spriteSheet=null,this.scale=1,this.padding=1,this.timeSlice=.3,this.progress=-1,this.framerate=t||0,this._frames=[],this._animations={},this._data=null,this._nextFrameIndex=0,this._index=0,this._timerID=null,this._scale=1}var e=createjs.extend(t,createjs.EventDispatcher);t.ERR_DIMENSIONS="frame dimensions exceed max spritesheet dimensions",t.ERR_RUNNING="a build is already running",e.addFrame=function(e,n,i,r,s){if(this._data)throw t.ERR_RUNNING;var a=n||e.bounds||e.nominalBounds;return!a&&e.getBounds&&(a=e.getBounds()),a?(i=i||1,this._frames.push({source:e,sourceRect:a,scale:i,funct:r,data:s,index:this._frames.length,height:a.height*i})-1):null},e.addAnimation=function(e,n,i,r){if(this._data)throw t.ERR_RUNNING;this._animations[e]={frames:n,next:i,speed:r}},e.addMovieClip=function(e,n,i,r,s,a){if(this._data)throw t.ERR_RUNNING;var o=e.frameBounds,c=n||e.bounds||e.nominalBounds;if(!c&&e.getBounds&&(c=e.getBounds()),c||o){var l,u,h=this._frames.length,d=e.timeline.duration;for(l=0;d>l;l++){var f=o&&o[l]?o[l]:c;this.addFrame(e,f,i,this._setupMovieClipFrame,{i:l,f:r,d:s})}var p=e.timeline._labels,g=[];for(var m in p)g.push({index:p[m],label:m});if(g.length)for(g.sort(function(t,e){return t.index-e.index}),l=0,u=g.length;u>l;l++){for(var v=g[l].label,_=h+g[l].index,y=h+(l==u-1?d:g[l+1].index),b=[],x=_;y>x;x++)b.push(x);(!a||(v=a(v,e,_,y)))&&this.addAnimation(v,b,!0)}}},e.build=function(){if(this._data)throw t.ERR_RUNNING;for(this._startBuild();this._drawNext(););return this._endBuild(),this.spriteSheet},e.buildAsync=function(e){if(this._data)throw t.ERR_RUNNING;this.timeSlice=e,this._startBuild();var n=this;this._timerID=setTimeout(function(){n._run()},50-50*Math.max(.01,Math.min(.99,this.timeSlice||.3)))},e.stopAsync=function(){clearTimeout(this._timerID),this._data=null},e.clone=function(){throw"SpriteSheetBuilder cannot be cloned."},e.toString=function(){return"[SpriteSheetBuilder]"},e._startBuild=function(){var e=this.padding||0;this.progress=0,this.spriteSheet=null,this._index=0,this._scale=this.scale;var n=[];this._data={images:[],frames:n,framerate:this.framerate,animations:this._animations};var i=this._frames.slice();if(i.sort(function(t,e){return t.height<=e.height?-1:1}),i[i.length-1].height+2*e>this.maxHeight)throw t.ERR_DIMENSIONS;for(var r=0,s=0,a=0;i.length;){var o=this._fillRow(i,r,a,n,e);if(o.w>s&&(s=o.w),r+=o.h,!o.h||!i.length){var c=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");c.width=this._getSize(s,this.maxWidth),c.height=this._getSize(r,this.maxHeight),this._data.images[a]=c,o.h||(s=r=0,a++)}}},e._setupMovieClipFrame=function(t,e){var n=t.actionsEnabled;t.actionsEnabled=!1,t.gotoAndStop(e.i),t.actionsEnabled=n,e.f&&e.f(t,e.d,e.i)},e._getSize=function(t,e){for(var n=4;Math.pow(2,++n)<t;);return Math.min(e,Math.pow(2,n))},e._fillRow=function(e,n,i,r,s){for(var a=this.maxWidth,o=this.maxHeight-(n+=s),c=s,l=0,u=e.length-1;u>=0;u--){var h=e[u],d=this._scale*h.scale,f=h.sourceRect,p=h.source,g=Math.floor(d*f.x-s),m=Math.floor(d*f.y-s),v=Math.ceil(d*f.height+2*s),_=Math.ceil(d*f.width+2*s);if(_>a)throw t.ERR_DIMENSIONS;v>o||c+_>a||(h.img=i,h.rect=new createjs.Rectangle(c,n,_,v),l=l||v,e.splice(u,1),r[h.index]=[c,n,_,v,i,Math.round(-g+d*p.regX-s),Math.round(-m+d*p.regY-s)],c+=_)}return{w:c,h:l}},e._endBuild=function(){this.spriteSheet=new createjs.SpriteSheet(this._data),this._data=null,this.progress=1,this.dispatchEvent("complete")},e._run=function(){for(var t=50*Math.max(.01,Math.min(.99,this.timeSlice||.3)),e=(new Date).getTime()+t,n=!1;e>(new Date).getTime();)if(!this._drawNext()){n=!0;break}if(n)this._endBuild();else{var i=this;this._timerID=setTimeout(function(){i._run()},50-t)}var r=this.progress=this._index/this._frames.length;if(this.hasEventListener("progress")){var s=new createjs.Event("progress");s.progress=r,this.dispatchEvent(s)}},e._drawNext=function(){var t=this._frames[this._index],e=t.scale*this._scale,n=t.rect,i=t.sourceRect,r=this._data.images[t.img].getContext("2d");return t.funct&&t.funct(t.source,t.data),r.save(),r.beginPath(),r.rect(n.x,n.y,n.width,n.height),r.clip(),r.translate(Math.ceil(n.x-i.x*e),Math.ceil(n.y-i.y*e)),r.scale(e,e),t.source.draw(r),r.restore(),++this._index<this._frames.length},createjs.SpriteSheetBuilder=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.DisplayObject_constructor(),"string"==typeof t&&(t=document.getElementById(t)),this.mouseEnabled=!1;var e=t.style;e.position="absolute",e.transformOrigin=e.WebkitTransformOrigin=e.msTransformOrigin=e.MozTransformOrigin=e.OTransformOrigin="0% 0%",this.htmlElement=t,this._oldProps=null}var e=createjs.extend(t,createjs.DisplayObject);e.isVisible=function(){return null!=this.htmlElement},e.draw=function(t,e){return!0},e.cache=function(){},e.uncache=function(){},e.updateCache=function(){},e.hitTest=function(){},e.localToGlobal=function(){},e.globalToLocal=function(){},e.localToLocal=function(){},e.clone=function(){throw"DOMElement cannot be cloned."},e.toString=function(){return"[DOMElement (name="+this.name+")]"},e._tick=function(t){var e=this.getStage();e&&e.on("drawend",this._handleDrawEnd,this,!0),this.DisplayObject__tick(t)},e._handleDrawEnd=function(t){var e=this.htmlElement;if(e){var n=e.style,i=this.getConcatenatedDisplayProps(this._props),r=i.matrix,s=i.visible?"visible":"hidden";if(s!=n.visibility&&(n.visibility=s),i.visible){var a=this._oldProps,o=a&&a.matrix,c=1e4;if(!o||!o.equals(r)){var l="matrix("+(r.a*c|0)/c+","+(r.b*c|0)/c+","+(r.c*c|0)/c+","+(r.d*c|0)/c+","+(r.tx+.5|0);n.transform=n.WebkitTransform=n.OTransform=n.msTransform=l+","+(r.ty+.5|0)+")",n.MozTransform=l+"px,"+(r.ty+.5|0)+"px)",a||(a=this._oldProps=new createjs.DisplayProps(!0,NaN)),a.matrix.copy(r)}a.alpha!=i.alpha&&(n.opacity=""+(i.alpha*c|0)/c,a.alpha=i.alpha)}}},createjs.DOMElement=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){}var e=t.prototype;e.getBounds=function(t){return t},e.applyFilter=function(t,e,n,i,r,s,a,o){s=s||t,null==a&&(a=e),null==o&&(o=n);try{var c=t.getImageData(e,n,i,r)}catch(t){return!1}return!!this._applyFilter(c)&&(s.putImageData(c,a,o),!0)},e.toString=function(){return"[Filter]"},e.clone=function(){return new t},e._applyFilter=function(t){return!0},createjs.Filter=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){(isNaN(t)||0>t)&&(t=0),(isNaN(e)||0>e)&&(e=0),(isNaN(n)||1>n)&&(n=1),this.blurX=0|t,this.blurY=0|e,this.quality=0|n}var e=createjs.extend(t,createjs.Filter);t.MUL_TABLE=[1,171,205,293,57,373,79,137,241,27,391,357,41,19,283,265,497,469,443,421,25,191,365,349,335,161,155,149,9,278,269,261,505,245,475,231,449,437,213,415,405,395,193,377,369,361,353,345,169,331,325,319,313,307,301,37,145,285,281,69,271,267,263,259,509,501,493,243,479,118,465,459,113,446,55,435,429,423,209,413,51,403,199,393,97,3,379,375,371,367,363,359,355,351,347,43,85,337,333,165,327,323,5,317,157,311,77,305,303,75,297,294,73,289,287,71,141,279,277,275,68,135,67,133,33,262,260,129,511,507,503,499,495,491,61,121,481,477,237,235,467,232,115,457,227,451,7,445,221,439,218,433,215,427,425,211,419,417,207,411,409,203,202,401,399,396,197,49,389,387,385,383,95,189,47,187,93,185,23,183,91,181,45,179,89,177,11,175,87,173,345,343,341,339,337,21,167,83,331,329,327,163,81,323,321,319,159,79,315,313,39,155,309,307,153,305,303,151,75,299,149,37,295,147,73,291,145,289,287,143,285,71,141,281,35,279,139,69,275,137,273,17,271,135,269,267,133,265,33,263,131,261,130,259,129,257,1],t.SHG_TABLE=[0,9,10,11,9,12,10,11,12,9,13,13,10,9,13,13,14,14,14,14,10,13,14,14,14,13,13,13,9,14,14,14,15,14,15,14,15,15,14,15,15,15,14,15,15,15,15,15,14,15,15,15,15,15,15,12,14,15,15,13,15,15,15,15,16,16,16,15,16,14,16,16,14,16,13,16,16,16,15,16,13,16,15,16,14,9,16,16,16,16,16,16,16,16,16,13,14,16,16,15,16,16,10,16,15,16,14,16,16,14,16,16,14,16,16,14,15,16,16,16,14,15,14,15,13,16,16,15,17,17,17,17,17,17,14,15,17,17,16,16,17,16,15,17,16,17,11,17,16,17,16,17,16,17,17,16,17,17,16,17,17,16,16,17,17,17,16,14,17,17,17,17,15,16,14,16,15,16,13,16,15,16,14,16,15,16,12,16,15,16,17,17,17,17,17,13,16,15,17,17,17,16,15,17,17,17,16,15,17,17,14,16,17,17,16,17,17,16,15,17,16,14,17,16,15,17,16,17,17,16,17,15,16,17,14,17,16,15,17,16,17,13,17,16,17,17,16,17,14,17,16,17,16,17,16,17,9],e.getBounds=function(t){var e=0|this.blurX,n=0|this.blurY;if(0>=e&&0>=n)return t;
vendor: 7,456 bytes, line 1
1var i=Math.pow(this.quality,.2);return(t||new createjs.Rectangle).pad(e*i+1,n*i+1,e*i+1,n*i+1)},e.clone=function(){return new t(this.blurX,this.blurY,this.quality)},e.toString=function(){return"[BlurFilter]"},e._applyFilter=function(e){var n=this.blurX>>1;if(isNaN(n)||0>n)return!1;var i=this.blurY>>1;if(isNaN(i)||0>i)return!1;if(0==n&&0==i)return!1;var r=this.quality;(isNaN(r)||1>r)&&(r=1),(r|=0)>3&&(r=3),1>r&&(r=1);var s=e.data,a=0,o=0,c=0,l=0,u=0,h=0,d=0,f=0,p=0,g=0,m=0,v=0,_=0,y=0,b=0,x=n+n+1|0,w=i+i+1|0,S=0|e.width,T=0|e.height,E=S-1|0,j=T-1|0,P=n+1|0,L=i+1|0,A={r:0,b:0,g:0,a:0},C=A;for(c=1;x>c;c++)C=C.n={r:0,b:0,g:0,a:0};C.n=A;var I={r:0,b:0,g:0,a:0},M=I;for(c=1;w>c;c++)M=M.n={r:0,b:0,g:0,a:0};M.n=I;for(var R=null,D=0|t.MUL_TABLE[n],k=0|t.SHG_TABLE[n],O=0|t.MUL_TABLE[i],N=0|t.SHG_TABLE[i];r-- >0;){d=h=0;var F=D,H=k;for(o=T;--o>-1;){for(f=P*(v=s[0|h]),p=P*(_=s[h+1|0]),g=P*(y=s[h+2|0]),m=P*(b=s[h+3|0]),C=A,c=P;--c>-1;)C.r=v,C.g=_,C.b=y,C.a=b,C=C.n;for(c=1;P>c;c++)l=h+((c>E?E:c)<<2)|0,f+=C.r=s[l],p+=C.g=s[l+1],g+=C.b=s[l+2],m+=C.a=s[l+3],C=C.n;for(R=A,a=0;S>a;a++)s[h++]=f*F>>>H,s[h++]=p*F>>>H,s[h++]=g*F>>>H,s[h++]=m*F>>>H,l=d+((l=a+n+1)<E?l:E)<<2,f-=R.r-(R.r=s[l]),p-=R.g-(R.g=s[l+1]),g-=R.b-(R.b=s[l+2]),m-=R.a-(R.a=s[l+3]),R=R.n;d+=S}for(F=O,H=N,a=0;S>a;a++){for(f=L*(v=s[h=a<<2|0])|0,p=L*(_=s[h+1|0])|0,g=L*(y=s[h+2|0])|0,m=L*(b=s[h+3|0])|0,M=I,c=0;L>c;c++)M.r=v,M.g=_,M.b=y,M.a=b,M=M.n;for(u=S,c=1;i>=c;c++)h=u+a<<2,f+=M.r=s[h],p+=M.g=s[h+1],g+=M.b=s[h+2],m+=M.a=s[h+3],M=M.n,j>c&&(u+=S);if(h=a,R=I,r>0)for(o=0;T>o;o++)l=h<<2,s[l+3]=b=m*F>>>H,b>0?(s[l]=f*F>>>H,s[l+1]=p*F>>>H,s[l+2]=g*F>>>H):s[l]=s[l+1]=s[l+2]=0,l=a+((l=o+L)<j?l:j)*S<<2,f-=R.r-(R.r=s[l]),p-=R.g-(R.g=s[l+1]),g-=R.b-(R.b=s[l+2]),m-=R.a-(R.a=s[l+3]),R=R.n,h+=S;else for(o=0;T>o;o++)l=h<<2,s[l+3]=b=m*F>>>H,b>0?(b=255/b,s[l]=(f*F>>>H)*b,s[l+1]=(p*F>>>H)*b,s[l+2]=(g*F>>>H)*b):s[l]=s[l+1]=s[l+2]=0,l=a+((l=o+L)<j?l:j)*S<<2,f-=R.r-(R.r=s[l]),p-=R.g-(R.g=s[l+1]),g-=R.b-(R.b=s[l+2]),m-=R.a-(R.a=s[l+3]),R=R.n,h+=S}}return!0},createjs.BlurFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.alphaMap=t,this._alphaMap=null,this._mapData=null}var e=createjs.extend(t,createjs.Filter);e.clone=function(){var e=new t(this.alphaMap);return e._alphaMap=this._alphaMap,e._mapData=this._mapData,e},e.toString=function(){return"[AlphaMapFilter]"},e._applyFilter=function(t){if(!this.alphaMap)return!0;if(!this._prepAlphaMap())return!1;for(var e=t.data,n=this._mapData,i=0,r=e.length;r>i;i+=4)e[i+3]=n[i]||0;return!0},e._prepAlphaMap=function(){if(!this.alphaMap)return!1;if(this.alphaMap==this._alphaMap&&this._mapData)return!0;this._mapData=null;var t,e=this._alphaMap=this.alphaMap,n=e;e instanceof HTMLCanvasElement?t=n.getContext("2d"):(n=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas"),n.width=e.width,n.height=e.height,(t=n.getContext("2d")).drawImage(e,0,0));try{var i=t.getImageData(0,0,e.width,e.height)}catch(t){return!1}return this._mapData=i.data,!0},createjs.AlphaMapFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.mask=t}var e=createjs.extend(t,createjs.Filter);e.applyFilter=function(t,e,n,i,r,s,a,o){return!this.mask||(s=s||t,null==a&&(a=e),null==o&&(o=n),s.save(),t==s&&(s.globalCompositeOperation="destination-in",s.drawImage(this.mask,a,o),s.restore(),!0))},e.clone=function(){return new t(this.mask)},e.toString=function(){return"[AlphaMaskFilter]"},createjs.AlphaMaskFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i,r,s,a,o){this.redMultiplier=null!=t?t:1,this.greenMultiplier=null!=e?e:1,this.blueMultiplier=null!=n?n:1,this.alphaMultiplier=null!=i?i:1,this.redOffset=r||0,this.greenOffset=s||0,this.blueOffset=a||0,this.alphaOffset=o||0}var e=createjs.extend(t,createjs.Filter);e.toString=function(){return"[ColorFilter]"},e.clone=function(){return new t(this.redMultiplier,this.greenMultiplier,this.blueMultiplier,this.alphaMultiplier,this.redOffset,this.greenOffset,this.blueOffset,this.alphaOffset)},e._applyFilter=function(t){for(var e=t.data,n=e.length,i=0;n>i;i+=4)e[i]=e[i]*this.redMultiplier+this.redOffset,e[i+1]=e[i+1]*this.greenMultiplier+this.greenOffset,e[i+2]=e[i+2]*this.blueMultiplier+this.blueOffset,e[i+3]=e[i+3]*this.alphaMultiplier+this.alphaOffset;return!0},createjs.ColorFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i){this.setColor(t,e,n,i)}var e=t.prototype;t.DELTA_INDEX=[0,.01,.02,.04,.05,.06,.07,.08,.1,.11,.12,.14,.15,.16,.17,.18,.2,.21,.22,.24,.25,.27,.28,.3,.32,.34,.36,.38,.4,.42,.44,.46,.48,.5,.53,.56,.59,.62,.65,.68,.71,.74,.77,.8,.83,.86,.89,.92,.95,.98,1,1.06,1.12,1.18,1.24,1.3,1.36,1.42,1.48,1.54,1.6,1.66,1.72,1.78,1.84,1.9,1.96,2,2.12,2.25,2.37,2.5,2.62,2.75,2.87,3,3.2,3.4,3.6,3.8,4,4.3,4.7,4.9,5,5.5,6,6.5,6.8,7,7.3,7.5,7.8,8,8.4,8.7,9,9.4,9.6,9.8,10],t.IDENTITY_MATRIX=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],t.LENGTH=t.IDENTITY_MATRIX.length,e.setColor=function(t,e,n,i){return this.reset().adjustColor(t,e,n,i)},e.reset=function(){return this.copy(t.IDENTITY_MATRIX)},e.adjustColor=function(t,e,n,i){return this.adjustHue(i),this.adjustContrast(e),this.adjustBrightness(t),this.adjustSaturation(n)},e.adjustBrightness=function(t){return 0==t||isNaN(t)?this:(t=this._cleanValue(t,255),this._multiplyMatrix([1,0,0,0,t,0,1,0,0,t,0,0,1,0,t,0,0,0,1,0,0,0,0,0,1]),this)},e.adjustContrast=function(e){if(0==e||isNaN(e))return this;var n;return 0>(e=this._cleanValue(e,100))?n=127+e/100*127:(n=e%1,n=0==n?t.DELTA_INDEX[e]:t.DELTA_INDEX[e<<0]*(1-n)+t.DELTA_INDEX[1+(e<<0)]*n,n=127*n+127),this._multiplyMatrix([n/127,0,0,0,.5*(127-n),0,n/127,0,0,.5*(127-n),0,0,n/127,0,.5*(127-n),0,0,0,1,0,0,0,0,0,1]),this},e.adjustSaturation=function(t){if(0==t||isNaN(t))return this;var e=1+((t=this._cleanValue(t,100))>0?3*t/100:t/100),n=.3086,i=.6094,r=.082;return this._multiplyMatrix([n*(1-e)+e,i*(1-e),r*(1-e),0,0,n*(1-e),i*(1-e)+e,r*(1-e),0,0,n*(1-e),i*(1-e),r*(1-e)+e,0,0,0,0,0,1,0,0,0,0,0,1]),this},e.adjustHue=function(t){if(0==t||isNaN(t))return this;t=this._cleanValue(t,180)/180*Math.PI;var e=Math.cos(t),n=Math.sin(t),i=.213,r=.715,s=.072;return this._multiplyMatrix([i+e*(1-i)+n*-i,r+e*-r+n*-r,s+e*-s+n*(1-s),0,0,i+e*-i+.143*n,r+e*(1-r)+.14*n,s+e*-s+-.283*n,0,0,i+e*-i+-.787*n,r+e*-r+n*r,s+e*(1-s)+n*s,0,0,0,0,0,1,0,0,0,0,0,1]),this},e.concat=function(e){return(e=this._fixMatrix(e)).length!=t.LENGTH?this:(this._multiplyMatrix(e),this)},e.clone=function(){return(new t).copy(this)},e.toArray=function(){for(var e=[],n=0,i=t.LENGTH;i>n;n++)e[n]=this[n];return e},e.copy=function(e){for(var n=t.LENGTH,i=0;n>i;i++)this[i]=e[i];return this},e.toString=function(){return"[ColorMatrix]"},e._multiplyMatrix=function(t){var e,n,i,r=[];for(e=0;5>e;e++){for(n=0;5>n;n++)r[n]=this[n+5*e];for(n=0;5>n;n++){var s=0;for(i=0;5>i;i++)s+=t[n+5*i]*r[i];this[n+5*e]=s}}},e._cleanValue=function(t,e){return Math.min(e,Math.max(-e,t))},e._fixMatrix=function(e){return e instanceof t&&(e=e.toArray()),e.length<t.LENGTH?e=e.slice(0,e.length).concat(t.IDENTITY_MATRIX.slice(e.length,t.LENGTH)):e.length>t.LENGTH&&(e=e.slice(0,t.LENGTH)),e},createjs.ColorMatrix=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.matrix=t}var e=createjs.extend(t,createjs.Filter);e.toString=function(){return"[ColorMatrixFilter]"}
vendor: 7,936 bytes, line 1
1,e.clone=function(){return new t(this.matrix)},e._applyFilter=function(t){for(var e,n,i,r,s=t.data,a=s.length,o=this.matrix,c=o[0],l=o[1],u=o[2],h=o[3],d=o[4],f=o[5],p=o[6],g=o[7],m=o[8],v=o[9],_=o[10],y=o[11],b=o[12],x=o[13],w=o[14],S=o[15],T=o[16],E=o[17],j=o[18],P=o[19],L=0;a>L;L+=4)e=s[L],n=s[L+1],i=s[L+2],r=s[L+3],s[L]=e*c+n*l+i*u+r*h+d,s[L+1]=e*f+n*p+i*g+r*m+v,s[L+2]=e*_+n*y+i*b+r*x+w,s[L+3]=e*S+n*T+i*E+r*j+P;return!0},createjs.ColorMatrixFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Touch cannot be instantiated"}t.isSupported=function(){return!!("ontouchstart"in window||window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>0||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>0)},t.enable=function(e,n,i){return!!(e&&e.canvas&&t.isSupported())&&(!!e.__touch||(e.__touch={pointers:{},multitouch:!n,preventDefault:!i,count:0},"ontouchstart"in window?t._IOS_enable(e):(window.navigator.msPointerEnabled||window.navigator.pointerEnabled)&&t._IE_enable(e),!0))},t.disable=function(e){e&&("ontouchstart"in window?t._IOS_disable(e):(window.navigator.msPointerEnabled||window.navigator.pointerEnabled)&&t._IE_disable(e),delete e.__touch)},t._IOS_enable=function(e){var n=e.canvas,i=e.__touch.f=function(n){t._IOS_handleEvent(e,n)};n.addEventListener("touchstart",i,!1),n.addEventListener("touchmove",i,!1),n.addEventListener("touchend",i,!1),n.addEventListener("touchcancel",i,!1)},t._IOS_disable=function(t){var e=t.canvas;if(e){var n=t.__touch.f;e.removeEventListener("touchstart",n,!1),e.removeEventListener("touchmove",n,!1),e.removeEventListener("touchend",n,!1),e.removeEventListener("touchcancel",n,!1)}},t._IOS_handleEvent=function(t,e){if(t){t.__touch.preventDefault&&e.preventDefault&&e.preventDefault();for(var n=e.changedTouches,i=e.type,r=0,s=n.length;s>r;r++){var a=n[r],o=a.identifier;a.target==t.canvas&&("touchstart"==i?this._handleStart(t,o,e,a.pageX,a.pageY):"touchmove"==i?this._handleMove(t,o,e,a.pageX,a.pageY):("touchend"==i||"touchcancel"==i)&&this._handleEnd(t,o,e))}}},t._IE_enable=function(e){var n=e.canvas,i=e.__touch.f=function(n){t._IE_handleEvent(e,n)};void 0===window.navigator.pointerEnabled?(n.addEventListener("MSPointerDown",i,!1),window.addEventListener("MSPointerMove",i,!1),window.addEventListener("MSPointerUp",i,!1),window.addEventListener("MSPointerCancel",i,!1),e.__touch.preventDefault&&(n.style.msTouchAction="none")):(n.addEventListener("pointerdown",i,!1),window.addEventListener("pointermove",i,!1),window.addEventListener("pointerup",i,!1),window.addEventListener("pointercancel",i,!1),e.__touch.preventDefault&&(n.style.touchAction="none")),e.__touch.activeIDs={}},t._IE_disable=function(t){var e=t.__touch.f;void 0===window.navigator.pointerEnabled?(window.removeEventListener("MSPointerMove",e,!1),window.removeEventListener("MSPointerUp",e,!1),window.removeEventListener("MSPointerCancel",e,!1),t.canvas&&t.canvas.removeEventListener("MSPointerDown",e,!1)):(window.removeEventListener("pointermove",e,!1),window.removeEventListener("pointerup",e,!1),window.removeEventListener("pointercancel",e,!1),t.canvas&&t.canvas.removeEventListener("pointerdown",e,!1))},t._IE_handleEvent=function(t,e){if(t){t.__touch.preventDefault&&e.preventDefault&&e.preventDefault();var n=e.type,i=e.pointerId,r=t.__touch.activeIDs;if("MSPointerDown"==n||"pointerdown"==n){if(e.srcElement!=t.canvas)return;r[i]=!0,this._handleStart(t,i,e,e.pageX,e.pageY)}else r[i]&&("MSPointerMove"==n||"pointermove"==n?this._handleMove(t,i,e,e.pageX,e.pageY):("MSPointerUp"==n||"MSPointerCancel"==n||"pointerup"==n||"pointercancel"==n)&&(delete r[i],this._handleEnd(t,i,e)))}},t._handleStart=function(t,e,n,i,r){var s=t.__touch;if(s.multitouch||!s.count){var a=s.pointers;a[e]||(a[e]=!0,s.count++,t._handlePointerDown(e,n,i,r))}},t._handleMove=function(t,e,n,i,r){t.__touch.pointers[e]&&t._handlePointerMove(e,n,i,r)},t._handleEnd=function(t,e,n){var i=t.__touch,r=i.pointers;r[e]&&(i.count--,t._handlePointerUp(e,n,!0),delete r[e])},createjs.Touch=t}(),this.createjs=this.createjs||{},function(){"use strict";var t=createjs.EaselJS=createjs.EaselJS||{};t.version="0.8.2",t.buildDate="Thu, 26 Nov 2015 20:44:34 GMT"}(),this.createjs=this.createjs||{},function(){"use strict";var t=createjs.PreloadJS=createjs.PreloadJS||{};t.version="0.6.2",t.buildDate="Thu, 26 Nov 2015 20:44:31 GMT"}(),this.createjs=this.createjs||{},function(){"use strict";createjs.proxy=function(t,e){var n=Array.prototype.slice.call(arguments,2);return function(){return t.apply(e,Array.prototype.slice.call(arguments,0).concat(n))}}}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.Event_constructor("error"),this.title=t,this.message=e,this.data=n}createjs.extend(t,createjs.Event).clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)},createjs.ErrorEvent=createjs.promote(t,"Event")}(),this.createjs=this.createjs||{},function(t){"use strict";function e(t,e){this.Event_constructor("progress"),this.loaded=t,this.total=null==e?1:e,this.progress=0==e?0:this.loaded/this.total}createjs.extend(e,createjs.Event).clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)},createjs.ProgressEvent=createjs.promote(e,"Event")}(window),function(){function t(e,i){function s(t){if(s[t]!==m)return s[t];var e;if("bug-string-char-index"==t)e="a"!="a"[0];else if("json"==t)e=s("json-stringify")&&s("json-parse");else{var n,r='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==t){var c=i.stringify,u="function"==typeof c&&y;if(u){(n=function(){return 1}).toJSON=n;try{u="0"===c(0)&&"0"===c(new a)&&'""'==c(new o)&&c(_)===m&&c(m)===m&&c()===m&&"1"===c(n)&&"[1]"==c([n])&&"[null]"==c([m])&&"null"==c(null)&&"[null,null,null]"==c([m,_,null])&&c({a:[n,!0,!1,null,"\0\b\n\f\r\t"]})==r&&"1"===c(null,n)&&"[\n 1,\n 2\n]"==c([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==c(new l(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==c(new l(864e13))&&'"-000001-01-01T00:00:00.000Z"'==c(new l(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==c(new l(-1))}catch(t){u=!1}}e=u}if("json-parse"==t){var h=i.parse;if("function"==typeof h)try{if(0===h("0")&&!h(!1)){var d=5==(n=h(r)).a.length&&1===n.a[0];if(d){try{d=!h('"\t"')}catch(t){}if(d)try{d=1!==h("01")}catch(t){}if(d)try{d=1!==h("1.")}catch(t){}}}}catch(t){d=!1}e=d}}return s[t]=!!e}e||(e=r.Object()),i||(i=r.Object());var a=e.Number||r.Number,o=e.String||r.String,c=e.Object||r.Object,l=e.Date||r.Date,u=e.SyntaxError||r.SyntaxError,h=e.TypeError||r.TypeError,d=e.Math||r.Math,f=e.JSON||r.JSON;"object"==typeof f&&f&&(i.stringify=f.stringify,i.parse=f.parse);var p,g,m,v=c.prototype,_=v.toString,y=new l(-0xc782b5b800cec);try{y=-109252==y.getUTCFullYear()&&0===y.getUTCMonth()&&1===y.getUTCDate()&&10==y.getUTCHours()&&37==y.getUTCMinutes()&&6==y.getUTCSeconds()&&708==y.getUTCMilliseconds()}catch(t){}if(!s("json")){var b="[object Function]",x="[object Number]",w="[object String]",S="[object Array]",T=s("bug-string-char-index");if(!y)var E=d.floor,j=[0,31,59,90,120,151,181,212,243,273,304,334],P=function(t,e){return j[e]+365*(t-1970)+E((t-1969+(e=+(e>1)))/4)-E((t-1901+e)/100)+E((t-1601+e)/400)};if((p=v.hasOwnProperty)||(p=function(t){var e,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=_?p=function(t){var e=this.__proto__,n=t in(this.__proto__=null,this);return this.__proto__=e,n}:(e=n.constructor,p=function(t){var n=(this.constructor||e).prototype;return t in this&&!(t in n&&this[t]===n[t])}),n=null,p.call(this,t)}),g=function(t,e){var i,r,s,a=0;(i=function(){this.valueOf=0}).prototype.valueOf=0,r=new i;for(s in r)p.call(r,s)&&a++;return i=r=null,a?g=2==a?function(t,e){var n,i={},r=_.call(t)==b;for(n in t)r&&"prototype"==n||p.call(i,n)||!(i[n]=1)||!p.call(t,n)||e(n)}:function(t,e){var n,i,r=_.call(t)==b;for(n in t)r&&"prototype"==n||!p.call(t,n)||(i="constructor"===n)||e(n);
vendor: 8,237 bytes, line 1
1(i||p.call(t,n="constructor"))&&e(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],g=function(t,e){var i,s,a=_.call(t)==b,o=!a&&"function"!=typeof t.constructor&&n[typeof t.hasOwnProperty]&&t.hasOwnProperty||p;for(i in t)a&&"prototype"==i||!o.call(t,i)||e(i);for(s=r.length;i=r[--s];o.call(t,i)&&e(i));}),g(t,e)},!s("json-stringify")){var L={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},A=function(t,e){return("000000"+(e||0)).slice(-t)},C=function(t){for(var e='"',n=0,i=t.length,r=!T||i>10,s=r&&(T?t.split(""):t);i>n;n++){var a=t.charCodeAt(n);switch(a){case 8:case 9:case 10:case 12:case 13:case 34:case 92:e+=L[a];break;default:if(32>a){e+="\\u00"+A(2,a.toString(16));break}e+=r?s[n]:t.charAt(n)}}return e+'"'},I=function(t,e,n,i,r,s,a){var o,c,l,u,d,f,v,y,b,T,j,L,M,R,D,k;try{o=e[t]}catch(t){}if("object"==typeof o&&o)if("[object Date]"!=(c=_.call(o))||p.call(o,"toJSON"))"function"==typeof o.toJSON&&(c!=x&&c!=w&&c!=S||p.call(o,"toJSON"))&&(o=o.toJSON(t));else if(o>-1/0&&1/0>o){if(P){for(d=E(o/864e5),l=E(d/365.2425)+1970-1;P(l+1,0)<=d;l++);for(u=E((d-P(l,0))/30.42);P(l,u+1)<=d;u++);d=1+d-P(l,u),v=E((f=(o%864e5+864e5)%864e5)/36e5)%24,y=E(f/6e4)%60,b=E(f/1e3)%60,T=f%1e3}else l=o.getUTCFullYear(),u=o.getUTCMonth(),d=o.getUTCDate(),v=o.getUTCHours(),y=o.getUTCMinutes(),b=o.getUTCSeconds(),T=o.getUTCMilliseconds();o=(0>=l||l>=1e4?(0>l?"-":"+")+A(6,0>l?-l:l):A(4,l))+"-"+A(2,u+1)+"-"+A(2,d)+"T"+A(2,v)+":"+A(2,y)+":"+A(2,b)+"."+A(3,T)+"Z"}else o=null;if(n&&(o=n.call(e,t,o)),null===o)return"null";if("[object Boolean]"==(c=_.call(o)))return""+o;if(c==x)return o>-1/0&&1/0>o?""+o:"null";if(c==w)return C(""+o);if("object"==typeof o){for(R=a.length;R--;)if(a[R]===o)throw h();if(a.push(o),j=[],D=s,s+=r,c==S){for(M=0,R=o.length;R>M;M++)L=I(M,o,n,i,r,s,a),j.push(L===m?"null":L);k=j.length?r?"[\n"+s+j.join(",\n"+s)+"\n"+D+"]":"["+j.join(",")+"]":"[]"}else g(i||o,function(t){var e=I(t,o,n,i,r,s,a);e!==m&&j.push(C(t)+":"+(r?" ":"")+e)}),k=j.length?r?"{\n"+s+j.join(",\n"+s)+"\n"+D+"}":"{"+j.join(",")+"}":"{}";return a.pop(),k}};i.stringify=function(t,e,i){var r,s,a,o;if(n[typeof e]&&e)if((o=_.call(e))==b)s=e;else if(o==S){a={};for(var c,l=0,u=e.length;u>l;c=e[l++],((o=_.call(c))==w||o==x)&&(a[c]=1));}if(i)if((o=_.call(i))==x){if((i-=i%1)>0)for(r="",i>10&&(i=10);r.length<i;r+=" ");}else o==w&&(r=i.length<=10?i:i.slice(0,10));return I("",(c={},c[""]=t,c),s,a,r,"",[])}}if(!s("json-parse")){var M,R,D=o.fromCharCode,k={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},O=function(){throw M=R=null,u()},N=function(){for(var t,e,n,i,r,s=R,a=s.length;a>M;)switch(r=s.charCodeAt(M)){case 9:case 10:case 13:case 32:M++;break;case 123:case 125:case 91:case 93:case 58:case 44:return t=T?s.charAt(M):s[M],M++,t;case 34:for(t="@",M++;a>M;)if(32>(r=s.charCodeAt(M)))O();else if(92==r)switch(r=s.charCodeAt(++M)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:t+=k[r],M++;break;case 117:for(e=++M,n=M+4;n>M;M++)(r=s.charCodeAt(M))>=48&&57>=r||r>=97&&102>=r||r>=65&&70>=r||O();t+=D("0x"+s.slice(e,M));break;default:O()}else{if(34==r)break;for(r=s.charCodeAt(M),e=M;r>=32&&92!=r&&34!=r;)r=s.charCodeAt(++M);t+=s.slice(e,M)}if(34==s.charCodeAt(M))return M++,t;O();default:if(e=M,45==r&&(i=!0,r=s.charCodeAt(++M)),r>=48&&57>=r){for(48==r&&(r=s.charCodeAt(M+1))>=48&&57>=r&&O(),i=!1;a>M&&(r=s.charCodeAt(M))>=48&&57>=r;M++);if(46==s.charCodeAt(M)){for(n=++M;a>n&&(r=s.charCodeAt(n))>=48&&57>=r;n++);n==M&&O(),M=n}if(101==(r=s.charCodeAt(M))||69==r){for((43==(r=s.charCodeAt(++M))||45==r)&&M++,n=M;a>n&&(r=s.charCodeAt(n))>=48&&57>=r;n++);n==M&&O(),M=n}return+s.slice(e,M)}if(i&&O(),"true"==s.slice(M,M+4))return M+=4,!0;if("false"==s.slice(M,M+5))return M+=5,!1;if("null"==s.slice(M,M+4))return M+=4,null;O()}return"$"},F=function(t){var e,n;if("$"==t&&O(),"string"==typeof t){if("@"==(T?t.charAt(0):t[0]))return t.slice(1);if("["==t){for(e=[];"]"!=(t=N());n||(n=!0))n&&(","==t?"]"==(t=N())&&O():O()),","==t&&O(),e.push(F(t));return e}if("{"==t){for(e={};"}"!=(t=N());n||(n=!0))n&&(","==t?"}"==(t=N())&&O():O()),(","==t||"string"!=typeof t||"@"!=(T?t.charAt(0):t[0])||":"!=N())&&O(),e[t.slice(1)]=F(N());return e}O()}return t},H=function(t,e,n){var i=q(t,e,n);i===m?delete t[e]:t[e]=i},q=function(t,e,n){var i,r=t[e];if("object"==typeof r&&r)if(_.call(r)==S)for(i=r.length;i--;)H(r,i,n);else g(r,function(t){H(r,t,n)});return n.call(t,e,r)};i.parse=function(t,e){var n,i;return M=0,R=""+t,n=F(N()),"$"!=N()&&O(),M=R=null,e&&_.call(e)==b?q((i={},i[""]=n,i),"",e):n}}}return i.runInContext=t,i}var e="function"==typeof define&&define.amd,n={function:!0,object:!0},i=n[typeof exports]&&exports&&!exports.nodeType&&exports,r=n[typeof window]&&window||this,s=i&&n[typeof module]&&module&&!module.nodeType&&"object"==typeof global&&global;if(!s||s.global!==s&&s.window!==s&&s.self!==s||(r=s),i&&!e)t(r,i);else{var a=r.JSON,o=r.JSON3,c=!1,l=t(r,r.JSON3={noConflict:function(){return c||(c=!0,r.JSON=a,r.JSON3=o,a=o=null),l}});r.JSON={parse:l.parse,stringify:l.stringify}}e&&define(function(){return l})}.call(this),function(){var t={};t.appendToHead=function(e){t.getHead().appendChild(e)},t.getHead=function(){return document.head||document.getElementsByTagName("head")[0]},t.getBody=function(){return document.body||document.getElementsByTagName("body")[0]},createjs.DomUtils=t}(),function(){var t={};t.parseXML=function(t,e){var n=null;try{if(window.DOMParser){var i=new DOMParser;n=i.parseFromString(t,e)}}catch(t){}if(!n)try{(n=new ActiveXObject("Microsoft.XMLDOM")).async=!1,n.loadXML(t)}catch(t){n=null}return n},t.parseJSON=function(t){if(null==t)return null;try{return JSON.parse(t)}catch(t){throw t}},createjs.DataUtils=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.src=null,this.type=null,this.id=null,this.maintainOrder=!1,this.callback=null,this.data=null,this.method=createjs.LoadItem.GET,this.values=null,this.headers=null,this.withCredentials=!1,this.mimeType=null,this.crossOrigin=null,this.loadTimeout=n.LOAD_TIMEOUT_DEFAULT}var e=t.prototype={},n=t;n.LOAD_TIMEOUT_DEFAULT=8e3,n.create=function(e){if("string"==typeof e){var i=new t;return i.src=e,i}if(e instanceof n)return e;if(e instanceof Object&&e.src)return null==e.loadTimeout&&(e.loadTimeout=n.LOAD_TIMEOUT_DEFAULT),e;throw new Error("Type not recognized.")},e.set=function(t){for(var e in t)this[e]=t[e];return this},createjs.LoadItem=n}(),function(){var t={};t.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,t.RELATIVE_PATT=/^[.\/]*?\//i,t.EXTENSION_PATT=/\/?[^\/]+\.(\w{1,5})$/i,t.parseURI=function(e){var n={absolute:!1,relative:!1};if(null==e)return n;var i=e.indexOf("?");i>-1&&(e=e.substr(0,i));var r;return t.ABSOLUTE_PATT.test(e)?n.absolute=!0:t.RELATIVE_PATT.test(e)&&(n.relative=!0),(r=e.match(t.EXTENSION_PATT))&&(n.extension=r[1].toLowerCase()),n},t.formatQueryString=function(t,e){if(null==t)throw new Error("You must specify data.");var n=[];for(var i in t)n.push(i+"="+escape(t[i]));return e&&(n=n.concat(e)),n.join("&")},t.buildPath=function(t,e){if(null==e)return t;var n=[],i=t.indexOf("?");if(-1!=i){var r=t.slice(i+1);n=n.concat(r.split("&"))}return-1!=i?t.slice(0,i)+"?"+this.formatQueryString(e,n):t+"?"+this.formatQueryString(e,n)},t.isCrossDomain=function(t){var e=document.createElement("a");e.href=t.src;var n=document.createElement("a");return n.href=location.href,""!=e.hostname&&(e.port!=n.port||e.protocol!=n.protocol||e.hostname!=n.hostname)},t.isLocal=function(t){var e=document.createElement("a");return e.href=t.src,""==e.hostname&&"file:"==e.protocol},t.isBinary=function(t){switch(t){case createjs.AbstractLoader.IMAGE:case createjs.AbstractLoader.BINARY:return!0;default:return!1}},t.isImageTag=function(t){return t instanceof HTMLImageElement},t.isAudioTag=function(t){return!!window.HTMLAudioElement&&t instanceof HTMLAudioElement},t.isVideoTag=function(t){return!!window.HTMLVideoElement&&t instanceof HTMLVideoElement},t.isText=function(t){switch(t){case createjs.AbstractLoader.TEXT:case createjs.AbstractLoader.JSON:case createjs.AbstractLoader.MANIFEST:case createjs.AbstractLoader.XML:case createjs.AbstractLoader.CSS:case createjs.AbstractLoader.SVG:case createjs.AbstractLoader.JAVA
vendor: 16,803 bytes, line 1
1SCRIPT:case createjs.AbstractLoader.SPRITESHEET:return!0;default:return!1}},t.getTypeByExtension=function(t){if(null==t)return createjs.AbstractLoader.TEXT;switch(t.toLowerCase()){case"jpeg":case"jpg":case"gif":case"png":case"webp":case"bmp":return createjs.AbstractLoader.IMAGE;case"ogg":case"mp3":case"webm":return createjs.AbstractLoader.SOUND;case"mp4":case"webm":case"ts":return createjs.AbstractLoader.VIDEO;case"json":return createjs.AbstractLoader.JSON;case"xml":return createjs.AbstractLoader.XML;case"css":return createjs.AbstractLoader.CSS;case"js":return createjs.AbstractLoader.JAVASCRIPT;case"svg":return createjs.AbstractLoader.SVG;default:return createjs.AbstractLoader.TEXT}},createjs.RequestUtils=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.EventDispatcher_constructor(),this.loaded=!1,this.canceled=!1,this.progress=0,this.type=n,this.resultFormatter=null,this._item=t?createjs.LoadItem.create(t):null,this._preferXHR=e,this._result=null,this._rawResult=null,this._loadedItems=null,this._tagSrcAttribute=null,this._tag=null}var e=createjs.extend(t,createjs.EventDispatcher),n=t;n.POST="POST",n.GET="GET",n.BINARY="binary",n.CSS="css",n.IMAGE="image",n.JAVASCRIPT="javascript",n.JSON="json",n.JSONP="jsonp",n.MANIFEST="manifest",n.SOUND="sound",n.VIDEO="video",n.SPRITESHEET="spritesheet",n.SVG="svg",n.TEXT="text",n.XML="xml",e.getItem=function(){return this._item},e.getResult=function(t){return t?this._rawResult:this._result},e.getTag=function(){return this._tag},e.setTag=function(t){this._tag=t},e.load=function(){this._createRequest(),this._request.on("complete",this,this),this._request.on("progress",this,this),this._request.on("loadStart",this,this),this._request.on("abort",this,this),this._request.on("timeout",this,this),this._request.on("error",this,this);var t=new createjs.Event("initialize");t.loader=this._request,this.dispatchEvent(t),this._request.load()},e.cancel=function(){this.canceled=!0,this.destroy()},e.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy()),this._request=null,this._item=null,this._rawResult=null,this._result=null,this._loadItems=null,this.removeAllEventListeners()},e.getLoadedItems=function(){return this._loadedItems},e._createRequest=function(){this._preferXHR?this._request=new createjs.XHRRequest(this._item):this._request=new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},e._createTag=function(t){return null},e._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent("loadstart")},e._sendProgress=function(t){if(!this._isCanceled()){var e=null;"number"==typeof t?(this.progress=t,e=new createjs.ProgressEvent(this.progress)):(e=t,this.progress=t.loaded/t.total,e.progress=this.progress,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0)),this.hasEventListener("progress")&&this.dispatchEvent(e)}},e._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var t=new createjs.Event("complete");t.rawResult=this._rawResult,null!=this._result&&(t.result=this._result),this.dispatchEvent(t)}},e._sendError=function(t){!this._isCanceled()&&this.hasEventListener("error")&&(null==t&&(t=new createjs.ErrorEvent("PRELOAD_ERROR_EMPTY")),this.dispatchEvent(t))},e._isCanceled=function(){return!(null!=window.createjs&&!this.canceled)},e.resultFormatter=null,e.handleEvent=function(t){switch(t.type){case"complete":this._rawResult=t.target._response;var e=this.resultFormatter&&this.resultFormatter(this);e instanceof Function?e.call(this,createjs.proxy(this._resultFormatSuccess,this),createjs.proxy(this._resultFormatFailed,this)):(this._result=e||this._rawResult,this._sendComplete());break;case"progress":this._sendProgress(t);break;case"error":this._sendError(t);break;case"loadstart":this._sendLoadStart();break;case"abort":case"timeout":this._isCanceled()||this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_"+t.type.toUpperCase()+"_ERROR"))}},e._resultFormatSuccess=function(t){this._result=t,this._sendComplete()},e._resultFormatFailed=function(t){this._sendError(t)},e.buildPath=function(t,e){return createjs.RequestUtils.buildPath(t,e)},e.toString=function(){return"[PreloadJS AbstractLoader]"},createjs.AbstractLoader=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.AbstractLoader_constructor(t,e,n),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",this.on("initialize",this._updateXHR,this)}var e=createjs.extend(t,createjs.AbstractLoader);e.load=function(){this._tag||(this._tag=this._createTag(this._item.src)),this._tag.preload="auto",this._tag.load(),this.AbstractLoader_load()},e._createTag=function(){},e._createRequest=function(){this._preferXHR?this._request=new createjs.XHRRequest(this._item):this._request=new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},e._updateXHR=function(t){t.loader.setResponseType&&t.loader.setResponseType("blob")},e._formatResult=function(t){if(this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.onstalled=null,this._preferXHR){var e=window.URL||window.webkitURL,n=t.getResult(!0);t.getTag().src=e.createObjectURL(n)}return t.getTag()},createjs.AbstractMediaLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";var t=function(t){this._item=t},e=createjs.extend(t,createjs.EventDispatcher);e.load=function(){},e.destroy=function(){},e.cancel=function(){},createjs.AbstractRequest=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.AbstractRequest_constructor(t),this._tag=e,this._tagSrcAttribute=n,this._loadedHandler=createjs.proxy(this._handleTagComplete,this),this._addedToDOM=!1,this._startTagVisibility=null}var e=createjs.extend(t,createjs.AbstractRequest);e.load=function(){this._tag.onload=createjs.proxy(this._handleTagComplete,this),this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this),this._tag.onerror=createjs.proxy(this._handleError,this);var t=new createjs.Event("initialize");t.loader=this._tag,this.dispatchEvent(t),this._hideTag(),this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this._tag[this._tagSrcAttribute]=this._item.src,null==this._tag.parentNode&&(window.document.body.appendChild(this._tag),this._addedToDOM=!0)},e.destroy=function(){this._clean(),this._tag=null,this.AbstractRequest_destroy()},e._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var t=this._tag;("loaded"==t.readyState||"complete"==t.readyState)&&this._handleTagComplete()},e._handleError=function(){this._clean(),this.dispatchEvent("error")},e._handleTagComplete=function(){this._rawResult=this._tag,this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult,this._clean(),this._showTag(),this.dispatchEvent("complete")},e._handleTimeout=function(){this._clean(),this.dispatchEvent(new createjs.Event("timeout"))},e._clean=function(){this._tag.onload=null,this._tag.onreadystatechange=null,this._tag.onerror=null,this._addedToDOM&&null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag),clearTimeout(this._loadTimeout)},e._hideTag=function(){this._startTagVisibility=this._tag.style.visibility,this._tag.style.visibility="hidden"},e._showTag=function(){this._tag.style.visibility=this._startTagVisibility},e._handleStalled=function(){},createjs.TagRequest=createjs.promote(t,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.AbstractRequest_constructor(t),this._tag=e,this._tagSrcAttribute=n,this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var e=createjs.extend(t,createjs.TagRequest);e.load=function(){var t=createjs.proxy(this._handleStalled,this);this._stalledCallback=t;var e=createjs.proxy(this._handleProgress,this);this._handleProgress=e,this._tag.addEventListener("stalled",t),this._tag.addEventListener("progress",e),this._tag.addEventListener&&this._tag.addEventListener("canplaythrough",this._loadedHandler,!1),this.TagRequest_load()},e._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var t=this._tag;("loaded"==t.readyState||"complete"==t.readyState)&&this._handleTagComplete()},e._handleStalled=function(){},e._handleProgress=function(t){if(t&&!(t.loaded>0&&0==t.total)){var e=new createjs.ProgressEvent(t.loaded,t.total);this.dispatchEvent(e)}},e._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.removeEventListener("stalled",this._stalledCallback),this._tag.removeEventListener("progress",this._progressCallback),this.TagRequest__clean()},createjs.MediaTagRequest=createjs.promote(t,"TagRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractRequest_constructor(t),this._request=null,this._loadTimeout=null,this._xhrLevel=1,this._response=null,this._rawResponse=null,this._canceled=!1,this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this),this._handleProgressProxy=createjs.proxy(this._handleProgress,this),this._handleAbortProxy=createjs.proxy(this._handleAbort,this),this._handleErrorProxy=createjs.proxy(this._handleError,this),this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this),this._handleLoadProxy=createjs.proxy(this._handleLoad,this),this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this),this._createXHR(t)}var e=createjs.extend(t,createjs.AbstractRequest);t.ACTIVEX_VERSIONS=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],e.getResult=function(t){return t&&this._rawResponse?this._rawResponse:this._response},e.cancel=function(){this.canceled=!0,this._clean(),this._request.abort()},e.load=function(){if(null!=this._request){null!=this._request.addEventListener?(this._request.addEventListener("loadstart",this._handleLoadStartProxy,!1),this._request.addEventListener("progress",this._handleProgressProxy,!1),this._request.addEventListener("abort",this._handleAbortProxy,!1),this._request.addEventListener("error",this._handleErrorProxy,!1),this._request.addEventListener("timeout",this._handleTimeoutProxy,!1),this._request.addEventListener("load",this._handleLoadProxy,!1),this._request.addEventListener("readystatechange",this._handleReadyStateChangeProxy,!1)):(this._request.onloadstart=this._handleLoadStartProxy,this._request.onprogress=this._handleProgressProxy,this._request.onabort=this._handleAbortProxy,this._request.onerror=this._handleErrorProxy,this._request.ontimeout=this._handleTimeoutProxy,this._request.onload=this._handleLoadProxy,this._request.onreadystatechange=this._handleReadyStateChangeProxy),1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));try{this._item.values&&this._item.method!=createjs.AbstractLoader.GET?this._item.method==createjs.AbstractLoader.POST&&this._request.send(createjs.RequestUtils.formatQueryString(this._item.values)):this._request.send()}catch(t){this.dispatchEvent(new createjs.ErrorEvent("XHR_SEND",null,t))}}else this._handleError()},e.setResponseType=function(t){"blob"===t&&(t=window.URL?"blob":"arraybuffer",this._responseType=t),this._request.responseType=t},e.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof Function?this._request.getAllResponseHeaders():null},e.getResponseHeader=function(t){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(t):null},e._handleProgress=function(t){if(t&&!(t.loaded>0&&0==t.total)){var e=new createjs.ProgressEvent(t.loaded,t.total);this.dispatchEvent(e)}},e._handleLoadStart=function(t){clearTimeout(this._loadTimeout),this.dispatchEvent("loadstart")},e._handleAbort=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("XHR_ABORTED",null,t))},e._handleError=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(t.message))},e._handleReadyStateChange=function(t){4==this._request.readyState&&this._handleLoad()},e._handleLoad=function(t){if(!this.loaded){this.loaded=!0;var e=this._checkError();if(e)return void this._handleError(e);if(this._response=this._getResponse(),"arraybuffer"===this._responseType)try{this._response=new Blob([this._response])}catch(t){if(window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,"TypeError"===t.name&&window.BlobBuilder){var n=new BlobBuilder;n.append(this._response),this._response=n.getBlob()}}this._clean(),this.dispatchEvent(new createjs.Event("complete"))}},e._handleTimeout=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_TIMEOUT",null,t))},e._checkError=function(){var t=parseInt(this._request.status);switch(t){case 404:case 0:return new Error(t)}return null},e._getResponse=function(){if(null!=this._response)return this._response;if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(t){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(t){}return null},e._createXHR=function(t){var e=createjs.RequestUtils.isCrossDomain(t),n={},i=null;if(window.XMLHttpRequest)i=new XMLHttpRequest,e&&void 0===i.withCredentials&&window.XDomainRequest&&(i=new XDomainRequest);else{for(var r=0,a=s.ACTIVEX_VERSIONS.length;a>r;r++){var o=s.ACTIVEX_VERSIONS[r];try{i=new ActiveXObject(o);break}catch(t){}}if(null==i)return!1}null==t.mimeType&&createjs.RequestUtils.isText(t.type)&&(t.mimeType="text/plain; charset=utf-8"),t.mimeType&&i.overrideMimeType&&i.overrideMimeType(t.mimeType),this._xhrLevel="string"==typeof i.responseType?2:1;var c=null;if(c=t.method==createjs.AbstractLoader.GET?createjs.RequestUtils.buildPath(t.src,t.values):t.src,i.open(t.method||createjs.AbstractLoader.GET,c,!0),e&&i instanceof XMLHttpRequest&&1==this._xhrLevel&&(n.Origin=location.origin),t.values&&t.method==createjs.AbstractLoader.POST&&(n["Content-Type"]="application/x-www-form-urlencoded"),e||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),t.headers)for(var l in t.headers)n[l]=t.headers[l];for(l in n)i.setRequestHeader(l,n[l]);return i instanceof XMLHttpRequest&&void 0!==t.withCredentials&&(i.withCredentials=t.withCredentials),this._request=i,!0},e._clean=function(){clearTimeout(this._loadTimeout),null!=this._request.removeEventListener?(this._request.removeEventListener("loadstart",this._handleLoadStartProxy),this._request.removeEventListener("progress",this._handleProgressProxy),this._request.removeEventListener("abort",this._handleAbortProxy),this._request.removeEventListener("error",this._handleErrorProxy),this._request.removeEventListener("timeout",this._handleTimeoutProxy),this._request.removeEventListener("load",this._handleLoadProxy),this._request.removeEventListener("readystatechange",this._handleReadyStateChangeProxy)):(this._request.onloadstart=null,this._request.onprogress=null,this._request.onabort=null,this._request.onerror=null,this._request.ontimeout=null,this._request.onload=null,this._request.onreadystatechange=null)},e.toString=function(){return"[PreloadJS XHRRequest]"},createjs.XHRRequest=createjs.promote(t,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.AbstractLoader_constructor(),this._plugins=[],this._typeCallbacks={},this._extensionCallbacks={},this.next=null,this.maintainScriptOrder=!0,this.stopOnError=!1,this._maxConnections=1,this._availableLoaders=[createjs.ImageLoader,createjs.JavaScriptLoader,createjs.CSSLoader,createjs.JSONLoader,createjs.JSONPLoader,createjs.SoundLoader,createjs.ManifestLoader,createjs.SpriteSheetLoader,createjs.XMLLoader,createjs.SVGLoader,createjs.BinaryLoader,createjs.VideoLoader,createjs.TextLoader],this._defaultLoaderLength=this._availableLoaders.length,this.init(t,e,n)}var e=createjs.extend(t,createjs.AbstractLoader),n=t;e.init=function(t,e,n){this.useXHR=!0,this.preferXHR=!0,this._preferXHR=!0,this.setPreferXHR(t),this._paused=!1,this._basePath=e,this._crossOrigin=n,this._loadStartWasDispatched=!1,this._currentlyLoadingScript=null,this._currentLoads=[],this._loadQueue=[],this._loadQueueBackup=[],this._loadItemsById={},this._loadItemsBySrc={},this._loadedResults={},this._loadedRawResults={},this._numItems=0,this._numItemsLoaded=0,this._scriptOrder=[],this._loadedScripts=[],this._lastProgress=NaN},n.loadTimeout=8e3,n.LOAD_TIMEOUT=0,n.BINARY=createjs.AbstractLoader.BINARY,n.CSS=createjs.AbstractLoader.CSS,n.IMAGE=createjs.AbstractLoader.IMAGE,n.JAVASCRIPT=createjs.AbstractLoader.JAVA
1SCRIPT,n.JSON=createjs.AbstractLoader.JSON,n.JSONP=createjs.AbstractLoader.JSONP,n.MANIFEST=createjs.AbstractLoader.MANIFEST,n.SOUND=createjs.AbstractLoader.SOUND,n.VIDEO=createjs.AbstractLoader.VIDEO,n.SVG=createjs.AbstractLoader.SVG,n.TEXT=createjs.AbstractLoader.TEXT,n.XML=createjs.AbstractLoader.XML,n.POST=createjs.AbstractLoader.POST,n.GET=createjs.AbstractLoader.GET,e.registerLoader=function(t){if(!t||!t.canLoadItem)throw new Error("loader is of an incorrect type.");if(-1!=this._availableLoaders.indexOf(t))throw new Error("loader already exists.");this._availableLoaders.unshift(t)},e.unregisterLoader=function(t){var e=this._availableLoaders.indexOf(t);-1!=e&&e<this._defaultLoaderLength-1&&this._availableLoaders.splice(e,1)},e.setUseXHR=function(t){return this.setPreferXHR(t)},e.setPreferXHR=function(t){return this.preferXHR=0!=t&&null!=window.XMLHttpRequest,this.preferXHR},e.removeAll=function(){this.remove()},e.remove=function(t){var e=null;if(t&&!Array.isArray(t))e=[t];else if(t)e=t;else if(arguments.length>0)return;var n=!1;if(e){for(;e.length;){var i=e.pop(),r=this.getResult(i);for(s=this._loadQueue.length-1;s>=0;s--)if((a=this._loadQueue[s].getItem()).id==i||a.src==i){this._loadQueue.splice(s,1)[0].cancel();break}for(s=this._loadQueueBackup.length-1;s>=0;s--)if((a=this._loadQueueBackup[s].getItem()).id==i||a.src==i){this._loadQueueBackup.splice(s,1)[0].cancel();break}if(r)this._disposeItem(this.getItem(i));else for(var s=this._currentLoads.length-1;s>=0;s--){var a=this._currentLoads[s].getItem();if(a.id==i||a.src==i){this._currentLoads.splice(s,1)[0].cancel(),n=!0;break}}}n&&this._loadNext()}else{this.close();for(var o in this._loadItemsById)this._disposeItem(this._loadItemsById[o]);this.init(this.preferXHR,this._basePath)}},e.reset=function(){this.close();for(var t in this._loadItemsById)this._disposeItem(this._loadItemsById[t]);for(var e=[],n=0,i=this._loadQueueBackup.length;i>n;n++)e.push(this._loadQueueBackup[n].getItem());this.loadManifest(e,!1)},e.installPlugin=function(t){if(null!=t&&null!=t.getPreloadHandlers){this._plugins.push(t);var e=t.getPreloadHandlers();if(e.scope=t,null!=e.types)for(var n=0,i=e.types.length;i>n;n++)this._typeCallbacks[e.types[n]]=e;if(null!=e.extensions)for(n=0,i=e.extensions.length;i>n;n++)this._extensionCallbacks[e.extensions[n]]=e}},e.setMaxConnections=function(t){this._maxConnections=t,!this._paused&&this._loadQueue.length>0&&this._loadNext()},e.loadFile=function(t,e,n){if(null!=t)this._addItem(t,null,n),!1!==e?this.setPaused(!1):this.setPaused(!0);else{var i=new createjs.ErrorEvent("PRELOAD_NO_FILE");this._sendError(i)}},e.loadManifest=function(t,e,i){var r=null,s=null;if(Array.isArray(t)){if(0==t.length){a=new createjs.ErrorEvent("PRELOAD_MANIFEST_EMPTY");return void this._sendError(a)}r=t}else if("string"==typeof t)r=[{src:t,type:n.MANIFEST}];else{if("object"!=typeof t){a=new createjs.ErrorEvent("PRELOAD_MANIFEST_NULL");return void this._sendError(a)}if(void 0!==t.src){if(null==t.type)t.type=n.MANIFEST;else if(t.type!=n.MANIFEST){var a=new createjs.ErrorEvent("PRELOAD_MANIFEST_TYPE");this._sendError(a)}r=[t]}else void 0!==t.manifest&&(r=t.manifest,s=t.path)}for(var o=0,c=r.length;c>o;o++)this._addItem(r[o],s,i);!1!==e?this.setPaused(!1):this.setPaused(!0)},e.load=function(){this.setPaused(!1)},e.getItem=function(t){return this._loadItemsById[t]||this._loadItemsBySrc[t]},e.getResult=function(t,e){var n=this._loadItemsById[t]||this._loadItemsBySrc[t];if(null==n)return null;var i=n.id;return e&&this._loadedRawResults[i]?this._loadedRawResults[i]:this._loadedResults[i]},e.getItems=function(t){var e=[];for(var n in this._loadItemsById){var i=this._loadItemsById[n],r=this.getResult(n);(!0!==t||null!=r)&&e.push({item:i,result:r,rawResult:this.getResult(n,!0)})}return e},e.setPaused=function(t){this._paused=t,this._paused||this._loadNext()},e.close=function(){for(;this._currentLoads.length;)this._currentLoads.pop().cancel();this._scriptOrder.length=0,this._loadedScripts.length=0,this.loadStartWasDispatched=!1,this._itemCount=0,this._lastProgress=NaN},e._addItem=function(t,e,n){var i=this._createLoadItem(t,e,n);if(null!=i){var r=this._createLoader(i);null!=r&&("plugins"in r&&(r.plugins=this._plugins),i._loader=r,this._loadQueue.push(r),this._loadQueueBackup.push(r),this._numItems++,this._updateProgress(),(this.maintainScriptOrder&&i.type==createjs.LoadQueue.JAVASCRIPT||!0===i.maintainOrder)&&(this._scriptOrder.push(i),this._loadedScripts.push(null)))}},e._createLoadItem=function(t,e,n){var i=createjs.LoadItem.create(t);if(null==i)return null;var r="",s=n||this._basePath;if(i.src instanceof Object){if(!i.type)return null;if(e){r=e;c=createjs.RequestUtils.parseURI(e);null==s||c.absolute||c.relative||(r=s+r)}else null!=s&&(r=s)}
vendor: 8,007 bytes, line 1
1else{var a=createjs.RequestUtils.parseURI(i.src);a.extension&&(i.ext=a.extension),null==i.type&&(i.type=createjs.RequestUtils.getTypeByExtension(i.ext));var o=i.src;if(!a.absolute&&!a.relative)if(e){r=e;var c=createjs.RequestUtils.parseURI(e);o=e+o,null==s||c.absolute||c.relative||(r=s+r)}else null!=s&&(r=s);i.src=r+i.src}i.path=r,(void 0===i.id||null===i.id||""===i.id)&&(i.id=o);var l=this._typeCallbacks[i.type]||this._extensionCallbacks[i.ext];if(l){var u=l.callback.call(l.scope,i,this);if(!1===u)return null;!0===u||null!=u&&(i._loader=u),null!=(a=createjs.RequestUtils.parseURI(i.src)).extension&&(i.ext=a.extension)}return this._loadItemsById[i.id]=i,this._loadItemsBySrc[i.src]=i,null==i.crossOrigin&&(i.crossOrigin=this._crossOrigin),i},e._createLoader=function(t){if(null!=t._loader)return t._loader;for(var e=this.preferXHR,n=0;n<this._availableLoaders.length;n++){var i=this._availableLoaders[n];if(i&&i.canLoadItem(t))return new i(t,e)}return null},e._loadNext=function(){if(!this._paused){this._loadStartWasDispatched||(this._sendLoadStart(),this._loadStartWasDispatched=!0),this._numItems==this._numItemsLoaded?(this.loaded=!0,this._sendComplete(),this.next&&this.next.load&&this.next.load()):this.loaded=!1;for(var t=0;t<this._loadQueue.length&&!(this._currentLoads.length>=this._maxConnections);t++){var e=this._loadQueue[t];this._canStartLoad(e)&&(this._loadQueue.splice(t,1),t--,this._loadItem(e))}}},e._loadItem=function(t){t.on("fileload",this._handleFileLoad,this),t.on("progress",this._handleProgress,this),t.on("complete",this._handleFileComplete,this),t.on("error",this._handleError,this),t.on("fileerror",this._handleFileError,this),this._currentLoads.push(t),this._sendFileStart(t.getItem()),t.load()},e._handleFileLoad=function(t){t.target=null,this.dispatchEvent(t)},e._handleFileError=function(t){var e=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,t.item);this._sendError(e)},e._handleError=function(t){var e=t.target;this._numItemsLoaded++,this._finishOrderedItem(e,!0),this._updateProgress();var n=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,e.getItem());this._sendError(n),this.stopOnError?this.setPaused(!0):(this._removeLoadItem(e),this._cleanLoadItem(e),this._loadNext())},e._handleFileComplete=function(t){var e=t.target,n=e.getItem(),i=e.getResult();this._loadedResults[n.id]=i;var r=e.getResult(!0);null!=r&&r!==i&&(this._loadedRawResults[n.id]=r),this._saveLoadedItems(e),this._removeLoadItem(e),this._finishOrderedItem(e)||this._processFinishedLoad(n,e),this._cleanLoadItem(e)},e._saveLoadedItems=function(t){var e=t.getLoadedItems();if(null!==e)for(var n=0;n<e.length;n++){var i=e[n].item;this._loadItemsBySrc[i.src]=i,this._loadItemsById[i.id]=i,this._loadedResults[i.id]=e[n].result,this._loadedRawResults[i.id]=e[n].rawResult}},e._finishOrderedItem=function(t,e){var n=t.getItem();if(this.maintainScriptOrder&&n.type==createjs.LoadQueue.JAVASCRIPT||n.maintainOrder){t instanceof createjs.JavaScriptLoader&&(this._currentlyLoadingScript=!1);var i=createjs.indexOf(this._scriptOrder,n);return-1!=i&&(this._loadedScripts[i]=!0===e||n,this._checkScriptLoadOrder(),!0)}return!1},e._checkScriptLoadOrder=function(){for(var t=this._loadedScripts.length,e=0;t>e;e++){var n=this._loadedScripts[e];if(null===n)break;if(!0!==n){var i=this._loadedResults[n.id];n.type==createjs.LoadQueue.JAVASCRIPT&&createjs.DomUtils.appendToHead(i);var r=n._loader;this._processFinishedLoad(n,r),this._loadedScripts[e]=!0}}},e._processFinishedLoad=function(t,e){if(this._numItemsLoaded++,!this.maintainScriptOrder&&t.type==createjs.LoadQueue.JAVASCRIPT){var n=e.getTag();createjs.DomUtils.appendToHead(n)}this._updateProgress(),this._sendFileComplete(t,e),this._loadNext()},e._canStartLoad=function(t){if(!this.maintainScriptOrder||t.preferXHR)return!0;var e=t.getItem();if(e.type!=createjs.LoadQueue.JAVASCRIPT)return!0;if(this._currentlyLoadingScript)return!1;for(var n=this._scriptOrder.indexOf(e),i=0;n>i;){if(null==this._loadedScripts[i])return!1;i++}return this._currentlyLoadingScript=!0,!0},e._removeLoadItem=function(t){for(var e=this._currentLoads.length,n=0;e>n;n++)if(this._currentLoads[n]==t){this._currentLoads.splice(n,1);break}},e._cleanLoadItem=function(t){var e=t.getItem();e&&delete e._loader},e._handleProgress=function(t){var e=t.target;this._sendFileProgress(e.getItem(),e.progress),this._updateProgress()},e._updateProgress=function(){var t=this._numItemsLoaded/this._numItems,e=this._numItems-this._numItemsLoaded;if(e>0){for(var n=0,i=0,r=this._currentLoads.length;r>i;i++)n+=this._currentLoads[i].progress;t+=n/e*(e/this._numItems)}this._lastProgress!=t&&(this._sendProgress(t),this._lastProgress=t)},e._disposeItem=function(t){delete this._loadedResults[t.id],delete this._loadedRawResults[t.id],delete this._loadItemsById[t.id],delete this._loadItemsBySrc[t.src]},e._sendFileProgress=function(t,e){if(!this._isCanceled()&&!this._paused&&this.hasEventListener("fileprogress")){var n=new createjs.Event("fileprogress");n.progress=e,n.loaded=e,n.total=1,n.item=t,this.dispatchEvent(n)}},e._sendFileComplete=function(t,e){if(!this._isCanceled()&&!this._paused){var n=new createjs.Event("fileload");n.loader=e,n.item=t,n.result=this._loadedResults[t.id],n.rawResult=this._loadedRawResults[t.id],t.completeHandler&&t.completeHandler(n),this.hasEventListener("fileload")&&this.dispatchEvent(n)}},e._sendFileStart=function(t){var e=new createjs.Event("filestart");e.item=t,this.hasEventListener("filestart")&&this.dispatchEvent(e)},e.toString=function(){return"[PreloadJS LoadQueue]"},createjs.LoadQueue=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.TEXT)}(createjs.extend(t,createjs.AbstractLoader),t).canLoadItem=function(t){return t.type==createjs.AbstractLoader.TEXT},createjs.TextLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.BINARY),this.on("initialize",this._updateXHR,this)}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.BINARY},e._updateXHR=function(t){t.loader.setResponseType("arraybuffer")},createjs.BinaryLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.CSS),this.resultFormatter=this._formatResult,this._tagSrcAttribute="href",this._tag=e?document.createElement("style"):document.createElement("link"),this._tag.rel="stylesheet",this._tag.type="text/css"}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.CSS},e._formatResult=function(t){if(this._preferXHR){var e=t.getTag();if(e.styleSheet)e.styleSheet.cssText=t.getResult(!0);else{var n=document.createTextNode(t.getResult(!0));e.appendChild(n)}}else e=this._tag;return createjs.DomUtils.appendToHead(e),e},createjs.CSSLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.IMAGE),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",createjs.RequestUtils.isImageTag(t)?this._tag=t:createjs.RequestUtils.isImageTag(t.src)?this._tag=t.src:createjs.RequestUtils.isImageTag(t.tag)&&(this._tag=t.tag),null!=this._tag?this._preferXHR=!1:this._tag=document.createElement("img"),this.on("initialize",this._updateXHR,this)}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.IMAGE},e.load=function(){if(""!=this._tag.src&&this._tag.complete)this._sendComplete();else{var t=this._item.crossOrigin;1==t&&(t="Anonymous"),null==t||createjs.RequestUtils.isLocal(this._item.src)||(this._tag.crossOrigin=t),this.AbstractLoader_load()}},e._updateXHR=function(t){t.loader.mimeType="text/plain;
1 charset=x-user-defined-binary",t.loader.setResponseType&&t.loader.setResponseType("blob")},e._formatResult=function(t){return this._formatImage},e._formatImage=function(t,e){var n=this._tag,i=window.URL||window.webkitURL;if(this._preferXHR)if(i){var r=i.createObjectURL(this.getResult(!0));n.src=r,n.addEventListener("load",this._cleanUpURL,!1),n.addEventListener("error",this._cleanUpURL,!1)}else n.src=this._item.src;n.complete?t(n):(n.onload=createjs.proxy(function(){t(this._tag)},this),n.onerror=createjs.proxy(function(){e(_this._tag)},this))},e._cleanUpURL=function(t){(window.URL||window.webkitURL).revokeObjectURL(t.target.src)},createjs.ImageLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.JAVASCRIPT),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",this.setTag(document.createElement("script"))}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.JAVASCRIPT},e._formatResult=function(t){var e=t.getTag();return this._preferXHR&&(e.text=t.getResult(!0)),e},createjs.JavaScriptLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.JSON),this.resultFormatter=this._formatResult}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.JSON},e._formatResult=function(t){var e=null;try{e=createjs.DataUtils.parseJSON(t.getResult(!0))}catch(t){var n=new createjs.ErrorEvent("JSON_FORMAT",null,t);return this._sendError(n),t}return e},createjs.JSONLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractLoader_constructor(t,!1,createjs.AbstractLoader.JSONP),this.setTag(document.createElement("script")),this.getTag().type="text/javascript"}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.JSONP},e.cancel=function(){this.AbstractLoader_cancel(),this._dispose()},e.load=function(){if(null==this._item.callback)throw new Error("callback is required for loading JSONP requests.");if(null!=window[this._item.callback])throw new Error("JSONP callback '"+this._item.callback+"' already exists on window. You need to specify a different callback or re-name the current one.");window[this._item.callback]=createjs.proxy(this._handleLoad,this),window.document.body.appendChild(this._tag),this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this._tag.src=this._item.src},e._handleLoad=function(t){this._result=this._rawResult=t,this._sendComplete(),this._dispose()},e._handleTimeout=function(){this._dispose(),this.dispatchEvent(new createjs.ErrorEvent("timeout"))},e._dispose=function(){window.document.body.removeChild(this._tag),delete window[this._item.callback],clearTimeout(this._loadTimeout)},createjs.JSONPLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractLoader_constructor(t,null,createjs.AbstractLoader.MANIFEST),this.plugins=null,this._manifestQueue=null}var e=createjs.extend(t,createjs.AbstractLoader),n=t;n.MANIFEST_PROGRESS=.25,n.canLoadItem=function(t){return t.type==createjs.AbstractLoader.MANIFEST},e.load=function(){this.AbstractLoader_load()},e._createRequest=function(){var t=this._item.callback;this._request=null!=t?new createjs.JSONPLoader(this._item):new createjs.JSONLoader(this._item)},e.handleEvent=function(t){switch(t.type){case"complete":return this._rawResult=t.target.getResult(!0),this._result=t.target.getResult(),this._sendProgress(n.MANIFEST_PROGRESS),void this._loadManifest(this._result);case"progress":return t.loaded*=n.MANIFEST_PROGRESS,this.progress=t.loaded/t.total,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0),void this._sendProgress(t)}this.AbstractLoader_handleEvent(t)},e.destroy=function(){this.AbstractLoader_destroy(),this._manifestQueue.close()},e._loadManifest=function(t){if(t&&t.manifest){var e=this._manifestQueue=new createjs.LoadQueue;e.on("fileload",this._handleManifestFileLoad,this),e.on("progress",this._handleManifestProgress,this),e.on("complete",this._handleManifestComplete,this,!0),e.on("error",this._handleManifestError,this,!0);for(var n=0,i=this.plugins.length;i>n;n++)e.installPlugin(this.plugins[n]);e.loadManifest(t)}else this._sendComplete()},e._handleManifestFileLoad=function(t){t.target=null,this.dispatchEvent(t)},e._handleManifestComplete=function(t){this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},e._handleManifestProgress=function(t){this.progress=t.progress*(1-n.MANIFEST_PROGRESS)+n.MANIFEST_PROGRESS,this._sendProgress(this.progress)},e._handleManifestError=function(t){var e=new createjs.Event("fileerror");e.item=t.data,this.dispatchEvent(e)},createjs.ManifestLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.AbstractMediaLoader_constructor(t,e,createjs.AbstractLoader.SOUND),createjs.RequestUtils.isAudioTag(t)?this._tag=t:createjs.RequestUtils.isAudioTag(t.src)?this._tag=t:createjs.RequestUtils.isAudioTag(t.tag)&&(this._tag=createjs.RequestUtils.isAudioTag(t)?t:t.src),null!=this._tag&&(this._preferXHR=!1)}var e=createjs.extend(t,createjs.AbstractMediaLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.SOUND},e._createTag=function(t){var e=document.createElement("audio");
vendor: 9,629 bytes, line 1
1return e.autoplay=!1,e.preload="none",e.src=t,e},createjs.SoundLoader=createjs.promote(t,"AbstractMediaLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.AbstractMediaLoader_constructor(t,e,createjs.AbstractLoader.VIDEO),createjs.RequestUtils.isVideoTag(t)||createjs.RequestUtils.isVideoTag(t.src)?(this.setTag(createjs.RequestUtils.isVideoTag(t)?t:t.src),this._preferXHR=!1):this.setTag(this._createTag())}var e=t;createjs.extend(t,createjs.AbstractMediaLoader)._createTag=function(){return document.createElement("video")},e.canLoadItem=function(t){return t.type==createjs.AbstractLoader.VIDEO},createjs.VideoLoader=createjs.promote(t,"AbstractMediaLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.SPRITESHEET),this._manifestQueue=null}var e=createjs.extend(t,createjs.AbstractLoader),n=t;n.SPRITESHEET_PROGRESS=.25,n.canLoadItem=function(t){return t.type==createjs.AbstractLoader.SPRITESHEET},e.destroy=function(){this.AbstractLoader_destroy,this._manifestQueue.close()},e._createRequest=function(){var t=this._item.callback;this._request=null!=t?new createjs.JSONPLoader(this._item):new createjs.JSONLoader(this._item)},e.handleEvent=function(t){switch(t.type){case"complete":return this._rawResult=t.target.getResult(!0),this._result=t.target.getResult(),this._sendProgress(n.SPRITESHEET_PROGRESS),void this._loadManifest(this._result);case"progress":return t.loaded*=n.SPRITESHEET_PROGRESS,this.progress=t.loaded/t.total,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0),void this._sendProgress(t)}this.AbstractLoader_handleEvent(t)},e._loadManifest=function(t){if(t&&t.images){var e=this._manifestQueue=new createjs.LoadQueue(this._preferXHR,this._item.path,this._item.crossOrigin);e.on("complete",this._handleManifestComplete,this,!0),e.on("fileload",this._handleManifestFileLoad,this),e.on("progress",this._handleManifestProgress,this),e.on("error",this._handleManifestError,this,!0),e.loadManifest(t.images)}},e._handleManifestFileLoad=function(t){var e=t.result;if(null!=e){var n=this.getResult().images;n[n.indexOf(t.item.src)]=e}},e._handleManifestComplete=function(t){this._result=new createjs.SpriteSheet(this._result),this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},e._handleManifestProgress=function(t){this.progress=t.progress*(1-n.SPRITESHEET_PROGRESS)+n.SPRITESHEET_PROGRESS,this._sendProgress(this.progress)},e._handleManifestError=function(t){var e=new createjs.Event("fileerror");e.item=t.data,this.dispatchEvent(e)},createjs.SpriteSheetLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.SVG),this.resultFormatter=this._formatResult,this._tagSrcAttribute="data",e?this.setTag(document.createElement("svg")):(this.setTag(document.createElement("object")),this.getTag().type="image/svg+xml")}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.SVG},e._formatResult=function(t){var e=createjs.DataUtils.parseXML(t.getResult(!0),"text/xml"),n=t.getTag();return!this._preferXHR&&document.body.contains(n)&&document.body.removeChild(n),null!=e.documentElement?(n.appendChild(e.documentElement),n.style.visibility="visible",n):e},createjs.SVGLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.XML),this.resultFormatter=this._formatResult}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.XML},e._formatResult=function(t){return createjs.DataUtils.parseXML(t.getResult(!0),"text/xml")},createjs.XMLLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){var t=createjs.SoundJS=createjs.SoundJS||{};t.version="0.6.2",t.buildDate="Thu, 26 Nov 2015 20:44:31 GMT"}(),this.createjs=this.createjs||{},createjs.indexOf=function(t,e){"use strict";for(var n=0,i=t.length;i>n;n++)if(e===t[n])return n;return-1},this.createjs=this.createjs||{},function(){"use strict";createjs.proxy=function(t,e){var n=Array.prototype.slice.call(arguments,2);return function(){return t.apply(e,Array.prototype.slice.call(arguments,0).concat(n))}}}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"BrowserDetect cannot be instantiated"}var e=t.agent=window.navigator.userAgent;t.isWindowPhone=e.indexOf("IEMobile")>-1||e.indexOf("Windows Phone")>-1,t.isFirefox=e.indexOf("Firefox")>-1,t.isOpera=null!=window.opera,t.isChrome=e.indexOf("Chrome")>-1,t.isIOS=(e.indexOf("iPod")>-1||e.indexOf("iPhone")>-1||e.indexOf("iPad")>-1)&&!t.isWindowPhone,t.isAndroid=e.indexOf("Android")>-1&&!t.isWindowPhone,t.isBlackberry=e.indexOf("Blackberry")>-1,createjs.BrowserDetect=t}(),this.createjs=this.createjs||{},function(){"use strict";var t=function(){this.interrupt=null,this.delay=null,this.offset=null,this.loop=null,this.volume=null,this.pan=null,this.startTime=null,this.duration=null},e=t.prototype={},n=t;n.create=function(t){if(t instanceof n||t instanceof Object){var e=new createjs.PlayPropsConfig;return e.set(t),e}throw new Error("Type not recognized.")},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.toString=function(){return"[PlayPropsConfig]"},createjs.PlayPropsConfig=n}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Sound cannot be instantiated"}function e(t,e){this.init(t,e)}var n=t;n.INTERRUPT_ANY="any",n.INTERRUPT_EARLY="early",n.INTERRUPT_LATE="late",n.INTERRUPT_NONE="none",n.PLAY_INITED="playInited",n.PLAY_SUCCEEDED="playSucceeded",n.PLAY_INTERRUPTED="playInterrupted",n.PLAY_FINISHED="playFinished",n.PLAY_FAILED="playFailed",n.SUPPORTED_EXTENSIONS=["mp3","ogg","opus","mpeg","wav","m4a","mp4","aiff","wma","mid"],n.EXTENSION_MAP={m4a:"mp4"},n.FILE_PATTERN=/^(?:(\w+:)\/{2}(\w+(?:\.\w+)*\/?))?([\/.]*?(?:[^?]+)?\/)?((?:[^\/?]+)\.(\w+))(?:\?(\S+)?)?$/,n.defaultInterruptBehavior=n.INTERRUPT_NONE,n.alternateExtensions=[],n.activePlugin=null,n._masterVolume=1,Object.defineProperty(n,"volume",{get:function(){return this._masterVolume},set:function(t){if(null==Number(t))return!1;if(t=Math.max(0,Math.min(1,t)),n._masterVolume=t,!this.activePlugin||!this.activePlugin.setVolume||!this.activePlugin.setVolume(t))for(var e=this._instances,i=0,r=e.length;r>i;i++)e[i].setMasterVolume(t)}}),n._masterMute=!1,Object.defineProperty(n,"muted",{get:function(){return this._masterMute},set:function(t){if(null==t)return!1;if(this._masterMute=t,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(t))for(var e=this._instances,n=0,i=e.length;i>n;n++)e[n].setMasterMute(t);return!0}}),Object.defineProperty(n,"capabilities",{get:function(){return null==n.activePlugin?null:n.activePlugin._capabilities},set:function(t){return!1}}),n._pluginsRegistered=!1,n._lastID=0,n._instances=[],n._idHash={},n._preloadHash={},n._defaultPlayPropsHash={},n.addEventListener=null,n.removeEventListener=null,n.removeAllEventListeners=null,n.dispatchEvent=null,n.hasEventListener=null,n._listeners=null,createjs.EventDispatcher.initialize(n),n.getPreloadHandlers=function(){return{callback:createjs.proxy(n.initLoad,n),types:["sound"],extensions:n.SUPPORTED_EXTENSIONS}},n._handleLoadComplete=function(t){var e=t.target.getItem().src;if(n._preloadHash[e])for(var i=0,r=n._preloadHash[e].length;r>i;i++){var s=n._preloadHash[e][i];n._preloadHash[e][i]=!0,n.hasEventListener("fileload")&&((t=new createjs.Event("fileload")).src=s.src,t.id=s.id,t.data=s.data,t.sprite=s.sprite,n.dispatchEvent(t))}},n._handleLoadError=function(t){var e=t.target.getItem().src;if(n._preloadHash[e])for(var i=0,r=n._preloadHash[e].length;r>i;i++){var s=n._preloadHash[e][i];n._preloadHash[e][i]=!1,n.hasEventListener("fileerror")&&((t=new createjs.Event("fileerror")).src=s.src,t.id=s.id,t.data=s.data,t.sprite=s.sprite,n.dispatchEvent(t))}},n._registerPlugin=function(t){return!!t.isSupported()&&(n.activePlugin=new t,!0)},n.registerPlugins=function(t){n._pluginsRegistered=!0;for(var e=0,i=t.length;i>e;e++)if(n._registerPlugin(t[e]))return!0;return!1},n.initializeDefaultPlugins=function(){return null!=n.activePlugin||!n._pluginsRegistered&&!!n.registerPlugins([createjs.WebAudioPlugin,createjs.HTMLAudioPlugin])},n.isReady=function(){return null!=n.activePlugin},n.getCapabilities=function(){return null==n.activePlugin?null:n.activePlugin._capabilities},n.getCapability=function(t){return null==n.activePlugin?null:n.activePlugin._capabilities[t]},n.initLoad=function(t){return n._registerSound(t)},n._registerSound=function(t){if(!n.initializeDefaultPlugins())return!1;var i;if(t.src instanceof Object?(i=n._parseSrc(t.src),i.src=t.path+i.src):i=n._parsePath(t.src),null==i)return!1;t.src=i.src,t.type="sound";var r=t.data,s=null;if(null!=r&&(isNaN(r.channels)?isNaN(r)||(s=parseInt(r)):s=parseInt(r.channels),r.audioSprite))for(var a,o=r.audioSprite.length;o--;)a=r.audioSprite[o],n._idHash[a.id]={src:t.src,startTime:parseInt(a.startTime),duration:parseInt(a.duration)},a.defaultPlayProps&&(n._defaultPlayPropsHash[a.id]=createjs.PlayPropsConfig.create(a.defaultPlayProps));null!=t.id&&(n._idHash[t.id]={src:t.src});var c=n.activePlugin.register(t);return e.create(t.src,s),null!=r&&isNaN(r)?t.data.channels=s||e.maxPerChannel():t.data=s||e.maxPerChannel(),c.type&&(t.type=c.type),t.defaultPlayProps&&(n._defaultPlayPropsHash[t.src]=createjs.PlayPropsConfig.create(t.defaultPlayProps)),c}
1,n.registerSound=function(t,e,i,r,s){var a={src:t,id:e,data:i,defaultPlayProps:s};t instanceof Object&&t.src&&(r=e,a=t),(a=createjs.LoadItem.create(a)).path=r,null==r||a.src instanceof Object||(a.src=r+t);var o=n._registerSound(a);if(!o)return!1;if(n._preloadHash[a.src]||(n._preloadHash[a.src]=[]),n._preloadHash[a.src].push(a),1==n._preloadHash[a.src].length)o.on("complete",createjs.proxy(this._handleLoadComplete,this)),o.on("error",createjs.proxy(this._handleLoadError,this)),n.activePlugin.preload(o);else if(1==n._preloadHash[a.src][0])return!0;return a},n.registerSounds=function(t,e){var n=[];t.path&&(e?e+=t.path:e=t.path,t=t.manifest);for(var i=0,r=t.length;r>i;i++)n[i]=createjs.Sound.registerSound(t[i].src,t[i].id,t[i].data,e,t[i].defaultPlayProps);return n},n.removeSound=function(t,i){if(null==n.activePlugin)return!1;t instanceof Object&&t.src&&(t=t.src);var r;if(t instanceof Object?r=n._parseSrc(t):(t=n._getSrcById(t).src,r=n._parsePath(t)),null==r)return!1;t=r.src,null!=i&&(t=i+t);for(var s in n._idHash)n._idHash[s].src==t&&delete n._idHash[s];return e.removeSrc(t),delete n._preloadHash[t],n.activePlugin.removeSound(t),!0},n.removeSounds=function(t,e){var n=[];t.path&&(e?e+=t.path:e=t.path,t=t.manifest);for(var i=0,r=t.length;r>i;i++)n[i]=createjs.Sound.removeSound(t[i].src,e);return n},n.removeAllSounds=function(){n._idHash={},n._preloadHash={},e.removeAll(),n.activePlugin&&n.activePlugin.removeAllSounds()},n.loadComplete=function(t){if(!n.isReady())return!1;var e=n._parsePath(t);return t=e?n._getSrcById(e.src).src:n._getSrcById(t).src,void 0!=n._preloadHash[t]&&1==n._preloadHash[t][0]},n._parsePath=function(t){"string"!=typeof t&&(t=t.toString());var e=t.match(n.FILE_PATTERN);if(null==e)return!1;for(var i=e[4],r=e[5],s=n.capabilities,a=0;!s[r];)if(r=n.alternateExtensions[a++],a>n.alternateExtensions.length)return null;return{name:i,src:t=t.replace("."+e[5],"."+r),extension:r}},n._parseSrc=function(t){var e={name:void 0,src:void 0,extension:void 0},i=n.capabilities;for(var r in t)if(t.hasOwnProperty(r)&&i[r]){e.src=t[r],e.extension=r;break}if(!e.src)return!1;var s=e.src.lastIndexOf("/");return e.name=-1!=s?e.src.slice(s+1):e.src,e},n.play=function(t,e,i,r,s,a,o,c,l){var u;u=e instanceof Object||e instanceof createjs.PlayPropsConfig?createjs.PlayPropsConfig.create(e):createjs.PlayPropsConfig.create({interrupt:e,delay:i,offset:r,loop:s,volume:a,pan:o,startTime:c,duration:l});var h=n.createInstance(t,u.startTime,u.duration);return n._playInstance(h,u)||h._playFailed(),h},n.createInstance=function(t,i,r){if(!n.initializeDefaultPlugins())return new createjs.DefaultSoundInstance(t,i,r);var s=n._defaultPlayPropsHash[t];t=n._getSrcById(t);var a=n._parsePath(t.src),o=null;return null!=a&&null!=a.src?(e.create(a.src),null==i&&(i=t.startTime),o=n.activePlugin.create(a.src,i,r||t.duration),(s=s||n._defaultPlayPropsHash[a.src])&&o.applyPlayProps(s)):o=new createjs.DefaultSoundInstance(t,i,r),o.uniqueId=n._lastID++,o},n.stop=function(){for(var t=this._instances,e=t.length;e--;)t[e].stop()},n.setVolume=function(t){if(null==Number(t))return!1;if(t=Math.max(0,Math.min(1,t)),n._masterVolume=t,!this.activePlugin||!this.activePlugin.setVolume||!this.activePlugin.setVolume(t))for(var e=this._instances,i=0,r=e.length;r>i;i++)e[i].setMasterVolume(t)},n.getVolume=function(){return this._masterVolume},n.setMute=function(t){if(null==t)return!1;if(this._masterMute=t,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(t))for(var e=this._instances,n=0,i=e.length;i>n;n++)e[n].setMasterMute(t);return!0},n.getMute=function(){return this._masterMute},n.setDefaultPlayProps=function(t,e){t=n._getSrcById(t),n._defaultPlayPropsHash[n._parsePath(t.src).src]=createjs.PlayPropsConfig.create(e)},n.getDefaultPlayProps=function(t){return t=n._getSrcById(t),n._defaultPlayPropsHash[n._parsePath(t.src).src]},n._playInstance=function(t,e){var i=n._defaultPlayPropsHash[t.src]||{};if(null==e.interrupt&&(e.interrupt=i.interrupt||n.defaultInterruptBehavior),null==e.delay&&(e.delay=i.delay||0),null==e.offset&&(e.offset=t.getPosition()),null==e.loop&&(e.loop=t.loop),null==e.volume&&(e.volume=t.volume),null==e.pan&&(e.pan=t.pan),0==e.delay){if(!n._beginPlaying(t,e))return!1}else{var r=setTimeout(function(){n._beginPlaying(t,e)},e.delay);t.delayTimeoutId=r}return this._instances.push(t),!0},n._beginPlaying=function(t,n){if(!e.add(t,n.interrupt))return!1;if(!t._beginPlaying(n)){var i=createjs.indexOf(this._instances,t);return i>-1&&this._instances.splice(i,1),!1}return!0},n._getSrcById=function(t){return n._idHash[t]||{src:t}},n._playFinished=function(t){e.remove(t);var n=createjs.indexOf(this._instances,t);n>-1&&this._instances.splice(n,1)},createjs.Sound=t,e.channels={},e.create=function(t,n){return null==e.get(t)&&(e.channels[t]=new e(t,n),!0)},e.removeSrc=function(t){var n=e.get(t);return null!=n&&(n._removeAll(),delete e.channels[t],!0)},e.removeAll=function(){for(var t in e.channels)e.channels[t]._removeAll();e.channels={}}
vendor: 24,075 bytes, line 1
1,e.add=function(t,n){var i=e.get(t.src);return null!=i&&i._add(t,n)},e.remove=function(t){var n=e.get(t.src);return null!=n&&(n._remove(t),!0)},e.maxPerChannel=function(){return i.maxDefault},e.get=function(t){return e.channels[t]};var i=e.prototype;i.constructor=e,i.src=null,i.max=null,i.maxDefault=100,i.length=0,i.init=function(t,e){this.src=t,this.max=e||this.maxDefault,-1==this.max&&(this.max=this.maxDefault),this._instances=[]},i._get=function(t){return this._instances[t]},i._add=function(t,e){return!!this._getSlot(e,t)&&(this._instances.push(t),this.length++,!0)},i._remove=function(t){var e=createjs.indexOf(this._instances,t);return-1!=e&&(this._instances.splice(e,1),this.length--,!0)},i._removeAll=function(){for(var t=this.length-1;t>=0;t--)this._instances[t].stop()},i._getSlot=function(e,n){var i,r;if(e!=t.INTERRUPT_NONE&&null==(r=this._get(0)))return!0;for(var s=0,a=this.max;a>s;s++){if(null==(i=this._get(s)))return!0;if(i.playState==t.PLAY_FINISHED||i.playState==t.PLAY_INTERRUPTED||i.playState==t.PLAY_FAILED){r=i;break}e!=t.INTERRUPT_NONE&&(e==t.INTERRUPT_EARLY&&i.getPosition()<r.getPosition()||e==t.INTERRUPT_LATE&&i.getPosition()>r.getPosition())&&(r=i)}return null!=r&&(r._interrupt(),this._remove(r),!0)},i.toString=function(){return"[Sound SoundChannel]"}}(),this.createjs=this.createjs||{},function(){"use strict";var t=function(t,e,n,i){this.EventDispatcher_constructor(),this.src=t,this.uniqueId=-1,this.playState=null,this.delayTimeoutId=null,this._volume=1,Object.defineProperty(this,"volume",{get:this.getVolume,set:this.setVolume}),this._pan=0,Object.defineProperty(this,"pan",{get:this.getPan,set:this.setPan}),this._startTime=Math.max(0,e||0),Object.defineProperty(this,"startTime",{get:this.getStartTime,set:this.setStartTime}),this._duration=Math.max(0,n||0),Object.defineProperty(this,"duration",{get:this.getDuration,set:this.setDuration}),this._playbackResource=null,Object.defineProperty(this,"playbackResource",{get:this.getPlaybackResource,set:this.setPlaybackResource}),!1!==i&&!0!==i&&this.setPlaybackResource(i),this._position=0,Object.defineProperty(this,"position",{get:this.getPosition,set:this.setPosition}),this._loop=0,Object.defineProperty(this,"loop",{get:this.getLoop,set:this.setLoop}),this._muted=!1,Object.defineProperty(this,"muted",{get:this.getMuted,set:this.setMuted}),this._paused=!1,Object.defineProperty(this,"paused",{get:this.getPaused,set:this.setPaused})},e=createjs.extend(t,createjs.EventDispatcher);e.play=function(t,e,n,i,r,s){var a;return a=t instanceof Object||t instanceof createjs.PlayPropsConfig?createjs.PlayPropsConfig.create(t):createjs.PlayPropsConfig.create({interrupt:t,delay:e,offset:n,loop:i,volume:r,pan:s}),this.playState==createjs.Sound.PLAY_SUCCEEDED?(this.applyPlayProps(a),void(this._paused&&this.setPaused(!1))):(this._cleanUp(),createjs.Sound._playInstance(this,a),this)},e.stop=function(){return this._position=0,this._paused=!1,this._handleStop(),this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,this},e.destroy=function(){this._cleanUp(),this.src=null,this.playbackResource=null,this.removeAllEventListeners()},e.applyPlayProps=function(t){return null!=t.offset&&this.setPosition(t.offset),null!=t.loop&&this.setLoop(t.loop),null!=t.volume&&this.setVolume(t.volume),null!=t.pan&&this.setPan(t.pan),null!=t.startTime&&(this.setStartTime(t.startTime),this.setDuration(t.duration)),this},e.toString=function(){return"[AbstractSoundInstance]"},e.getPaused=function(){return this._paused},e.setPaused=function(t){return!0!==t&&!1!==t||this._paused==t||1==t&&this.playState!=createjs.Sound.PLAY_SUCCEEDED?void 0:(this._paused=t,t?this._pause():this._resume(),clearTimeout(this.delayTimeoutId),this)},e.setVolume=function(t){return t==this._volume?this:(this._volume=Math.max(0,Math.min(1,t)),this._muted||this._updateVolume(),this)},e.getVolume=function(){return this._volume},e.setMuted=function(t){return!0===t||!1===t?(this._muted=t,this._updateVolume(),this):void 0},e.getMuted=function(){return this._muted},e.setPan=function(t){return t==this._pan?this:(this._pan=Math.max(-1,Math.min(1,t)),this._updatePan(),this)},e.getPan=function(){return this._pan},e.getPosition=function(){return this._paused||this.playState!=createjs.Sound.PLAY_SUCCEEDED||(this._position=this._calculateCurrentPosition()),this._position},e.setPosition=function(t){return this._position=Math.max(0,t),this.playState==createjs.Sound.PLAY_SUCCEEDED&&this._updatePosition(),this},e.getStartTime=function(){return this._startTime},e.setStartTime=function(t){return t==this._startTime?this:(this._startTime=Math.max(0,t||0),this._updateStartTime(),this)},e.getDuration=function(){return this._duration},e.setDuration=function(t){return t==this._duration?this:(this._duration=Math.max(0,t||0),this._updateDuration(),this)},e.setPlaybackResource=function(t){return this._playbackResource=t,0==this._duration&&this._setDurationFromSource(),this},e.getPlaybackResource=function(){return this._playbackResource},e.getLoop=function(){return this._loop},e.setLoop=function(t){null!=this._playbackResource&&(0!=this._loop&&0==t?this._removeLooping(t):0==this._loop&&0!=t&&this._addLooping(t)),this._loop=t},e._sendEvent=function(t){var e=new createjs.Event(t);this.dispatchEvent(e)},e._cleanUp=function(){clearTimeout(this.delayTimeoutId),this._handleCleanUp(),this._paused=!1,createjs.Sound._playFinished(this)},e._interrupt=function(){this._cleanUp(),this.playState=createjs.Sound.PLAY_INTERRUPTED,this._sendEvent("interrupted")},e._beginPlaying=function(t){return this.setPosition(t.offset),this.setLoop(t.loop),this.setVolume(t.volume),this.setPan(t.pan),null!=t.startTime&&(this.setStartTime(t.startTime),this.setDuration(t.duration)),null!=this._playbackResource&&this._position<this._duration?(this._paused=!1,this._handleSoundReady(),this.playState=createjs.Sound.PLAY_SUCCEEDED,this._sendEvent("succeeded"),!0):(this._playFailed(),!1)},e._playFailed=function(){this._cleanUp(),this.playState=createjs.Sound.PLAY_FAILED,this._sendEvent("failed")},e._handleSoundComplete=function(t){return this._position=0,0!=this._loop?(this._loop--,this._handleLoop(),void this._sendEvent("loop")):(this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,void this._sendEvent("complete"))},e._handleSoundReady=function(){},e._updateVolume=function(){},e._updatePan=function(){},e._updateStartTime=function(){},e._updateDuration=function(){},e._setDurationFromSource=function(){},e._calculateCurrentPosition=function(){},e._updatePosition=function(){},e._removeLooping=function(t){},e._addLooping=function(t){},e._pause=function(){},e._resume=function(){},e._handleStop=function(){},e._handleCleanUp=function(){},e._handleLoop=function(){},createjs.AbstractSoundInstance=createjs.promote(t,"EventDispatcher"),createjs.DefaultSoundInstance=createjs.AbstractSoundInstance}(),this.createjs=this.createjs||{},function(){"use strict";var t=function(){this._capabilities=null,this._loaders={},this._audioSources={},this._soundInstances={},this._volume=1,this._loaderClass,this._soundInstanceClass},e=t.prototype;t._capabilities=null,t.isSupported=function(){return!0},e.register=function(t){var e=this._loaders[t.src];return e&&!e.canceled?this._loaders[t.src]:(this._audioSources[t.src]=!0,this._soundInstances[t.src]=[],(e=new this._loaderClass(t)).on("complete",this._handlePreloadComplete,this),this._loaders[t.src]=e,e)},e.preload=function(t){t.on("error",this._handlePreloadError,this),t.load()},e.isPreloadStarted=function(t){return null!=this._audioSources[t]},e.isPreloadComplete=function(t){return!(null==this._audioSources[t]||1==this._audioSources[t])},e.removeSound=function(t){if(this._soundInstances[t]){for(var e=this._soundInstances[t].length;e--;)this._soundInstances[t][e].destroy();delete this._soundInstances[t],delete this._audioSources[t],this._loaders[t]&&this._loaders[t].destroy(),delete this._loaders[t]}},e.removeAllSounds=function(){for(var t in this._audioSources)this.removeSound(t)},e.create=function(t,e,n){this.isPreloadStarted(t)||this.preload(this.register(t));var i=new this._soundInstanceClass(t,e,n,this._audioSources[t]);return this._soundInstances[t].push(i),i},e.setVolume=function(t){return this._volume=t,this._updateVolume(),!0},e.getVolume=function(){return this._volume},e.setMute=function(t){return this._updateVolume(),!0},e.toString=function(){return"[AbstractPlugin]"},e._handlePreloadComplete=function(t){var e=t.target.getItem().src;this._audioSources[e]=t.result;for(var n=0,i=this._soundInstances[e].length;i>n;n++)this._soundInstances[e][n].setPlaybackResource(this._audioSources[e])},e._handlePreloadError=function(t){},e._updateVolume=function(){},createjs.AbstractPlugin=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.SOUND)}var e=createjs.extend(t,createjs.AbstractLoader);t.context=null,e.toString=function(){return"[WebAudioLoader]"},e._createRequest=function(){this._request=new createjs.XHRRequest(this._item,!1),this._request.setResponseType("arraybuffer")},e._sendComplete=function(e){t.context.decodeAudioData(this._rawResult,createjs.proxy(this._handleAudioDecoded,this),createjs.proxy(this._sendError,this))},e._handleAudioDecoded=function(t){this._result=t,this.AbstractLoader__sendComplete()},createjs.WebAudioLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,r){this.AbstractSoundInstance_constructor(t,e,i,r),this.gainNode=n.context.createGain(),this.panNode=n.context.createPanner(),this.panNode.panningModel=n._panningModel,this.panNode.connect(this.gainNode),this._updatePan(),this.sourceNode=null,this._soundCompleteTimeout=null,this._sourceNodeNext=null,this._playbackStartTime=0,this._endedHandler=createjs.proxy(this._handleSoundComplete,this)}var e=createjs.extend(t,createjs.AbstractSoundInstance),n=t;n.context=null,n._scratchBuffer=null,n.destinationNode=null,n._panningModel="equalpower",e.destroy=function(){this.AbstractSoundInstance_destroy(),this.panNode.disconnect(0),this.panNode=null,this.gainNode.disconnect(0),this.gainNode=null},e.toString=function(){return"[WebAudioSoundInstance]"},e._updatePan=function(){this.panNode.setPosition(this._pan,0,-.5)},e._removeLooping=function(t){this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)},e._addLooping=function(t){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},e._setDurationFromSource=function(){this._duration=1e3*this.playbackResource.duration},e._handleCleanUp=function(){this.sourceNode&&this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout),this._playbackStartTime=0},e._cleanUpAudioNode=function(t){if(t){t.stop(0),t.disconnect(0);try{t.buffer=n._scratchBuffer}catch(t){}t=null}return t},e._handleSoundReady=function(t){this.gainNode.connect(n.destinationNode);var e=.001*this._duration,i=.001*this._position;i>e&&(i=e),this.sourceNode=this._createAndPlayAudioNode(n.context.currentTime-e,i),this._playbackStartTime=this.sourceNode.startTime-i,this._soundCompleteTimeout=setTimeout(this._endedHandler,1e3*(e-i)),0!=this._loop&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},e._createAndPlayAudioNode=function(t,e){var i=n.context.createBufferSource();i.buffer=this.playbackResource,i.connect(this.panNode);var r=.001*this._duration;return i.startTime=t+r,i.start(i.startTime,e+.001*this._startTime,r-e),i},e._pause=function(){this._position=1e3*(n.context.currentTime-this._playbackStartTime),this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout)},e._resume=function(){this._handleSoundReady()},e._updateVolume=function(){var t=this._muted?0:this._volume;t!=this.gainNode.gain.value&&(this.gainNode.gain.value=t)},e._calculateCurrentPosition=function(){return 1e3*(n.context.currentTime-this._playbackStartTime)},e._updatePosition=function(){this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),clearTimeout(this._soundCompleteTimeout),this._paused||this._handleSoundReady()},e._handleLoop=function(){this._cleanUpAudioNode(this.sourceNode),this.sourceNode=this._sourceNodeNext,this._playbackStartTime=this.sourceNode.startTime,this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0),this._soundCompleteTimeout=setTimeout(this._endedHandler,this._duration)},e._updateDuration=function(){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._pause(),this._resume())},createjs.WebAudioSoundInstance=createjs.promote(t,"AbstractSoundInstance")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.AbstractPlugin_constructor(),this._panningModel=n._panningModel,this.context=n.context,this.dynamicsCompressorNode=this.context.createDynamicsCompressor(),this.dynamicsCompressorNode.connect(this.context.destination),this.gainNode=this.context.createGain(),this.gainNode.connect(this.dynamicsCompressorNode),createjs.WebAudioSoundInstance.destinationNode=this.gainNode,this._capabilities=n._capabilities,this._loaderClass=createjs.WebAudioLoader,this._soundInstanceClass=createjs.WebAudioSoundInstance,this._addPropsToClasses()}var e=createjs.extend(t,createjs.AbstractPlugin),n=t;n._capabilities=null,n._panningModel="equalpower",n.context=null,n._scratchBuffer=null,n._unlocked=!1,n.isSupported=function(){var t=createjs.BrowserDetect.isIOS||createjs.BrowserDetect.isAndroid||createjs.BrowserDetect.isBlackberry;return!("file:"==location.protocol&&!t&&!this._isFileXHRSupported())&&(n._generateCapabilities(),null!=n.context)},n.playEmptySound=function(){if(null!=n.context){var t=n.context.createBufferSource();t.buffer=n._scratchBuffer,t.connect(n.context.destination),t.start(0,0,0)}},n._isFileXHRSupported=function(){var t=!0,e=new XMLHttpRequest;try{e.open("GET","WebAudioPluginTest.fail",!1)}catch(e){return t=!1}e.onerror=function(){t=!1},e.onload=function(){t=404==this.status||200==this.status||0==this.status&&""!=this.response};try{e.send()}catch(e){t=!1}return t},n._generateCapabilities=function(){if(null==n._capabilities){var t=document.createElement("audio");if(null==t.canPlayType)return null;if(null==n.context)if(window.AudioContext)n.context=new AudioContext;else{if(!window.webkitAudioContext)return null;n.context=new webkitAudioContext}null==n._scratchBuffer&&(n._scratchBuffer=n.context.createBuffer(1,1,22050)),n._compatibilitySetUp(),"ontouchstart"in window&&"running"!=n.context.state&&(n._unlock(),document.addEventListener("mousedown",n._unlock,!0),document.addEventListener("touchend",n._unlock,!0)),n._capabilities={panning:!0,volume:!0,tracks:-1};for(var e=createjs.Sound.SUPPORTED_EXTENSIONS,i=createjs.Sound.EXTENSION_MAP,r=0,s=e.length;s>r;r++){var a=e[r],o=i[a]||a;n._capabilities[a]="no"!=t.canPlayType("audio/"+a)&&""!=t.canPlayType("audio/"+a)||"no"!=t.canPlayType("audio/"+o)&&""!=t.canPlayType("audio/"+o)}n.context.destination.numberOfChannels<2&&(n._capabilities.panning=!1)}},n._compatibilitySetUp=function(){if(n._panningModel="equalpower",!n.context.createGain){n.context.createGain=n.context.createGainNode;var t=n.context.createBufferSource();t.__proto__.start=t.__proto__.noteGrainOn,t.__proto__.stop=t.__proto__.noteOff,n._panningModel=0}},n._unlock=function(){n._unlocked||(n.playEmptySound(),"running"==n.context.state&&(document.removeEventListener("mousedown",n._unlock,!0),document.removeEventListener("touchend",n._unlock,!0),n._unlocked=!0))},e.toString=function(){return"[WebAudioPlugin]"},e._addPropsToClasses=function(){var t=this._soundInstanceClass;t.context=this.context,t._scratchBuffer=n._scratchBuffer,t.destinationNode=this.gainNode,t._panningModel=this._panningModel,this._loaderClass.context=this.context},e._updateVolume=function(){var t=createjs.Sound._masterMute?0:this._volume;t!=this.gainNode.gain.value&&(this.gainNode.gain.value=t)},createjs.WebAudioPlugin=createjs.promote(t,"AbstractPlugin")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"HTMLAudioTagPool cannot be instantiated"}function e(t){this._tags=[]}var n=t;n._tags={},n._tagPool=new e,n._tagUsed={},n.get=function(t){var e=n._tags[t];return null==e?(e=n._tags[t]=n._tagPool.get(),e.src=t):n._tagUsed[t]?(e=n._tagPool.get(),e.src=t):n._tagUsed[t]=!0,e},n.set=function(t,e){e==n._tags[t]?n._tagUsed[t]=!1:n._tagPool.set(e)},n.remove=function(t){var e=n._tags[t];return null!=e&&(n._tagPool.set(e),delete n._tags[t],delete n._tagUsed[t],!0)},n.getDuration=function(t){var e=n._tags[t];return null!=e&&e.duration?1e3*e.duration:0},createjs.HTMLAudioTagPool=t;var i=e.prototype;i.constructor=e,i.get=function(){var t;return null==(t=0==this._tags.length?this._createTag():this._tags.pop()).parentNode&&document.body.appendChild(t),t},i.set=function(t){-1==createjs.indexOf(this._tags,t)&&(this._tags.src=null,this._tags.push(t))},i.toString=function(){return"[TagPool]"},i._createTag=function(){var t=document.createElement("audio");return t.autoplay=!1,t.preload="none",t}}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,i){this.AbstractSoundInstance_constructor(t,e,n,i),this._audioSpriteStopTime=null,this._delayTimeoutId=null,this._endedHandler=createjs.proxy(this._handleSoundComplete,this),this._readyHandler=createjs.proxy(this._handleTagReady,this),this._stalledHandler=createjs.proxy(this._playFailed,this),this._audioSpriteEndHandler=createjs.proxy(this._handleAudioSpriteLoop,this),this._loopHandler=createjs.proxy(this._handleSoundComplete,this),n?this._audioSpriteStopTime=.001*(e+n):this._duration=createjs.HTMLAudioTagPool.getDuration(this.src)}var e=createjs.extend(t,createjs.AbstractSoundInstance);e.setMasterVolume=function(t){this._updateVolume()},e.setMasterMute=function(t){this._updateVolume()},e.toString=function(){return"[HTMLAudioSoundInstance]"},e._removeLooping=function(){null!=this._playbackResource&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._addLooping=function(){null==this._playbackResource||this._audioSpriteStopTime||(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)},e._handleCleanUp=function(){var t=this._playbackResource;if(null!=t){t.pause(),t.loop=!1,t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1);try{t.currentTime=this._startTime}catch(t){}createjs.HTMLAudioTagPool.set(this.src,t),this._playbackResource=null}},e._beginPlaying=function(t){return this._playbackResource=createjs.HTMLAudioTagPool.get(this.src),this.AbstractSoundInstance__beginPlaying(t)},e._handleSoundReady=function(t){if(4!==this._playbackResource.readyState){var e=this._playbackResource;return e.addEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),e.addEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),e.preload="auto",void e.load()}this._updateVolume(),this._playbackResource.currentTime=.001*(this._startTime+this._position),this._audioSpriteStopTime?this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1):(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),0!=this._loop&&(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)),this._playbackResource.play()},e._handleTagReady=function(t){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),this._handleSoundReady()},e._pause=function(){this._playbackResource.pause()},e._resume=function(){this._playbackResource.play()},e._updateVolume=function(){if(null!=this._playbackResource){var t=this._muted||createjs.Sound._masterMute?0:this._volume*createjs.Sound._masterVolume;t!=this._playbackResource.volume&&(this._playbackResource.volume=t)}},e._calculateCurrentPosition=function(){return 1e3*this._playbackResource.currentTime-this._startTime},e._updatePosition=function(){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1);try{this._playbackResource.currentTime=.001*(this._position+this._startTime)}catch(t){this._handleSetPositionSeek(null)}},e._handleSetPositionSeek=function(t){null!=this._playbackResource&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._handleAudioSpriteLoop=function(t){this._playbackResource.currentTime<=this._audioSpriteStopTime||(this._playbackResource.pause(),0==this._loop?this._handleSoundComplete(null):(this._position=0,this._loop--,this._playbackResource.currentTime=.001*this._startTime,this._paused||this._playbackResource.play(),this._sendEvent("loop")))},e._handleLoop=function(t){0==this._loop&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._updateStartTime=function(){this._audioSpriteStopTime=.001*(this._startTime+this._duration),this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))},e._updateDuration=function(){this._audioSpriteStopTime=.001*(this._startTime+this._duration),this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))},e._setDurationFromSource=function(){this._duration=createjs.HTMLAudioTagPool.getDuration(this.src),this._playbackResource=null},createjs.HTMLAudioSoundInstance=createjs.promote(t,"AbstractSoundInstance")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.AbstractPlugin_constructor(),this.defaultNumChannels=2,this._capabilities=n._capabilities,this._loaderClass=createjs.SoundLoader,this._soundInstanceClass=createjs.HTMLAudioSoundInstance}var e=createjs.extend(t,createjs.AbstractPlugin),n=t;n.MAX_INSTANCES=30,n._AUDIO_READY="canplaythrough",n._AUDIO_ENDED="ended",n._AUDIO_SEEKED="seeked",n._AUDIO_STALLED="stalled",n._TIME_UPDATE="timeupdate",n._capabilities=null,n.isSupported=function(){return n._generateCapabilities(),null!=n._capabilities},n._generateCapabilities=function(){if(null==n._capabilities){var t=document.createElement("audio");if(null==t.canPlayType)return null;n._capabilities={panning:!1,volume:!0,tracks:-1};for(var e=createjs.Sound.SUPPORTED_EXTENSIONS,i=createjs.Sound.EXTENSION_MAP,r=0,s=e.length;s>r;r++){var a=e[r],o=i[a]||a;n._capabilities[a]="no"!=t.canPlayType("audio/"+a)&&""!=t.canPlayType("audio/"+a)||"no"!=t.canPlayType("audio/"+o)&&""!=t.canPlayType("audio/"+o)}}}
vendor: 10,306 bytes, line 1
1,e.register=function(t){var e=createjs.HTMLAudioTagPool.get(t.src),n=this.AbstractPlugin_register(t);return n.setTag(e),n},e.removeSound=function(t){this.AbstractPlugin_removeSound(t),createjs.HTMLAudioTagPool.remove(t)},e.create=function(t,e,n){var i=this.AbstractPlugin_create(t,e,n);return i.setPlaybackResource(null),i},e.toString=function(){return"[HTMLAudioPlugin]"},e.setVolume=e.getVolume=e.setMute=null,createjs.HTMLAudioPlugin=createjs.promote(t,"AbstractPlugin")}(),this.createjs=this.createjs||{},function(){"use strict";function t(e,n,i){this.ignoreGlobalPause=!1,this.loop=!1,this.duration=0,this.pluginData=i||{},this.target=e,this.position=null,this.passive=!1,this._paused=!1,this._curQueueProps={},this._initQueueProps={},this._steps=[],this._actions=[],this._prevPosition=0,this._stepPosition=0,this._prevPos=-1,this._target=e,this._useTicks=!1,this._inited=!1,this._registered=!1,n&&(this._useTicks=n.useTicks,this.ignoreGlobalPause=n.ignoreGlobalPause,this.loop=n.loop,n.onChange&&this.addEventListener("change",n.onChange),n.override&&t.removeTweens(e)),n&&n.paused?this._paused=!0:createjs.Tween._register(this,!0),n&&null!=n.position&&this.setPosition(n.position,t.NONE)}var e=createjs.extend(t,createjs.EventDispatcher);t.NONE=0,t.LOOP=1,t.REVERSE=2,t.IGNORE={},t._tweens=[],t._plugins={},t.get=function(e,n,i,r){return r&&t.removeTweens(e),new t(e,n,i)},t.tick=function(e,n){for(var i=t._tweens.slice(),r=i.length-1;r>=0;r--){var s=i[r];n&&!s.ignoreGlobalPause||s._paused||s.tick(s._useTicks?1:e)}},t.handleEvent=function(t){"tick"==t.type&&this.tick(t.delta,t.paused)},t.removeTweens=function(e){if(e.tweenjs_count){for(var n=t._tweens,i=n.length-1;i>=0;i--){var r=n[i];r._target==e&&(r._paused=!0,n.splice(i,1))}e.tweenjs_count=0}},t.removeAllTweens=function(){for(var e=t._tweens,n=0,i=e.length;i>n;n++){var r=e[n];r._paused=!0,r.target&&(r.target.tweenjs_count=0)}e.length=0},t.hasActiveTweens=function(e){return e?null!=e.tweenjs_count&&!!e.tweenjs_count:t._tweens&&!!t._tweens.length},t.installPlugin=function(e,n){var i=e.priority;null==i&&(e.priority=i=0);for(var r=0,s=n.length,a=t._plugins;s>r;r++){var o=n[r];if(a[o]){for(var c=a[o],l=0,u=c.length;u>l&&!(i<c[l].priority);l++);a[o].splice(l,0,e)}else a[o]=[e]}},t._register=function(e,n){var i=e._target,r=t._tweens;if(n&&!e._registered)i&&(i.tweenjs_count=i.tweenjs_count?i.tweenjs_count+1:1),r.push(e),!t._inited&&createjs.Ticker&&(createjs.Ticker.addEventListener("tick",t),t._inited=!0);else if(!n&&e._registered){i&&i.tweenjs_count--;for(var s=r.length;s--;)if(r[s]==e){r.splice(s,1);break}}e._registered=n},e.wait=function(t,e){if(null==t||0>=t)return this;var n=this._cloneProps(this._curQueueProps);return this._addStep({d:t,p0:n,e:this._linearEase,p1:n,v:e})},e.to=function(t,e,n){return(isNaN(e)||0>e)&&(e=0),this._addStep({d:e||0,p0:this._cloneProps(this._curQueueProps),e:n,p1:this._cloneProps(this._appendQueueProps(t))})},e.call=function(t,e,n){return this._addAction({f:t,p:e||[this],o:n||this._target})},e.set=function(t,e){return this._addAction({f:this._set,o:this,p:[t,e||this._target]})},e.play=function(t){return t||(t=this),this.call(t.setPaused,[!1],t)},e.pause=function(t){return t||(t=this),this.call(t.setPaused,[!0],t)},e.setPosition=function(t,e){0>t&&(t=0),null==e&&(e=1);var n=t,i=!1;if(n>=this.duration&&(this.loop?n%=this.duration:(n=this.duration,i=!0)),n==this._prevPos)return i;var r=this._prevPos;if(this.position=this._prevPos=n,this._prevPosition=t,this._target)if(i)this._updateTargetProps(null,1);else if(this._steps.length>0){for(var s=0,a=this._steps.length;a>s&&!(this._steps[s].t>n);s++);var o=this._steps[s-1];this._updateTargetProps(o,(this._stepPosition=n-o.t)/o.d)}return 0!=e&&this._actions.length>0&&(this._useTicks?this._runActions(n,n):1==e&&r>n?(r!=this.duration&&this._runActions(r,this.duration),this._runActions(0,n,!0)):this._runActions(r,n)),i&&this.setPaused(!0),this.dispatchEvent("change"),i},e.tick=function(t){this._paused||this.setPosition(this._prevPosition+t)},e.setPaused=function(e){return this._paused===!!e?this:(this._paused=!!e,t._register(this,!e),this)},e.w=e.wait,e.t=e.to,e.c=e.call,e.s=e.set,e.toString=function(){return"[Tween]"},e.clone=function(){throw"Tween can not be cloned."},e._updateTargetProps=function(e,n){var i,r,s,a,o,c;if(e||1!=n){if(this.passive=!!e.v,this.passive)return;e.e&&(n=e.e(n,0,1,1)),i=e.p0,r=e.p1}else this.passive=!1,i=r=this._curQueueProps;for(var l in this._initQueueProps){null==(a=i[l])&&(i[l]=a=this._initQueueProps[l]),null==(o=r[l])&&(r[l]=o=a),s=a==o||0==n||1==n||"number"!=typeof a?1==n?o:a:a+(o-a)*n;var u=!1;if(c=t._plugins[l])for(var h=0,d=c.length;d>h;h++){var f=c[h].tween(this,l,s,i,r,n,!!e&&i==r,!e);f==t.IGNORE?u=!0:s=f}u||(this._target[l]=s)}},e._runActions=function(t,e,n){var i=t,r=e,s=-1,a=this._actions.length,o=1;for(t>e&&(i=e,r=t,s=a,a=o=-1);(s+=o)!=a;){var c=this._actions[s],l=c.t;(l==r||l>i&&r>l||n&&l==t)&&c.f.apply(c.o,c.p)}},e._appendQueueProps=function(e){var n,i,r,s,a;for(var o in e)if(void 0===this._initQueueProps[o]){if(i=this._target[o],n=t._plugins[o])for(r=0,s=n.length;s>r;r++)i=n[r].init(this,o,i);this._initQueueProps[o]=this._curQueueProps[o]=void 0===i?null:i}else i=this._curQueueProps[o];for(var o in e){if(i=this._curQueueProps[o],n=t._plugins[o])for(a=a||{},r=0,s=n.length;s>r;r++)n[r].step&&n[r].step(this,o,i,e[o],a);this._curQueueProps[o]=e[o]}return a&&this._appendQueueProps(a),this._curQueueProps},e._cloneProps=function(t){var e={};for(var n in t)e[n]=t[n];return e},e._addStep=function(t){return t.d>0&&(this._steps.push(t),t.t=this.duration,this.duration+=t.d),this},e._addAction=function(t){return t.t=this.duration,this._actions.push(t),this},e._set=function(t,e){for(var n in t)e[n]=t[n]},createjs.Tween=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n){this.EventDispatcher_constructor(),this.ignoreGlobalPause=!1,this.duration=0,this.loop=!1,this.position=null,this._paused=!1,this._tweens=[],this._labels=null,this._labelList=null,this._prevPosition=0,this._prevPos=-1,this._useTicks=!1,this._registered=!1,n&&(this._useTicks=n.useTicks,this.loop=n.loop,this.ignoreGlobalPause=n.ignoreGlobalPause,n.onChange&&this.addEventListener("change",n.onChange)),t&&this.addTween.apply(this,t),this.setLabels(e),n&&n.paused?this._paused=!0:createjs.Tween._register(this,!0),n&&null!=n.position&&this.setPosition(n.position,createjs.Tween.NONE)}var e=createjs.extend(t,createjs.EventDispatcher);e.addTween=function(t){var e=arguments.length;if(e>1){for(var n=0;e>n;n++)this.addTween(arguments[n]);return arguments[0]}return 0==e?null:(this.removeTween(t),this._tweens.push(t),t.setPaused(!0),t._paused=!1,t._useTicks=this._useTicks,t.duration>this.duration&&(this.duration=t.duration),this._prevPos>=0&&t.setPosition(this._prevPos,createjs.Tween.NONE),t)},e.removeTween=function(t){var e=arguments.length;if(e>1){for(var n=!0,i=0;e>i;i++)n=n&&this.removeTween(arguments[i]);return n}if(0==e)return!1;for(var r=this._tweens,i=r.length;i--;)if(r[i]==t)return r.splice(i,1),t.duration>=this.duration&&this.updateDuration(),!0;return!1},e.addLabel=function(t,e){this._labels[t]=e;var n=this._labelList;if(n){for(var i=0,r=n.length;r>i&&!(e<n[i].position);i++);n.splice(i,0,{label:t,position:e})}},e.setLabels=function(t){this._labels=t||{}},e.getLabels=function(){var t=this._labelList;if(!t){t=this._labelList=[];var e=this._labels;for(var n in e)t.push({label:n,position:e[n]});t.sort(function(t,e){return t.position-e.position})}return t},e.getCurrentLabel=function(){var t=this.getLabels(),e=this.position,n=t.length;if(n){for(var i=0;n>i&&!(e<t[i].position);i++);return 0==i?null:t[i-1].label}return null},e.gotoAndPlay=function(t){this.setPaused(!1),this._goto(t)},e.gotoAndStop=function(t){this.setPaused(!0),this._goto(t)},e.setPosition=function(t,e){var n=this._calcPosition(t),i=!this.loop&&t>=this.duration;if(n==this._prevPos)return i;this._prevPosition=t,this.position=this._prevPos=n;for(var r=0,s=this._tweens.length;s>r;r++)if(this._tweens[r].setPosition(n,e),n!=this._prevPos)return!1;return i&&this.setPaused(!0),this.dispatchEvent("change"),i},e.setPaused=function(t){this._paused=!!t,createjs.Tween._register(this,!t)},e.updateDuration=function(){this.duration=0;for(var t=0,e=this._tweens.length;e>t;t++){var n=this._tweens[t];n.duration>this.duration&&(this.duration=n.duration)}},e.tick=function(t){this.setPosition(this._prevPosition+t)},e.resolve=function(t){var e=Number(t);return isNaN(e)&&(e=this._labels[t]),e},e.toString=function(){return"[Timeline]"},e.clone=function(){throw"Timeline can not be cloned."},e._goto=function(t){var e=this.resolve(t);null!=e&&this.setPosition(e)},e._calcPosition=function(t){return 0>t?0:t<this.duration?t:this.loop?t%this.duration:this.duration},createjs.Timeline=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Ease cannot be instantiated."}t.linear=function(t){return t},t.none=t.linear,t.get=function(t){return-1>t&&(t=-1),t>1&&(t=1),function(e){return 0==t?e:0>t?e*(e*-t+1+t):e*((2-e)*t+(1-t))}},t.getPowIn=function(t){return function(e){return Math.pow(e,t)}},t.getPowOut=function(t){return function(e){return 1-Math.pow(1-e,t)}},t.getPowInOut=function(t){return function(e){return(e*=2)<1?.5*Math.pow(e,t):1-.5*Math.abs(Math.pow(2-e,t))}},t.quadIn=t.getPowIn(2),t.quadOut=t.getPowOut(2),t.quadInOut=t.getPowInOut(2),t.cubicIn=t.getPowIn(3),t.cubicOut=t.getPowOut(3),t.cubicInOut=t.getPowInOut(3),t.quartIn=t.getPowIn(4),t.quartOut=t.getPowOut(4),t.quartInOut=t.getPowInOut(4),t.quintIn=t.getPowIn(5),t.quintOut=t.getPowOut(5),t.quintInOut=t.getPowInOut(5),t.sineIn=function(t){return 1-Math.cos(t*Math.PI/2)},t.sineOut=function(t){return Math.sin(t*Math.PI/2)},t.sineInOut=function(t){return-.5*(Math.cos(Math.PI*t)-1)},t.getBackIn=function(t){return function(e){return e*e*((t+1)*e-t)}},t.backIn=t.getBackIn(1.7),t.getBackOut=function(t){return function(e){return--e*e*((t+1)*e+t)+1}},t.backOut=t.getBackOut(1.7),t.getBackInOut=function(t){return t*=1.525,function(e){return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)}},t.backInOut=t.getBackInOut(1.7),t.circIn=function(t){return-(Math.sqrt(1-t*t)-1)},t.circOut=function(t){return Math.sqrt(1- --t*t)}
vendor: 4,735 bytes, line 1
1,t.circInOut=function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},t.bounceIn=function(e){return 1-t.bounceOut(1-e)},t.bounceOut=function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},t.bounceInOut=function(e){return.5>e?.5*t.bounceIn(2*e):.5*t.bounceOut(2*e-1)+.5},t.getElasticIn=function(t,e){var n=2*Math.PI;return function(i){if(0==i||1==i)return i;var r=e/n*Math.asin(1/t);return-t*Math.pow(2,10*(i-=1))*Math.sin((i-r)*n/e)}},t.elasticIn=t.getElasticIn(1,.3),t.getElasticOut=function(t,e){var n=2*Math.PI;return function(i){if(0==i||1==i)return i;var r=e/n*Math.asin(1/t);return t*Math.pow(2,-10*i)*Math.sin((i-r)*n/e)+1}},t.elasticOut=t.getElasticOut(1,.3),t.getElasticInOut=function(t,e){var n=2*Math.PI;return function(i){var r=e/n*Math.asin(1/t);return(i*=2)<1?t*Math.pow(2,10*(i-=1))*Math.sin((i-r)*n/e)*-.5:t*Math.pow(2,-10*(i-=1))*Math.sin((i-r)*n/e)*.5+1}},t.elasticInOut=t.getElasticInOut(1,.3*1.5),createjs.Ease=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"MotionGuidePlugin cannot be instantiated."}t.priority=0,t.install=function(){return createjs.Tween.installPlugin(t,["guide","x","y","rotation"]),createjs.Tween.IGNORE},t.init=function(t,e,n){var i=t.target;return i.hasOwnProperty("x")||(i.x=0),i.hasOwnProperty("y")||(i.y=0),i.hasOwnProperty("rotation")||(i.rotation=0),"rotation"==e&&(t.__needsRot=!0),"guide"==e?null:n},t.step=function(e,n,i,r,s){if("rotation"==n&&(e.__rotGlobalS=i,e.__rotGlobalE=r,t.testRotData(e,s)),"guide"!=n)return r;var a,o=r;o.hasOwnProperty("path")||(o.path=[]);var c=o.path;if(o.hasOwnProperty("end")||(o.end=1),o.hasOwnProperty("start")||(o.start=i&&i.hasOwnProperty("end")&&i.path===c?i.end:0),o.hasOwnProperty("_segments")&&o._length)return r;var l=c.length;if(!(l>=6&&(l-2)%4==0))throw"invalid 'path' data, please see documentation for valid paths";o._segments=[],o._length=0;for(var u=2;l>u;u+=4){for(var h,d,f=c[u-2],p=c[u-1],g=c[u+0],m=c[u+1],v=c[u+2],_=c[u+3],y=f,b=p,x=0,w=[],S=1;10>=S;S++){var T=S/10,E=1-T;h=E*E*f+2*E*T*g+T*T*v,d=E*E*p+2*E*T*m+T*T*_,x+=w[w.push(Math.sqrt((a=h-y)*a+(a=d-b)*a))-1],y=h,b=d}o._segments.push(x),o._segments.push(w),o._length+=x}a=o.orient,o.orient=!0;var j={};return t.calc(o,o.start,j),e.__rotPathS=Number(j.rotation.toFixed(5)),t.calc(o,o.end,j),e.__rotPathE=Number(j.rotation.toFixed(5)),o.orient=!1,t.calc(o,o.end,s),o.orient=a,o.orient?(e.__guideData=o,t.testRotData(e,s),r):r},t.testRotData=function(t,e){if(void 0===t.__rotGlobalS||void 0===t.__rotGlobalE){if(t.__needsRot)return;void 0!==t._curQueueProps.rotation?t.__rotGlobalS=t.__rotGlobalE=t._curQueueProps.rotation:t.__rotGlobalS=t.__rotGlobalE=e.rotation=t.target.rotation||0}if(void 0!==t.__guideData){var n=t.__guideData,i=t.__rotGlobalE-t.__rotGlobalS,r=t.__rotPathE-t.__rotPathS,s=i-r;if("auto"==n.orient)s>180?s-=360:-180>s&&(s+=360);else if("cw"==n.orient){for(;0>s;)s+=360;0==s&&i>0&&180!=i&&(s+=360)}else if("ccw"==n.orient){for(s=i-(r>180?360-r:r);s>0;)s-=360;0==s&&0>i&&-180!=i&&(s-=360)}n.rotDelta=s,n.rotOffS=t.__rotGlobalS-t.__rotPathS,t.__rotGlobalS=t.__rotGlobalE=t.__guideData=t.__needsRot=void 0}},t.tween=function(e,n,i,r,s,a,o,c){var l=s.guide;if(void 0==l||l===r.guide)return i;if(l.lastRatio!=a){var u=(l.end-l.start)*(o?l.end:a)+l.start;switch(t.calc(l,u,e.target),l.orient){case"cw":case"ccw":case"auto":e.target.rotation+=l.rotOffS+l.rotDelta*a;break;case"fixed":default:e.target.rotation+=l.rotOffS}l.lastRatio=a}return"rotation"!=n||l.orient&&"false"!=l.orient?e.target[n]:i},t.calc=function(t,e,n){if(void 0==t._segments)throw"Missing critical pre-calculated information, please file a bug";void 0==n&&(n={x:0,y:0,rotation:0});for(var i=t._segments,r=t.path,s=t._length*e,a=i.length-2,o=0;s>i[o]&&a>o;)s-=i[o],o+=2;var c=i[o+1],l=0;for(a=c.length-1;s>c[l]&&a>l;)s-=c[l],l++;var u=l/++a+s/(a*c[l]);o=2*o+2;var h=1-u;return n.x=h*h*r[o-2]+2*h*u*r[o+0]+u*u*r[o+2],n.y=h*h*r[o-1]+2*h*u*r[o+1]+u*u*r[o+3],t.orient&&(n.rotation=57.2957795*Math.atan2((r[o+1]-r[o-1])*h+(r[o+3]-r[o+1])*u,(r[o+0]-r[o-2])*h+(r[o+2]-r[o+0])*u)),n},createjs.MotionGuidePlugin=t}(),this.createjs=this.createjs||{},function(){"use strict";var t=createjs.TweenJS=createjs.TweenJS||{};t.version="0.6.2",t.buildDate="Thu, 26 Nov 2015 20:44:31 GMT"}(),function(t){t.fn.gaTracking=function(){this.on("click",function(e){var n=t(e.currentTarget).data("tracking").split(",");ga("send","event",n[0],n[1],n[2])})}}(jQuery),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",commonMain):commonMain(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",characterMain):characterMain();
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.